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 132381 - Frequent segfaults when closing tabs
Frequent segfaults when closing tabs
Status: RESOLVED FIXED
Product: galeon
Classification: Deprecated
Component: general
1.3.12
Other Linux
: High critical
: ---
Assigned To: Crispin Flowerday (not receiving bugmail)
Yanko Kaneti
: 133128 136052 136056 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2004-01-24 11:31 UTC by Thomas Zajic
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Thomas Zajic 2004-01-24 11:31:33 UTC
Environment: Galeon-1.3.12, Mozilla-1.6 (GTK+2), GNOME-2.4 (not actually
running a GNOME session, though), everything self-compiled, on a
Slackware-8.1 system.

Galeon-1.3.12 frequently segfaults when closing tabs. It doesn't matter if
I close the tabs by using mouse gestures, Ctrl+W or clicking the small "x"
on the tab, although it seems to happen more frequently with mouse gestures
(then again, I use mouse gestures almost exclusively, so that might not be
objective).

On only one occasion, following errors were printed on the command line -
this happened when closing the last open tab with a mouse gesture, I've
never had anything printed on the command line when Galeon crashed on
closing a tab that was _not_ the last open tab:

[zlatko@disclosure]:~$ galeon

(galeon-bin:30446): GLib-GObject-WARNING **: invalid uninstantiatable type
`<invalid>' in cast to `GObject'

** (galeon-bin:30446): CRITICAL **: file galeon-tab.c: line 526
(galeon_tab_get_embed): assertion `IS_GALEON_TAB (G_OBJECT (tab))' failed

(galeon-bin:30446): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(galeon-bin:30446): GLib-GObject-CRITICAL **: file gsignal.c: line 2300
(g_signal_handlers_disconnect_matched): assertion `G_TYPE_CHECK_INSTANCE
(instance)' failed

Under Preferences -> Tabs, I'm using:

[x] Open in tabs by default
[ ] Jump to new tabs automatically
[ ] Open popup windows in tabs
[x] Show tab bar if only one tab is open

Tab-related Gconf-2 settings are:

[zlatko@disclosure]:~$ gconftool-2 -a /apps/galeon/UI/Tabs
 tabbed_popups = false
 tabbed_closebutton_insensitive = false
 tabbed_loading_color = #FF0000
 tabbed_autojump = false
 tabbed_always_show = true
 tabbed_closebutton = true
 tabbed_position = 2
 tabbed_new_color = #0000FF
 favicons_in_tabs = 1
 tabbed = true

Here's a bug-buddy dump of a crashed session, I don't know if it contains
anything helpful:

Backtrace was generated from '/usr/local/bin/galeon-bin'

(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)...
0x40e47089 in 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_module_info_get
    from /usr/local/lib/libgnomeui-2.so.0
  • #4 nsProfileLock::FatalSignalHandler
    from /usr/local/lib/mozilla/libgtkembedmoz.so
  • #5 pthread_kill
    from /lib/libpthread.so.0
  • #6 sigaction
    from /lib/libc.so.6
  • #7 galeon_tab_set_location
  • #8 g_cclosure_marshal_VOID__STRING
    from /usr/local/lib/libgobject-2.0.so.0
  • #9 g_closure_invoke
    from /usr/local/lib/libgobject-2.0.so.0
  • #10 signal_emit_unlocked_R
    from /usr/local/lib/libgobject-2.0.so.0
  • #11 g_signal_emit_valist
    from /usr/local/lib/libgobject-2.0.so.0
  • #12 g_signal_emit
    from /usr/local/lib/libgobject-2.0.so.0
  • #13 gul_gestures_start
  • #14 _gtk_marshal_BOOLEAN__BOXED
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #15 g_closure_invoke
    from /usr/local/lib/libgobject-2.0.so.0
  • #16 signal_emit_unlocked_R
    from /usr/local/lib/libgobject-2.0.so.0
  • #17 g_signal_emit_valist
    from /usr/local/lib/libgobject-2.0.so.0
  • #18 g_signal_emit
    from /usr/local/lib/libgobject-2.0.so.0
  • #19 gtk_widget_event_internal
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #20 gtk_widget_event
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #21 gtk_propagate_event
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #22 gtk_main_do_event
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #23 gdk_event_dispatch
    from /usr/local/lib/libgdk-x11-2.0.so.0
  • #24 g_main_dispatch
    from /usr/local/lib/libglib-2.0.so.0
  • #25 g_main_context_dispatch
    from /usr/local/lib/libglib-2.0.so.0
  • #26 g_main_context_iterate
    from /usr/local/lib/libglib-2.0.so.0
  • #27 g_main_loop_run
    from /usr/local/lib/libglib-2.0.so.0
  • #28 bonobo_main
    from /usr/local/lib/libbonobo-2.so.0
  • #29 main
  • #30 __libc_start_main
    from /lib/libc.so.6


