ID: 8467 User Update by: [EMAIL PROTECTED] Status: Open Bug Type: Reproduceable crash Description: Crash in Tomcat with PHP/Servlet feature We found a solution to this problem. The trick is to use the following compiler flags: CC=xlC_r (xlC_r is the IBM C++ compiler) CXX=xlC_r CFLAGS="-g -ma -Dinline= " Previously we had: CC=xlc_r (xlc_r is the IBM C compiler) CXX=xlC_r CFLAGS="-g -ma -Dinline= " There appears to be another problem here, however. If you don't --enable-debug on the configure statement, the third php page requested crashes Tomcat. It appears to be dying in the memory manager but the place where it dies is different everytime (although in the end it's usually in _efree). I'm, therefore, not going to bother with appending the gdb backtrace but will look at the php/servlet code to see if I can spot any obvious reentrancy problems. Previous Comments: --------------------------------------------------------------------------- [2001-01-12 15:57:29] [EMAIL PROTECTED] Tried again today with the latest CVS but still getting the problem. Here's the complete gdb backtrace (sorry for chopping it in half before): #0 0xd1830484 in abort () #1 0xd0bdfe64 in pthread_rwlock_destroy () #2 0xd0bf0c48 in pthread_rwlock_destroy () #3 <signal handler called> #4 0xd2e951d0 in operator new () #5 0xd2e81094 in open_file_for_scanning (file_handle=0x209ce358, compiler_globals=0x20295328) at ./zend_language_scanner.l:296 #6 0xd2e808c8 in compile_file (file_handle=0x209ce358, type=2, compiler_globals=0x20295328) at ./zend_language_scanner.l:343 #7 0xd2e68e28 in zend_execute_scripts (type=8, compiler_globals=0x20295328, executor_globals=0x202a92c8, file_count=3) at zend.c:740 #8 0xd2eb1a88 in php_execute_script (primary_file=0x209ce358, compiler_globals=0x20295328, executor_globals=0x202a92c8, core_globals=0x202b1ae8) at main.c:1198 #9 0xd2eaed68 in Java_net_php_servlet_send (jenv=0x209cef04, self=0x4, requestMethod=0x3, queryString=0x0, requestURI=0x2, pathTranslated=0x1, contentType=0x0, contentLength=-1, authUser=0x0, display_source_mode=0 ' -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]