Bug 6687

Summary: Nautilus segfaults in GTK
Product: Mageia Reporter: Juan Magallon <jamagallon>
Component: RPM PackagesAssignee: Olav Vitters <olav>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: jamagallon, mageia
Version: Cauldron   
Target Milestone: Mageia 3   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: nautilus-3.5.3-1.mga3.src.rpm CVE:
Status comment:
Attachments: gtk patch to prevent nautilus segfaults
gtk patch to prevent nautilus segfaults

Description Juan Magallon 2012-07-04 11:48:14 CEST
Since latest updates I frquently get a segfault in nautilus.
It happens in several boxes, both 32 and 64 bits.
Run under gdb:

 Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7186bd0 in gtk_ui_manager_new_merge_id ()
   from /usr/lib64/libgtk-3.so.0
(gdb) bt
#0  0x00007ffff7186bd0 in gtk_ui_manager_new_merge_id ()
   from /usr/lib64/libgtk-3.so.0
#1  0x00000000004d2b89 in ?? ()
#2  0x000000000047040f in ?? ()
#3  0x0000000000438a75 in ?? ()
#4  0x000000000046a1a9 in ?? ()
#5  0x000000000046a202 in ?? ()
#6  0x00007ffff50d37db in ?? () from /lib64/libglib-2.0.so.0
#7  0x00007ffff50d2c13 in g_main_context_dispatch ()
   from /lib64/libglib-2.0.so.0
#8  0x00007ffff50d2f60 in ?? () from /lib64/libglib-2.0.so.0
#9  0x00007ffff50d3024 in g_main_context_iteration ()
   from /lib64/libglib-2.0.so.0
#10 0x00007ffff56715e4 in g_application_run () from /lib64/libgio-2.0.so.0
#11 0x000000000042a38b in ?? ()
#12 0x00007ffff414a465 in __libc_start_main () from /lib64/libc.so.6
#13 0x000000000042a3e5 in ?? ()
#14 0x00007fffffffd988 in ?? ()
#15 0x000000000000001c in ?? ()
#16 0x0000000000000001 in ?? ()
#17 0x00007fffffffde0c in ?? ()
#18 0x0000000000000000 in ?? ()
(gdb) 

Without debug package, there is not much info, but at least it show the
crash in libgtk...
Manuel Hiebel 2012-07-09 19:36:09 CEST

Assignee: bugsquad => olav
Target Milestone: --- => Mageia 3

Comment 1 Juan Magallon 2012-07-12 02:43:26 CEST
Upstream bug report:

https://bugzilla.gnome.org/show_bug.cgi?id=670646

CC: (none) => jamagallon

Comment 2 Juan Magallon 2012-07-20 02:57:09 CEST
Same bug in Ubuntu Launchpad

https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/1018896
Comment 3 Juan Magallon 2012-07-20 03:01:55 CEST
Proably the best is upgrading to 3.5.8 and pick the patch from Ubuntu...
Comment 4 Juan Magallon 2012-07-20 03:05:31 CEST
Patch attached picked from

https://launchpad.net/ubuntu/quantal/+source/gtk+3.0/3.5.8-0ubuntu2
Comment 5 Juan Magallon 2012-07-20 03:06:25 CEST
Created attachment 2567 [details]
gtk patch to prevent nautilus segfaults
Comment 6 Olav Vitters 2012-07-20 09:30:41 CEST
IMO, if you're that into the bug, just go ahead and fix it in the package.

Please inform upstream bug.
Comment 7 Juan Magallon 2012-08-01 03:08:34 CEST
Created attachment 2599 [details]
gtk patch to prevent nautilus segfaults

I can confirm that this patch cures the problems for me.
It is the same as original Ubuntu patch, minus the first hunk that
is useless...

Attachment 2567 is obsolete: 0 => 1

Comment 8 Damien Lallement 2013-12-24 07:16:55 CET
Still available in Mageia 3 with nautilus 3.6.3?

CC: (none) => mageia

Comment 9 Samuel Verschelde 2015-04-23 12:33:23 CEST
Fixed upstream in 2012, probably fixed in Mageia 3 and above.

Status: NEW => RESOLVED
Resolution: (none) => FIXED