abaddon icon indicating copy to clipboard operation
abaddon copied to clipboard

Clang build crashes

Open ryze312 opened this issue 3 months ago • 3 comments

Building with Clang works just fine, but the build crashes at startup with

(abaddon:81377): Gtk-CRITICAL **: 18:28:43.577: gtk_tree_model_sort_get_value: assertion 'VALID_ITER (iter, tree_model_sort)' failed

Running with debugger reveals that this occurs in ChannelListTree::SelectionFunc when comparing type

https://github.com/uowuo/abaddon/blob/7b63bfea23edb66e97ec4b2c276c1dbdf15c3849/src/components/channellist/channellisttree.cpp#L1154-L1163

I am not much familiar with GTK, but it seems like type returned by get_iter is in invalid state.

ryze312 avatar Mar 29 '24 15:03 ryze312