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 512555 - Crash in file chooser
Crash in file chooser
Status: RESOLVED OBSOLETE
Product: libgnomeui
Classification: Deprecated
Component: file-chooser
2.22.x
Other All
: Low critical
: ---
Assigned To: Federico Mena Quintero
Federico Mena Quintero
: 525870 529176 547285 552488 552493 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-01-28 12:19 UTC by Kjartan Maraas
Modified: 2009-08-26 05:12 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22



Description Kjartan Maraas 2008-01-28 12:19:12 UTC
Version: 1.8.1

What were you doing when the application crashed?
Tried saving Excel doc on a Windows share when it crashed.


Distribution: Fedora release 8.90 (Rawhide)
Gnome Release: 2.21.5 2008-01-14 (Red Hat, Inc)
BugBuddy Version: 2.20.1

System: Linux 2.6.24-2.fc9 #1 SMP Fri Jan 25 13:14:54 EST 2008 i686
X Vendor: The X.Org Foundation
X Vendor Release: 10499002
Selinux: No
Accessibility: Enabled
GTK+ Theme: Nodoka
Icon Theme: Fedora

Memory status: size: 80965632 vsize: 80965632 resident: 28442624 share: 18112512 rss: 28442624 rss_rlim: 4294967295
CPU usage: start_time: 1201522019 rtime: 1235 utime: 1065 stime: 170 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 100

Backtrace was generated from '/usr/bin/gnumeric'

Using host libthread_db library "/lib/libthread_db.so.1".
Getting all the debuginfos: debuginfo-install gnumeric
[Thread debugging using libthread_db enabled]
[New Thread 0xb7fc3710 (LWP 29196)]
0x00130402 in __kernel_vsyscall ()

Thread 1 (Thread 0xb7fc3710 (LWP 29196))

  • #0 __kernel_vsyscall
  • #1 waitpid
    from /lib/libc.so.6
  • #2 IA__g_spawn_sync
    at gspawn.c line 374
  • #3 IA__g_spawn_command_line_sync
    at gspawn.c line 682
  • #4 ??
    from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
  • #5 ??
    from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
  • #6 google_breakpad::ExceptionHandler::InternalWriteMinidump
    from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
  • #7 google_breakpad::ExceptionHandler::HandleException
    from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
  • #8 <signal handler called>
  • #9 is_desktop_file
    at gtkfilesystemgnomevfs.c line 963
  • #10 info_from_vfs_info
    at gtkfilesystemgnomevfs.c line 3036
  • #11 IA__gtk_file_folder_get_info
    at gtkfilesystem.c line 1126
  • #12 file_model_node_get_info
    at gtkfilesystemmodel.c line 1340
  • #13 file_model_node_is_visible
    at gtkfilesystemmodel.c line 1359
  • #14 do_files_added
    at gtkfilesystemmodel.c line 1743
  • #15 root_files_added_callback
    at gtkfilesystemmodel.c line 2001
  • #16 IA__g_cclosure_marshal_VOID__POINTER
    at gmarshal.c line 601
  • #17 IA__g_closure_invoke
    at gclosure.c line 490
  • #18 signal_emit_unlocked_R
    at gsignal.c line 2440
  • #19 IA__g_signal_emit_valist
    at gsignal.c line 2199
  • #20 IA__g_signal_emit_by_name
    at gsignal.c line 2267
  • #21 directory_load_callback
    at gtkfilesystemgnomevfs.c line 3421
  • #22 dispatch_job_callback
    at gnome-vfs-job.c line 237
  • #23 g_idle_dispatch
    at gmain.c line 4142
  • #24 IA__g_main_context_dispatch
    at gmain.c line 2064
  • #25 g_main_context_iterate
    at gmain.c line 2697
  • #26 IA__g_main_loop_run
    at gmain.c line 2905
  • #27 IA__gtk_main
    at gtkmain.c line 1163
  • #28 go_gtk_file_sel_dialog
    from /usr/lib/libgoffice-0.6.so.6
  • #29 gui_file_save_as
    at gui-file.c line 493
  • #30 cb_file_save_as
    at wbc-gtk-actions.c line 91
  • #31 IA__g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #32 IA__g_closure_invoke
    at gclosure.c line 490
  • #33 signal_emit_unlocked_R
    at gsignal.c line 2440
  • #34 IA__g_signal_emit_valist
    at gsignal.c line 2199
  • #35 IA__g_signal_emit
    at gsignal.c line 2243
  • #36 _gtk_action_emit_activate
    at gtkaction.c line 872
  • #37 IA__gtk_action_activate
    at gtkaction.c line 899
  • #38 IA__g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #39 IA__g_closure_invoke
    at gclosure.c line 490
  • #40 signal_emit_unlocked_R
    at gsignal.c line 2440
  • #41 IA__g_signal_emit_valist
    at gsignal.c line 2199
  • #42 IA__g_signal_emit
    at gsignal.c line 2243
  • #43 IA__gtk_widget_activate
    at gtkwidget.c line 4706
  • #44 IA__gtk_menu_shell_activate_item
    at gtkmenushell.c line 1145
  • #45 gtk_real_menu_shell_activate_current
    at gtkmenushell.c line 1429
  • #46 IA__g_cclosure_marshal_VOID__BOOLEAN
    at gmarshal.c line 111
  • #47 g_type_class_meta_marshal
    at gclosure.c line 567
  • #48 IA__g_closure_invoke
    at gclosure.c line 490
  • #49 signal_emit_unlocked_R
    at gsignal.c line 2478
  • #50 IA__g_signal_emitv
    at gsignal.c line 2111
  • #51 gtk_binding_entry_activate
    at gtkbindings.c line 536
  • #52 binding_match_activate
    at gtkbindings.c line 1100
  • #53 gtk_bindings_activate_list
    at gtkbindings.c line 1245
  • #54 IA__gtk_bindings_activate_event
    at gtkbindings.c line 1338
  • #55 gtk_menu_shell_key_press
    at gtkmenushell.c line 782
  • #56 gtk_menu_key_press
    at gtkmenu.c line 2787
  • #57 _gtk_marshal_BOOLEAN__BOXED
    at gtkmarshalers.c line 84
  • #58 g_type_class_meta_marshal
    at gclosure.c line 567
  • #59 IA__g_closure_invoke
    at gclosure.c line 490
  • #60 signal_emit_unlocked_R
    at gsignal.c line 2478
  • #61 IA__g_signal_emit_valist
    at gsignal.c line 2209
  • #62 IA__g_signal_emit
    at gsignal.c line 2243
  • #63 gtk_widget_event_internal
    at gtkwidget.c line 4675
  • #64 IA__gtk_widget_event
    at gtkwidget.c line 4475
  • #65 IA__gtk_propagate_event
    at gtkmain.c line 2302
  • #66 IA__gtk_main_do_event
    at gtkmain.c line 1556
  • #67 gdk_event_dispatch
    at gdkevents-x11.c line 2351
  • #68 IA__g_main_context_dispatch
    at gmain.c line 2064
  • #69 g_main_context_iterate
    at gmain.c line 2697
  • #70 IA__g_main_loop_run
    at gmain.c line 2905
  • #71 bonobo_main
    at bonobo-main.c line 311
  • #72 main
    at main-application.c line 449
  • #0 __kernel_vsyscall


