On Thu, May 06, 2004 at 06:21:23PM +0200, Leopold Toetsch wrote: > Nicholas Clark wrote: > > 0 loadlib P1, "libnci" - P1=NULL, > > 3 dlfunc P0, P1, "nci_pi", "pi" - P0=NULL, > > P1=ParrotLibrary=PMC(0x200f7f0), , DOD > > 8 set I5, 5 - I5=0, > > That seems to be nci_23 from CVS, which is weird: that looks totally > different here. This test uses a callback from C, which gets called then. > > > DOD > > 11 invoke > > >I'm not sure how to interpret that trace to work out whether the crash is > >before or after the call into libnci. > > After. The C<invoke> which is actually C<invoke P0> calls the > "dlfunc'ed" P0. > > But anyway please first update from CVS and delete libnci.so - it seems > that it doesn't get rebuilt.
OK. I had some fun previously with my disk (fsck'd) so after a complete clean checkout, I see: 194 PObj_live_SET(obj); (gdb) print *obj $1 = { obj = { u = { _b = { _bufstart = 0x7c0802a6, _buflen = 3217162232 }, _ptrs = { _struct_val = 0x7c0802a6, _pmc_val = 0xbfc1fff8 }, _int_val = 2080899750, _num_val = 2.9248558425698019e+289, _string_val = 0x7c0802a6 }, flags = 2415984648, _pobj_version = 2485256112 } } (Same sequence of output with -t as before) [When the make failed I built libnci with: make runtime/parrot/dynext/libnci.so mv runtime/parrot/dynext/libnci.so runtime/parrot/dynext/libnci.dylib then ran make test. ] So I don't know what to do next. Nicholas Clark