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 736339 - Gtk::StackSwitcher crashes on Gtk::Stack
Gtk::StackSwitcher crashes on Gtk::Stack
Status: RESOLVED FIXED
Product: gtkmm
Classification: Bindings
Component: general
3.12.x
Other Linux
: Normal normal
: ---
Assigned To: gtkmm-forge
gtkmm-forge
Depends on:
Blocks:
 
 
Reported: 2014-09-09 16:39 UTC by Hubert Figuiere (:hub)
Modified: 2014-09-21 16:58 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
sample code (1.83 KB, text/x-c++src)
2014-09-09 16:39 UTC, Hubert Figuiere (:hub)
Details

Description Hubert Figuiere (:hub) 2014-09-09 16:39:25 UTC
Created attachment 285753 [details]
sample code

Because of bug 736307 in Gtk+, there is a crash caused by Gtk::StackSwitcher and Gtk::Stack used together.

Attaching a simple sample that show the problem on 3.12.

The crash is in Gtk+ but given the order of destruction of objects in Gtkmm that is more or less different, things crash.
Comment 1 Hubert Figuiere (:hub) 2014-09-10 03:54:42 UTC
Bug 736307 has been fixed. I think this should work. I just need to rebuild the whole thing first to make sure.
Comment 2 Kjell Ahlstedt 2014-09-21 16:58:59 UTC
I can confirm that the fixes in gtk+ bug 736307 also fixed this bug.