ID: 25684 Updated by: [EMAIL PROTECTED] Reported By: fperez at tuzsa dot es -Status: Bogus +Status: Wont fix Bug Type: Java related Operating System: RedHat Linux 7.3 PHP Version: 4.3.3 New Comment:
Any report which says 'crashed' is related. The java extension in PHP 4 is unmaintained and considered extremely experimental..it doesn't even exist in PHP 5 (yet) for which it will be rewritten. Wait for PHP 5. Changed status to 'wont fix' which is more appropriate for this. Previous Comments: ------------------------------------------------------------------------ [2003-09-29 05:43:46] fperez at tuzsa dot es I have tried to find any bug report with this same result. I have found several bug reports what seems to be pretty near to my results, but with different (old) versions or different operating system. After your note, I have tried to find any bug report with: java enable-debug (or) java segmentation fault I have found a lot of bug reports, specially with the second searches. But all of them are closed or bogus and the opened reports I could find seems different for me. Please, could you send me the bug report number to follow its progress ? I am sure it is there but I cannot find it. Thanks a lot and congratulations for your job. ------------------------------------------------------------------------ [2003-09-29 05:31:27] [EMAIL PROTECTED] Please do not submit the same bug more than once. An existing bug report already describes this very problem. Even if you feel that your issue is somewhat different, the resolution is likely to be the same. Because of this, we hope you add your comments to the existing bug instead. Thank you for your interest in PHP. This has been reported many many times before, check back when PHP 5 is released.. ------------------------------------------------------------------------ [2003-09-29 04:57:39] fperez at tuzsa dot es A new note: if I configure php without --enable-debug and execute the java.php url page within Zend Studio (Zend Development environment) then execution script and results goes ok again. Thanks. ------------------------------------------------------------------------ [2003-09-29 03:31:01] fperez at tuzsa dot es Description: ------------ Hello, Apache 1.3.28, php-4.3.3, RedHat 7.3, java 1.4.2_01. I have configured ld.so.conf with the java_paths and I have configured, also, export LD_LIBRARY_PATH java_paths on /usr/local/apache/bin/apachectl I have a segmentation fault which is difficult to report you because: 1.- If I compile php without --enable-debug I always obtain a segmentation fault running java.php (java.php=example 1 in http://www.php.net/manual/en/ref.java.php). 2.- If I compile php WITH --enable-debug then the same script (java.php) runs fine without any problem. Because of that I cannot send you a backtrace or something else with --enable-debug. :-( What I should to do ? How can I sent you more information ? Thanks PS: Of course, I have the same problem with other php/java scripts and, again, if I compile php with --enable-debug, all crashes goes out. Reproduce code: --------------- EXAMPLE 1. in: http://www.php.net/manual/en/ref.java.php Actual result: -------------- Sometimes I obtain a whole empty page and this apache error_log (note the strange characters on the first line after NoSuchMethodException): [Mon Sep 29 09:19:37 2003] [error] PHP Warning: java.lang.NoSuchMethodException: Þ7 in /www/tuzsa/java.php on line 16 [Mon Sep 29 09:19:37 2003] [notice] child pid 1661 exit signal Segmentation fault (11) Sometimes I obtain this results (note the date/time formated result aren't) =================================== Java version=1.4.2_01 Java vendor=Sun Microsystems Inc. OS=Linux 2.4.18-3smp on i386 =================================== And I have this, again, in the apache error log: [Mon Sep 29 09:23:01 2003] [error] PHP Warning: java.lang.NoSuchMethodException: ÔH? in /www/tuzsa/java.php on line 16 [Mon Sep 29 09:23:03 2003] [notice] child pid 1662 exit signal Segmentation fault (11) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=25684&edit=1