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 317606 - nautilus (xml ??) crash when umounting a USB key
nautilus (xml ??) crash when umounting a USB key
Status: RESOLVED INCOMPLETE
Product: libxml2
Classification: Platform
Component: docs
2.4.13
Other All
: High critical
: ---
Assigned To: Daniel Veillard
libxml QA maintainers
Depends on:
Blocks:
 
 
Reported: 2005-09-30 14:57 UTC by oll
Modified: 2006-10-29 19:18 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10



Description oll 2005-09-30 14:57:49 UTC
Steps to reproduce:
It happens sometimes when umounting a usb key but it's not easily reproducable


Stack trace:
BACKTRACE : 

Using host libthread_db library "/lib/tls/libthread_db.so.1".
Core was generated by `/opt/STools/gnome-2.10/bin/nautilus'.

Thread 7 (process 29647)

  • #0 _dl_sysinfo_int80
    from /lib/ld-linux.so.2
  • #1 __waitpid_nocancel
    from /lib/tls/libpthread.so.0
  • #2 libgnomeui_segv_handle
    from /opt/STools/gnome-2.10/lib/libgnomeui-2.so.0
  • #3 <signal handler called>
  • #4 xmlSplitQName2__internal_alias
    from /opt/STools/gnome-2.10/lib/libxml2.so.2
  • #5 xmlTextReaderGetAttribute__internal_alias
    from /opt/STools/gnome-2.10/lib/libxml2.so.2
  • #6 get_entry
    at gnome-vfs-mime-info.c line 475
  • #7 get_entry
    at gnome-vfs-mime-info.c line 250
  • #8 get_entry
    at gnome-vfs-mime-info.c line 377
  • #9 gnome_vfs_mime_set_icon
    at gnome-vfs-mime-handlers.c line 260
  • #10 file_is_launchable
  • #11 get_activation_action
  • #12 real_update_menus
  • #13 fm_icon_view_update_menus
  • #14 real_update_menus
  • #15 fm_directory_view_update_menus
  • #16 update_menus_if_pending
  • #17 fm_directory_view_pop_up_selection_context_menu
  • #18 icon_container_context_click_selection_callback
  • #19 IA__g_cclosure_marshal_VOID__POINTER
    at gmarshal.c line 601
  • #20 IA__g_closure_invoke
    at gclosure.c line 437
  • #21 signal_emit_unlocked_R
    at gsignal.c line 2488
  • #22 IA__g_signal_emit_valist
    at gsignal.c line 2247
  • #23 IA__g_signal_emit
    at gsignal.c line 2291
  • #24 item_event_callback
    from /opt/STools/gnome-2.10/lib/libnautilus-private.so.2
  • #25 eel_marshal_BOOLEAN__BOXED
    from /opt/STools/gnome-2.10/lib/libeel-2.so.2
  • #26 IA__g_closure_invoke
    at gclosure.c line 437
  • #27 signal_emit_unlocked_R
    at gsignal.c line 2488
  • #28 IA__g_signal_emit_valist
    at gsignal.c line 2257
  • #29 IA__g_signal_emit
    at gsignal.c line 2291
  • #30 emit_event
    from /opt/STools/gnome-2.10/lib/libeel-2.so.2
  • #31 eel_canvas_button
    from /opt/STools/gnome-2.10/lib/libeel-2.so.2
  • #32 button_press_event
    from /opt/STools/gnome-2.10/lib/libnautilus-private.so.2
  • #33 _gtk_marshal_BOOLEAN__BOXED
    at gtkmarshalers.c line 83
  • #34 g_type_class_meta_marshal
    at gclosure.c line 514
  • #35 IA__g_closure_invoke
    at gclosure.c line 437
  • #36 signal_emit_unlocked_R
    at gsignal.c line 2526
  • #37 IA__g_signal_emit_valist
    at gsignal.c line 2257
  • #38 IA__g_signal_emit
    at gsignal.c line 2291
  • #39 gtk_widget_event_internal
    at gtkwidget.c line 3631
  • #40 IA__gtk_propagate_event
    at gtkmain.c line 2191
  • #41 IA__gtk_main_do_event
    at gtkmain.c line 1429
  • #42 gdk_event_dispatch
    at gdkevents-x11.c line 2259
  • #43 IA__g_main_context_dispatch
    at gmain.c line 1934
  • #44 g_main_context_iterate
    at gmain.c line 2565
  • #45 IA__g_main_loop_run
    at gmain.c line 2769
  • #46 IA__gtk_main
    at gtkmain.c line 1009
  • #47 main


Other information:
Everything is from gnome 2.10.2 repository (nautilus, gnome-vfs, libxml2)
hal is the latest from FC3
Comment 1 Christian Neumair 2005-09-30 15:21:03 UTC
Thanks for your bug report!
This looks extremely suspicious - gnome_vfs_mime_set_icon should definitly not
further invoke anything, although it shouldn't have been called in the first
place. Are you sure that you're not on GnomeVFS 2.8?

Is this a home-brewn version of Nautilus? If not, please install some more
packages: http://live.gnome.org/GettingTraces
Comment 2 oll 2005-10-01 09:45:40 UTC
Hmm. I'm not sure my level (I'm just an IT not a develooper) allows me to fully
understand your question (Is it some sort of enigma for a future Grim Fandango
II :-) ).
What I know is :
* I'm sure gnome-vfs is 2.10
*BUT, user was a former 2.8 user and it may have kept some 2.8 config files.
But as far as I know, except for immodule or gtk engines, there's no pieces of
code in config files (at least not for gnome-vfs/nautilus but maybe I'm wrong)

Anyway, I just realized I slightly patched and reinstalled gnome-vfs .
So the bug could have been a side effect of this : not exactly the same
libgnomevfs in memory than  on the filesystem, so a crash could occur next time
the system has to reload it.

If so, sorry for the bug, that's not a gnome one.


Comment 3 Christian Neumair 2005-10-01 12:32:36 UTC
Opening a terminal and entering
 lsof | grep -e nautilus.*libgnomevfs 
while Nautilus is running should do the trick.
Comment 4 oll 2005-10-07 08:34:14 UTC
It gives me libgnomevfs-2.so.0.1000.1
Comment 5 Christian Neumair 2005-10-07 08:58:17 UTC
I was rather interested in the prefix of this library path. While you're at it,
maybe

  lsof | grep -e libgnomevfs

should be better because it also tells us what the GnomeVFS daemon uses.
Comment 6 Christian Neumair 2005-10-07 08:58:42 UTC
Please append the whole output of the above command.
Comment 7 oll 2005-10-07 11:30:10 UTC
To make it more readable, I did :

 lsof|grep gnomevfs|awk '{print $1"   "$9}'|uniq

gnome-ses   /opt/STools/gnome-2.10/lib/libgnomevfs-2.so.0.1000.1
gnome-set   /opt/STools/gnome-2.10/lib/libgnomevfs-2.so.0.1000.1
gnome-smp   /opt/STools/gnome-2.10/lib/libgnomevfs-2.so.0.1000.1
gnome-pan   /opt/STools/gnome-2.10/lib/libgnomevfs-2.so.0.1000.1
gnome-vol   /opt/STools/gnome-2.10/lib/libgnomevfs-2.so.0.1000.1
wnck-appl   /opt/STools/gnome-2.10/lib/libgnomevfs-2.so.0.1000.1
gnome-vfs   /opt/STools/gnome-2.10/lib/libgnomevfs-2.so.0.1000.1
gpilot-ap   /opt/STools/gnome-2.10/lib/libgnomevfs-2.so.0.1000.1
gnubiff   /opt/STools/gnome-2.10/lib/libgnomevfs-2.so.0.1000.1
drivemoun   /opt/STools/gnome-2.10/lib/libgnomevfs-2.so.0.1000.1
clock-app   /opt/STools/gnome-2.10/lib/libgnomevfs-2.so.0.1000.1
notificat   /opt/STools/gnome-2.10/lib/libgnomevfs-2.so.0.1000.1
mixer_app   /opt/STools/gnome-2.10/lib/libgnomevfs-2.so.0.1000.1
gpilotd   /opt/STools/gnome-2.10/lib/libgnomevfs-2.so.0.1000.1
thunderbi   /opt/STools/gnome-2.10/lib/libgnomevfs-2.so.0.1000.1
gnome-ter   /opt/STools/gnome-2.10/lib/libgnomevfs-2.so.0.1000.1
evolution   /opt/STools/gnome-2.10/lib/libgnomevfs-2.so.0.1000.1
nautilus   /opt/STools/gnome-2.10/lib/libgnomevfs-2.so.0.1000.1
firefox-b   /opt/STools/gnome-2.10/lib/libgnomevfs-2.so.0.1000.1
evolution   /opt/STools/gnome-2.10/lib/libgnomevfs-2.so.0.1000.1
soffice.b   /opt/STools/gnome-2.10/lib/libgnomevfs-2.so.0.1000.1


I check user's config file. The only thing I found which seems related to
gnomevfs is this entry in the saved_state file :

ADD 503316551 "def" "/system/gnome_vfs" "IOR:01a2.....

I wonder what kind of personal configuration of gnome-vfs is saved ?
Anyway, this could be a "saved session" from his former 2.8 environment. 
(Even if I doubt it , since I ask users to delete their config files before
migrating).

Thank you for all your efforts, Christian, but I just recheck all my users bt,
and this is definitively the only one with such a crash. So It's really not
annoying.

I posted more as an informational purpose (in case of stack dup)





Comment 8 Christian Kirbach 2006-07-08 11:21:16 UTC
definitely a crash in libxml2, reassigning

is this still an issue with the latest version?
Comment 9 Daniel Veillard 2006-07-08 22:43:31 UTC
libxml2 version 2.4.13 ? This is from Jan 14 2002, and the reader
API was started to be added to libxml2 in 2.4.29, huh !

Now for the crash I habe no contect information, xmlTextReaderGetAttribute
do call xmlSplitQName2, its first argument is tested against NULL, the
second argument is valid, I don't see how this can crash.
Where on what instruction and what is the data provided ?

As is this is useless to me sorry...

Daniel
Comment 10 Christian Kirbach 2006-08-29 21:18:34 UTC
ool, can you please install the libxml and gnome-vfs debugging packages? please see http://live.gnome.org/GettingTraces
Comment 11 André Klapper 2006-10-06 09:17:22 UTC
oll, any news on this (with regard to christian's latest comment)? thanks in advance!
Comment 12 Christian Kirbach 2006-10-29 19:18:02 UTC
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for.
Thanks!