To reproduce, simply open 5 or 6 web pages in tabs, and close them again,
preferrably using mouse gestures. Galeon segfaults roughly 1 out of 3 times
doing this. I'm back to Galeon-1.3.11a for the time being.
Comment 1 Crispin Flowerday (not receiving bugmail) 2004-01-27 22:11:17 UTC
Reporter, is there any chance you could re-compile galeon 1.3.12 with
debugging symbols please. That would helps us _a lot_. From the
provided backtrace, I am not sure where the problem is, but I have
fixed one crash.

To compile with debugging symbols, build galeon as follows:

$ CFLAGS=-g CXXFLAGS=-g ./configure
$ make
$ sudo make install
Comment 2 Thomas Zajic 2004-01-28 01:16:38 UTC
Okay, done, here's the results ... HTH.

1. Closing tabs with mouse gestures, crash on first closed tab:

Backtrace was generated from '/usr/local/bin/galeon-bin'

0x40e48089 in 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_module_info_get
    from /usr/local/lib/libgnomeui-2.so.0
  • #4 nsProfileLock::FatalSignalHandler
    from /usr/local/lib/mozilla/libgtkembedmoz.so
  • #5 pthread_kill
    from /lib/libpthread.so.0
  • #6 sigaction
    from /lib/libc.so.6
  • #7 galeon_tab_gesture_performed_cb
    at galeon-tab.c line 1671
  • #8 g_cclosure_marshal_VOID__STRING
    from /usr/local/lib/libgobject-2.0.so.0
  • #9 g_closure_invoke
    from /usr/local/lib/libgobject-2.0.so.0
  • #10 signal_emit_unlocked_R
    from /usr/local/lib/libgobject-2.0.so.0
  • #11 g_signal_emit_valist
    from /usr/local/lib/libgobject-2.0.so.0
  • #12 g_signal_emit
    from /usr/local/lib/libgobject-2.0.so.0
  • #13 gul_gestures_mouse_release_cb
    at gul-gestures.c line 236
  • #14 _gtk_marshal_BOOLEAN__BOXED
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #15 g_closure_invoke
    from /usr/local/lib/libgobject-2.0.so.0
  • #16 signal_emit_unlocked_R
    from /usr/local/lib/libgobject-2.0.so.0
  • #17 g_signal_emit_valist
    from /usr/local/lib/libgobject-2.0.so.0
  • #18 g_signal_emit
    from /usr/local/lib/libgobject-2.0.so.0
  • #19 gtk_widget_event_internal
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #20 gtk_widget_event
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #21 gtk_propagate_event
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #22 gtk_main_do_event
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #23 gdk_event_dispatch
    from /usr/local/lib/libgdk-x11-2.0.so.0
  • #24 g_main_dispatch
    from /usr/local/lib/libglib-2.0.so.0
  • #25 g_main_context_dispatch
    from /usr/local/lib/libglib-2.0.so.0
  • #26 g_main_context_iterate
    from /usr/local/lib/libglib-2.0.so.0
  • #27 g_main_loop_run
    from /usr/local/lib/libglib-2.0.so.0
  • #28 bonobo_main
    from /usr/local/lib/libbonobo-2.so.0
  • #29 main
    at galeon-main.c line 193
  • #30 __libc_start_main
    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_module_info_get
    from /usr/local/lib/libgnomeui-2.so.0
  • #4 nsProfileLock::FatalSignalHandler
    from /usr/local/lib/mozilla/libgtkembedmoz.so
  • #5 pthread_kill
    from /lib/libpthread.so.0
  • #6 sigaction
    from /lib/libc.so.6
  • #7 galeon_tab_get_embed
    at galeon-tab.c line 526
  • #8 galeon_tab_menu_notebook_destroy_cb
    at galeon-tab-menu.c line 479
  • #9 g_cclosure_marshal_VOID__VOID
    from /usr/local/lib/libgobject-2.0.so.0
  • #10 g_closure_invoke
    from /usr/local/lib/libgobject-2.0.so.0
  • #11 signal_emit_unlocked_R
    from /usr/local/lib/libgobject-2.0.so.0
  • #12 g_signal_emit_valist
    from /usr/local/lib/libgobject-2.0.so.0
  • #13 g_signal_emit
    from /usr/local/lib/libgobject-2.0.so.0
  • #14 gtk_object_dispose
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #15 gtk_widget_dispose
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #16 g_object_run_dispose
    from /usr/local/lib/libgobject-2.0.so.0
  • #17 gtk_object_destroy
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #18 gtk_widget_destroy
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #19 gtk_paned_forall
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #20 gtk_container_foreach
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #21 gtk_container_destroy
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #22 g_cclosure_marshal_VOID__VOID
    from /usr/local/lib/libgobject-2.0.so.0
  • #23 g_type_class_meta_marshal
    from /usr/local/lib/libgobject-2.0.so.0
  • #24 g_closure_invoke
    from /usr/local/lib/libgobject-2.0.so.0
  • #25 signal_emit_unlocked_R
    from /usr/local/lib/libgobject-2.0.so.0
  • #26 g_signal_emit_valist
    from /usr/local/lib/libgobject-2.0.so.0
  • #27 g_signal_emit
    from /usr/local/lib/libgobject-2.0.so.0
  • #28 gtk_object_dispose
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #29 gtk_widget_dispose
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #30 g_object_run_dispose
    from /usr/local/lib/libgobject-2.0.so.0
  • #31 gtk_object_destroy
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #32 gtk_widget_destroy
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #33 gtk_box_forall
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #34 gtk_container_foreach
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #35 gtk_container_destroy
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #36 g_cclosure_marshal_VOID__VOID
    from /usr/local/lib/libgobject-2.0.so.0
  • #37 g_type_class_meta_marshal
    from /usr/local/lib/libgobject-2.0.so.0
  • #38 g_closure_invoke
    from /usr/local/lib/libgobject-2.0.so.0
  • #39 signal_emit_unlocked_R
    from /usr/local/lib/libgobject-2.0.so.0
  • #40 g_signal_emit_valist
    from /usr/local/lib/libgobject-2.0.so.0
  • #41 g_signal_emit
    from /usr/local/lib/libgobject-2.0.so.0
  • #42 gtk_object_dispose
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #43 gtk_widget_dispose
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #44 g_object_run_dispose
    from /usr/local/lib/libgobject-2.0.so.0
  • #45 gtk_object_destroy
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #46 gtk_widget_destroy
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #47 gtk_bin_forall
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #48 gtk_container_foreach
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #49 gtk_container_destroy
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #50 gtk_window_destroy
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #51 g_cclosure_marshal_VOID__VOID
    from /usr/local/lib/libgobject-2.0.so.0
  • #52 g_type_class_meta_marshal
    from /usr/local/lib/libgobject-2.0.so.0
  • #53 g_closure_invoke
    from /usr/local/lib/libgobject-2.0.so.0
  • #54 signal_emit_unlocked_R
    from /usr/local/lib/libgobject-2.0.so.0
  • #55 g_signal_emit_valist
    from /usr/local/lib/libgobject-2.0.so.0
  • #56 g_signal_emit
    from /usr/local/lib/libgobject-2.0.so.0
  • #57 gtk_object_dispose
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #58 gtk_widget_dispose
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #59 gtk_window_dispose
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #60 galeon_window_dispose
    at galeon-window.c line 1647
  • #61 g_object_run_dispose
    from /usr/local/lib/libgobject-2.0.so.0
  • #62 gtk_object_destroy
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #63 gtk_widget_destroy
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #64 gul_notebook_remove_page
    at gul-notebook.c line 941
  • #65 tab_close_button_clicked_cb
    at gul-notebook.c line 723
  • #66 g_cclosure_marshal_VOID__VOID
    from /usr/local/lib/libgobject-2.0.so.0
  • #67 g_closure_invoke
    from /usr/local/lib/libgobject-2.0.so.0
  • #68 signal_emit_unlocked_R
    from /usr/local/lib/libgobject-2.0.so.0
  • #69 g_signal_emit_valist
    from /usr/local/lib/libgobject-2.0.so.0
  • #70 g_signal_emit
    from /usr/local/lib/libgobject-2.0.so.0
  • #71 gtk_button_clicked
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #72 gtk_real_button_released
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #73 g_cclosure_marshal_VOID__VOID
    from /usr/local/lib/libgobject-2.0.so.0
  • #74 g_type_class_meta_marshal
    from /usr/local/lib/libgobject-2.0.so.0
  • #75 g_closure_invoke
    from /usr/local/lib/libgobject-2.0.so.0
  • #76 signal_emit_unlocked_R
    from /usr/local/lib/libgobject-2.0.so.0
  • #77 g_signal_emit_valist
    from /usr/local/lib/libgobject-2.0.so.0
  • #78 g_signal_emit
    from /usr/local/lib/libgobject-2.0.so.0
  • #79 gtk_button_released
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #80 gtk_button_button_release
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #81 _gtk_marshal_BOOLEAN__BOXED
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #82 g_type_class_meta_marshal
    from /usr/local/lib/libgobject-2.0.so.0
  • #83 g_closure_invoke
    from /usr/local/lib/libgobject-2.0.so.0
  • #84 signal_emit_unlocked_R
    from /usr/local/lib/libgobject-2.0.so.0
  • #85 g_signal_emit_valist
    from /usr/local/lib/libgobject-2.0.so.0
  • #86 g_signal_emit
    from /usr/local/lib/libgobject-2.0.so.0
  • #87 gtk_widget_event_internal
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #88 gtk_widget_event
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #89 gtk_propagate_event
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #90 gtk_main_do_event
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #91 gdk_event_dispatch
    from /usr/local/lib/libgdk-x11-2.0.so.0
  • #92 g_main_dispatch
    from /usr/local/lib/libglib-2.0.so.0
  • #93 g_main_context_dispatch
    from /usr/local/lib/libglib-2.0.so.0
  • #94 g_main_context_iterate
    from /usr/local/lib/libglib-2.0.so.0
  • #95 g_main_loop_run
    from /usr/local/lib/libglib-2.0.so.0
  • #96 bonobo_main
    from /usr/local/lib/libbonobo-2.so.0
  • #97 main
    at galeon-main.c line 193
  • #98 __libc_start_main
    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_module_info_get
    from /usr/local/lib/libgnomeui-2.so.0
  • #4 nsProfileLock::FatalSignalHandler
    from /usr/local/lib/mozilla/libgtkembedmoz.so
  • #5 pthread_kill
    from /lib/libpthread.so.0
  • #6 sigaction
    from /lib/libc.so.6
  • #7 window_cmd_file_close_tab
    at window-commands.c line 467
  • #8 g_cclosure_marshal_VOID__VOID
    from /usr/local/lib/libgobject-2.0.so.0
  • #9 g_closure_invoke
    from /usr/local/lib/libgobject-2.0.so.0
  • #10 signal_emit_unlocked_R
    from /usr/local/lib/libgobject-2.0.so.0
  • #11 g_signal_emit_valist
    from /usr/local/lib/libgobject-2.0.so.0
  • #12 g_signal_emit
    from /usr/local/lib/libgobject-2.0.so.0
  • #13 egg_action_activate
    at egg-action.c line 653
  • #14 g_cclosure_marshal_VOID__VOID
    from /usr/local/lib/libgobject-2.0.so.0
  • #15 g_closure_invoke
    from /usr/local/lib/libgobject-2.0.so.0
  • #16 signal_emit_unlocked_R
    from /usr/local/lib/libgobject-2.0.so.0
  • #17 g_signal_emit_valist
    from /usr/local/lib/libgobject-2.0.so.0
  • #18 g_signal_emit
    from /usr/local/lib/libgobject-2.0.so.0
  • #19 closure_accel_activate
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #20 g_closure_invoke
    from /usr/local/lib/libgobject-2.0.so.0
  • #21 signal_emit_unlocked_R
    from /usr/local/lib/libgobject-2.0.so.0
  • #22 g_signal_emit_valist
    from /usr/local/lib/libgobject-2.0.so.0
  • #23 g_signal_emit
    from /usr/local/lib/libgobject-2.0.so.0
  • #24 _gtk_accel_group_activate
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #25 gtk_accel_groups_activate
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #26 _gtk_window_activate_key
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #27 gtk_window_key_press_event
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #28 galeon_window_key_press_event
    at galeon-window.c line 649
  • #29 _gtk_marshal_BOOLEAN__BOXED
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #30 g_type_class_meta_marshal
    from /usr/local/lib/libgobject-2.0.so.0
  • #31 g_closure_invoke
    from /usr/local/lib/libgobject-2.0.so.0
  • #32 signal_emit_unlocked_R
    from /usr/local/lib/libgobject-2.0.so.0
  • #33 g_signal_emit_valist
    from /usr/local/lib/libgobject-2.0.so.0
  • #34 g_signal_emit
    from /usr/local/lib/libgobject-2.0.so.0
  • #35 gtk_widget_event_internal
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #36 gtk_widget_event
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #37 gtk_propagate_event
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #38 gtk_main_do_event
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #39 gdk_event_dispatch
    from /usr/local/lib/libgdk-x11-2.0.so.0
  • #40 g_main_dispatch
    from /usr/local/lib/libglib-2.0.so.0
  • #41 g_main_context_dispatch
    from /usr/local/lib/libglib-2.0.so.0
  • #42 g_main_context_iterate
    from /usr/local/lib/libglib-2.0.so.0
  • #43 g_main_loop_run
    from /usr/local/lib/libglib-2.0.so.0
  • #44 bonobo_main
    from /usr/local/lib/libbonobo-2.so.0
  • #45 main
    at galeon-main.c line 193
  • #46 __libc_start_main
    from /lib/libc.so.6

