After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 157723 - gnome_vfs_uri_extract_short_name() should never return NULL
gnome_vfs_uri_extract_short_name() should never return NULL
Status: RESOLVED FIXED
Product: gnome-vfs
Classification: Deprecated
Component: URI handling
cvs (head)
Other other
: High critical
: ---
Assigned To: gnome-vfs maintainers
gnome-vfs maintainers
: 154476 156814 156846 158845 158935 160606 162398 162883 163109 163518 165492 166260 166654 167262 167331 167624 167644 167645 167871 168313 168745 168962 169328 169468 170275 170655 170716 171643 171789 172331 172537 172880 300941 301901 301932 304259 305967 306414 307046 307656 307732 308168 308289 308311 313483 321392 334756 345717 419476 442287 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2004-11-09 05:44 UTC by Jerome Haltom
Modified: 2007-05-30 10:44 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10


Attachments
Proposed patch (1.14 KB, patch)
2005-01-01 10:48 UTC, Vincent Untz
committed Details | Review

Description Jerome Haltom 2004-11-09 05:44:53 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 ()

Thread 1 (Thread -1211046080 (LWP 30298))

  • #0 __kernel_vsyscall
  • #1 __waitpid_nocancel
    from /lib/tls/i686/cmov/libpthread.so.0
  • #2 libgnomeui_segv_handle
    at gnome-ui-init.c line 741
  • #3 <signal handler called>
  • #4 strlen
    from /lib/tls/i686/cmov/libc.so.6
  • #5 egg_recent_item_get_uri_for_display
  • #6 egg_recent_item_get_short_name
  • #7 egg_recent_view_set_model
  • #8 egg_recent_view_set_model
  • #9 egg_recent_view_set_model
  • #10 g_cclosure_marshal_VOID__POINTER
    from /usr/lib/libgobject-2.0.so.0
  • #11 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #12 g_signal_emit_by_name
    from /usr/lib/libgobject-2.0.so.0
  • #13 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #14 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #15 egg_recent_model_changed
  • #16 egg_recent_view_set_model
  • #17 panel_recent_append_documents_menu
  • #18 panel_action_button_set_dnd_enabled
  • #19 panel_action_button_set_dnd_enabled
  • #20 g_type_create_instance
    from /usr/lib/libgobject-2.0.so.0
  • #21 g_object_new_valist
    from /usr/lib/libgobject-2.0.so.0
  • #22 g_object_newv
    from /usr/lib/libgobject-2.0.so.0
  • #23 g_object_new_valist
    from /usr/lib/libgobject-2.0.so.0
  • #24 g_object_new
    from /usr/lib/libgobject-2.0.so.0
  • #25 panel_menu_bar_get_type
  • #26 panel_applet_on_load_queue
  • #27 g_child_watch_add
    from /usr/lib/libglib-2.0.so.0
  • #28 g_main_depth
    from /usr/lib/libglib-2.0.so.0
  • #29 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #30 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #31 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #32 gtk_main
    from /usr/lib/libgtk-x11-2.0.so.0
  • #33 main
  • #0 __kernel_vsyscall




------- 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.

