From: [EMAIL PROTECTED] Operating system: Linux 2.4.17 debian unstable PHP version: 4.1.1 PHP Bug Type: Java related Bug description: "Unexpected Exception" thrown from php sapi/servlet
To reproduce, compile PHP with the "--with-java --with-servlet" flags enabled. Follow the instructions in the sapi/servlet/README for installing the servlet. Start the java application server and access a PHP page. Configure line: ./configure --with-java=/usr/local/java --with-servlet --with-mysql=/usr --with-pgsql JDK 1.4 used, Orion Server 1.5.2 (latest stable version from http://www.orionserver.com/) Backtrace thrown by Orion: Orion/1.5.2 initialized An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x400B14C6 Function=(null)+0x400B14C6 Library=/lib/libc.so.6 NOTE: We are unable to locate the function name symbol for the error just occurred. Please refer to release documentation for possible reason and solutions. Current Java thread: at net.php.servlet.send(Native Method) at net.php.servlet.service(servlet.java:162) at net.php.servlet.service(servlet.java:180) at javax.servlet.http.HttpServlet.service(HttpServlet.java:336) at com.evermind._cxb._abe(Unknown Source) at com.evermind._cxb._uec(Unknown Source) at com.evermind._io._twc(Unknown Source) at com.evermind._io._gc(Unknown Source) at com.evermind._if.run(Unknown Source) - locked <0x44340000> (a com.evermind.server.ApplicationServerThread) Dynamic libraries: 08048000-0804d000 r-xp 00000000 03:04 275491 /usr/local/j2sdk1.4.0/bin/java 0804d000-0804e000 rw-p 00004000 03:04 275491 /usr/local/j2sdk1.4.0/bin/java 40000000-40014000 r-xp 00000000 03:04 23101 /lib/ld-2.2.5.so 40014000-40015000 rw-p 00013000 03:04 23101 /lib/ld-2.2.5.so 40016000-4001f000 r-xp 00000000 03:04 274921 /usr/local/j2sdk1.4.0/jre/lib/i386/native_threads/libhpi.so 4001f000-40020000 rw-p 00008000 03:04 274921 /usr/local/j2sdk1.4.0/jre/lib/i386/native_threads/libhpi.so 40020000-40021000 r--p 00000000 03:04 11653 /usr/lib/locale/en_US/LC_IDENTIFICATION 40021000-40022000 r--p 00000000 03:04 9480 /usr/lib/locale/en_US/LC_MEASUREMENT 40022000-40023000 r--p 00000000 03:04 6188 /usr/lib/locale/en_US/LC_TELEPHONE 40023000-40024000 r--p 00000000 03:04 6187 /usr/lib/locale/en_US/LC_ADDRESS 40024000-40025000 r--p 00000000 03:04 6186 /usr/lib/locale/en_US/LC_NAME 40025000-40033000 r-xp 00000000 03:04 26118 /lib/libpthread-0.9.so 40033000-4003b000 rw-p 0000d000 03:04 26118 /lib/libpthread-0.9.so 4003b000-4003d000 r-xp 00000000 03:04 23107 /lib/libdl-2.2.5.so 4003d000-4003f000 rw-p 00001000 03:04 23107 /lib/libdl-2.2.5.so 4003f000-40157000 r-xp 00000000 03:04 23104 /lib/libc-2.2.5.so 40157000-4015d000 rw-p 00117000 03:04 23104 /lib/libc-2.2.5.so 40161000-405c1000 r-xp 00000000 03:04 274923 /usr/local/j2sdk1.4.0/jre/lib/i386/server/libjvm.so 405c1000-40758000 rw-p 0045f000 03:04 274923 /usr/local/j2sdk1.4.0/jre/lib/i386/server/libjvm.so 4076d000-4077e000 r-xp 00000000 03:04 23109 /lib/libnsl-2.2.5.so 4077e000-40780000 rw-p 00010000 03:04 23109 /lib/libnsl-2.2.5.so 40782000-407b6000 r-xp 00000000 03:04 76320 /usr/lib/libstdc++-2-libc6.1-1-2.9.0.so 407b6000-407c2000 rw-p 00033000 03:04 76320 /usr/lib/libstdc++-2-libc6.1-1-2.9.0.so 407c4000-407e5000 r-xp 00000000 03:04 23108 /lib/libm-2.2.5.so 407e5000-407e6000 rw-p 00020000 03:04 23108 /lib/libm-2.2.5.so 407e6000-407f7000 r-xp 00000000 03:04 274931 /usr/local/j2sdk1.4.0/jre/lib/i386/libverify.so 407f7000-407f9000 rw-p 00010000 03:04 274931 /usr/local/j2sdk1.4.0/jre/lib/i386/libverify.so 407f9000-4081a000 r-xp 00000000 03:04 274932 /usr/local/j2sdk1.4.0/jre/lib/i386/libjava.so 4081a000-4081c000 rw-p 00020000 03:04 274932 /usr/local/j2sdk1.4.0/jre/lib/i386/libjava.so 4081d000-40831000 r-xp 00000000 03:04 274934 /usr/local/j2sdk1.4.0/jre/lib/i386/libzip.so 40831000-40834000 rw-p 00013000 03:04 274934 /usr/local/j2sdk1.4.0/jre/lib/i386/libzip.so 40834000-41eab000 r--s 00000000 03:04 275468 /usr/local/j2sdk1.4.0/jre/lib/rt.jar 41eed000-41f04000 r--s 00000000 03:04 274960 /usr/local/j2sdk1.4.0/jre/lib/sunrsasign.jar 41f04000-41f72000 r--s 00000000 03:04 274968 /usr/local/j2sdk1.4.0/jre/lib/jsse.jar 41f72000-41f85000 r--s 00000000 03:04 274961 /usr/local/j2sdk1.4.0/jre/lib/jce.jar 41f85000-42206000 r--s 00000000 03:04 275429 /usr/local/j2sdk1.4.0/jre/lib/charsets.jar 442ae000-442af000 r--p 00000000 03:04 6185 /usr/lib/locale/en_US/LC_PAPER 442af000-442b0000 r--p 00000000 03:04 6184 /usr/lib/locale/en_US/LC_MESSAGES/SYS_LC_MESSAGES 4c32f000-4c330000 r--p 00000000 03:04 5442 /usr/lib/locale/en_US/LC_MONETARY 4c330000-4c336000 r--p 00000000 03:04 5441 /usr/lib/locale/en_US/LC_COLLATE 4c336000-4c337000 r--p 00000000 03:04 5440 /usr/lib/locale/en_US/LC_TIME 4c337000-4c338000 r--p 00000000 03:04 5439 /usr/lib/locale/en_US/LC_NUMERIC 4c338000-4c363000 r--p 00000000 03:04 5393 /usr/lib/locale/en_US/LC_CTYPE 4c363000-4c365000 r--s 00000000 03:04 274957 /usr/local/j2sdk1.4.0/jre/lib/ext/dnsns.jar 4c365000-4c367000 r--s 00000000 03:04 123955 /home/sms/orion/ejb.jar 4c367000-4c369000 r--s 00000000 03:04 158741 /home/sms/orion/jdbc.jar 4c369000-4c36c000 r--s 00000000 03:04 158746 /home/sms/orion/jta.jar 4c36c000-4c36d000 r--s 00000000 03:04 158743 /home/sms/orion/jnet.jar 4c36d000-4c36f000 r--s 00000000 03:04 158740 /home/sms/orion/jcert.jar 4c372000-4c37c000 r-xp 00000000 03:04 23110 /lib/libnss_compat-2.2.5.so 4c37c000-4c37d000 rw-p 00009000 03:04 23110 /lib/libnss_compat-2.2.5.so 4c37d000-4c5b5000 r--s 00000000 03:04 158897 /home/sms/orion/orion.jar 4c5b5000-4c5d2000 r--s 00000000 03:04 274956 /usr/local/j2sdk1.4.0/jre/lib/ext/sunjce_provider.jar 4c5d2000-4c5e0000 r--s 00000000 03:04 274959 /usr/local/j2sdk1.4.0/jre/lib/ext/ldapsec.jar 4c5e0000-4c683000 r--s 00000000 03:04 274958 /usr/local/j2sdk1.4.0/jre/lib/ext/localedata.jar 4c683000-4c8bb000 r--s 00000000 03:04 158897 /home/sms/orion/orion.jar 4c8bb000-4c8d4000 r--s 00000000 03:04 158742 /home/sms/orion/jndi.jar 4c8d4000-4c8db000 r--s 00000000 03:04 158739 /home/sms/orion/jaxp.jar 4c8db000-4c909000 r--s 00000000 03:04 61312 /home/sms/orion/crimson.jar 4c909000-4c9cc000 r--s 00000000 03:04 158907 /home/sms/orion/xalan.jar 4c9cc000-4ce66000 r--s 00000000 03:04 298221 /home/sms/orion/tools.jar 4ce66000-4ced8000 r--s 00000000 03:04 158745 /home/sms/orion/jsse.jar 4ced8000-4cee4000 r--s 00000000 03:04 58751 /home/sms/orion/activation.jar 4cee4000-4cf29000 r--s 00000000 03:04 158751 /home/sms/orion/mail.jar 4cf29000-4cf43000 r--s 00000000 03:04 158738 /home/sms/orion/jaas.jar 4cf43000-4cf55000 r-xp 00000000 03:04 274937 /usr/local/j2sdk1.4.0/jre/lib/i386/libnet.so 4cf55000-4cf56000 rw-p 00011000 03:04 274937 /usr/local/j2sdk1.4.0/jre/lib/i386/libnet.so 4cf65000-4cf6d000 r-xp 00000000 03:04 23193 /lib/libnss_files-2.2.5.so 4cf6d000-4cf6f000 rw-p 00007000 03:04 23193 /lib/libnss_files-2.2.5.so 4cf6f000-4cf72000 r-xp 00000000 03:04 23192 /lib/libnss_dns-2.2.5.so 4cf72000-4cf73000 rw-p 00002000 03:04 23192 /lib/libnss_dns-2.2.5.so 4cf73000-4cf80000 r-xp 00000000 03:04 26114 /lib/libresolv-2.2.5.so 4cf80000-4cf82000 rw-p 0000c000 03:04 26114 /lib/libresolv-2.2.5.so 4cf84000-4cf90000 r-xp 00000000 03:04 14927 /usr/lib/libz.so.1.1.3 4cf90000-4cf93000 rw-p 0000b000 03:04 14927 /usr/lib/libz.so.1.1.3 4cf93000-4cf98000 r-xp 00000000 03:04 23105 /lib/libcrypt-2.2.5.so 4cf98000-4cf99000 rw-p 00004000 03:04 23105 /lib/libcrypt-2.2.5.so 4cfc0000-4cfce000 r-xp 00000000 03:04 9442 /usr/lib/libpq.so.2.1 4cfce000-4cfd0000 rw-p 0000d000 03:04 9442 /usr/lib/libpq.so.2.1 4cfd0000-4cffa000 r-xp 00000000 03:04 5106 /usr/lib/libssl.so.0.9.6 4cffa000-4cffd000 rw-p 00029000 03:04 5106 /usr/lib/libssl.so.0.9.6 4d100000-4d20d000 r-xp 00000000 03:04 302575 /usr/local/lib/php/libphp4.so 4d20d000-4d218000 rw-p 0010c000 03:04 302575 /usr/local/lib/php/libphp4.so 4d228000-4d245000 r-xp 00000000 03:04 3597 /usr/lib/libmysqlclient.so.10.0.0 4d245000-4d25e000 rw-p 0001c000 03:04 3597 /usr/lib/libmysqlclient.so.10.0.0 4d25e000-4d310000 r-xp 00000000 03:04 1751 /usr/lib/libcrypto.so.0.9.6 4d310000-4d31b000 rw-p 000b1000 03:04 1751 /usr/lib/libcrypto.so.0.9.6 4d31f000-4d324000 r-xp 00000000 03:04 1412 /lib/libnss_db-2.2.so 4d324000-4d325000 rw-p 00004000 03:04 1412 /lib/libnss_db-2.2.so 4d325000-4d3cc000 r-xp 00000000 03:04 2256 /usr/lib/libdb3.so.3.0.2 4d3cc000-4d3cd000 rw-p 000a6000 03:04 2256 /usr/lib/libdb3.so.3.0.2 Local Time = Fri Feb 22 18:19:10 2002 Elapsed Time = 30 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Server VM (1.4.0-rc-b91 mixed mode) # # An error report file has been saved as hs_err_pid2830.log. # Please refer to the file for further information. # -- Edit bug report at http://bugs.php.net/?id=15679&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=15679&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=15679&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=15679&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=15679&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=15679&r=support Expected behavior: http://bugs.php.net/fix.php?id=15679&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=15679&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=15679&r=submittedtwice