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 69493 - Crash on exit
Crash on exit
Status: RESOLVED FIXED
Product: system-monitor
Classification: Core
Component: general
unspecified
Other other
: Normal critical
: ---
Assigned To: System-monitor maintainers
System-monitor maintainers
: 70329 73324 74665 76937 79639 80361 81549 82500 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2002-01-23 22:29 UTC by Luis Villa
Modified: 2011-11-11 10:03 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Luis Villa 2002-01-23 22:37:43 UTC
Package: procman
Severity: critical
Version: 1.1.2
Synopsis: Crash on exit
Bugzilla-Product: procman
Bugzilla-Component: general
BugBuddy-GnomeVersion: 2.0 (1.109.0)

Description:
Description of Problem:
Exited the program and it crashed. This is with a build from yesterday
(01/23.) Can't reproduce.




Debugging Information:

[New Thread 1024 (LWP 17614)]
0x4090be29 in __wait4 () from /lib/libc.so.6

Thread 1 (Thread 1024 (LWP 17614))

  • #0 __wait4
    from /lib/libc.so.6
  • #1 __DTOR_END__
    from /lib/libc.so.6
  • #2 waitpid
    at wrapsyscall.c line 172
  • #3 libgnomeui_segv_handle
    at gnome-ui-init.c line 621
  • #4 pthread_sighandler
    at signals.c line 97
  • #5 <signal handler called>
  • #6 gtk_widget_set_sensitive
    at gtkwidget.c line 3665
  • #7 update_sensitivity
    at interface.c line 660
  • #8 _gtk_marshal_VOID__POINTER_UINT
    at gtkmarshalers.c line 1702
  • #9 g_closure_invoke
    at gclosure.c line 437
  • #10 signal_emit_unlocked_R
    at gsignal.c line 2340
  • #11 g_signal_emit_valist
    at gsignal.c line 2099
  • #12 gtk_signal_emit
    at gtksignal.c line 355
  • #13 gtk_notebook_switch_page
    at gtknotebook.c line 3481
  • #14 gtk_notebook_real_remove
    at gtknotebook.c line 2284
  • #15 gtk_notebook_remove
    at gtknotebook.c line 1821
  • #16 g_cclosure_marshal_VOID__OBJECT
    at gmarshal.c line 591
  • #17 g_type_class_meta_marshal
    at gclosure.c line 514
  • #18 g_closure_invoke
    at gclosure.c line 437
  • #19 signal_emit_unlocked_R
    at gsignal.c line 2270
  • #20 g_signal_emit_valist
    at gsignal.c line 2099
  • #21 gtk_signal_emit
    at gtksignal.c line 355
  • #22 gtk_container_remove
    at gtkcontainer.c line 901
  • #23 gtk_widget_dispose
    at gtkwidget.c line 5557
  • #24 g_object_run_dispose
    at gobject.c line 466
  • #25 gtk_object_destroy
    at gtkobject.c line 358
  • #26 gtk_widget_destroy
    at gtkwidget.c line 1566
  • #27 gtk_notebook_forall
    at gtknotebook.c line 2054
  • #28 gtk_container_foreach
    at gtkcontainer.c line 1211
  • #29 gtk_container_destroy
    at gtkcontainer.c line 735
  • #30 gtk_notebook_destroy
    at gtknotebook.c line 633
  • #31 g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 32
  • #32 g_type_class_meta_marshal
    at gclosure.c line 514
  • #33 g_closure_invoke
    at gclosure.c line 437
  • #34 signal_emit_unlocked_R
    at gsignal.c line 2456
  • #35 g_signal_emit_valist
    at gsignal.c line 2099
  • #36 gtk_signal_emit
    at gtksignal.c line 355
  • #37 gtk_object_dispose
    at gtkobject.c line 373
  • #38 gtk_widget_dispose
    at gtkwidget.c line 5563
  • #39 g_object_run_dispose
    at gobject.c line 466
  • #40 gtk_object_destroy
    at gtkobject.c line 358
  • #41 gtk_widget_destroy
    at gtkwidget.c line 1566
  • #42 bonobo_dock_forall
    at bonobo-dock.c line 667
  • #43 gtk_container_foreach
    at gtkcontainer.c line 1211
  • #44 gtk_container_destroy
    at gtkcontainer.c line 735
  • #45 bonobo_dock_destroy
    at bonobo-dock.c line 675
  • #46 g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 32
  • #47 g_type_class_meta_marshal
    at gclosure.c line 514
  • #48 g_closure_invoke
    at gclosure.c line 437
  • #49 signal_emit_unlocked_R
    at gsignal.c line 2456
  • #50 g_signal_emit_valist
    at gsignal.c line 2099
  • #51 gtk_signal_emit
    at gtksignal.c line 355
  • #52 gtk_object_dispose
    at gtkobject.c line 373
  • #53 gtk_widget_dispose
    at gtkwidget.c line 5563
  • #54 g_object_run_dispose
    at gobject.c line 466
  • #55 gtk_object_destroy
    at gtkobject.c line 358
  • #56 gtk_widget_destroy
    at gtkwidget.c line 1566
  • #57 gtk_box_forall
    at gtkbox.c line 719
  • #58 gtk_container_foreach
    at gtkcontainer.c line 1211
  • #59 gtk_container_destroy
    at gtkcontainer.c line 735
  • #60 g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 32
  • #61 g_type_class_meta_marshal
    at gclosure.c line 514
  • #62 g_closure_invoke
    at gclosure.c line 437
  • #63 signal_emit_unlocked_R
    at gsignal.c line 2456
  • #64 g_signal_emit_valist
    at gsignal.c line 2099
  • #65 gtk_signal_emit
    at gtksignal.c line 355
  • #66 gtk_object_dispose
    at gtkobject.c line 373
  • #67 gtk_widget_dispose
    at gtkwidget.c line 5563
  • #68 g_object_run_dispose
    at gobject.c line 466
  • #69 gtk_object_destroy
    at gtkobject.c line 358
  • #70 gtk_widget_destroy
    at gtkwidget.c line 1566
  • #71 gtk_bin_forall
    at gtkbin.c line 174
  • #72 gtk_container_foreach
    at gtkcontainer.c line 1211
  • #73 gtk_container_destroy
    at gtkcontainer.c line 735
  • #74 gtk_window_destroy
    at gtkwindow.c line 2910
  • #75 gnome_app_destroy
    at gnome-app.c line 366
  • #76 g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 32
  • #77 g_type_class_meta_marshal
    at gclosure.c line 514
  • #78 g_closure_invoke
    at gclosure.c line 437
  • #79 signal_emit_unlocked_R
    at gsignal.c line 2456
  • #80 g_signal_emit_valist
    at gsignal.c line 2099
  • #81 gtk_signal_emit
    at gtksignal.c line 355
  • #82 gtk_object_dispose
    at gtkobject.c line 373
  • #83 gtk_widget_dispose
    at gtkwidget.c line 5563
  • #84 gtk_window_dispose
    at gtkwindow.c line 1501
  • #85 g_object_run_dispose
    at gobject.c line 466
  • #86 gtk_object_destroy
    at gtkobject.c line 358
  • #87 gtk_widget_destroy
    at gtkwidget.c line 1566
  • #88 gtk_main_do_event
    at gtkmain.c line 1037
  • #89 gdk_event_dispatch
    at gdkevents-x11.c line 1751
  • #90 g_main_dispatch
    at gmain.c line 1616
  • #91 g_main_context_dispatch
    at gmain.c line 2148
  • #92 g_main_context_iterate
    at gmain.c line 2229
  • #93 g_main_loop_run
    at gmain.c line 2449
  • #94 gtk_main
    at gtkmain.c line 812
  • #95 main
    at procman.c line 502
  • #96 __libc_start_main
    at ../sysdeps/generic/libc-start.c line 129
  • #0 __wait4
    from /lib/libc.so.6
  • #0 __wait4
    from /lib/libc.so.6
  • #1 __DTOR_END__
    from /lib/libc.so.6
  • #2 waitpid
    at wrapsyscall.c line 172
  • #3 libgnomeui_segv_handle
    at gnome-ui-init.c line 621
  • #4 pthread_sighandler
    at signals.c line 97
  • #5 <signal handler called>
  • #6 gtk_widget_set_sensitive
    at gtkwidget.c line 3665
  • #7 update_sensitivity
    at interface.c line 660