Comment 1 Jerome Haltom 2004-11-09 14:58:13 UTC
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.
Comment 2 Caleb Groom 2004-11-10 02:21:01 UTC
This looks like a unique stack trace.  I'm changing the priority and severity
because this is a crasher.  Adding the STACKTRACE keyword.
Comment 3 Vincent Untz 2004-11-19 17:26:38 UTC
Could you attach your ~/.recent-files here?
Comment 4 Vincent Untz 2004-11-19 18:06:51 UTC
I meant ~/.recently-used
Comment 5 Vincent Untz 2004-11-19 18:07:02 UTC
*** Bug 156814 has been marked as a duplicate of this bug. ***
Comment 6 Elijah Newren 2004-11-21 19:40:57 UTC
*** Bug 158935 has been marked as a duplicate of this bug. ***
Comment 7 Vincent Untz 2004-12-18 22:44:09 UTC
Jerry: ping?
Comment 8 Elijah Newren 2004-12-28 18:50:57 UTC
*** Bug 162398 has been marked as a duplicate of this bug. ***
Comment 9 Carlos Fenollosa 2004-12-28 19:05:13 UTC
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
Comment 10 Elijah Newren 2004-12-28 19:10:12 UTC
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.
Comment 11 Carlos Fenollosa 2004-12-28 20:11:34 UTC
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
Comment 12 Carlos Fenollosa 2004-12-29 11:32:49 UTC
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&amp;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&amp;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>
Comment 13 Vincent Untz 2004-12-31 17:19:13 UTC
Carlos: thanks a lot!
I can reproduce the crash. I'll look at it.
Comment 14 Vincent Untz 2005-01-01 10:34:14 UTC
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&amp;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
Comment 15 Vincent Untz 2005-01-01 10:48:42 UTC
Created attachment 35337 [details] [review]
Proposed patch
Comment 16 Vincent Untz 2005-01-01 10:49:28 UTC
*** Bug 158845 has been marked as a duplicate of this bug. ***
Comment 17 Vincent Untz 2005-01-01 10:50:55 UTC
*** Bug 160606 has been marked as a duplicate of this bug. ***
Comment 18 Elijah Newren 2005-01-04 02:58:28 UTC
*** Bug 162883 has been marked as a duplicate of this bug. ***
Comment 19 Vincent Untz 2005-01-10 07:50:14 UTC
*** Bug 163518 has been marked as a duplicate of this bug. ***
Comment 20 Christian Neumair 2005-01-23 16:42:00 UTC
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?
Comment 21 Sebastien Bacher 2005-01-23 21:56:27 UTC
Vincent, could you send this patch on the gnome-vfs-list, the maintainers review
most of the bugs here ...
Comment 22 Vincent Untz 2005-01-26 13:00:57 UTC
*** Bug 163109 has been marked as a duplicate of this bug. ***
Comment 23 Vincent Untz 2005-01-28 12:03:13 UTC
*** Bug 165492 has been marked as a duplicate of this bug. ***
Comment 24 Vincent Untz 2005-01-28 12:13:19 UTC
*** Bug 156846 has been marked as a duplicate of this bug. ***
Comment 25 Vincent Untz 2005-02-04 11:09:23 UTC
*** Bug 166260 has been marked as a duplicate of this bug. ***
Comment 26 Gianluca 2005-02-04 11:45:32 UTC
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!
Comment 27 Kjartan Maraas 2005-02-06 22:08:23 UTC
Did this ever end up on the stable branch? It fixes a ton of crashes in the
theme manager as well...
Comment 28 Christian Kellner 2005-02-07 12:11:27 UTC
Commited it to the 2.8 branch a few moments ago!
Comment 29 Vincent Untz 2005-02-08 14:43:33 UTC
*** Bug 166654 has been marked as a duplicate of this bug. ***
Comment 30 Elijah Newren 2005-02-13 16:04:28 UTC
*** Bug 167262 has been marked as a duplicate of this bug. ***
Comment 31 Vincent Untz 2005-02-14 18:16:31 UTC
*** Bug 167331 has been marked as a duplicate of this bug. ***
Comment 32 Vincent Noel 2005-02-16 18:26:53 UTC
*** Bug 167624 has been marked as a duplicate of this bug. ***
Comment 33 Vincent Noel 2005-02-16 21:32:02 UTC
*** Bug 167645 has been marked as a duplicate of this bug. ***
Comment 34 Vincent Noel 2005-02-16 21:32:18 UTC
*** Bug 167644 has been marked as a duplicate of this bug. ***
Comment 35 Vincent Untz 2005-02-19 12:11:53 UTC
*** Bug 167871 has been marked as a duplicate of this bug. ***
Comment 36 Elijah Newren 2005-02-23 21:36:26 UTC
*** Bug 168313 has been marked as a duplicate of this bug. ***
Comment 37 Luis Villa 2005-02-28 13:27:58 UTC
*** Bug 168745 has been marked as a duplicate of this bug. ***
Comment 38 Vincent Untz 2005-03-02 11:18:55 UTC
*** Bug 168962 has been marked as a duplicate of this bug. ***
Comment 39 Vincent Untz 2005-03-02 11:19:31 UTC
*** Bug 154476 has been marked as a duplicate of this bug. ***
Comment 40 Richard Hoelscher 2005-03-05 21:49:52 UTC
*** Bug 169328 has been marked as a duplicate of this bug. ***
Comment 41 Vincent Untz 2005-03-07 10:37:26 UTC
*** Bug 169468 has been marked as a duplicate of this bug. ***
Comment 42 Elijah Newren 2005-03-14 07:39:31 UTC
*** Bug 170275 has been marked as a duplicate of this bug. ***
Comment 43 Elijah Newren 2005-03-17 16:52:44 UTC
*** Bug 170655 has been marked as a duplicate of this bug. ***
Comment 44 Christian Kirbach 2005-03-17 20:16:28 UTC
*** Bug 170716 has been marked as a duplicate of this bug. ***
Comment 45 Elijah Newren 2005-03-25 22:14:40 UTC
*** Bug 171643 has been marked as a duplicate of this bug. ***
Comment 46 Elijah Newren 2005-03-27 16:07:31 UTC
*** Bug 171789 has been marked as a duplicate of this bug. ***
Comment 47 Elijah Newren 2005-04-01 10:58:36 UTC
*** Bug 172331 has been marked as a duplicate of this bug. ***
Comment 48 Elijah Newren 2005-04-03 22:17:15 UTC
*** Bug 172537 has been marked as a duplicate of this bug. ***
Comment 49 Elijah Newren 2005-04-06 22:18:37 UTC
*** Bug 172880 has been marked as a duplicate of this bug. ***
Comment 50 Elijah Newren 2005-04-18 05:15:27 UTC
*** Bug 300941 has been marked as a duplicate of this bug. ***
Comment 51 Kjartan Maraas 2005-04-25 13:35:08 UTC
*** Bug 170509 has been marked as a duplicate of this bug. ***
Comment 52 Kjartan Maraas 2005-04-25 13:35:33 UTC
*** Bug 301901 has been marked as a duplicate of this bug. ***
Comment 53 Kjartan Maraas 2005-04-25 16:16:06 UTC
*** Bug 301932 has been marked as a duplicate of this bug. ***
Comment 54 Christian Kirbach 2005-05-15 15:15:54 UTC
*** Bug 304259 has been marked as a duplicate of this bug. ***
Comment 55 Elijah Newren 2005-06-05 21:07:53 UTC
*** Bug 306414 has been marked as a duplicate of this bug. ***
Comment 56 Bastien Nocera 2005-06-06 13:03:38 UTC
*** Bug 305967 has been marked as a duplicate of this bug. ***
Comment 57 Sebastien Bacher 2005-06-09 19:51:59 UTC
*** Bug 307046 has been marked as a duplicate of this bug. ***
Comment 58 Vincent Noel 2005-06-15 14:54:23 UTC
*** Bug 307656 has been marked as a duplicate of this bug. ***
Comment 59 Vincent Noel 2005-06-15 14:54:41 UTC
*** Bug 307732 has been marked as a duplicate of this bug. ***
Comment 60 Christian Kirbach 2005-06-21 08:08:06 UTC
*** Bug 308289 has been marked as a duplicate of this bug. ***
Comment 61 Christian Kirbach 2005-06-21 08:09:19 UTC
*** Bug 308311 has been marked as a duplicate of this bug. ***
Comment 62 Christian Kirbach 2005-06-21 08:13:56 UTC
*** Bug 308168 has been marked as a duplicate of this bug. ***
Comment 63 Nicolas da Luz Duque 2005-08-18 16:09:32 UTC
*** Bug 313483 has been marked as a duplicate of this bug. ***
Comment 64 Vincent Untz 2005-12-15 07:17:50 UTC
*** Bug 321392 has been marked as a duplicate of this bug. ***
Comment 65 Fabio Bonelli 2006-03-16 13:24:01 UTC
*** Bug 334756 has been marked as a duplicate of this bug. ***
Comment 66 Fabio Bonelli 2006-06-23 09:52:25 UTC
*** Bug 345717 has been marked as a duplicate of this bug. ***
Comment 67 Vincent Untz 2007-03-26 13:14:20 UTC
*** Bug 419476 has been marked as a duplicate of this bug. ***
Comment 68 palfrey 2007-05-30 10:44:23 UTC
*** Bug 442287 has been marked as a duplicate of this bug. ***