GNOME Bugzilla – Bug 163992
segfault with Widget::get_default_colormap()
Last modified: 2005-01-17 08:32:25 UTC
Create a window with one button then do for (int i = 0 ; i<1000;++i) { std::cout << i << std::endl; Glib::RefPtr<Gdk::Colormap> colormap = Button.get_default_colormap (); } it will count to 4 and then segfault
*** Bug 164006 has been marked as a duplicate of this bug. ***
I can not reproduce this. What version of gtkmm are you using? If you are using a latest stable or unstable version then please submit an actual compileable test case.
Created attachment 36032 [details] compilable test case I'm using gtkmm 2.4.8 On debian unstable.
Little mistake here, i didn't have 2.4.8 installed but 2.4.7. And after upgrading to 2.4.8 the problem was gone, so i guess this bug can be closed.
Thanks.