21:17:38drmeisterYou could put an ASSERT(instance.generalp()); in front of the instance->instanceRef(index); Then turn on DEBUG_ASSERT - you should probably build with that anyway.
21:17:47drmeisterI'm building with that from now on.
21:18:01Bikei'll check the pointer and if the problem isn't obvious i'll push this somewhere.
21:25:10Bikenow it's segfaulting while trying to print the pointer. i think it's trying to actually print the object. does %p not work in bformat?
21:25:17Bikeseems to indicate the instance is the problem, regardless
3:18:24drmeisterNo - sorry - I was working on building gdb and figuring out how it initializes itself.
3:19:20drmeisterThe shit c language means they have to scrape all of the c code to gather up all of the _initialize_xxx functions and write them into a file that is constructed by the build system.
3:19:42drmeisterThat took me a couple of hours to figure out.
3:20:20drmeisterSeriously, nobody seems to be able to write a C or C++ program that doesn't involve some kind of scraper.
6:08:06drmeister::notify Bike I found the problem - it's not Instance_sp instance((gc::Tagged)tinstance) . It's Instance_sp instance(gc::Tagged)tinstance.raw_()); We shouldn't allow casting of a T_sp to a gc::Tagged and I have no idea right now why that casts to 0x1 (bleh) but that's what it was doing.
6:08:06Colleendrmeister: Got it. I'll let Bike know as soon as possible.