Giter VIP home page Giter VIP logo

Comments (10)

monsta avatar monsta commented on August 28, 2024

Which version of engrampa and which distro?

from engrampa.

pabratte avatar pabratte commented on August 28, 2024

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.

monsta avatar monsta commented on August 28, 2024

Can you post the full backtrace (bt full)? Install engrampa-dbg package before that to get more detailed info.

from engrampa.

pabratte avatar pabratte commented on August 28, 2024
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.

monsta avatar monsta commented on August 28, 2024

Ok, try #96 - it might fix the issue.

from engrampa.

pabratte avatar pabratte commented on August 28, 2024

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?

pantallazo-3

from engrampa.

infirit avatar infirit commented on August 28, 2024

Try removing unrar and install unarchiver (unar) and see if that handles it.

from engrampa.

pabratte avatar pabratte commented on August 28, 2024

Removing unrar and installing unarchiver efectively solved the problem. Thanks!

from engrampa.

infirit avatar infirit commented on August 28, 2024

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.

monsta avatar monsta commented on August 28, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.