`GtkGridView` fails to display widgets and segfaults on close
I have encountered an odd issue, and I am not sure what is the cause of it, or how to reproduce it. I've been attempting to debug it via gdb, but my system currently has some issues downloading most debug info.
The following is the Gtk critical error I get on launch:
Gtk-CRITICAL **: 13:12:16.561: gtk_grid_view_get_unknown_row_size: assertion 'heights->len > 0' failed
As far to my knowledge, this is not an issue in the way the UI is built. This could very well be an issue with my code, but whatever it is, I am unable to debug it. Considering it is an assertion error from the library, and my usage of the library is OK, I am assuming this is a GTK issue.
When the application is closed, it exits with a segfault. I have a backtrace, but debug symbols are missing as per the explanation above.
I also notice that GtkSignalListItemFactory
does not emit 'setup' on new GListModel items.
I have also verified that I am emitting the items-changed
signal. I can also verify that the n_items
of the GListModel is not equal to 0.
The source of the project that reproduces this issue can be found here, at this commit.
My apologies for the confusing issue. I have submitted here as I have run out of ways to debug this. :p