From:             [EMAIL PROTECTED]
Operating system: debian unstable
PHP version:      4.0CVS-2001-09-17
PHP Bug Type:     Java related
Bug description:  sablot bites ext/java (sun jdk 1.3.1) 

If i compile php wit ext/xslt and ext/java, new java segfaults.

here the system:

jdk 1.3.1 from sun
java -version:
java version "1.3.1"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-b24)
Java HotSpot(TM) Client VM (build 1.3.1-b24, mixed mode)

php cvs-branch php_4_0_7

configure:
"./configure" \
"--with-config-file-path=/usr/local/apache/conf" \
"--enable-debug=yes" \
"--with-apxs=/usr/local/apache/bin/apxs" \
"--with-java=/usr/lib/java" \
"--enable-xslt" \
"--with-xslt-sablot" \

testscript:

 $system = new Java('java.lang.System');
  print 'Java version='.$system->getProperty('java.version').' <br>';
  print 'Java vendor=' .$system->getProperty('java.vendor').'  <br>';
  print 'OS='.$system->getProperty('os.name').' '.
              $system->getProperty('os.version').' on '.
              $system->getProperty('os.arch').' <br>';


gdb output: 

(no debugging symbols found)...(no debugging symbols found)...[New Thread
1024 (LWP 23557)]
[New Thread 2049 (LWP 23558)]
[New Thread 1026 (LWP 23559)]
[New Thread 2051 (LWP 23560)]
[New Thread 3076 (LWP 23561)]
[New Thread 4101 (LWP 23562)]
[New Thread 5126 (LWP 23563)]
[New Thread 6151 (LWP 23564)]
[New Thread 7176 (LWP 23565)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 7176 (LWP 23565)]
0x400f0860 in free () from /lib/libc.so.6
(gdb) bt
#0  0x400f0860 in free () from /lib/libc.so.6
#1  0x4035116f in Arena::dispose () from /usr/lib/libsablot.so.0
#2  0x403511bc in Arena::~Arena () from /usr/lib/libsablot.so.0
#3  0x40724b77 in ciEnv::~ciEnv ()
   from /usr/lib/java/jre/lib/i386/client/libjvm.so
#4  0x40734663 in CompileBroker::invoke_compiler_on_method ()
   from /usr/lib/java/jre/lib/i386/client/libjvm.so
#5  0x40734118 in CompileBroker::compiler_thread_loop ()
   from /usr/lib/java/jre/lib/i386/client/libjvm.so
#6  0x4071153a in compiler_thread_entry ()
   from /usr/lib/java/jre/lib/i386/client/libjvm.so
#7  0x4070e17f in JavaThread::thread_main_inner ()
   from /usr/lib/java/jre/lib/i386/client/libjvm.so
#8  0x4070e12b in JavaThread::run ()
   from /usr/lib/java/jre/lib/i386/client/libjvm.so
#9  0x406dc023 in _start () from
/usr/lib/java/jre/lib/i386/client/libjvm.so
#10 0x4092ce85 in pthread_start_thread () from /lib/libpthread.so.0
#11 0x4092cecd in pthread_start_thread_event () from /lib/libpthread.so.0
(gdb) 


Hope someone still does maintain ext/java (it's quite useful in some
situations..)

chregu




-- 
Edit bug report at: http://bugs.php.net/?id=13344&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]

Reply via email to