Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 365779 - [gnome-overlay] >=gnome-base/nautilus-3 segfaults on startup on gtk_icon_info_load_symbolic
Summary: [gnome-overlay] >=gnome-base/nautilus-3 segfaults on startup on gtk_icon_info...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-03 02:33 UTC by Delan Azabani
Modified: 2011-06-02 14:10 UTC (History)
1 user (show)

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


Attachments
/etc/make.conf (make.conf,486 bytes, text/plain)
2011-05-03 02:34 UTC, Delan Azabani
Details
/etc/portage/package.use (package.use,1.91 KB, text/plain)
2011-05-03 02:34 UTC, Delan Azabani
Details
`emerge --info` (emerge.info,4.17 KB, text/plain)
2011-05-03 02:43 UTC, Delan Azabani
Details
nautilus-3.0.2-segfault-in-gtk_icon_info_load_symbolic.patch (nautilus-3.0.2-segfault-in-gtk_icon_info_load_symbolic.patch,3.15 KB, patch)
2011-05-27 06:21 UTC, Alexandre Rostovtsev (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Delan Azabani 2011-05-03 02:33:13 UTC
nautilus 3.0.0 segfaults on startup in the gtk_icon_info_load_symbolic function. Here's some gdb output:

delan@enfys ~ $ gdb `which nautilus`
GNU gdb (Gentoo 7.2.50.20101117.4.15 vanilla) 7.2.50.20101117
Copyright (C) 2010 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-pc-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.gentoo.org/>...
Reading symbols from /usr/bin/nautilus...Reading symbols from /usr/lib64/debug/usr/bin/nautilus.debug...(no debugging symbols found)...done.
(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/nautilus 
[Thread debugging using libthread_db enabled]
Detaching after fork from child process 14240.
[New Thread 0x7ffff1b1c700 (LWP 14244)]
[New Thread 0x7fffeb10b700 (LWP 14299)]
[New Thread 0x7fffea90a700 (LWP 14300)]
[New Thread 0x7fffea109700 (LWP 14301)]

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff72b3237 in gtk_icon_info_load_symbolic () from /usr/lib64/libgtk-3.so.0
(gdb) where
#0  0x00007ffff72b3237 in gtk_icon_info_load_symbolic () from /usr/lib64/libgtk-3.so.0
#1  0x0000000000467be0 in nautilus_search_bar_init ()
#2  0x00007ffff572343b in g_type_create_instance () from /usr/lib64/libgobject-2.0.so.0
#3  0x00007ffff5700ddc in g_object_constructor () from /usr/lib64/libgobject-2.0.so.0
#4  0x00007ffff5703af8 in g_object_newv () from /usr/lib64/libgobject-2.0.so.0
#5  0x00007ffff5704abe in g_object_new_valist () from /usr/lib64/libgobject-2.0.so.0
#6  0x00007ffff5704dd1 in g_object_new () from /usr/lib64/libgobject-2.0.so.0
#7  0x0000000000468394 in nautilus_toolbar_constructed ()
#8  0x00007ffff5704075 in g_object_newv () from /usr/lib64/libgobject-2.0.so.0
#9  0x00007ffff5704abe in g_object_new_valist () from /usr/lib64/libgobject-2.0.so.0
#10 0x00007ffff5704dd1 in g_object_new () from /usr/lib64/libgobject-2.0.so.0
#11 0x0000000000486d52 in nautilus_window_pane_new ()
#12 0x000000000048d0ff in nautilus_window_constructed ()
#13 0x00007ffff5704075 in g_object_newv () from /usr/lib64/libgobject-2.0.so.0
#14 0x00007ffff5704abe in g_object_new_valist () from /usr/lib64/libgobject-2.0.so.0
#15 0x00007ffff5704dd1 in g_object_new () from /usr/lib64/libgobject-2.0.so.0
#16 0x000000000042e4d2 in nautilus_application_create_window ()
#17 0x000000000042e648 in open_window.clone.2 ()
#18 0x000000000042ef31 in nautilus_application_command_line ()
#19 0x00007ffff5a0bbc8 in _gio_marshal_INT__OBJECT () from /usr/lib64/libgio-2.0.so.0
#20 0x00007ffff56fee5a in g_closure_invoke () from /usr/lib64/libgobject-2.0.so.0
#21 0x00007ffff5710297 in signal_emit_unlocked_R () from /usr/lib64/libgobject-2.0.so.0
#22 0x00007ffff5719b04 in g_signal_emit_valist () from /usr/lib64/libgobject-2.0.so.0
#23 0x00007ffff5719f33 in g_signal_emit () from /usr/lib64/libgobject-2.0.so.0
#24 0x00007ffff59d194a in g_application_run () from /usr/lib64/libgio-2.0.so.0
#25 0x000000000044b929 in main ()
Comment 1 Delan Azabani 2011-05-03 02:34:12 UTC
Created attachment 271937 [details]
/etc/make.conf
Comment 2 Delan Azabani 2011-05-03 02:34:33 UTC
Created attachment 271939 [details]
/etc/portage/package.use
Comment 3 Delan Azabani 2011-05-03 02:43:11 UTC
Created attachment 271941 [details]
`emerge --info`
Comment 4 Gilles Dartiguelongue (RETIRED) gentoo-dev 2011-05-03 06:56:14 UTC
Please sync your overlay and upgrade, there's at least nautilus-3.0.1 out.
Comment 5 Delan Azabani 2011-05-03 14:03:20 UTC
Well that is odd. I thought my layman overlays were all up-to-date, but recently, `layman -S` just says 'Fetching remote list' then 'Ok'. I had to `git pull` manually in /var/lib/layman/gnome to get the overlay updates. Thanks.
Comment 6 Delan Azabani 2011-05-03 14:13:44 UTC
Actually, even with =gnome-base/nautilus-3.0.1.1 it still segfaults, with the same function call.
Comment 7 Alexandre Rostovtsev (RETIRED) gentoo-dev 2011-05-16 05:34:21 UTC
Delan, unfortunately, your backtrace is not very useful because you don't have debugging information for gtk+, and that is where the problem appears to be.

Please rebuild the latest version of gtk+ with debugging information (add -ggdb to CFLAGS and splitdebug to FEATURES; see http://www.gentoo.org/proj/en/qa/backtraces.xml) and gdb nautilus again.

PS: Fedora users are apparently experiencing the same bug (see https://bugzilla.redhat.com/show_bug.cgi?id=690357). However, I do not like the patch proposed in their bugzilla: it will result in incorrect icon rendering.
Comment 8 Alexandre Rostovtsev (RETIRED) gentoo-dev 2011-05-27 06:21:55 UTC
Created attachment 274743 [details, diff]
nautilus-3.0.2-segfault-in-gtk_icon_info_load_symbolic.patch

Please try this patch, I am fairly certain it should fix the segfault.

Also reported upstream at https://bugzilla.gnome.org/show_bug.cgi?id=651209
Comment 9 Nirbheek Chauhan (RETIRED) gentoo-dev 2011-06-02 14:10:32 UTC
This is fixed in the overlay thanks to Alexandre. Thanks!