On Thu, Nov 02, 2006 at 03:33:06PM -0800, Steve Langasek wrote:
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 47388434000368 (LWP 18300)]
> 0x0000000000430852 in GET_INT () at pe/pe_vm.cpp:407
> 407     return (*curvm->ip++).u8;

FWIW, I believe this crash is a red herring; what happens is the error in the
boot log ("array index out of bounds", since the VM uses one-based indexing
and the index in question is zero), after which the VM kills itself. However,
even though it's dead (having, among others, curvm->ip = NULL), this doesn't
propagate properly up to the other subroutines, which leads to this kind of
crash.

I wonder if the issue here is related to VMTYPE being a union of a bucketload
of types (including "void *"), but that's just a guess.

/* Steinar */
-- 
Homepage: http://www.sesse.net/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to