When I launch my debugger at the moment Apache crashes, the debugger shows:
'Apache.exe': Loaded 'D:\ApacheT\bin\Apache.exe', Symbols loaded.
'Apache.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll', No symbols loaded.
'Apache.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll', No symbols loaded.
'Apache.exe': Loaded 'D:\ApacheT\bin\libapr.dll', Symbols loaded.
'Apache.exe': Loaded 'C:\WINDOWS\system32\advapi32.dll', No symbols loaded.
'Apache.exe': Loaded 'C:\WINDOWS\system32\rpcrt4.dll', No symbols loaded.
'Apache.exe': Loaded 'C:\WINDOWS\system32\ws2_32.dll', No symbols loaded.
'Apache.exe': Loaded 'C:\WINDOWS\system32\msvcrt.dll', No symbols loaded.
'Apache.exe': Loaded 'C:\WINDOWS\system32\ws2help.dll', No symbols loaded.
'Apache.exe': Loaded 'C:\WINDOWS\system32\mswsock.dll', No symbols loaded.
'Apache.exe': Loaded 'D:\ApacheT\bin\libaprutil.dll', Symbols loaded.
'Apache.exe': Loaded 'D:\ApacheT\bin\libapriconv.dll', Symbols loaded.
'Apache.exe': Loaded 'D:\ApacheT\bin\libhttpd.dll', Symbols loaded.
'Apache.exe': Loaded 'C:\WINDOWS\system32\user32.dll', No symbols loaded.
'Apache.exe': Loaded 'C:\WINDOWS\system32\gdi32.dll', No symbols loaded.
'Apache.exe': Loaded 'C:\WINDOWS\system32\shell32.dll', No symbols loaded.
'Apache.exe': Loaded 'C:\WINDOWS\system32\shlwapi.dll', No symbols loaded.
'Apache.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.100.0_x-ww_8417450B\comctl32.dll', No symbols loaded.
'Apache.exe': Loaded 'C:\WINDOWS\system32\wshtcpip.dll', No symbols loaded.
'Apache.exe': Loaded 'D:\ApacheT\modules\mod_access.so', Symbols loaded.
'Apache.exe': Loaded 'D:\ApacheT\modules\mod_actions.so', Symbols loaded.
'Apache.exe': Loaded 'D:\ApacheT\modules\mod_alias.so', Symbols loaded.
'Apache.exe': Loaded 'D:\ApacheT\modules\mod_asis.so', Symbols loaded.
'Apache.exe': Loaded 'D:\ApacheT\modules\mod_auth.so', Symbols loaded.
'Apache.exe': Loaded 'D:\ApacheT\modules\mod_auth_digest.so', Symbols loaded.
'Apache.exe': Loaded 'D:\ApacheT\modules\mod_autoindex.so', Symbols loaded.
'Apache.exe': Loaded 'D:\ApacheT\modules\mod_cgi.so', Symbols loaded.
'Apache.exe': Loaded 'D:\ApacheT\modules\mod_dir.so', Symbols loaded.
'Apache.exe': Loaded 'D:\ApacheT\modules\mod_env.so', Symbols loaded.
'Apache.exe': Loaded 'D:\ApacheT\modules\mod_imap.so', Symbols loaded.
'Apache.exe': Loaded 'D:\ApacheT\modules\mod_include.so', Symbols loaded.
'Apache.exe': Loaded 'D:\Perl\bin\perl58.dll', No symbols loaded.
'Apache.exe': Loaded 'D:\ApacheT\modules\mod_perl.so', No symbols loaded.
'Apache.exe': Loaded 'D:\ApacheT\modules\mod_isapi.so', Symbols loaded.
'Apache.exe': Loaded 'D:\ApacheT\modules\mod_log_config.so', Symbols loaded.
'Apache.exe': Loaded 'D:\ApacheT\modules\mod_mime.so', Symbols loaded.
'Apache.exe': Loaded 'D:\ApacheT\modules\mod_proxy.so', Symbols loaded.
'Apache.exe': Loaded 'D:\ApacheT\modules\mod_proxy_connect.so', Symbols loaded.
'Apache.exe': Loaded 'D:\ApacheT\modules\mod_proxy_http.so', Symbols loaded.
'Apache.exe': Loaded 'D:\ApacheT\modules\mod_negotiation.so', Symbols loaded.
'Apache.exe': Loaded 'D:\ApacheT\modules\mod_setenvif.so', Symbols loaded.
'Apache.exe': Loaded 'D:\ApacheT\modules\mod_userdir.so', Symbols loaded.
'Apache.exe': Loaded 'D:\Perl\site\lib\Apache2\auto\Apache\Filter\Filter.dll', No symbols loaded.
'Apache.exe': Loaded 'D:\Perl\site\lib\Apache2\auto\Apache\RequestRec\RequestRec.dll', No symbols loaded.
'Apache.exe': Loaded 'D:\Perl\site\lib\Apache2\auto\Apache\RequestUtil\RequestUtil.dll', No symbols loaded.
'Apache.exe': Loaded 'D:\Perl\site\lib\Apache2\auto\Apache\Log\Log.dll', No symbols loaded.
'Apache.exe': Loaded 'D:\Perl\site\lib\Apache2\auto\APR\Table\Table.dll', No symbols loaded.
'Apache.exe': Loaded 'D:\Perl\site\lib\Apache2\auto\Apache\Const\Const.dll', No symbols loaded.
'Apache.exe': Loaded 'C:\WINDOWS\system32\rsaenh.dll', No symbols loaded.
'Apache.exe': Loaded 'C:\WINDOWS\system32\psapi.dll', No symbols loaded.
'Apache.exe': Loaded 'C:\WINDOWS\system32\dnsapi.dll', No symbols loaded.
'Apache.exe': Loaded 'C:\WINDOWS\system32\winrnr.dll', No symbols loaded.
'Apache.exe': Loaded 'C:\WINDOWS\system32\wldap32.dll', No symbols loaded.
'Apache.exe': Loaded 'C:\WINDOWS\system32\rasadhlp.dll', No symbols loaded.
The thread 'Win32 Thread' (0x1e58) has exited with code 0 (0x0).
Unhandled exception at 0x280829d4 in Apache.exe: 0xC0000005: Access violation reading location 0x00000c10.
> perl58.dll!280829d4() mod_perl.so!10007985() mod_perl.so!1000813d() libhttpd.dll!ap_pass_brigade(ap_filter_t * next=0x008c9f30, apr_bucket_brigade * bb=0x007d4db0) Line 511 + 0x7 C
mod_proxy_http.so!ap_proxy_http_process_response(apr_pool_t * p=0x007d4900, request_rec * r=0x008c8060, proxy_http_conn_t * p_conn=0x007d4e00, conn_rec * origin=0x007d4fc8, proxy_conn_rec * backend=0x007d4e18, proxy_server_conf * conf=0x00585510, apr_bucket_brigade * bb=0x007d4db0, char * server_portstr=0x04b5fe78) Line 921 + 0xe C
mod_proxy_http.so!ap_proxy_http_handler(request_rec * r=0x007d4e00, proxy_server_conf * conf=0x00585510, char * url=0x007d4ee0, const char * proxyname=0x00000000, unsigned short proxyport=0) Line 1091 + 0x1d C
mod_proxy.so!proxy_run_scheme_handler(request_rec * r=0x008c8060, proxy_server_conf * conf=0x00585510, char * url=0x008c9eee, const char * proxyhost=0x00000000, unsigned short proxyport=0) Line 1108 + 0x3b C
mod_proxy.so!proxy_handler(request_rec * r=0x00585510) Line 419 C
libhttpd.dll!ap_run_handler(request_rec * r=0x008c8060) Line 152 + 0x1f C
libhttpd.dll!ap_invoke_handler(request_rec * r=0x008c8060) Line 362 C
libhttpd.dll!ap_process_http_connection(conn_rec * c=0x007d4a08) Line 250 + 0x6 C
libhttpd.dll!ap_run_process_connection(conn_rec * c=0x007d4a08) Line 42 + 0x1f C
libhttpd.dll!ap_process_connection(conn_rec * c=0x007d4a08, void * csd=0x007d4938) Line 175 + 0x6 C
libhttpd.dll!worker_main(long thread_num=8210944) Line 718 C
msvcrt.dll!77bc91ed() kernel32.dll!77e4a990()
Michael Franken wrote:
Hi Stas,
I've just setup a simple environment with a pretty vanilla config. I get respons as before, but it crashes after a few responses. The funny thing I noticed is that the first time I launched the new server, I got no errors form my reverse proxied mod_perl'd pages.
Here's my httpd.conf: [snip]
------------------------------------------8<--------------------------- regards,
Mike
Stas Bekman wrote:
Michael Franken wrote:
Hi Stas,
That was close, I got a few responses, but then it crashed again:
[...]
Thanks for the testcase, what's next?
Can we see the relevant parts of your config? Have you used by chance 'PerlOptions +Parent' switches?
Ideally, it'd be nice if you could prepare for us a complete test suite, from the tar ball:
http://perl.apache.org/docs/2.0/user/help/help.html#Problem_Description
then I'll try to make a special mod_perl build which emulated win32 memory pool allocation to reproduce the problem.
Also have you tried with 5.8.3 as Randy suggested? Though it seems like the interpreter scoping problem that keeps on haunting us :(
__________________________________________________________________ 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
-- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html