Segfault when removing or setting an invalid GTree.iter
"Guillaume Brunerie" <[email protected]>
| Newsgroups | gmane.comp.lang.ocaml.lib.gtk |
|---|---|
| Message-ID | <[email protected]> |
Hi, sorry for my bad english, I'm french.
I don't know if it'is an GTK or LablGTK bug, but segfault in an OCaml
program isn't normal.
Sorry if this bug is already known.
* Compile and execute bug.ml with 'ocamlc -I +lablgtk2 lablgtk.cma
gtkInit.cmo bug.ml && ./a.out'
* Click twice on the `DELETE button.
The first click gives me the error
(a.out:9780): Gtk-CRITICAL **: gtk_list_store_set_value: assertion
`VALID_ITER (iter, list_store)' failed
The second click gives the error
(a.out:9780): Gtk-CRITICAL **: gtk_list_store_remove: assertion
`VALID_ITER (iter, list_store)' failed
and sometimes segfaulting.
My OS is Ubuntu Hardy Heron and 'apt-cache policy' gives me :
ocaml:
Installé : 3.10.0-8
Candidat : 3.10.0-8
liblablgtk2-ocaml:
Installé : 2.10.0-2
Candidat : 2.10.0-2
libgtk2.0-0:
Installé : 2.12.9-3ubuntu4
Candidat : 2.12.9-3ubuntu4
Thanks.
Guillaume.
_______________________________________________
Lablgtk mailing list
[email protected]
http://yquem.inria.fr/cgi-bin/mailman/listinfo/lablgtk
bug.ml
(application/octet-stream, 715 B) - not displayed