I can build my COMPO app against Gtkd3
It uses a Tree view, and it segfaults as soon as I try to select the single object that is present in the view at startup. To be honest I have never understood the GTK documentation for this stuff, but it worked fine with 2.4.
I derive a class from TreeModel, and override the methods specified by the interface.
You seem to also define a TreeModel implementation in the library, using mixins somehow. Should I be using that implementation? Do you have a working tree view example?
The stack trace to the segfault as generated by CodeBlocks 10.05 is as follows (how do I send a file). All of the action seems to happen in libgtk-3.so.
#0 0xb7f6fcab pthreadmutexlock() (/lib/i386-linux-gnu/libpthread.so.0:??)
#1 0x889bbff core.sync.mutex.Mutex.T9lock_implTC6object5ErrorZ.lock_impl() () (??:??)<br>#2 0x889bacb core.sync.mutex.Mutex.lock_nothrow() () (??:??)<br>#3 0x889501f gc.gc.GC.malloc() () (??:??)<br>#4 ( 0x08858439 in gc_qalloc() (??:??)<br>#5 ( 0x0885a298 in _d_newarrayU() (??:??)<br>#6 ( 0x0885a385 in _d_newarrayiT() (??:??)<br>#7 0x862b36d glib.Str.Str.toStringz() () (??:??)<br>#8 0x8768e20 gobject.ObjectG.ObjectG.T10getDObjectTC3gtk9TreeModel9TreeModelTC3gtk9TreeModel9TreeModelTPS4gtkc8gtktypes12GtkTreeModelZ.getDObject() () (??:??)
#9 0x8768b48 gtk.TreeModel.TreeModel.customTreeModelIterNthChild() () (??:??)
#10 0xb7038203 gtktreemodeliternthchild() (/usr/lib/i386-linux-gnu/libgtk-3.so.0:??)<br>#11 0x87679f8 gtk.TreeModel.TreeModel.mixin21.iterNthChild() () (??:??)<br>#12 0x8768b66 gtk.TreeModel.TreeModel.customTreeModelIterNthChild() () (??:??)<br>#13 0xb7038203 gtktreemodeliternthchild() (/usr/lib/i386-linux-gnu/libgtk-3.so.0:??)
#14 0x87679f8 gtk.TreeModel.TreeModel.mixin21.iterNthChild() () (??:??)<br>#15 0x8768b66 gtk.TreeModel.TreeModel.customTreeModelIterNthChild() () (??:??)<br>#16 0xb7038203 gtk_tree_model_iter_nth_child() (/usr/lib/i386-linux-gnu/libgtk-3.so.0:??)<br>#17 0x87679f8 gtk.TreeModel.TreeModel.mixin21.iterNthChild() () (??:??)
#18 0x8768b66 gtk.TreeModel.TreeModel.customTreeModelIterNthChild() () (??:??)
#19 0xb7038203 gtktreemodeliternthchild() (/usr/lib/i386-linux-gnu/libgtk-3.so.0:??)<br>#20 0x87679f8 gtk.TreeModel.TreeModel.mixin21.iterNthChild() () (??:??)<br>#21 0x8768b66 gtk.TreeModel.TreeModel.customTreeModelIterNthChild() () (??:??)<br>#22 0xb7038203 gtktreemodeliternthchild() (/usr/lib/i386-linux-gnu/libgtk-3.so.0:??)
#23 0x87679f8 gtk.TreeModel.TreeModel.mixin21.iterNthChild() () (??:??)<br>#24 0x8768b66 gtk.TreeModel.TreeModel.customTreeModelIterNthChild() () (??:??)<br>#25 0xb7038203 gtk_tree_model_iter_nth_child() (/usr/lib/i386-linux-gnu/libgtk-3.so.0:??)<br>#26 0x87679f8 gtk.TreeModel.TreeModel.mixin21.iterNthChild() () (??:??)
#27 0x8768b66 gtk.TreeModel.TreeModel.customTreeModelIterNthChild() () (??:??)
#28 0xb7038203 gtktreemodeliternthchild() (/usr/lib/i386-linux-gnu/libgtk-3.so.0:??)<br>#29 0x87679f8 gtk.TreeModel.TreeModel._mixin21.iterNthChild() () (??:??)