------- Bug moved to this database by unknown@bugzilla.gnome.org 2002-01-23 17:37 -------

Unknown version 1.1.x in product procman. Setting version to the default, "unspecified".
Reassigning to the default owner of the component, kfv101@psu.edu.

Comment 1 Kevin Vandersloot 2002-01-26 20:17:25 UTC
GtkNotebook is calling the "switch_page" signal while everything is 
being destroyed. Could be a gtk bug, but it would be easy enough to 
put in a hack to avoid the segfault.
Comment 2 Kevin Vandersloot 2002-02-02 14:08:06 UTC
*** Bug 70329 has been marked as a duplicate of this bug. ***
Comment 3 Luis Villa 2002-02-04 17:35:21 UTC
Kevin: if it is a gtk bug (possibly) should we cc Owen?
Comment 4 Luis Villa 2002-02-26 20:36:40 UTC
Well, I can't dup this anymore, so either Kevin fixed it or Owen did.
Marking FIXED.
Comment 5 Kevin Vandersloot 2002-02-26 20:40:20 UTC
Reopening because it still occurs.
Comment 6 Luis Villa 2002-02-26 20:53:53 UTC
Fair enough, though I used to be able to dup 100% and now can't...
Comment 7 Kevin Vandersloot 2002-03-04 00:38:50 UTC
*** Bug 73324 has been marked as a duplicate of this bug. ***
Comment 8 Kevin Vandersloot 2002-03-20 01:25:09 UTC
*** Bug 74665 has been marked as a duplicate of this bug. ***
Comment 9 Kevin Vandersloot 2002-03-20 01:42:01 UTC
I think I fixed this. I'll leave open for now though.