----------- .xsession-errors ---------------------
Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/aa/edbfa60cc322877f1bc56f34250f0e6f994ed8.debug
(no separate debuginfo file found)
Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/68/63de4a4ef81bc4ccfd5c3d437086752581f11e.debug
(no separate debuginfo file found)
Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/32/9cd425949ed4658f7cc866cec3b91fda84d10b.debug
(no separate debuginfo file found)
Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/64/f1e9e057af5b12a3525acb3df2295d6fcf48f1.debug
(no separate debuginfo file found)
Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/e4/dc12046d388965da0673704cf6332a6681b28c.debug
(no separate debuginfo file found)
Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/b2/a80df2c4a3d8bede3bd7167d990092387f8d00.debug
(no separate debuginfo file found)
Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/13/43098bfb6c33ba11392b8cc202272de5e7e7cb.debug
Cannot access memory at address 0x16
Cannot access memory at address 0x16
--------------------------------------------------
Comment 1 Morten Welinder 2008-01-28 16:00:48 UTC
It's crashing in the libgnomeui file chooser.  Unhelpfully tossing this
bug there.  (Try valgrinding, btw.)
Comment 2 Kjartan Maraas 2008-01-29 12:13:23 UTC
Valgrind has this to say:

==23390== Invalid read of size 1
==23390==    at 0x7FFCA48: is_desktop_file (gtkfilesystemgnomevfs.c:963)
==23390==    by 0x7FFCB2C: info_from_vfs_info (gtkfilesystemgnomevfs.c:3036)
==23390==    by 0x46FEB67: gtk_file_folder_get_info (gtkfilesystem.c:1126)
==23390==    by 0x47011F3: file_model_node_get_info (gtkfilesystemmodel.c:1340)
==23390==    by 0x470128F: file_model_node_is_visible (gtkfilesystemmodel.c:1359)
==23390==    by 0x4701EE2: do_files_added (gtkfilesystemmodel.c:1743)
==23390==    by 0x470254D: root_files_added_callback (gtkfilesystemmodel.c:2001)
==23390==    by 0x4E94B12: g_cclosure_marshal_VOID__POINTER (gmarshal.c:601)
==23390==    by 0x4E86FF2: g_closure_invoke (gclosure.c:490)
==23390==    by 0x4E988FA: signal_emit_unlocked_R (gsignal.c:2440)
==23390==    by 0x4E9A342: g_signal_emit_valist (gsignal.c:2199)
==23390==    by 0x4E9B0AD: g_signal_emit_by_name (gsignal.c:2267)
==23390==    by 0x7FFC7F4: directory_load_callback (gtkfilesystemgnomevfs.c:3421)
==23390==    by 0x4C49C28: dispatch_job_callback (gnome-vfs-job.c:237)
==23390==    by 0x4EF3000: g_idle_dispatch (gmain.c:4142)
==23390==    by 0x4EF4BCB: g_main_context_dispatch (gmain.c:2064)
==23390==    by 0x4EF8045: g_main_context_iterate (gmain.c:2697)
==23390==    by 0x4EF83F8: g_main_loop_run (gmain.c:2905)
==23390==    by 0x475C306: gtk_main (gtkmain.c:1163)
==23390==    by 0x43CD19B: go_gtk_file_sel_dialog (in /usr/lib/libgoffice-0.6.so.6.0.1)
==23390==    by 0x40CF331: gui_file_save_as (gui-file.c:493)
==23390==    by 0x415C2EE: cb_file_save_as (wbc-gtk-actions.c:91)
==23390==    by 0x4E94A58: g_cclosure_marshal_VOID__VOID (gmarshal.c:77)
==23390==    by 0x4E86FF2: g_closure_invoke (gclosure.c:490)
==23390==    by 0x4E988FA: signal_emit_unlocked_R (gsignal.c:2440)
==23390==    by 0x4E9A342: g_signal_emit_valist (gsignal.c:2199)
==23390==    by 0x4E9A5E8: g_signal_emit (gsignal.c:2243)
==23390==    by 0x463D8F5: _gtk_action_emit_activate (gtkaction.c:872)
==23390==    by 0x463D9BC: gtk_action_activate (gtkaction.c:899)
==23390==    by 0x4E94A58: g_cclosure_marshal_VOID__VOID (gmarshal.c:77)
==23390==  Address 0x0 is not stack'd, malloc'd or (recently) free'd
==23390== 
==23390== Syscall param rt_sigaction(act->sa_mask) points to uninitialised byte(s)
==23390==    at 0x4FEDAAD: sigaction (in /lib/libc-2.7.90.so)
==23390==  Address 0x5972000 is on thread 1's stack
Cannot access memory at address 0x1be1445
Comment 3 Felix Riemann 2008-04-21 10:35:19 UTC
*** Bug 529176 has been marked as a duplicate of this bug. ***
Comment 4 Kjartan Maraas 2008-08-28 09:15:50 UTC
I can't reproduce this any more since I don't have access to the server in question. AFAIR I couldn't reproduce it the last time I tried on the server either. Closing since there's just one duplicate in four months and the gnomevfs file chooser is deprecated anyways.
Comment 5 tim 2008-09-17 10:50:03 UTC
It's still happening. This will be a bug in Debian Lenny, the coming stable release. 
see   http://bugzilla.gnome.org/show_bug.cgi?id=552493
which is a dup

