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 317687 - gnome-panel crash by clicking on settings
gnome-panel crash by clicking on settings
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: GtkFileChooser
2.8.x
Other other
: High critical
: ---
Assigned To: Federico Mena Quintero
Federico Mena Quintero
: 325099 325435 330900 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-10-01 13:07 UTC by tscheggsches
Modified: 2011-02-04 16:20 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10


Attachments
Patch for this bug (746 bytes, patch)
2005-12-27 18:38 UTC, Federico Mena Quintero
committed Details | Review

Description tscheggsches 2005-10-01 13:07:24 UTC
From:  <>
To: submit@bugs.gnome.org
X-Mailer: bug-buddy 2.10.0
Subject: gnome-panel crash by clicking on settings

Distribution: Debian testing/unstable
Package: gnome-panel
Severity: critical
Version: GNOME2.10.2 2.10.x
Gnome-Distributor: Debian
Synopsis: gnome-panel crash by clicking on settings
Bugzilla-Product: gnome-panel
Bugzilla-Component: Panel
Bugzilla-Version: 2.10.x
BugBuddy-GnomeVersion: 2.0 (2.10.1)
Description:
Description of the crash:


Steps to reproduce the crash:
1. On panel right-click for settings
2. The settings dialog appears but also gnome-panel crashes.
3.

Expected Results:
Dialog appears and settings to the panel can be made.

How often does this happen?
always.

Additional Information:



Debugging Information:

Backtrace was generated from '/usr/bin/gnome-panel'

