GNOME Bugzilla – Bug 653579
Gtk-CRITICAL **: gtk_combo_box_text_get_active_text: assertion `text_column >= 0' failed
Last modified: 2012-01-04 12:51:57 UTC
From Gtkmm Users List (28.06.2011), After compiling this tutorial example, http://git.gnome.org/browse/gtkmm-documentation/tree/examples/book/combobox/text I get the message below, Gtk-CRITICAL **: gtk_combo_box_text_get_active_text: assertion `text_column >= 0' failed I'm using Gtkmm 3.0.1 with Gtk+ 3.0.11 libraries... Not sure if it's really a bug...
Confirmed. This happens when selecting an item from the combobox. Here is the backtrace at that warning with "break g_log": (gdb) bt
+ Trace 227610
Fixed in the gtkmm-3-0 and master branches: http://git.gnome.org/browse/gtkmm/commit/?id=876efee31ba47d8685b6a6d94e64231e2dc292a3 Thanks.
The GTK+ bug 650369 emanates from the Python language binding. The problem described in that bug is probably also caused by gtk_combo_box_text_new() setting attribute values.
The bug seems that it has came again in the current last git release...
(In reply to comment #4) > The bug seems that it has came again in the current last git release... What version do you mean? Does a certain git commit break things for you. It seems fine to me with git master.
Please reopen if you have some information.
The fix in gtk+ bug 612396 comment 67 makes it possible to undo the fix in this bug's comment 2. Its removal is really not urgent. The fix makes no harm, it's just unnecessary now.
Thanks. Could you add a comment about that to the source code? I would prefer to keep the code there, to support older GTK+ versions.
> Could you add a comment about that to the source code? http://git.gnome.org/browse/gtkmm/commit/?id=b423e9d2bb50b22047062cbcc6ba98327ee390ea