Forums » Bugs

Segmentation Fault caused by iup.SetHandle()

Dec 22, 2010 draugath link
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.