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 459319 - Epiphany ref warnings, does not quit
Epiphany ref warnings, does not quit
Status: RESOLVED DUPLICATE of bug 455964
Product: epiphany
Classification: Core
Component: General
git master
Other Linux
: Normal major
: ---
Assigned To: Epiphany Maintainers
Marco Pesenti Gritti
Depends on:
Blocks:
 
 
Reported: 2007-07-22 19:55 UTC by Wouter Bolsterlee (uws)
Modified: 2007-09-18 21:55 UTC
See Also:
GNOME target: ---
GNOME version: 2.19/2.20



Description Wouter Bolsterlee (uws) 2007-07-22 19:55:34 UTC
Epiphany trunk does not quit after I close the last window. Several warnings appear on the console:

elin:~ > epiphany
GTK Accessibility Module initialized
Bonobo accessibility support initialized
sys:1: Warning: IA__g_object_remove_toggle_ref: couldn't find toggle ref 0xb478d8e0(0xb4426554)
sys:1: Warning: IA__g_object_remove_toggle_ref: couldn't find toggle ref 0xb478d8e0(0xb4429c5c)
sys:1: Warning: IA__g_object_remove_toggle_ref: couldn't find toggle ref 0xb478d8e0(0xb4429cac)
sys:1: Warning: IA__g_object_remove_toggle_ref: couldn't find toggle ref 0xb478d8e0(0xb4429cfc)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
sys:1: Warning: IA__g_object_remove_toggle_ref: couldn't find toggle ref 0xb478d8e0(0xb4429d74)
sys:1: Warning: IA__g_object_remove_toggle_ref: couldn't find toggle ref 0xb478d8e0(0xb4429bbc)
sys:1: GtkWarning: gtk_window_group_remove_window: assertion `GTK_IS_WINDOW_GROUP (window_group)' failed


I added a breakpoint at g_log, and this is where it seems to come from:

elin:~ > gdb epiphany
GNU gdb 6.6-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) b g_log
Function "g_log" not defined.
Make breakpoint pending on future shared library load? (y or [n]) y
Breakpoint 1 (g_log) pending.
(gdb) r
Starting program: /opt/gnome-2-20/bin/epiphany 
[Thread debugging using libthread_db enabled]
[New Thread -1242208576 (LWP 18340)]
Breakpoint 2 at 0xb6ee5be6: file gmessages.c, line 513.
Pending breakpoint "g_log" resolved
GTK Accessibility Module initialized
Bonobo accessibility support initialized
[New Thread -1248851056 (LWP 18347)]
[New Thread -1257239664 (LWP 18348)]

Thread NaN (LWP 18340)

  • #0 IA__g_log
  • #1 IA__g_object_remove_toggle_ref
    at gobject.c line 1709
  • #2 pygobject_dealloc
    at pygobject.c line 1051
  • #3 ??
    from /usr/lib/libpython2.4.so.1.0
  • #4 ??
  • #5 ??
  • #6 ??
  • #7 ??
  • #8 ??
    at pygobject.c line 2209
  • #9 ??
  • #10 ??
  • #11 call_python_func
    at ephy-python-extension.c line 232

Thread 1 (Thread -1242208576 (LWP 18340))

  • #0 IA__g_log
  • #1 IA__g_object_remove_toggle_ref
    at gobject.c line 1709
  • #2 pygobject_dealloc
    at pygobject.c line 1051
  • #3 ??
    from /usr/lib/libpython2.4.so.1.0
  • #4 ??
  • #5 ??
  • #6 ??
  • #7 ??
  • #8 ??
    at pygobject.c line 2209
  • #9 ??
  • #10 ??
  • #11 call_python_func
    at ephy-python-extension.c line 232
The program is running.  Exit anyway? (y or n) y
Comment 1 Wouter Bolsterlee (uws) 2007-07-25 17:27:42 UTC
This backtrace is with a python debug build and a breakpoint on the first g_log invokation:

elin:~ > gdb epiphany
GNU gdb 6.6-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) b g_log
Function "g_log" not defined.
Make breakpoint pending on future shared library load? (y or [n]) y

Breakpoint 1 (g_log) pending.
(gdb) r
Starting program: /opt/gnome-2-20/bin/epiphany 
[Thread debugging using libthread_db enabled]
[New Thread -1243162944 (LWP 9865)]
Breakpoint 2 at 0xb6e00be6: file gmessages.c, line 513.
Pending breakpoint "g_log" resolved
GTK Accessibility Module initialized
Bonobo accessibility support initialized
[New Thread -1249805424 (LWP 9870)]
[New Thread -1258194032 (LWP 9871)]

Thread NaN (LWP 9865)

  • #0 IA__g_log
  • #1 IA__g_object_remove_toggle_ref
    at gobject.c line 1709
  • #2 pygobject_dealloc
    at pygobject.c line 1051
  • #3 tupledealloc
    at ../Objects/tupleobject.c line 169
  • #4 call_python_func
    at ephy-python-extension.c line 232
  • #5 ephy_extension_attach_tab
    at ephy-extension.c line 78
  • #6 impl_attach_tab
    at ephy-extensions-manager.c line 1261
  • #7 ephy_extension_attach_tab
    at ephy-extension.c line 78
  • #8 notebook_page_added_cb
    at ephy-window.c line 2493
  • #9 _gtk_marshal_VOID__OBJECT_UINT
    at gtkmarshalers.c line 2401
  • #10 IA__g_closure_invoke
  • #11 signal_emit_unlocked_R
    at gsignal.c line 2440
  • #12 IA__g_signal_emit_valist
    at gsignal.c line 2199
  • #13 IA__g_signal_emit
    at gsignal.c line 2243
  • #14 gtk_notebook_real_insert_page
    at gtknotebook.c line 4099
  • #15 ephy_notebook_insert_page
    at ephy-notebook.c line 742
  • #16 IA__gtk_notebook_insert_page_menu
    at gtknotebook.c line 6240
  • #17 IA__gtk_notebook_insert_page
    at gtknotebook.c line 6170
  • #18 ephy_notebook_add_tab
    at ephy-notebook.c line 763
  • #19 ephy_window_add_tab
    at ephy-window.c line 3448
  • #20 ephy_shell_new_tab_full
    at ephy-shell.c line 510
  • #21 session_command_dispatch
    at ephy-session.c line 740
  • #22 g_idle_dispatch
    at gmain.c line 4131
  • #23 IA__g_main_context_dispatch
    at gmain.c line 2061
  • #24 g_main_context_iterate
    at gmain.c line 2694
  • #25 IA__g_main_loop_run
    at gmain.c line 2898
  • #26 IA__gtk_main
    at gtkmain.c line 1144
  • #27 main
    at ephy-main.c line 723
The program is running.  Exit anyway? (y or n) y
Comment 2 Cosimo Cecchi 2007-07-26 07:47:34 UTC
I use SVN version of Epiphany on Gentoo and cannot reproduce it.
Maybe could this be related to a python extension?
Comment 3 Patrick Ohearn 2007-08-17 09:18:22 UTC
Same problem with epiphany 2.19.6 and have the same problem on Gentoo (using gnome  overlay).
Comment 4 Diego Escalante Urrelo (not reading bugmail) 2007-09-18 21:55:46 UTC
Dupe. Copying the trace over to the other bug just in case.

*** This bug has been marked as a duplicate of 455964 ***