Comment 3 Crispin Flowerday (not receiving bugmail) 2004-02-05 13:23:38 UTC
*** Bug 133128 has been marked as a duplicate of this bug. ***
Comment 4 Crispin Flowerday (not receiving bugmail) 2004-02-10 22:50:59 UTC
I believe that these crashes are fixed in the current CVS builds, if
the problem remains on a recent CVS checkout, or the next release,
please re-open the bug, or raise a new one.

Thanks for the excellent backtraces.
Comment 5 Thomas Zajic 2004-02-11 08:55:32 UTC
Using today's CVS version (cvs.gnome.org, 2004/02/11, 09:05 CET) shows
only a slight improvement for me, unfortunately - no more crashes and
console messages when closing tabs and/or ending Galeon by using the
"x" on the tabs, but the crashes using mouse gestures and Ctrl+W remain.

Here's the new dumps from the debug (CFLAGS=-g CXXFLAGS=-g) build.
Interesting (?) observation: using a normal (non-debug) build, the
crashes *always* occur on closing the first tab, no matter which
method (gestures, Ctrl+W) I use - using a debug build, one or two tabs
usually close fine before the crash occurs.


1. Closing tabs using mouse gestures

Backtrace was generated from '/usr/local/bin/galeon-bin'

0x40dc8089 in 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_module_info_get
    from /usr/local/lib/libgnomeui-2.so.0
  • #4 nsProfileLock::FatalSignalHandler
    from /usr/local/lib/mozilla/libgtkembedmoz.so
  • #5 pthread_kill
    from /lib/libpthread.so.0
  • #6 sigaction
    from /lib/libc.so.6
  • #7 galeon_tab_gesture_performed_cb
    at galeon-tab.c line 1705
  • #8 g_cclosure_marshal_VOID__STRING
    from /usr/local/lib/libgobject-2.0.so.0
  • #9 g_closure_invoke
    from /usr/local/lib/libgobject-2.0.so.0
  • #10 signal_emit_unlocked_R
    from /usr/local/lib/libgobject-2.0.so.0
  • #11 g_signal_emit_valist
    from /usr/local/lib/libgobject-2.0.so.0
  • #12 g_signal_emit
    from /usr/local/lib/libgobject-2.0.so.0
  • #13 gul_gestures_mouse_release_cb
    at gul-gestures.c line 236
  • #14 _gtk_marshal_BOOLEAN__BOXED
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #15 g_closure_invoke
    from /usr/local/lib/libgobject-2.0.so.0
  • #16 signal_emit_unlocked_R
    from /usr/local/lib/libgobject-2.0.so.0
  • #17 g_signal_emit_valist
    from /usr/local/lib/libgobject-2.0.so.0
  • #18 g_signal_emit
    from /usr/local/lib/libgobject-2.0.so.0
  • #19 gtk_widget_event_internal
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #20 gtk_widget_event
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #21 gtk_propagate_event
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #22 gtk_main_do_event
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #23 gdk_event_dispatch
    from /usr/local/lib/libgdk-x11-2.0.so.0
  • #24 g_main_dispatch
    from /usr/local/lib/libglib-2.0.so.0
  • #25 g_main_context_dispatch
    from /usr/local/lib/libglib-2.0.so.0
  • #26 g_main_context_iterate
    from /usr/local/lib/libglib-2.0.so.0
  • #27 g_main_loop_run
    from /usr/local/lib/libglib-2.0.so.0
  • #28 bonobo_main
    from /usr/local/lib/libbonobo-2.so.0
  • #29 main
    at galeon-main.c line 194
  • #30 __libc_start_main
    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_module_info_get
    from /usr/local/lib/libgnomeui-2.so.0
  • #4 nsProfileLock::FatalSignalHandler
    from /usr/local/lib/mozilla/libgtkembedmoz.so
  • #5 pthread_kill
    from /lib/libpthread.so.0
  • #6 sigaction
    from /lib/libc.so.6
  • #7 window_cmd_file_close_tab
    at window-commands.c line 467
  • #8 g_cclosure_marshal_VOID__VOID
    from /usr/local/lib/libgobject-2.0.so.0
  • #9 g_closure_invoke
    from /usr/local/lib/libgobject-2.0.so.0
  • #10 signal_emit_unlocked_R
    from /usr/local/lib/libgobject-2.0.so.0
  • #11 g_signal_emit_valist
    from /usr/local/lib/libgobject-2.0.so.0
  • #12 g_signal_emit
    from /usr/local/lib/libgobject-2.0.so.0
  • #13 egg_action_activate
    at egg-action.c line 653
  • #14 g_cclosure_marshal_VOID__VOID
    from /usr/local/lib/libgobject-2.0.so.0
  • #15 g_closure_invoke
    from /usr/local/lib/libgobject-2.0.so.0
  • #16 signal_emit_unlocked_R
    from /usr/local/lib/libgobject-2.0.so.0
  • #17 g_signal_emit_valist
    from /usr/local/lib/libgobject-2.0.so.0
  • #18 g_signal_emit
    from /usr/local/lib/libgobject-2.0.so.0
  • #19 closure_accel_activate
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #20 g_closure_invoke
    from /usr/local/lib/libgobject-2.0.so.0
  • #21 signal_emit_unlocked_R
    from /usr/local/lib/libgobject-2.0.so.0
  • #22 g_signal_emit_valist
    from /usr/local/lib/libgobject-2.0.so.0
  • #23 g_signal_emit
    from /usr/local/lib/libgobject-2.0.so.0
  • #24 _gtk_accel_group_activate
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #25 gtk_accel_groups_activate
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #26 _gtk_window_activate_key
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #27 gtk_window_key_press_event
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #28 galeon_window_key_press_event
    at galeon-window.c line 725
  • #29 _gtk_marshal_BOOLEAN__BOXED
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #30 g_type_class_meta_marshal
    from /usr/local/lib/libgobject-2.0.so.0
  • #31 g_closure_invoke
    from /usr/local/lib/libgobject-2.0.so.0
  • #32 signal_emit_unlocked_R
    from /usr/local/lib/libgobject-2.0.so.0
  • #33 g_signal_emit_valist
    from /usr/local/lib/libgobject-2.0.so.0
  • #34 g_signal_emit
    from /usr/local/lib/libgobject-2.0.so.0
  • #35 gtk_widget_event_internal
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #36 gtk_widget_event
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #37 gtk_propagate_event
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #38 gtk_main_do_event
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #39 gdk_event_dispatch
    from /usr/local/lib/libgdk-x11-2.0.so.0
  • #40 g_main_dispatch
    from /usr/local/lib/libglib-2.0.so.0
  • #41 g_main_context_dispatch
    from /usr/local/lib/libglib-2.0.so.0
  • #42 g_main_context_iterate
    from /usr/local/lib/libglib-2.0.so.0
  • #43 g_main_loop_run
    from /usr/local/lib/libglib-2.0.so.0
  • #44 bonobo_main
    from /usr/local/lib/libbonobo-2.so.0
  • #45 main
    at galeon-main.c line 194
  • #46 __libc_start_main
    from /lib/libc.so.6

