RE : [Lablgtk] Segfault when removing or setting a n invalid GTree.iter

"MONATE Benjamin 205998" <[email protected]>
Newsgroups gmane.comp.lang.ocaml.lib.gtk
Message-ID <[email protected]>
Hi Guillaume,

You program is breaking Gtk invariants hence the "Gtk-CRITICAL" message: GTree.iter cannot be used if Gtk has decided they are invalid.
Gtk is by defaul a little sloppy about ctitical errors. It just displays the messsages and goes on even if an internal later segfault may occur.
If you want your program to stop you may add to the start of bug.ml:
Glib.Message.set_always_fatal [ `CRITICAL; `ERROR; `FLAG_FATAL; `FLAG_RECURSION];;


Benjamin Monate
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.