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 84545 - CRASH -- I was adding a "New file type" and then clicked on the button to allow me to select a category
CRASH -- I was adding a "New file type" and then clicked on the button to all...
Status: VERIFIED FIXED
Product: gnome-control-center
Classification: Core
Component: [obsolete] File types and programs
unspecified
Other other
: High critical
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2002-06-08 00:10 UTC by Miles Lane
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Miles Lane 2002-06-08 00:12:53 UTC
Package: control-center
Severity: normal
Version: 1.99.10
Synopsis: CRASH -- I was adding a "New file type" and then clicked on the button to allow me to select a category
Bugzilla-Product: control-center
Bugzilla-Component: mime-types
BugBuddy-GnomeVersion: 2.0 (2.0.0)

Description:
Description of Problem:
Summary says all I know.



Debugging Information:

Backtrace was generated from
'/gnome/head/INSTALL/bin/gnome-file-types-properties'

0x40a45319 in __wait4 () from /lib/libc.so.6
  • #0 __wait4
    from /lib/libc.so.6
  • #1 __DTOR_END__
    from /lib/libc.so.6
  • #2 waitpid
    from /lib/libpthread.so.0
  • #3 libgnomeui_segv_handle
    at gnome-ui-init.c line 620
  • #4 sigaction
    from /lib/libpthread.so.0
  • #5 <signal handler called>
  • #6 mime_types_model_iter_has_child
    at mime-types-model.c line 537
  • #7 gtk_tree_model_iter_has_child
    at gtktreemodel.c line 861
  • #8 gtk_tree_view_build_tree
    at gtktreeview.c line 6160
  • #9 gtk_tree_view_set_model
    at gtktreeview.c line 7649
  • #10 gtk_tree_view_new_with_model
    at gtktreeview.c line 7521
  • #11 choose_cat_cb
    at mime-edit-dialog.c line 789
  • #12 g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #13 g_closure_invoke
    at gclosure.c line 437
  • #14 signal_emit_unlocked_R
    at gsignal.c line 2341
  • #15 g_signal_emit_valist
    at gsignal.c line 2100
  • #16 gtk_signal_emit
    at gtksignal.c line 355
  • #17 gtk_button_clicked
    at gtkbutton.c line 549
  • #18 gtk_real_button_released
    at gtkbutton.c line 1038
  • #19 g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #20 g_type_class_meta_marshal
    at gclosure.c line 514
  • #21 g_closure_invoke
    at gclosure.c line 437
  • #22 signal_emit_unlocked_R
    at gsignal.c line 2271
  • #23 g_signal_emit_valist
    at gsignal.c line 2100
  • #24 gtk_signal_emit
    at gtksignal.c line 355
  • #25 gtk_button_released
    at gtkbutton.c line 541
  • #26 gtk_button_button_release
    at gtkbutton.c line 954
  • #27 _gtk_marshal_BOOLEAN__BOXED
    at gtkmarshalers.c line 82
  • #28 g_type_class_meta_marshal
    at gclosure.c line 514
  • #29 g_closure_invoke
    at gclosure.c line 437
  • #30 signal_emit_unlocked_R
    at gsignal.c line 2379
  • #31 g_signal_emit_valist
    at gsignal.c line 2110
  • #32 gtk_signal_emit
    at gtksignal.c line 355
  • #33 gtk_widget_event_internal
    at gtkwidget.c line 3082
  • #34 gtk_propagate_event
    at gtkmain.c line 2088
  • #35 gtk_main_do_event
    at gtkmain.c line 1337
  • #36 gdk_event_dispatch
    at gdkevents-x11.c line 1762
  • #37 g_main_dispatch
    at gmain.c line 1617
  • #38 g_main_context_dispatch
    at gmain.c line 2161
  • #39 g_main_context_iterate
    at gmain.c line 2242
  • #40 g_main_loop_run
    at gmain.c line 2462
  • #41 gtk_main
    at gtkmain.c line 936
  • #42 main
    at file-types-capplet.c line 297
  • #43 __libc_start_main
    at ../sysdeps/generic/libc-start.c line 129




------- Bug moved to this database by unknown@bugzilla.gnome.org 2002-06-07 20:12 -------

Reassigning to the default owner of the component, control-center-maint@bugzilla.gnome.org.

Comment 1 Jody Goldberg 2002-06-08 02:25:59 UTC
More detail please.

Exactly how did you get here

1) How did you start the file capplet (direct or via nautilus menus)
2) Precisely what did you enter before it crashed ?
3) Does it happen with a clean mime install (rm -rf ~/.gnome/mime-info ~/.gnome/application-info)

Thanks, but to track this I need to replicate it and this seems to be very
picky about when/where it will crash.
Comment 2 Miles Lane 2002-06-08 06:21:43 UTC
Okay.  The repro scenario is an edge case, so you may not care to
fix this.

Repro:

Add file type:

    Description = 1234
    Category = test

Now, remove "1234" from category test.
Click on "Add file type"
Click on Choose
Comment 3 Jody Goldberg 2002-06-08 06:36:32 UTC
Ok, patched in my tree.  I may be able to get this in for 2.0.0
but my tree is rater different than cvs now so it is non trivial.
Comment 4 Jody Goldberg 2002-06-16 04:00:02 UTC
patched in CVS.
Comment 5 Miles Lane 2002-07-03 00:42:52 UTC
Verified.