GNOME Bugzilla – Bug 538888
crash in Home Folder: I tried to open a direct...
Last modified: 2009-03-13 08:28:57 UTC
What were you doing when the application crashed? I tried to open a directory. As administrator and logged in to the console I am able to open this directory. Being unable to open this relevant dir I had (with administrator rights) copied all files and subdirectory files into a new directory, changed user and group rights to my user ones and I am still not able to open the directory using nautilus. I am lost. Further information is available. Distribution: Debian lenny/sid Gnome Release: 2.22.2 2008-05-29 (Debian) BugBuddy Version: 2.22.0 System: Linux 2.6.25-2-686 #1 SMP Thu Jun 12 16:26:30 UTC 2008 i686 X Vendor: The X.Org Foundation X Vendor Release: 10400090 Selinux: No Accessibility: Disabled GTK+ Theme: Crux Icon Theme: gnome Memory status: size: 65744896 vsize: 65744896 resident: 24465408 share: 16343040 rss: 24465408 rss_rlim: 4294967295 CPU usage: start_time: 1213763920 rtime: 440 utime: 406 stime: 34 cutime:8 cstime: 1 timeout: 0 it_real_value: 0 frequency: 100 Backtrace was generated from '/usr/bin/nautilus' (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread 0xb6a26720 (LWP 5200)] (no debugging symbols found) 0xb7f16424 in __kernel_vsyscall ()
+ Trace 200720
Thread 1 (Thread 0xb6a26720 (LWP 5200))
----------- .xsession-errors --------------------- Nautilus-Share-Message: spawn arg "info" Nautilus-Share-Message: end of spawn args; SPAWNING Nautilus-Share-Message: returned from spawn: SUCCESS: Nautilus-Share-Message: exit code 255 Nautilus-Share-Message: ------------------------------------------ Nautilus-Share-Message: Called "net usershare info" but it failed: 'net usershare' returned error 255: net usershare: cannot open usershare directory /var/lib/samba/usershares. Error Keine Berechtigun You do not have permission to create a usershare. Ask your administrator to grant you permissions to create a share. (nautilus:5200): GdkPixbuf-CRITICAL **: io_buffer_free_segment: assertion `buffer->data != NULL' failed **** alsa_pcm: xrun of at least 1213763260776.448 msecs --------------------------------------------------
Thanks for taking the time to report this bug. Unfortunately, that stack trace is missing some elements that will help a lot to solve the problem, so it will be hard for the developers to fix that crash. Can you get us a stack trace with debugging symbols? Please see http://live.gnome.org/GettingTraces for more information on how to do so and reopen this bug or report a new one. Thanks in advance!
I have encircled the bug: since I could copy and move the files using a terminal, I found two file whose presence induces the bug. these files have the ending of .tga. I do no longer know which structural modelling program rasmol etc saved these files. they have only 18 byte indicated by "ls -laF". if you point me to a hex editor I can copy the files here. I can "cat" the files indicating that there is no harddisk error. I wonder for what reason nautilus refuses to work with and show these files.
Looks as if we're crashing while attempting to thumbnail them, however, without a proper backtrace of the crash, there is not a whole lot we can do. If you can provide the files or a better trace, please do so. Thanks.
Created attachment 113092 [details] file that lets nautilus down
I have added one of the two files.
I can't manage to open the file, it seems it is corrupted in some way. Also here (Nautilus 2.23.4 on Ubuntu Ibex alpha) the file doesn't get thumbnailed anyway. Do you have the chance to try reproducing the bug with Nautilus >= 2.22.x?
I am using latest debian unstable. the version of nautilus of today 2008-06-23 is 2.20.0. Sorry, I cannot provide more info. You have the file and it corrupts Nautilus: Isn't that a bug? Cosimo, what about changing the tag to confirmed?
Until we have a valid stack trace or we can manage to reproduce the bug in some way, I can't confirm this is a Nautilus bug. For instance, it could also be a bug in your thumbnailer for TGA files or in GTK+ TGA pixbuf loader or maybe even in some other component.
I installed nautilus-dbg and repeated the crash. Please see the new backtrace Bernhard Distribution: Debian lenny/sid Gnome Release: 2.22.2 2008-05-29 (Debian) BugBuddy Version: 2.22.0 System: Linux 2.6.25-2-686 #1 SMP Thu Jun 12 16:26:30 UTC 2008 i686 X Vendor: The X.Org Foundation X Vendor Release: 10400090 Selinux: No Accessibility: Disabled GTK+ Theme: Crux Icon Theme: gnome Memory status: size: 93237248 vsize: 93237248 resident: 42323968 share: 16371712 rss: 42323968 rss_rlim: 4294967295 CPU usage: start_time: 1214117163 rtime: 5731 utime: 5264 stime: 467 cutime:483 cstime: 146 timeout: 0 it_real_value: 0 frequency: 100 Backtrace was generated from '/usr/bin/nautilus' [Thread debugging using libthread_db enabled] [New Thread 0xb6a96720 (LWP 4378)] 0xb7f86424 in __kernel_vsyscall ()
+ Trace 201160
Thread 1 (Thread 0xb6a96720 (LWP 4378))
----------- .xsession-errors (3577 sec old) --------------------- **** alsa_pcm: xrun of at least 1214116790272.000 msecs **** alsa_pcm: xrun of at least 1214116790272.000 msecs **** alsa_pcm: xrun of at least 1214116790272.000 msecs ...Too much output, ignoring rest... --------------------------------------------------
Created attachment 122861 [details] [review] Don't display error message for NULL errors Looks like there's even more issues with gdk_pixbuf_loader_close than just the one worked around in bug 403255. In this case, it looks like gdk_pixbuf_loader_close has returned false, but error hasn't been set... This is probably an issue with the TGA loader doing stupid crap, but this patch stops nautilus from crapping out when that happens. I'm guessing this has been sorted out by the time of whatever version of GTK is present on Ubuntu Ibex alpha, but probably a bright idea to catch this anyway. Alternately, if anyone feels like tracking down the broken GTK revisions, it might be worth bumping Nautilus' dependency to get to a less broken revision and let us clean up all these workarounds!
Created attachment 122864 [details] [review] Revised version of the patch, removing extra cruft Had random other fix in the earlier patch, submitting cleaner version.
patch looks good, lets get it in after the freeze
I think a trivial crash fix is worth asking for freeze break... This woiuld be r-t approval 1 of 2.
commited.
Is there a bug filed against gdk-pixbuf for this gdk-pixbuf loader failure?
I opened bug 575217