Gtkmm-forge digest, Vol 1 #1115 - 1 msg



Send Gtkmm-forge mailing list submissions to
	gtkmm-forge lists sourceforge net

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.sourceforge.net/lists/listinfo/gtkmm-forge
or, via email, send a message with subject or body 'help' to
	gtkmm-forge-request lists sourceforge net

You can reach the person managing the list at
	gtkmm-forge-admin lists sourceforge net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Gtkmm-forge digest..."


gtkmm-forge is the mailing list that receives gtkmm bug reports from bugzilla.  A daily digest is sent to gtkmm-main, to encourage people to help fixing the bugs. Do not try to unsubscribe gtkmm-forge from gtkmm-list.


Today's Topics:

   1. [Bug 339791] Gtk::Menu crash with child (gtkmm (bugzilla.gnome.org))

--__--__--

Message: 1
To: gtkmm-forge lists sourceforge net
From: "gtkmm (bugzilla.gnome.org)" <bugzilla-daemon bugzilla gnome org>
Date: Thu, 27 Apr 2006 03:39:09 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 339791] Gtk::Menu crash with child

Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=3D339791
 gtkmm | general | Ver: 2.8.x


Andrew E. Makeev changed:

           What    |Removed                     |Added
-------------------------------------------------------------------------=
---
                 CC|                            |andrew solvo ru




------- Comment #3 from Andrew E. Makeev  2006-04-27 07:38 UTC -------
Here is first part of valgrind output. Fedore Core 4, GTKMM-2.4, GTK+-2.4
Guess, it is obvious that child was deleted with gtk_container_foreach().

valgrind --tool=3Dmemcheck --num-callers=3D100 menutest
=3D=3D8677=3D=3D Memcheck, a memory error detector for x86-linux.
=3D=3D8677=3D=3D Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward=
 et al.
=3D=3D8677=3D=3D Using valgrind-2.4.0, a program supervision framework fo=
r x86-linux.
=3D=3D8677=3D=3D Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward=
 et al.
=3D=3D8677=3D=3D For more details, rerun with: -v
=3D=3D8677=3D=3D
debug: before deleting parent.
destructor for menu: parent
debug: after deleting parent.
debug: before deleting child.
destructor for menu: child
=3D=3D8677=3D=3D Invalid read of size 4
=3D=3D8677=3D=3D    at 0x2BDC3B: g_type_check_instance (in
/usr/lib/libgobject-2.0.so.0.600.6)
=3D=3D8677=3D=3D    by 0x2B9CF8: g_signal_handlers_disconnect_matched (in
/usr/lib/libgobject-2.0.so.0.600.6)
=3D=3D8677=3D=3D    by 0x526415: gtk_menu_detach (in
/usr/lib/libgtk-x11-2.0.so.0.600.10)
=3D=3D8677=3D=3D    by 0x527A21: (within /usr/lib/libgtk-x11-2.0.so.0.600=
.10)
=3D=3D8677=3D=3D    by 0x1BA6A6EB: Gtk::Container_Class::destroy_callback=
(_GtkObject*)
(container.cc:160)
=3D=3D8677=3D=3D    by 0x2B17E6: g_cclosure_marshal_VOID__VOID (in
/usr/lib/libgobject-2.0.so.0.600.6)
=3D=3D8677=3D=3D    by 0x2A5D9A: (within /usr/lib/libgobject-2.0.so.0.600=
.6)
=3D=3D8677=3D=3D    by 0x2A6284: g_closure_invoke (in
/usr/lib/libgobject-2.0.so.0.600.6)
=3D=3D8677=3D=3D    by 0x2B4C65: (within /usr/lib/libgobject-2.0.so.0.600=
.6)
=3D=3D8677=3D=3D    by 0x2B5EAF: g_signal_emit_valist (in
/usr/lib/libgobject-2.0.so.0.600.6)
=3D=3D8677=3D=3D    by 0x2B6222: g_signal_emit (in /usr/lib/libgobject-2.=
0.so.0.600.6)
=3D=3D8677=3D=3D    by 0x53D1F0: (within /usr/lib/libgtk-x11-2.0.so.0.600=
.10)
=3D=3D8677=3D=3D    by 0x600614: (within /usr/lib/libgtk-x11-2.0.so.0.600=
.10)
=3D=3D8677=3D=3D    by 0x1BAE42C4: Gtk::Widget_Class::dispose_vfunc_callb=
ack(_GObject*)
(widget.cc:508)
=3D=3D8677=3D=3D    by 0x2A7C53: g_object_unref (in /usr/lib/libgobject-2=
.0.so.0.600.6)
=3D=3D8677=3D=3D    by 0x1BA96730: Gtk::Object::_destroy_c_instance() (ob=
ject.cc:134)
=3D=3D8677=3D=3D    by 0x1BA9680E: Gtk::Object::destroy_() (object.cc:264=
)
=3D=3D8677=3D=3D    by 0x1BA8D262: Gtk::Menu::~Menu() (menu.cc:201)
=3D=3D8677=3D=3D    by 0x804C62F: MyMenu::~MyMenu() (menucrash2.cc:15)
=3D=3D8677=3D=3D    by 0x804C915: MyBar::~MyBar() (menucrash2.cc:44)
=3D=3D8677=3D=3D    by 0x804C08F: main (menucrash2.cc:82)
=3D=3D8677=3D=3D  Address 0x1C033D70 is 0 bytes inside a block of size 96=
 free'd
