GNOME Bugzilla – Bug 122477
Can't install custom emblems in nautilus 2.4.x
Last modified: 2009-08-15 18:40:50 UTC
Distribution: Slackware Slackware 9.0.0 Package: nautilus Severity: normal Version: GNOME2.4.0 2.4.x Gnome-Distributor: GNOME.Org Synopsis: Can't install custom emblems in nautilus 2.4.x Bugzilla-Product: nautilus Bugzilla-Component: Backgrounds Emblems and Themes Bugzilla-Version: 2.4.x BugBuddy-GnomeVersion: 2.0 (2.4.0.1) Description: Description of the crash: Trying to add custom emblems for nautilus. The "Backgrounds and Emblems" dialog doesn't pick up changes when I try and add an emblem, and dragging new pictures to use as emblems into the emblem sidebar crashes nautilus. Steps to reproduce the crash: 1. Open up a directory containing some pixmaps and the emblem sidebar 2. drag a pixmap into the emblem sidebar 3. when prompted give a name to the emblem Expected Results: nautilus crashes How often does this happen? every time Additional Information: Debugging Information: Backtrace was generated from '/usr/bin/nautilus' [New Thread 16384 (LWP 5105)] [New Thread 32769 (LWP 5108)] [New Thread 16386 (LWP 5109)] 0x40d10f29 in wait4 () from /lib/libc.so.6
+ Trace 40235
Thread 1 (Thread 16384 (LWP 5105))
I can reproduce this crash, but get a different stack: Backtrace was generated from '/usr/bin/nautilus' [New Thread 1089429376 (LWP 31739)] [New Thread 1096362928 (LWP 31750)] [New Thread 1096096688 (LWP 31749)] [New Thread 1095830448 (LWP 31748)] [New Thread 1095564208 (LWP 31747)] [New Thread 1095297968 (LWP 31746)] [New Thread 1093606320 (LWP 31743)] [New Thread 1093340080 (LWP 31742)] [New Thread 1093073840 (LWP 31741)] [New Thread 1092807600 (LWP 31740)] 0xffffe410 in ?? ()
+ Trace 40484
Thread 1 (Thread 1089429376 (LWP 31739))
Confirmed with the latest fedora packages.
Pasting backtrace since it's not exactly the same as the above: Backtrace was generated from '/usr/bin/nautilus' (no debugging symbols found)...Using host libthread_db library "/lib/tls/libthread_db.so.1". (no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)...[Thread debugging using libthread_db enabled] [New Thread -1084663936 (LWP 4234)] [New Thread -1088922704 (LWP 4578)] [New Thread -1088107600 (LWP 4249)] [New Thread -1087374416 (LWP 4246)] [New Thread -1087108176 (LWP 4245)] 0x005b1c32 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
+ Trace 41394
Thread 1 (Thread -1084663936 (LWP 4234))
Created attachment 21325 [details] [review] Patch to fix this problem
In function nautilus_emblem_view_drag_received_cb() of nautilus/components/emblem/nautilus-emblem-view.c, the keyword field of the Emblem structure was not being set to NULL. The patch does this in each case of the switch block.
Kiran: cool. Feel free to add the 'PATCH' keyword; I've given you permissions to make modificatoins to bugs.
*** Bug 137869 has been marked as a duplicate of this bug. ***