GNOME Bugzilla – Bug 310153
Invalid URIs in gtk-bookmarks crash the file chooser
Last modified: 2007-07-15 16:17:36 UTC
Steps to reproduce: 1. hit 'printscreen' 2. boom Stack trace: Backtrace was generated from '/home/louie/jhbuilt/bin/gnome-screenshot' Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1". `system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols. [Thread debugging using libthread_db enabled] [New Thread -1224440128 (LWP 5526)] [New Thread -1228100688 (LWP 6256)] [New Thread -1227809872 (LWP 6073)] 0xffffe410 in __kernel_vsyscall ()
+ Trace 61690
Thread 1 (Thread -1224440128 (LWP 5526))
Other information: I assume that this is a libgnomeui or gtk problem, and not actually a screenshot problem, but this is the only place I'm seeing it right now.
Can you go to frame 5 and do "p (char *) path"?
'x-nautilus-desktop:///'
to be more clear: (gdb) p (char *) path $1 = 0x81ce268 "x-nautilus-desktop:///"
I can get the same basic stack trace with the same value for path from file-roller in some circumstances as well, so tentatively reassigning.
*** Bug 310140 has been marked as a duplicate of this bug. ***
Can you please attach your ~/.gtk-bookmarks?
Created attachment 49046 [details] Your wish is my command.
I wonder how that "x-nautilus-desktop:" entry got in there. I'll have a fix shortly, but I may need to refactor some code to avoid making it a total hack. In the meantime and as a workaround, you can try removing that line from your .gtk-bookmarks.
No idea. I don't recall attempting to add a bookmark in forever. Perhaps a bug in the new nautilus usage of the file?
*** Bug 314088 has been marked as a duplicate of this bug. ***
Any news on this? This is a potential 2.12.0 showstopper.
I got the same problem. I did remove the faulty line in .gtk-bookmarks and everything works fine. It also solved both issues with bugs 314088 and 314090. No idea either how this entry got in .gtk-bookmarks
*** Bug 314090 has been marked as a duplicate of this bug. ***
x-nautilus-desktop: really shouldn't appear in that list. I wonder how that happened. However, other forms of invalid uris can surely appear there for various reasons, and the code should handle that.
I guess we should try to improve this for 2.14.0 then
Don't know why luis set a target milestone of 'future' on this; I'm removing it.
Retitling for clarity. If a kind soul wants to take a shot at this, can you please do this: 1. Insert a "x-nautilus-desktop:///" bookmark in your ~/.gtk-bookmarks 2. Run gedit, open the file chooser Please tell us if it still crashes. If it does, then gtk_file_system_gnome_vfs_render_icon() needs a check right before the call to is_desktop_file().
Seems to be robust now. [And Elijah, I have no idea why I marked it future- must have been accidental.]
*** Bug 447914 has been marked as a duplicate of this bug. ***