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 73224 - crashes when removing a panel
crashes when removing a panel
Status: RESOLVED FIXED
Product: gnome-panel
Classification: Other
Component: panel
1.5.x
Other other
: High critical
: ---
Assigned To: Panel Maintainers
Panel Maintainers
: 72646 72974 73325 73823 73849 74769 74977 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2002-03-02 21:08 UTC by Gediminas Paulauskas
Modified: 2015-03-24 13:00 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch (1016 bytes, patch)
2002-03-07 11:43 UTC, Arvind S N
none Details | Review

Description Gediminas Paulauskas 2002-03-02 21:08:02 UTC
Package: gnome-panel
Severity: critical
Version: 1.5.11
Synopsis: crashes when removing a panel
Bugzilla-Product: gnome-panel
Bugzilla-Component: Panel
BugBuddy-GnomeVersion: 2.0 (1.112.0)

Description:
This is yet another crash-on-remove bug. I have a patch from
http://bugzilla.gnome.org/show_bug.cgi?id=72167 applied, but now it
crashes elsewhere (in panel, not tasklist/pager).

I created one floating panel, added a pager to it, clicked "remove this
panel", answered "yes". repeatable.



Debugging Information:

[New Thread 1024 (LWP 17926)]
0x4096bb79 in wait4 () from /lib/libc.so.6

Thread 1 (Thread 1024 (LWP 17926))

  • #0 wait4
    from /lib/libc.so.6
  • #1 __check_rhosts_file
    from /lib/libc.so.6
  • #2 waitpid
    from /lib/libpthread.so.0
  • #3 libgnomeui_segv_handle
    at gnome-ui-init.c line 598
  • #4 pthread_sighandler
    from /lib/libpthread.so.0
  • #5 sigaction
    from /lib/libc.so.6
  • #6 panel_remove_applets
    at panel.c line 582
  • #7 panel_destroy
    at panel.c line 603
  • #8 g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #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_object_dispose
    at gtkobject.c line 373
  • #14 gtk_widget_dispose
    at gtkwidget.c line 5581
  • #15 gtk_window_dispose
    at gtkwindow.c line 1499
  • #16 g_object_run_dispose
    at gobject.c line 466
  • #17 gtk_object_destroy
    at gtkobject.c line 358
  • #18 gtk_widget_destroy
    at gtkwidget.c line 1577
  • #19 remove_panel_accept
    at menu.c line 3269
  • #20 g_cclosure_marshal_VOID__INT
    at gmarshal.c line 216
  • #21 g_closure_invoke
    at gclosure.c line 437
  • #22 signal_emit_unlocked_R
    at gsignal.c line 2340
  • #23 g_signal_emit_valist
    at gsignal.c line 2099
  • #24 gtk_signal_emit
    at gtksignal.c line 355
  • #25 gtk_dialog_response
    at gtkdialog.c line 804
  • #26 action_widget_activated
    at gtkdialog.c line 507
  • #27 g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #28 g_closure_invoke
    at gclosure.c line 437
  • #29 signal_emit_unlocked_R
    at gsignal.c line 2340
  • #30 g_signal_emit_valist
    at gsignal.c line 2099
  • #31 gtk_signal_emit
    at gtksignal.c line 355
  • #32 gtk_button_clicked
    at gtkbutton.c line 549
  • #33 gtk_real_button_released
    at gtkbutton.c line 1038
  • #34 g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #35 g_type_class_meta_marshal
    at gclosure.c line 514
  • #36 g_closure_invoke
    at gclosure.c line 437
  • #37 signal_emit_unlocked_R
    at gsignal.c line 2270
  • #38 g_signal_emit_valist
    at gsignal.c line 2099
  • #39 gtk_signal_emit
    at gtksignal.c line 355
  • #40 gtk_button_released
    at gtkbutton.c line 541
  • #41 gtk_button_button_release
    at gtkbutton.c line 954
  • #42 _gtk_marshal_BOOLEAN__BOXED
    at gtkmarshalers.c line 37
  • #43 g_type_class_meta_marshal
    at gclosure.c line 514
  • #44 g_closure_invoke
    at gclosure.c line 437
  • #45 signal_emit_unlocked_R
    at gsignal.c line 2378
  • #46 g_signal_emit_valist
    at gsignal.c line 2109
  • #47 gtk_signal_emit
    at gtksignal.c line 355
  • #48 gtk_widget_event_internal
    at gtkwidget.c line 3072
  • #49 gtk_propagate_event
    at gtkmain.c line 1905
  • #50 gtk_main_do_event
    at gtkmain.c line 1157
  • #51 gdk_event_dispatch
    at gdkevents-x11.c line 1753
  • #52 g_main_dispatch
    at gmain.c line 1616
  • #53 g_main_context_dispatch
    at gmain.c line 2160
  • #54 g_main_context_iterate
    at gmain.c line 2241
  • #55 g_main_loop_run
    at gmain.c line 2461
  • #56 gtk_main
    at gtkmain.c line 882
  • #57 main
    at main.c line 235
  • #58 __libc_start_main
    from /lib/libc.so.6
  • #0 wait4
    from /lib/libc.so.6
  • #0 wait4
    from /lib/libc.so.6
  • #1 __check_rhosts_file
    from /lib/libc.so.6
  • #2 waitpid
    from /lib/libpthread.so.0
  • #3 libgnomeui_segv_handle
    at gnome-ui-init.c line 598
  • #4 pthread_sighandler
    from /lib/libpthread.so.0
  • #5 sigaction
    from /lib/libc.so.6
  • #6 panel_remove_applets
    at panel.c line 582
  • #7 panel_destroy
    at panel.c line 603




