I have no idea what I’m doing wrong with my OpenMicNode type, its meant to be extended but the type itself is having issues. I’ve documented my findings on my GitHub issue: https://github.com/MidstallSoftware/openmic/issues/1. In case you don’t want to look, here’s the info. The program is segfaulting from not being able to attach a GNode from OpenMicNode to another. I believe that segfault is coming from these warnings
(openmic-cli:715331): GLib-GObject-WARNING **: 20:20:52.166: invalid unclassed type '(null)' in class cast to 'OpenMicNode'
(openmic-cli:715331): GLib-GObject-WARNING **: 20:20:52.166: invalid unclassed type '(null)' in class cast to 'OpenMicNode'
(openmic-cli:715331): GLib-GObject-WARNING **: 20:20:52.166: invalid unclassed type '(null)' in class cast to 'OpenMicNode'
(openmic-cli:715331): GLib-GObject-WARNING **: 20:20:52.166: invalid unclassed type '(null)' in class cast to 'OpenMicNode'
Those warnings are coming from src/lib/node.c (https://github.com/MidstallSoftware/openmic/blob/master/src/lib/node.c) but specfically with OPENMIC_NODE_CLASS being called outside of the object itself. The only class related function working is openmic_node_class_init. I have no idea what’s going wrong since I’ve never experienced this problem before so I’m asking here if someone knows what is wrong or if this is actually a bug with glib itself.