Forums » Bugs
Segmentation Fault caused by iup.SetHandle()
I'm writing a plugin with a large number of iup.stationtoggle's. I was wanting to use iup names to reference these toggles, rather than create a table entry to hold a reference to each one. The problem I've run into is that the plugin will load for the first time without issue, but upon the first ReloadInterface() it will crash to desktop with a segmentation fault. Nothing is printed to the errors.log, but the following is printed to my console.
vendetta: ../iup/itable.c:285: iupTableRemove: Assertion `it && key' failed.
vendetta: ../iup/itable.c:285: iupTableRemove: Assertion `it && key' failed.