Jie Gao wrote:

Thanks for the trace with args, Jie, but it gives no new info.

Program received signal SIGSEGV, Segmentation fault.
[Switching to LWP 12]
0xfea9bbbc in modperl_env_request_tie (my_perl=0x1026fe0, r=0x17a8c78) at 
modperl_env.c:355
355         EnvMgObj = (char *)r;

which expands to:


SvMAGIC((SV*)((((XPVGV*)(my_perl->Ienvgv->sv_any))->xgv_gp)->gv_hv))->mg_ptr = (char *)r;

so it's possible that my_perl->Ienvgv (which is PL_envgv) is corrupted, or any of the following members:

What do you get:

gdb> print my_perl->Ienvgv
gdb> print *my_perl->Ienvgv

then I'd continue:

gdb> print my_perl->Ienvgv->sv_any
gdb> print (XPVGV*)(my_perl->Ienvgv->sv_any)

etc.




__________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to