GNOME Bugzilla – Bug 157723
gnome_vfs_uri_extract_short_name() should never return NULL
Last modified: 2007-05-30 10:44:23 UTC
Distribution: Debian 3.1 Package: gnome-panel Severity: normal Version: GNOME2.8.1 unspecified Gnome-Distributor: Debian Synopsis: gnome-panel crashes when launching Azureus (Java/SWT) Bugzilla-Product: gnome-panel Bugzilla-Component: general Bugzilla-Version: unspecified BugBuddy-GnomeVersion: 2.0 (2.8.0) Description: Description of the crash: Happened when starting Azureus (it creates a notification area icon). Steps to reproduce the crash: Could not reproduce. It was fairly random. How often does this happen? Happened only the once. Will follow up if it happens again. Additional Information: Azureus is a Java/SWT based bittorrent client. It creates a notification area icon. It seems it doing this caused all of gnome-panel to crash. Bad bad bad. Debugging Information: Backtrace was generated from '/usr/bin/gnome-panel' (no debugging symbols found)...Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1". (no debugging symbols found)...(no debugging symbols found)...[Thread debugging using libthread_db enabled] [New Thread -1211046080 (LWP 30298)] 0xffffe410 in __kernel_vsyscall ()
+ Trace 51763
Thread 1 (Thread -1211046080 (LWP 30298))
------- Bug moved to this database by unknown@bugzilla.gnome.org 2004-11-09 00:44 ------- Unknown platform unknown. Setting to default platform "Other". Unknown milestone "unknown" in product "gnome-panel". Setting to default milestone for this product, '---' Setting to default status "UNCONFIRMED". Setting qa contact to the default for this product. This bug either had no qa contact or an invalid one.
This crash is now happening constantly. It apparently had little or nothing to do with Azureus. It could be that I have the wrong version of some library installed, but if so, im not sure what it is.
This looks like a unique stack trace. I'm changing the priority and severity because this is a crasher. Adding the STACKTRACE keyword.
Could you attach your ~/.recent-files here?
I meant ~/.recently-used
*** Bug 156814 has been marked as a duplicate of this bug. ***
*** Bug 158935 has been marked as a duplicate of this bug. ***
Jerry: ping?
*** Bug 162398 has been marked as a duplicate of this bug. ***
okay, I discovered the source of the crash. Deleting ~/.recently-used solves the problem. Took me about two hours to discover :( I don't know if it's panel's fault, but an infinite crash isn't nice. How about a crash handler (or exception, don't know how it is called) for reading .recently-used ? greetings
Carlos: Did you save a copy of the ~/.recently-used file to be able to attach here as requested? That is what is needed to try to find out how to fix this problem.
mm sorry, I just deleted it. I had been trying to detect the source of the segfault, and was some kind of mad with my computer :( next time I'll try to attach it here
oh fuck, again the same error. I opened lots of URIs in Firefox by clicking them on Nautilus. I attach .recently-used: <?xml version="1.0"?> <RecentFiles> <RecentItem> <URI>http://manuls.bitacoras.com/index.php?p=209</URI> <Mime-Type>text/html</Mime-Type> <Timestamp>1104319806</Timestamp> <Groups> </Groups> </RecentItem> <RecentItem> <URI>http://superporcel.f2o.org/archivo/2004/12/28/sube_el_precio_de_las_conexiones_de_banda_ancha</URI> <Mime-Type>text/html</Mime-Type> <Timestamp>1104319799</Timestamp> <Groups> </Groups> </RecentItem> <RecentItem> <URI>http://www.badopi.org/node/699</URI> <Mime-Type>text/html</Mime-Type> <Timestamp>1104319824</Timestamp> <Groups> </Groups> </RecentItem> <RecentItem> <URI>http://barrapunto.com/article.pl?sid=04/12/28/089254&mode=nested</URI> <Mime-Type>text/html</Mime-Type> <Timestamp>1104319793</Timestamp> <Groups> </Groups> </RecentItem> <RecentItem> <URI>http://www.patoroco.net/2004/12/gentoo-sale-a-bolsa</URI> <Mime-Type>text/html</Mime-Type> <Timestamp>1104319789</Timestamp> <Groups> </Groups> </RecentItem> <RecentItem> <URI>http://elmundodeporte.elmundo.es/elmundodeporte/album/index.html?k=2&dia1=27%22%3E%3Ciframe%20width=800%20height=900%20frameborder=0%20src=http%3A%2F%2Flatinsud.com%2F28.html%3E%20</URI> <Mime-Type>text/html</Mime-Type> <Timestamp>1104319786</Timestamp> <Groups> </Groups> </RecentItem> <RecentItem> <URI>http://xataka.com/es/archivos/2004/12/28-el_ipod_de_david_bisbal_tras_.php</URI> <Mime-Type>text/html</Mime-Type> <Timestamp>1104319784</Timestamp> <Groups> </Groups> </RecentItem> <RecentItem> <URI>http://weblog.topopardo.com/archives/000134.html</URI> <Mime-Type>text/html</Mime-Type> <Timestamp>1104319783</Timestamp> <Groups> </Groups> </RecentItem> <RecentItem> <URI>file:///home/topopardo/Desktop/recopilacion%20inocentadas/sube_el_precio_de_las_conexiones_de_banda_ancha</URI> <Mime-Type>application/x-desktop</Mime-Type> <Timestamp>1104319761</Timestamp> <Groups> <Group>gedit</Group> </Groups> </RecentItem> <RecentItem> <URI>file:///home/topopardo/comentario%20blog%20inocentes</URI> <Mime-Type>text/plain</Mime-Type> <Timestamp>1104319248</Timestamp> <Groups> <Group>gedit</Group> </Groups> </RecentItem> <RecentItem> <URI>file:///home/topopardo/Brochure-ES%20OK.pdf</URI> <Mime-Type>application/pdf</Mime-Type> <Timestamp>1104264426</Timestamp> <Groups> </Groups> </RecentItem> <RecentItem> <URI>file:///home/topopardo/ConstitucionEuropea.pdf</URI> <Mime-Type>application/pdf</Mime-Type> <Timestamp>1104264242</Timestamp> <Groups> </Groups> </RecentItem> <RecentItem> <URI>file:///home/topopardo/bajado/Mail/Penpals/cur/1049036480.24378.zM3e2%2CS</URI> <Mime-Type>text/plain</Mime-Type> <Timestamp>1104262499</Timestamp> <Groups> <Group>gedit</Group> </Groups> </RecentItem> <RecentItem> <URI>file:///media/cdrom1/libros/vampire/Vampire-The-Masquerade-02-Players-Guide.pdf</URI> <Mime-Type>application/pdf</Mime-Type> <Timestamp>1104262319</Timestamp> <Groups> </Groups> </RecentItem> <RecentItem> <URI>file:///media/cdrom0/vampiro/White%20Wold%20CD/PDF%20extras/Character%20Sheets/tzimisce.pdf</URI> <Mime-Type>application/pdf</Mime-Type> <Timestamp>1104262018</Timestamp> <Groups> </Groups> </RecentItem> <RecentItem> <URI>file:///home/topopardo/pepe</URI> <Mime-Type>message/rfc822</Mime-Type> <Timestamp>1104261079</Timestamp> <Groups> <Group>gedit</Group> </Groups> </RecentItem> <RecentItem> <URI>file:///home/topopardo/Desktop/xMule/Temp/755D06FCC7FBE6B42BEFBB2AFEB7D8AD</URI> <Mime-Type>video/mpeg</Mime-Type> <Timestamp>1104261041</Timestamp> <Groups> </Groups> </RecentItem> </RecentFiles>
Carlos: thanks a lot! I can reproduce the crash. I'll look at it.
I think the bug is a gnome-vfs bug: + in egg_recent_item_get_short_name (), gnome_vfs_uri_extract_short_name (uri) returns NULL for this URI: http://elmundodeporte.elmundo.es/elmundodeporte/album/index.html?k=2&dia1=27%22%3E%3Ciframe%20width=800%20height=900%20frameborder=0%20src=http%3A%2F%2Flatinsud.com%2F28.html%3E%20 + looking at the doc, I don't expect gnome_vfs_uri_extract_short_name () to ever return NULL
Created attachment 35337 [details] [review] Proposed patch
*** Bug 158845 has been marked as a duplicate of this bug. ***
*** Bug 160606 has been marked as a duplicate of this bug. ***
*** Bug 162883 has been marked as a duplicate of this bug. ***
*** Bug 163518 has been marked as a duplicate of this bug. ***
Any news? Heck, this bug is really annoying and Vincent has done a great job tracking it down. What prevents us from getting this into gnome-vfs HEAD and stable?
Vincent, could you send this patch on the gnome-vfs-list, the maintainers review most of the bugs here ...
*** Bug 163109 has been marked as a duplicate of this bug. ***
*** Bug 165492 has been marked as a duplicate of this bug. ***
*** Bug 156846 has been marked as a duplicate of this bug. ***
*** Bug 166260 has been marked as a duplicate of this bug. ***
It's depends on my ~/.recently-used there was a directory named something.... "&" .... I removed the file ~/.recently-used and all work fine now! Tanks!
Did this ever end up on the stable branch? It fixes a ton of crashes in the theme manager as well...
Commited it to the 2.8 branch a few moments ago!
*** Bug 166654 has been marked as a duplicate of this bug. ***
*** Bug 167262 has been marked as a duplicate of this bug. ***
*** Bug 167331 has been marked as a duplicate of this bug. ***
*** Bug 167624 has been marked as a duplicate of this bug. ***
*** Bug 167645 has been marked as a duplicate of this bug. ***
*** Bug 167644 has been marked as a duplicate of this bug. ***
*** Bug 167871 has been marked as a duplicate of this bug. ***
*** Bug 168313 has been marked as a duplicate of this bug. ***
*** Bug 168745 has been marked as a duplicate of this bug. ***
*** Bug 168962 has been marked as a duplicate of this bug. ***
*** Bug 154476 has been marked as a duplicate of this bug. ***
*** Bug 169328 has been marked as a duplicate of this bug. ***
*** Bug 169468 has been marked as a duplicate of this bug. ***
*** Bug 170275 has been marked as a duplicate of this bug. ***
*** Bug 170655 has been marked as a duplicate of this bug. ***
*** Bug 170716 has been marked as a duplicate of this bug. ***
*** Bug 171643 has been marked as a duplicate of this bug. ***
*** Bug 171789 has been marked as a duplicate of this bug. ***
*** Bug 172331 has been marked as a duplicate of this bug. ***
*** Bug 172537 has been marked as a duplicate of this bug. ***
*** Bug 172880 has been marked as a duplicate of this bug. ***
*** Bug 300941 has been marked as a duplicate of this bug. ***
*** Bug 170509 has been marked as a duplicate of this bug. ***
*** Bug 301901 has been marked as a duplicate of this bug. ***
*** Bug 301932 has been marked as a duplicate of this bug. ***
*** Bug 304259 has been marked as a duplicate of this bug. ***
*** Bug 306414 has been marked as a duplicate of this bug. ***
*** Bug 305967 has been marked as a duplicate of this bug. ***
*** Bug 307046 has been marked as a duplicate of this bug. ***
*** Bug 307656 has been marked as a duplicate of this bug. ***
*** Bug 307732 has been marked as a duplicate of this bug. ***
*** Bug 308289 has been marked as a duplicate of this bug. ***
*** Bug 308311 has been marked as a duplicate of this bug. ***
*** Bug 308168 has been marked as a duplicate of this bug. ***
*** Bug 313483 has been marked as a duplicate of this bug. ***
*** Bug 321392 has been marked as a duplicate of this bug. ***
*** Bug 334756 has been marked as a duplicate of this bug. ***
*** Bug 345717 has been marked as a duplicate of this bug. ***
*** Bug 419476 has been marked as a duplicate of this bug. ***
*** Bug 442287 has been marked as a duplicate of this bug. ***