It seems that treeModelSortConvertIterToChildIter produces iterators that fail this check treeModelSortIterIsValid and result in segmentation faults when being used.
I've been unable to successfully sort a TreeView using code from the demo directory or examples I've found online.
I'm using GTK+ version 3.18.9 installed via homebrew on OS X 10.11.3, GHC 7.10.3 with current versions of the gtk3 package dependencies.
~/Desktop/gtk3-0.14.2/demo/treelist
$ ./treesort
2016-03-17 09:10:20.271 treesort[74430:16499702] *** WARNING: Method userSpaceScaleFactor in class NSView is deprecated on 10.7 and later. It should not be used in new applications. Use convertRectToBacking: instead.
Segmentation fault: 11
It seems that
treeModelSortConvertIterToChildIter
produces iterators that fail this checktreeModelSortIterIsValid
and result in segmentation faults when being used.I've been unable to successfully sort a TreeView using code from the demo directory or examples I've found online.
I'm using GTK+ version 3.18.9 installed via homebrew on OS X 10.11.3, GHC 7.10.3 with current versions of the gtk3 package dependencies.