Ticket #1236 (new defect)
Opened 21 months ago
TreeModelFilter crashes
| Reported by: | guest | Owned by: | somebody |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.11.0 |
| Component: | general (Gtk+, Glib) | Version: | 0.11.0 |
| Keywords: | Cc: | p.balzarek@… |
Description
I am getting strange crashed when using a TreeModelFilter? in concert with a TreeStore?. Whenever I try to add an element to an initially empty tree store the program will crash with a sig 11 (segfault). Setting the filter function up to check for iters that are invalid in the child store and returning False ("do not show") in this case will prevent this particular crash from happening. Also, when I add two child nodes to an initially child-less node and try to expand that node afterwards, the program bails out with "TreeStore?.getRow: iter does not refer to a valid entry". (This is with gtk2hs version 0.12.0 on GHC 7.0.3, linux amd64 )