Comments (10)
Which version of engrampa and which distro?
from engrampa.
I'm using Engrampa 1.8.1, but the same error happens with git version (1.10.1) wich is the one I tried with GDB. I'm using Debian Jessie, kernel version 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1 (2015-05-24) x86_64 GNU/Linux.
from engrampa.
Can you post the full backtrace (bt full
)? Install engrampa-dbg
package before that to get more detailed info.
from engrampa.
pabab@galadriel:~$ gdb --args /usr/bin/engrampa /home/pabab/Descargas/PROG2.rar
GNU gdb (Debian 7.7.1+dfsg-5) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/engrampa...Reading symbols from /usr/lib/debug/.build-id/26/d439f2eac7cac636ff5a93a39d43b826267fa8.debug...done.
done.
(gdb) r
Starting program: /usr/bin/engrampa /home/pabab/Descargas/PROG2.rar
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffef745700 (LWP 2363)]
[New Thread 0x7fffeed16700 (LWP 2364)]
[New Thread 0x7fffee1a6700 (LWP 2365)]
(engrampa:2359): GLib-CRITICAL **: g_strchomp: assertion 'string != NULL' failed
Program received signal SIGSEGV, Segmentation fault.
parse_name_field (line=<optimized out>, rar_comm=0xa42710) at fr-command-rar.c:154
154 fr-command-rar.c: No existe el fichero o el directorio.
(gdb) bt full
#0 parse_name_field (line=<optimized out>, rar_comm=0xa42710) at fr-command-rar.c:154
name_field = 0x0
fdata = 0xaa4b70
#1 0x000000000042bd6b in process_line (line=<optimized out>, data=<optimized out>) at fr-command-rar.c:218
comm = 0xa42710
rar_comm = <optimized out>
fields = <optimized out>
__FUNCTION__ = "process_line"
#2 0x0000000000432b8a in fr_channel_data_read (channel=channel@entry=0x6ffbe0) at fr-process.c:149
line = 0xa3aad0 " PROG2/TP-Final/assets/fuentes/arial.ttf"
length = 41
terminator_pos = 40
#3 0x0000000000433b96 in check_child (data=0x6ffbc0) at fr-process.c:800
process = 0x6ffbc0
info = 0xa48300
pid = <optimized out>
status = 32767
continue_process = <optimized out>
channel_error = 0
__FUNCTION__ = "check_child"
#4 0x00007ffff5569613 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#5 0x00007ffff5568b6d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#6 0x00007ffff5568f48 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#7 0x00007ffff5569272 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#8 0x00007ffff76bc597 in gtk_main () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
No symbol table info available.
#9 0x000000000041126e in main (argc=1, argv=0x7fffffffe388) at main.c:331
error = 0x0
client = <optimized out>
context = 0x679e60
from engrampa.
Ok, try #96 - it might fix the issue.
from engrampa.
Unfortunately it doesn't seem to fix the problem. The segfault doesn't occur now, but the file content list appears to be empty. Yet I can still list or extract the RAR file contents with de unrar
command from the command line. Could it be related to the parsing of the unrar
command output?
from engrampa.
Try removing unrar and install unarchiver (unar) and see if that handles it.
from engrampa.
Removing unrar and installing unarchiver efectively solved the problem. Thanks!
from engrampa.
Ok, so it is something going on with the unrar and engrampa. Can you make the rar file available? Because all my rar files work fine with unrar.
from engrampa.
The rar backend in engrampa (and file-roller) is designed to work with non-free version of unrar. The free version that you use seems to use somewhat different formatting in its filelist output, hence the empty list in engrampa.
Personally, I wouldn't even use that free version. It's not developed since 2004 (see its repo), it has a number of major bugs (see Debian bug tracker)... Its description even states "Can't handle some archives in the RAR 3.0 format natively", which is ridiculous in year 2015. 😄
from engrampa.
Related Issues (20)
- New feature request HOT 3
- Several corrupted PNG files. HOT 2
- Cannot create zip/7z files anymore HOT 4
- Cannot encrypt file list with RAR. HOT 3
- Support for vpk format HOT 2
- Engrampa seems to be broken after last git commits HOT 7
- Create and extract a zip file with multiple files of the same name inside it.
- Segfault on opening .deb files after recent Debian Unstable updates HOT 16
- Cannot compress some set of files that included a file with new line HOT 4
- No error message for some file types HOT 1
- [Feature Request] New functionality: Set/Remove password
- engrampa hangs when using --extract-here with certain archives HOT 8
- Cannot create zip archives with 7-Zip 23.01 installed HOT 5
- [Bug] Unexpected partial file extraction for *.deb HOT 1
- Engrampa not opening / listing 7z password compressed files when the option of password protect file names was chosen for create the file HOT 13
- meson.build files are not in released 1.28 tarball generated with distcheck HOT 3
- Split file HOT 4
- Drag'n'drop blocks GUI HOT 6
- Segfault with Engrampa 1.26.2-4 in Ubuntu 24.04 HOT 1
- Insufficient remaining disk space when extract files from iso image HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from engrampa.