#25684 [NEW]: segmentation fault in java.php
| From: | fperez at tuzsa dot es | Date: | Mon, 29 Sep 2003 07:31:01 +0000 |
| Subject: | #25684 [NEW]: segmentation fault in java.php | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-48217@lists.php.net to get a copy of this message | ||
From: fperez at tuzsa dot es
Operating system: RedHat Linux 7.3
PHP version: 4.3.3
PHP Bug Type: Reproducible crash
Bug description: segmentation fault in java.php
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 bug report at http://bugs.php.net/?id=25684&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25684&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25684&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=25684&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=25684&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=25684&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=25684&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=25684&r=support
Expected behavior: http://bugs.php.net/fix.php?id=25684&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=25684&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=25684&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=25684&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25684&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=25684&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=25684&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=25684&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=25684&r=float