[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]

Re: Apache 1.3.9 + mod_perl 1.21 + Solaris 2.7 dumps core



Alan Burlison writes:
> The value of the ax variable in the XSUB is being set to -316718320,
> which looks wrong to me, and causes subsequent code like the expression
> "PL_stack_base [ ax + ( 0 ) ]" to give illegal addresses.
> 
> ax is calculated as "mark - PL_stack_base + 1", where mark=0x6,
> PL_stack_base=0x4fcd78.  mark is in turn calculated from "PL_stack_base
> + ( * PL_markstack_ptr -- )", where PL_stack_base=0x4fcd78 and
> *PL_markstack_ptr=7
> 
> Obviously PL_markstack_ptr is bogus

Looks perfectly normal to me.  

  PERLVAR(Tmarkstack_ptr,	I32 *)

It is an integer offset.

Ilya


Follow-Ups from:
Alan Burlison <Alan.Burlison@uk.sun.com>
References to:
Alan Burlison <Alan.Burlison@uk.sun.com>

[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]