From: [EMAIL PROTECTED] Operating system: Linux PHP version: 4.0.6 PHP Bug Type: Apache related Bug description: Java call creates Segmentation Fault in Apache. Running Linux RH 7.1, Apache 1.3.19 (mod_ssl, OpenSSL, php is a static module), Sun JDK1.3.1(also recreated with Blackdown 1.3.1). ./configure --with-pfpro=shared,/tmp/verisign/payflowpro/linux --enable-trackvars --with-apache=/tmp/apache_1.3.19 --with-java=/usr/java/j2sdk1.3.1 --with-zlib --with-mysql=/usr/local/mysql The following is the test script: <?php $systemInfo = new Java("java.lang.System"); print "Total seconds since January 1, 1970: " . $systemInfo->currentTimeMillis(); ?> And the Backtrace: #0 0x40009e1b in _dl_lookup_versioned_symbol () at eval.c:41 #1 0x4000d816 in fixup () at eval.c:41 #2 0x4000d9b0 in _dl_runtime_resolve () at eval.c:41 #3 0x405219b2 in os::thread_local_storage_at_put () from /usr/java/jdk1.3.1/jre/lib/i386/hotspot/libjvm.so #4 0x40556887 in ThreadLocalStorage::set_thread () from /usr/java/jdk1.3.1/jre/lib/i386/hotspot/libjvm.so #5 0x40552a81 in Threads::create_vm () from /usr/java/jdk1.3.1/jre/lib/i386/hotspot/libjvm.so #6 0x404c2958 in JNI_CreateJavaVM () from /usr/java/jdk1.3.1/jre/lib/i386/hotspot/libjvm.so #7 0x40212969 in jvm_create () at java.c:254 #8 0x40212ed7 in java_call_function_handler (ht=1, return_value=0x821e444, this_ptr=0x82236f4, return_value_used=1, property_reference=0xbfffe548) at java.c:435 #9 0x0810b119 in call_overloaded_function (T=0xbfffe53c, arg_count=1, return_value=0x821e444) at ./zend_execute.c:856 #10 0x0810e45f in execute (op_array=0x821e2b4) at ./zend_execute.c:1566 #11 0x080e65be in zend_execute_scripts (type=8, file_count=3) at zend.c:752 #12 0x0807e39f in php_execute_script (primary_file=0xbffff880) at main.c:1206 #13 0x080f1fe6 in apache_php_module_main (r=0x8216684, display_source_mode=0) at sapi_apache.c:89 #14 0x9122212602021111mjm0807bdd0 in send_php () at eval.c:41 at java.c:435 #9 0x0810b119 in call_overloaded_function (T=0xbfffe53c, arg_count=1, return_value=0x821e444) at ./zend_execute.c:856 #10 0x0810e45f in execute (op_array=0x821e2b4) at ./zend_execute.c:1566 #11 0x080e65be in zend_execute_scripts (type=8, file_count=3) at zend.c:752 #12 0x0807e39f in php_execute_script (primary_file=0xbffff880) at main.c:1206 #13 0x080f1fe6 in apache_php_module_main (r=0x8216684, display_source_mode=0) at sapi_apache.c:89 #14 0x0807bdd0 in send_php () at eval.c:41 ---Type <return> to continue, or q <return> to quit--- #15 0x0807be05 in send_parsed_php () at eval.c:41 #16 0x08118097 in ap_invoke_handler () at eval.c:41 #17 0x0812c383 in process_request_internal () at eval.c:41 #18 0x0812c3e4 in ap_process_request () at eval.c:41 cZXfd vgb , +22.23.9 #19 0x08123769 in child_main () at eval.c:41 #20 0x08123938 in make_child () at eval.c:41 #21 0x08123aac in startup_children () at eval.c:41 #22 0x081240ff in standalone_main () at eval.c:41 #23 0x08124943 in main () at eval.c:41 #24 0x400d1177 in __libc_start_main (main=0x8124588 <main>, argc=2, ubp_av=0xbffffb5c, init=0x8063ad8 <_init>, fini=0x8154530 <_fini>, rtld_fini=0x4000e184 <_dl_fini>, stack_end=0xbffffb4c) at ../sysdeps/generic/libc-start.c:129 One note, this may not be php, the reason for this is that I got the php/java module up with Kaffe, but Sun's and Blackdown's JDK cause the Segmentation Fault. Also no core is created. -- Edit bug report at: http://bugs.php.net/?id=13088&edit=1 -- 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]