Comment 6 Thomas Zajic 2004-02-11 08:59:16 UTC
I tried to reopen the bug, but Bugzilla didn't allow me to:

Only the owner or submitter of the bug, or a sufficiently empowered
user, may make that change to the bug_status field.
Old value:	RESOLVED
New value:	REOPENED

Uh, Sir, I *am* the submitter/reporter, to the best of my knowledge
... oh well. ;-)
Comment 7 Crispin Flowerday (not receiving bugmail) 2004-02-11 09:26:03 UTC
hmm, I have no idea why it is crashing then...
Comment 8 Theodore Randall 2004-02-12 23:31:40 UTC
Marking Status->New, Priority->High, Severity->Critical.
Comment 9 Crispin Flowerday (not receiving bugmail) 2004-02-23 23:25:29 UTC
Hi, I haven't forgotten about this...

I have found a possible crash, it lines up almost with the backtraces,
so if you could try CVS again, I would be very grateful. You should
ensure that the ChangeLog has the following change in it.

http://lists.gnome.org/archives/cvs-commits-list/2004-February/msg06183.html
Comment 10 Thomas Zajic 2004-02-24 06:53:39 UTC
Thanks, I'll give it a shot as soon as it is available in CVS. I just
did a 'cvs update', but the latest Changelog entry is this:

