Hi
 with perl 5.8/ apache 2.0.40 / mod_perl 1.99_05 / DBI 1.30
"use DBI "
in the startup.pl (before child cloning process) script makes apache
segfault in perl 58.dll
this is on win32

here is the stack trace

> > SharedUserData!SystemCallStub+0x4
> > ntdll!ZwTerminateProcess+0xc
> > kernel32!_ExitProcess+0x57
> > kernel32!ExitProcess+0x11
> > msvcrt!__crtExitProcess+0x2f
> > msvcrt!_cinit+0xe4
> > msvcrt!exit+0xe
> > WARNING: Stack unwind information not available. Following frames may be
> > wrong.
> > perl58!Perl_Tregnarrate_ptr+0x14809d
> > perl58!Perl_Tregnarrate_ptr+0x57255
> > perl58!Perl_Tregnarrate_ptr+0x56ef8
> > perl58!Perl_Tregnarrate_ptr+0x13fc84
> > perl58!Perl_Tregnarrate_ptr+0x13fcd9
> > perl58!Perl_Tregnarrate_ptr+0xfeb7a
> > perl58!Perl_Tregnarrate_ptr+0xfe465
> > DBI!XS_DBI__clone_dbis+0x27b
> > DBI!XS_DBI__clone_dbis+0x100
> > perl58!Perl_Tregnarrate_ptr+0x96df8
> > perl58!Perl_Tregnarrate_ptr+0x17de8
> > perl58!Perl_Tregnarrate_ptr+0x52c21
> > perl58!Perl_Tregnarrate_ptr+0x5237c
> >
> >
> >
> > also here is the last loading modules sequence inside apache
> >
> > ModLoad: 6fbf0000 6fbf6000 C:\Apache2\modules\mod_userdir.so
> > ModLoad: 28000000 281a3000 C:\perld\bin\perl58.dll
> > ModLoad: 10000000 10010000 C:\Apache2\modules\mod_perl.so
> > ModLoad: 71a90000 71a98000 C:\WINDOWS\System32\wshtcpip.dll
> > ModLoad: 00360000 00383000 C:\perld\site\lib\auto\DBI\DBI.dll
> > ModLoad: 00390000 00399000
> > C:\perld\site\lib\auto\Apache\RequestRec\RequestRec.dll
> > ModLoad: 003a0000 003a6000
> > C:\perld\site\lib\auto\Apache\RequestIO\RequestIO.dll
> > ModLoad: 003b0000 003b8000
C:\perld\site\lib\auto\ModPerl\Const\Const.dll
> > ModLoad: 003c0000 003c5000 C:\perld\site\lib\auto\Apache\Const\Const.dll
> > -->error at this point


and a note from RK :
I find that too ... Gerald, a little while ago, mentioned in a
message to the dev list that latter DBIs work only if they come
into play after the perl interpreter has been cloned - perhaps
this is related to problems with using DBI in a startup script?


pascal


Reply via email to