Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 311035 - app-arch/file-roller-2.26.3: segfault when try to create zip archive
Summary: app-arch/file-roller-2.26.3: segfault when try to create zip archive
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on: 314899
Blocks:
  Show dependency tree
 
Reported: 2010-03-23 23:30 UTC by Alessandro Capogna
Modified: 2010-05-05 17:48 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge-info,3.57 KB, text/plain)
2010-03-23 23:32 UTC, Alessandro Capogna
Details
gdb log file (gdb.log,15.22 KB, text/plain)
2010-04-13 18:34 UTC, Jacob Godserv
Details
gdb log file (after patch) (gdb.log,11.80 KB, text/plain)
2010-04-13 18:56 UTC, Jacob Godserv
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Capogna 2010-03-23 23:30:58 UTC
when try to create zip archite this is what happen (running on gdb)


(gdb) run
Starting program: /usr/bin/file-roller 
[Thread debugging using libthread_db enabled]
Traceback (most recent call last):
  File "/usr/share/gdb/auto-load/usr/lib64/libgobject-2.0.so.0.2200.4-gdb.py", line 9, in <module>
    from gobject import register
  File "/usr/share/glib-2.0/gdb/gobject.py", line 3, in <module>
    import gdb.backtrace
ImportError: No module named backtrace
[New Thread 0x7fffee79a910 (LWP 6683)]
[New Thread 0x7fffedf99910 (LWP 6684)]
[Thread 0x7fffedf99910 (LWP 6684) exited]
[Thread 0x7fffee79a910 (LWP 6683) exited]
[New Thread 0x7fffee79a910 (LWP 6689)]
[New Thread 0x7fffedf99910 (LWP 6690)]
[Thread 0x7fffee79a910 (LWP 6689) exited]
[New Thread 0x7fffee79a910 (LWP 6691)]
[Thread 0x7fffee79a910 (LWP 6691) exited]
[New Thread 0x7fffee79a910 (LWP 6692)]
[Thread 0x7fffedf99910 (LWP 6690) exited]
[Thread 0x7fffee79a910 (LWP 6692) exited]
[New Thread 0x7fffee79a910 (LWP 6693)]
[New Thread 0x7fffedf99910 (LWP 6694)]
[New Thread 0x7fffed705910 (LWP 6695)]

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff2c73b90 in memmove () from /lib/libc.so.6


Reproducible: Always
Comment 1 Alessandro Capogna 2010-03-23 23:32:14 UTC
Created attachment 225011 [details]
emerge --info
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-03-24 09:36:01 UTC
Please provide a useful backtrace: http://www.gentoo.org/proj/en/qa/backtraces.xml
Comment 3 Jacob Godserv 2010-04-06 22:05:53 UTC
I've been experiencing this issue for months, and I finally got annoyed enough to find out what's going on. Some basic Googling found me some bug reports:

https://bugs.edge.launchpad.net/ubuntu/+source/file-roller/+bug/399172
which led me to:
https://bugzilla.gnome.org/show_bug.cgi?id=589920

This has been fixed in 2.27.x, so 2.28.x naturally has the fix. Upgrading to file-roller 2.28.2 (which thankfully works with currently stable GNOME 2.26) fixes the issue.

The patch appears to be the following commit:
http://git.gnome.org/browse/file-roller/commit/?id=1e38c5df005ec2d54ac05b3028ab7c56a09ad082

Not sure if you guys want to go anywhere with this patch, or if you just want to focus on getting 2.28 stabilized. (I think there's a good enough workaround while we wait for 2.28, imo.)
Comment 4 Romain Perier (RETIRED) gentoo-dev 2010-04-07 14:51:20 UTC
Could you provide a understandable backtrace anyway ? Then could you downgrade to file-roller-2.26.3 and apply this patch to confirm if it fixes the problem or not ?

Thanks in advance
Comment 5 Jacob Godserv 2010-04-07 20:52:19 UTC
Fwiw, I will not get around to this for a while, due to school, and since getting back-traces will require an 'emerge -eav =app-arch/file-roller-2.26.3'. This will remain on my todo list, however, so I will not forget.
Comment 6 Jacob Godserv 2010-04-13 18:34:23 UTC
Created attachment 227641 [details]
gdb log file

After lots of tears, sweat, and CPU cycles, I've gotten file-roller and its deps compiled with the "debug" USE flag. I've logged all changes made to get to this point, so I'm going to revert them as soon as you say I don't need to debug anything anymore. :P
Comment 7 Jacob Godserv 2010-04-13 18:56:14 UTC
Created attachment 227643 [details]
gdb log file (after patch)

Interestingly enough, when I apply the patch at <http://git.gnome.org/browse/file-roller/patch/?id=1e38c5df005ec2d54ac05b3028ab7c56a09ad082> I still get the same error. Another backtrace attached.
Comment 8 Pacho Ramos gentoo-dev 2010-04-13 19:11:42 UTC
Thanks, but I think that will be better to wait a bit for getting 2.28 version stabilized (see bug 314899)
Comment 9 Jacob Godserv 2010-04-15 04:05:27 UTC
In case you still want to fix this, the two correct patches (which fixed it for me) are:
http://git.gnome.org/browse/file-roller/commit/?id=07690b388a856ae495716e972c5f59a3d06c7ecf
http://git.gnome.org/browse/file-roller/commit/?id=ac8cd7995fbfc85b0c2f139ff2d264deb7cbd251

They apply cleanly to 2.26.3 in my local ebuild overlay.
Comment 10 Pacho Ramos gentoo-dev 2010-04-15 21:07:04 UTC
(In reply to comment #9)
> In case you still want to fix this, the two correct patches (which fixed it for
> me) are:
> http://git.gnome.org/browse/file-roller/commit/?id=07690b388a856ae495716e972c5f59a3d06c7ecf
> http://git.gnome.org/browse/file-roller/commit/?id=ac8cd7995fbfc85b0c2f139ff2d264deb7cbd251
> 
> They apply cleanly to 2.26.3 in my local ebuild overlay.
> 

Thanks a lot for your investigation
Comment 11 Alessandro Capogna 2010-04-15 21:33:18 UTC
Yes, thanks from me too, I tried to investigate alone, but I failed miserably
Comment 12 Jacob Godserv 2010-04-16 01:43:26 UTC
I just asked GNOME devs to help me out. I didn't do this on my own:
https://bugzilla.gnome.org/show_bug.cgi?id=589920
Comment 13 Angelo D'Autilia (sYdRo) 2010-04-30 10:26:07 UTC
i confirm this bug!!!
Comment 14 Alessandro Capogna 2010-05-05 16:14:25 UTC
problem seems to be solved in file-roller-2.28.2 (on my amd64 stable system)
Comment 15 Pacho Ramos gentoo-dev 2010-05-05 17:48:17 UTC
Closing this as fixed since it's already solved in testing and that version is already going to stable