#25684 [Opn]: segmentation fault in java.php
| From: | fperez at tuzsa dot es | Date: | Mon, 29 Sep 2003 08:57:40 +0000 |
| Subject: | #25684 [Opn]: segmentation fault in java.php | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-48220@lists.php.net to get a copy of this message | ||
ID: 25684
User updated by: fperez at tuzsa dot es
Reported By: fperez at tuzsa dot es
Status: Open
Bug Type: Reproducible crash
Operating System: RedHat Linux 7.3
PHP Version: 4.3.3
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[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