------- Bug moved to this database by unknown@bugzilla.gnome.org 2002-03-02 16:08 -------

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

Comment 1 Gediminas Paulauskas 2002-03-02 21:18:56 UTC
in terminal it prints only 

woo, in the remove panel query: 0x828ecc8!

gnome-panel-2 (pid:18045): GLib-GObject-WARNING **: invalid cast from
(NULL) pointer to `PanelAppletFrame'

when in the panel there is nothing or some launchers, works OK, but if
there is any applet (tasklist or clock), it crashes.
Comment 2 Arvind S N 2002-03-07 11:43:26 UTC
Created attachment 7020 [details] [review]
patch
Comment 3 Arvind S N 2002-03-07 11:55:43 UTC
This attachment also solves the bug 72646 and bug 73325.
The panel crash when tasklist is present bug 72974 still remains.
But the crashes when other applets exist on the panel are solved with
this attachment.
Comment 4 Gediminas Paulauskas 2002-03-07 20:27:43 UTC
*** Bug 73849 has been marked as a duplicate of this bug. ***
Comment 5 Gediminas Paulauskas 2002-03-07 22:20:47 UTC
*** Bug 73325 has been marked as a duplicate of this bug. ***
Comment 6 Gediminas Paulauskas 2002-03-07 22:31:29 UTC
I have just commited this patch, because it fixes crash for me.
I guess this bug was caused by unfinished work by George, so he would
probably change this later...
Comment 7 Gediminas Paulauskas 2002-03-07 22:48:38 UTC
*** Bug 73823 has been marked as a duplicate of this bug. ***
Comment 8 Chris Chabot 2002-03-07 23:19:15 UTC
*** Bug 72974 has been marked as a duplicate of this bug. ***
Comment 9 Chris Chabot 2002-03-07 23:28:41 UTC
*** Bug 72646 has been marked as a duplicate of this bug. ***
Comment 10 Luis Villa 2002-03-18 20:54:24 UTC
*** Bug 74769 has been marked as a duplicate of this bug. ***
Comment 11 Luis Villa 2002-03-18 20:54:39 UTC
*** Bug 74977 has been marked as a duplicate of this bug. ***
Comment 12 Max Kanat-Alexander 2009-08-03 15:25:25 UTC
Comment on attachment 7020 [details] [review]
patch

Original description was too long for the soon-to-be-upgraded Bugzilla.