Comment 6 tim 2008-09-17 11:01:53 UTC
Also, this is a dup, with clear instructions of how to reproduce.
  http://bugzilla.gnome.org/show_bug.cgi?id=552488
Comment 7 André Klapper 2008-09-21 22:20:18 UTC
*** Bug 552493 has been marked as a duplicate of this bug. ***
Comment 8 André Klapper 2008-09-21 22:20:25 UTC
*** Bug 552488 has been marked as a duplicate of this bug. ***
Comment 9 André Klapper 2008-09-21 22:21:51 UTC
Yes, but the gnomevfs file chooser is deprecated... Probably none of the developers will work on this anymore, so to me this is WONTFIX or OBSOLETE too.
Patches accepted.

Copying the comments from bug 552488 and bug 552493:

Steps to reproduce:
1. Mount a windows share which has a thumbs.db in it (created from Windows
explorer)
2. Use a gnome application such as Evolution; go to an open file dialog such as
attaching a file to an email, and browse to a folder containing thumbs.db
3. Crash of the application (Evolutoin, for example)


Stack trace:
messages.log 
indicates an error: 
Sep  8 16:30:27 u400 kernel: [ 2476.308768] evolution[4153]: segfault at 
0 ip b3ab1148 sp bfb88e20 error 4 in libgnome-vfs.so[b3aac000+a000]


the backtrace:


Program received signal SIGSEGV, Segmentation fault.

Thread 3060397856 (LWP 7978)

  • #0 is_desktop_file
    at gtkfilesystemgnomevfs.c line 965
  • #1 info_from_vfs_info
    at gtkfilesystemgnomevfs.c line 3055
  • #2 gtk_file_folder_get_info
    from /usr/lib/libgtk-x11-2.0.so.0
  • #3 ??
    from /usr/lib/libgtk-x11-2.0.so.0
  • #4 ??
  • #5 ??
  • #6 ??



Other information:
This is reproducible in Debian Lenny and Debian Sid, both on shares from an XP
Professional desktop, and shares from Small Business Server. 

It is filed here: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=498212

Comment 10 André Klapper 2008-09-21 22:27:53 UTC
*** Bug 525870 has been marked as a duplicate of this bug. ***
Comment 11 tim 2008-09-29 08:52:16 UTC
Fixed in debian. See the Debian bug report link if interested.
Comment 12 Akhil Laddha 2009-08-26 05:12:40 UTC
*** Bug 547285 has been marked as a duplicate of this bug. ***