(no debugging symbols found)
Using host libthread_db library "/lib/tls/libthread_db.so.1".
(no debugging symbols found)
`system-supplied DSO at 0xffffe000' has disappeared; keeping its
symbols.
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1223317280 (LWP 3769)]
[New Thread -1236407376 (LWP 5519)]
[New Thread -1235686480 (LWP 5518)]
[New Thread -1226237008 (LWP 3783)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
0xb7914201 in __waitpid_nocancel () from /lib/tls/libpthread.so.0

Thread 1 (Thread -1223317280 (LWP 3769))

  • #0 __waitpid_nocancel
    from /lib/tls/libpthread.so.0
  • #1 libgnomeui_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #2 <signal handler called>
  • #3 strcmp
    from /lib/tls/libc.so.6
  • #4 gtk_file_filter_filter
    from /usr/lib/libgtk-x11-2.0.so.0
  • #5 _gtk_file_chooser_default_get_type
    from /usr/lib/libgtk-x11-2.0.so.0
  • #6 _gtk_file_chooser_default_get_type
    from /usr/lib/libgtk-x11-2.0.so.0
  • #7 _gtk_file_system_model_remove_editable
    from /usr/lib/libgtk-x11-2.0.so.0
  • #8 _gtk_file_system_model_remove_editable
    from /usr/lib/libgtk-x11-2.0.so.0
  • #9 g_cclosure_marshal_VOID__POINTER
    from /usr/lib/libgobject-2.0.so.0
  • #10 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #11 g_signal_stop_emission
    from /usr/lib/libgobject-2.0.so.0
  • #12 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #13 g_signal_emit_by_name
    from /usr/lib/libgobject-2.0.so.0
  • #14 gtk_file_system_gnome_vfs_new
    from /usr/lib/gtk-2.0/2.4.0/filesystems/libgnome-vfs.so
  • #15 _gnome_vfs_job_complete
    from /usr/lib/libgnomevfs-2.so.0
  • #16 _gnome_vfs_job_complete
    from /usr/lib/libgnomevfs-2.so.0
  • #17 g_child_watch_add
    from /usr/lib/libglib-2.0.so.0
  • #18 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #19 g_main_context_check
    from /usr/lib/libglib-2.0.so.0
  • #20 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #21 gtk_main
    from /usr/lib/libgtk-x11-2.0.so.0
  • #22 main
  • #0 __waitpid_nocancel
    from /lib/tls/libpthread.so.0




------- Bug moved to this database by unknown@gnome.bugs 2005-10-01 13:07 UTC -------

Comment 1 Sebastien Bacher 2005-11-20 15:26:41 UTC
 Thanks for the bug report. Unfortunately, that stack trace is not very useful
in determining the cause of the crash. Can you get us one with debugging
symbols? Please see http://live.gnome.org/GettingTraces for more information on
how to do so.
Comment 2 Sebastien Bacher 2005-12-26 16:51:50 UTC
Seems to be a GTK issue, Ubuntu http://bugzilla.ubuntu.com/show_bug.cgi?id=21509 has the same backtrace happening with the background capplet
Comment 3 Christian Kirbach 2005-12-26 17:08:26 UTC
Thanks for the bug report. Unfortunately, that stack trace is not very useful in determining the cause of the crash. Can you get us one with debugging symbols? Please see http://live.gnome.org/GettingTraces for more information on how to do so.
Comment 4 Sebastien Bacher 2005-12-27 10:00:54 UTC
Somewhat the comment didn't get commited yesterday:

Program received signal SIGSEGV, Segmentation fault.

Thread 16384 (LWP 8581)

  • #0 *__GI_strcmp
    at ../sysdeps/generic/strcmp.c line 39
  • #1 IA__gtk_file_filter_filter
    at gtkfilefilter.c line 437
  • #2 get_is_file_filtered
    at gtkfilechooserdefault.c line 4796
  • #3 list_model_filter_func
    at gtkfilechooserdefault.c line 4876
  • #4 file_model_node_is_visible
    at gtkfilesystemmodel.c line 1310
  • #5 model_refilter_recurse
    at gtkfilesystemmodel.c line 837
  • #6 model_refilter_all
    at gtkfilesystemmodel.c line 880
  • #7 install_list_model_filter
    at gtkfilechooserdefault.c line 4898
  • #8 gtk_file_chooser_default_update_current_folder
    at gtkfilechooserdefault.c line 5329
  • #9 _gtk_file_chooser_set_current_folder_path
    at gtkfilechooser.c line 1072
  • #10 IA__gtk_file_chooser_set_current_folder
    at gtkfilechooser.c line 687
  • #11 gtk_file_chooser_default_map
    at gtkfilechooserdefault.c line 4824
  • #12 IA__g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #13 g_type_class_meta_marshal
    at gclosure.c line 567
  • #14 IA__g_closure_invoke
    at gclosure.c line 490
  • #15 signal_emit_unlocked_R
    at gsignal.c line 2379
  • #16 IA__g_signal_emit_valist
    at gsignal.c line 2208
  • #17 IA__g_signal_emit
    at gsignal.c line 2252
  • #18 IA__gtk_widget_map
    at gtkwidget.c line 2242
  • #19 gtk_container_map_child
    at gtkcontainer.c line 2387
  • #20 gtk_box_forall
    at gtkbox.c line 703
  • #21 IA__gtk_container_forall
    at gtkcontainer.c line 1265
  • #22 gtk_container_map
    at gtkcontainer.c line 2395
  • #23 IA__g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #24 g_type_class_meta_marshal
    at gclosure.c line 567
  • #25 IA__g_closure_invoke
    at gclosure.c line 490
  • #26 signal_emit_unlocked_R
    at gsignal.c line 2379
  • #27 IA__g_signal_emit_valist
    at gsignal.c line 2208
  • #28 IA__g_signal_emit
    at gsignal.c line 2252
  • #29 IA__gtk_widget_map
    at gtkwidget.c line 2242
  • #30 gtk_file_chooser_dialog_map
    at gtkfilechooserdialog.c line 500
  • #31 IA__g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #32 g_type_class_meta_marshal
    at gclosure.c line 567
  • #33 IA__g_closure_invoke
    at gclosure.c line 490
  • #34 signal_emit_unlocked_R
    at gsignal.c line 2379
  • #35 IA__g_signal_emit_valist
    at gsignal.c line 2208
  • #36 IA__g_signal_emit
    at gsignal.c line 2252
  • #37 IA__gtk_widget_map
    at gtkwidget.c line 2242
  • #38 gtk_window_show
    at gtkwindow.c line 3936
  • #39 IA__g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #40 g_type_class_meta_marshal
    at gclosure.c line 567
  • #41 IA__g_closure_invoke
    at gclosure.c line 490
  • #42 signal_emit_unlocked_R
    at gsignal.c line 2379
  • #43 IA__g_signal_emit_valist
    at gsignal.c line 2208
  • #44 IA__g_signal_emit
    at gsignal.c line 2252
  • #45 IA__gtk_widget_show
    at gtkwidget.c line 2049
  • #46 IA__gtk_dialog_run
    at gtkdialog.c line 990
  • #47 ??
  • #48 ??
  • #49 ??
  • #50 ??
  • #51 IA__g_closure_ref
    at gclosure.c line 360
  • #52 IA__g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #53 IA__g_closure_invoke
    at gclosure.c line 490
  • #54 signal_emit_unlocked_R
    at gsignal.c line 2449
  • #55 IA__g_signal_emit_valist
    at gsignal.c line 2208
  • #56 IA__g_signal_emit
    at gsignal.c line 2252
  • #57 IA__gtk_button_clicked
    at gtkbutton.c line 834
  • #58 gtk_real_button_released
    at gtkbutton.c line 1369
  • #59 IA__g_cclosure_marshal_VOID__VOID
  • #60 g_type_class_meta_marshal
    at gclosure.c line 567
  • #61 IA__g_closure_invoke
    at gclosure.c line 490
  • #62 signal_emit_unlocked_R
    at gsignal.c line 2379
  • #63 IA__g_signal_emit_valist
    at gsignal.c line 2208
  • #64 IA__g_signal_emit
    at gsignal.c line 2252
  • #65 IA__gtk_button_released
    at gtkbutton.c line 826
  • #66 gtk_button_button_release
    at gtkbutton.c line 1262
  • #67 _gtk_marshal_BOOLEAN__BOXED
    at gtkmarshalers.c line 83
  • #68 g_type_class_meta_marshal
    at gclosure.c line 567
  • #69 IA__g_closure_invoke
    at gclosure.c line 490
  • #70 signal_emit_unlocked_R
    at gsignal.c line 2487
  • #71 IA__g_signal_emit_valist
    at gsignal.c line 2218
  • #72 IA__g_signal_emit
    at gsignal.c line 2252
  • #73 gtk_widget_event_internal
    at gtkwidget.c line 3735
  • #74 IA__gtk_propagate_event
    at gtkmain.c line 2175
  • #75 IA__gtk_main_do_event
    at gtkmain.c line 1412
  • #76 gdk_event_dispatch
    at gdkevents-x11.c line 2291
  • #77 IA__g_main_context_dispatch
    at gmain.c line 1913
  • #78 g_main_context_iterate
    at gmain.c line 2544
  • #79 IA__g_main_loop_run
    at gmain.c line 2748
  • #80 IA__gtk_main
    at gtkmain.c line 991
  • #81 ??
  • #82 ??
  • #83 _IO_stdin_used
  • #84 ??
  • #85 ??
  • #86 ??

Comment 5 Federico Mena Quintero 2005-12-27 18:19:02 UTC
Indeed, in gtk_file_filter_filter(), there's no check for filter_info->mime_type being non-NULL in the case for FILTER_RULE_PIXBUF_FORMATS.  I'll put in a fix shortly.
Comment 6 Federico Mena Quintero 2005-12-27 18:38:50 UTC
Created attachment 56444 [details] [review]
Patch for this bug

I've committed this to HEAD and gtk-2-8:

2005-12-27  Federico Mena Quintero  <federico@ximian.com>

	* gtk/gtkfilefilter.c (gtk_file_filter_filter): In the case for
	FILTER_RULE_PIXBUF_FORMATS, check that filter_info->mime_type is
	not NULL.  Fixes bug #317687.
Comment 7 Nickolay V. Shmyrev 2005-12-28 13:27:03 UTC
*** Bug 325099 has been marked as a duplicate of this bug. ***
Comment 8 Federico Mena Quintero 2006-01-02 02:52:58 UTC
*** Bug 325435 has been marked as a duplicate of this bug. ***
Comment 9 Nickolay V. Shmyrev 2006-02-12 18:03:46 UTC
*** Bug 330900 has been marked as a duplicate of this bug. ***