[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Modperl crashes on win32


Hi all, 
New to the list so bear with me a sec.
Platform: Windows 2003 Server/Apache 2.2.3,ActivePerl5.8.8-819 
Problem: ModPerl 2.0.3 crashes Apache 2.2.3 or 2.2.4 when concurrency
occurs.
Error reported on windows event system:
Faulting application httpd.exe, version 2.2.3.0, faulting module
perl58.dll, version 0.0.0.0, fault address 0x000ead7a.
Or:
Faulting application httpd.exe, version 2.2.3.0, faulting module
perl58.dll, version 0.0.0.0, fault address 0x0003695f.

History:
We have a production working library system with the above platform.
Recently we are trying to use Modperl with either PerlRun or Registry
Everything looks smooth except the intermittent faults i quoted above.

Test Run:
Using ApacheBench tried to isolate the problem.
When concurrency is set to 1 we did not manage to crash the system. Any
concurrency level above 1 system crash occurs 90% of the time. ie yes it
sometimes work!

Remedies tried:
>From Isaac Goldstands mail (22 Nov 2006) to the list:
Quote:
In order to avoid the problem I used the __try and __catch which are
used in Microsoft win32 applications changing  :
 inline void FreeShared(void* ptr)
    {
	GetLockShared();
	__try{
		m_pVMemShared-> Free(ptr);
		}
	__except(EXCEPTION_EXECUTE_HANDLER)
	{	
	}	
	FreeLockShared();
    };
Located in win32\perlhost.h file.
--Unquote.

We applied this patch to perl, recompiled and nothing changed.

We do not have C programmers in hand so we are stuck.
Any help, suggestions is appreciated.

Tumer Garip
NEU Grand Library
Cyprus



Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.