2004-02-22  Adam Weinberger  <adamw@FreeBSD.org>

        * configure.in: Added "en_CA" to ALL_LINGUAS.

BTW, as you might have guessed, galeon-1.3.13a also crashes for me,
but I didn't have time for a debug build & backtraces yet.
Comment 11 Thomas Zajic 2004-02-26 06:52:18 UTC
YES!!! I've been running the CVS version (20040224, 13:24 CET [*]) for
almost two days now, without any tab-closing related ("x", Ctrl+W,
mouse gestures) crashes (or any other crashes, for that matter)
whatsoever. Life is good - thanks a lot! 8-)

[*] Last Changelog entry:

2004-02-23  Crispin Flowerday  <gnome @AT@ flowerday .DOT. cx>

        * src/galeon-tab.c: Fix a potential segfault when closing
        a tab. Possibly the cause of bug #132381
Comment 12 Crispin Flowerday (not receiving bugmail) 2004-02-26 10:10:14 UTC
Excellent ! Thanks for the bug report, and the excellent backtraces.
Comment 13 Crispin Flowerday (not receiving bugmail) 2004-03-03 12:37:01 UTC
*** Bug 136056 has been marked as a duplicate of this bug. ***
Comment 14 Crispin Flowerday (not receiving bugmail) 2004-03-03 12:37:05 UTC
*** Bug 136052 has been marked as a duplicate of this bug. ***