2002-03-19  Kevin Vandersloot <kfv101@psu.edu>

        * procman.c: reflect change in binary name in gnome_init

        * callbacks.c: delete_event returns a gboolean. May fix the
        crash on exits

        * proctable.c: add some debug spew to catch some of the crashses
        reported
Comment 10 Luis Villa 2002-03-30 03:48:44 UTC
*** Bug 76937 has been marked as a duplicate of this bug. ***
Comment 11 Luis Villa 2002-03-30 19:58:02 UTC
Kevin: is bug 75133 the same bug as this? It was reported against
gtop, but I'm wondering if that's a mistake...
Comment 12 Heath Harrelson 2002-04-24 03:05:59 UTC
*** Bug 79639 has been marked as a duplicate of this bug. ***
Comment 13 Heath Harrelson 2002-04-30 17:29:53 UTC
*** Bug 80361 has been marked as a duplicate of this bug. ***
Comment 14 Luis Villa 2002-05-13 17:51:39 UTC
*** Bug 81549 has been marked as a duplicate of this bug. ***
Comment 15 Luis Villa 2002-05-13 17:52:24 UTC
Doesn't appear to have been fixed :/ Still fairly rare, though.
Comment 16 aaron 2002-05-15 17:05:23 UTC
I can reproduce this consistently-- To duplicate, run
gnome-system-monitor, then click on any of your processes to hilight
it. Then close the app.  It doesn't happen if you don't select an item.

I'm running this versIOn:
gnome-system-monitor-1.1.6.0.200205141824-0.snap.ximian.1
Comment 17 Kevin Vandersloot 2002-05-15 23:16:40 UTC
Thank you so much Aaron! I think I just nailed it. The change is in
cvs now.

2002-05-15  Kevin Vandersloot <kfv101@psu.edu>

        * callbacks.c: return TRUE for the app_delete callback. 
        Should fix the crash on exit once and for all - bug #69493


Aaron, or someone else: could you test the fix?
Comment 18 Kevin Vandersloot 2002-05-21 15:51:31 UTC
*** Bug 82500 has been marked as a duplicate of this bug. ***
Comment 19 aaron 2002-05-21 18:28:54 UTC
gnome-system-monitor-1.1.7.0.200205200434-0.snap.ximian.1 seems to
have fixed the issue!

Congrats!