=3D=3D8677=3D=3D    at 0x1B909743: free (vg_replace_malloc.c:152)
=3D=3D8677=3D=3D    by 0x314BC23: g_free (in /usr/lib/libglib-2.0.so.0.60=
0.6)
=3D=3D8677=3D=3D    by 0x2C2ADC: g_type_free_instance (in
/usr/lib/libgobject-2.0.so.0.600.6)
=3D=3D8677=3D=3D    by 0x2A7C49: g_object_unref (in /usr/lib/libgobject-2=
.0.so.0.600.6)
=3D=3D8677=3D=3D    by 0x2A7CBB: g_object_run_dispose (in
/usr/lib/libgobject-2.0.so.0.600.6)
=3D=3D8677=3D=3D    by 0x53D1AC: gtk_object_destroy (in
/usr/lib/libgtk-x11-2.0.so.0.600.10)
=3D=3D8677=3D=3D    by 0x5FB99D: gtk_widget_destroy (in
/usr/lib/libgtk-x11-2.0.so.0.600.10)
=3D=3D8677=3D=3D    by 0x52F312: (within /usr/lib/libgtk-x11-2.0.so.0.600=
.10)
=3D=3D8677=3D=3D    by 0x1BA6AAFC:
Gtk::Container_Class::forall_vfunc_callback(_GtkContainer*, int, void
(*)(_GtkWidget*, void*), void*) (container.cc:396)
=3D=3D8677=3D=3D    by 0x49E3ED: gtk_container_foreach (in
/usr/lib/libgtk-x11-2.0.so.0.600.10)
=3D=3D8677=3D=3D    by 0x4A0150: (within /usr/lib/libgtk-x11-2.0.so.0.600=
.10)
=3D=3D8677=3D=3D    by 0x527A90: (within /usr/lib/libgtk-x11-2.0.so.0.600=
.10)
=3D=3D8677=3D=3D    by 0x1BA6A6EB: Gtk::Container_Class::destroy_callback=
(_GtkObject*)
(container.cc:160)
=3D=3D8677=3D=3D    by 0x2B17E6: g_cclosure_marshal_VOID__VOID (in
/usr/lib/libgobject-2.0.so.0.600.6)
=3D=3D8677=3D=3D    by 0x2A5D9A: (within /usr/lib/libgobject-2.0.so.0.600=
.6)
=3D=3D8677=3D=3D    by 0x2A6284: g_closure_invoke (in
/usr/lib/libgobject-2.0.so.0.600.6)
=3D=3D8677=3D=3D    by 0x2B4C65: (within /usr/lib/libgobject-2.0.so.0.600=
.6)
=3D=3D8677=3D=3D    by 0x2B5EAF: g_signal_emit_valist (in
/usr/lib/libgobject-2.0.so.0.600.6)
=3D=3D8677=3D=3D    by 0x2B6222: g_signal_emit (in /usr/lib/libgobject-2.=
0.so.0.600.6)
=3D=3D8677=3D=3D    by 0x53D1F0: (within /usr/lib/libgtk-x11-2.0.so.0.600=
.10)
=3D=3D8677=3D=3D    by 0x600614: (within /usr/lib/libgtk-x11-2.0.so.0.600=
.10)
=3D=3D8677=3D=3D    by 0x1BAE42C4: Gtk::Widget_Class::dispose_vfunc_callb=
ack(_GObject*)
(widget.cc:508)
=3D=3D8677=3D=3D    by 0x2A7CB3: g_object_run_dispose (in
/usr/lib/libgobject-2.0.so.0.600.6)
=3D=3D8677=3D=3D    by 0x53D1AC: gtk_object_destroy (in
/usr/lib/libgtk-x11-2.0.so.0.600.10)
=3D=3D8677=3D=3D    by 0x1BA966ED: Gtk::Object::_destroy_c_instance() (ob=
ject.cc:166)
=3D=3D8677=3D=3D    by 0x1BA9680E: Gtk::Object::destroy_() (object.cc:264=
)
=3D=3D8677=3D=3D    by 0x1BA8D262: Gtk::Menu::~Menu() (menu.cc:201)
=3D=3D8677=3D=3D    by 0x804C62F: MyMenu::~MyMenu() (menucrash2.cc:15)
=3D=3D8677=3D=3D    by 0x804C8A3: MyBar::~MyBar() (menucrash2.cc:40)
=3D=3D8677=3D=3D    by 0x804C08F: main (menucrash2.cc:82)

(menutest:8677): GLib-GObject-WARNING **: instance with invalid (NULL) cl=
ass
pointer

(menutest:8677): GLib-GObject-CRITICAL **:
g_signal_handlers_disconnect_matched: assertion `G_TYPE_CHECK_INSTANCE
(instance)' failed


--=20
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=3Demail
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.



--__--__--

_______________________________________________
Gtkmm-forge mailing list
Gtkmm-forge lists sourceforge net
https://lists.sourceforge.net/lists/listinfo/gtkmm-forge


End of Gtkmm-forge Digest



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]