Re: Segmentation Faults: ext/java + PHP4.0.2 + Linux
| From: | Mike Bridge | Date: | Thu, 07 Sep 2000 23:19:39 +0000 |
| Subject: | Re: Segmentation Faults: ext/java + PHP4.0.2 + Linux | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-15795@lists.php.net to get a copy of this message | ||
Ok, I've finally figured out what's causing this, and I'm
pretty sure it's a bug with the PHP java extension. I've
filed it at http://bugs.php.net/?id=6616.
Thanks,
-Mike
On Wed, Sep 06, 2000 at 02:01:53PM -0600, Mike Bridge wrote:
> I'm generating a lot of seemingly random segmentation
> faults using ext/java on PHP4.0.2/Apache 1.3.12/
> Linux/IBM-JDK-118.
>
> My PHP4 file is calling a java object which queries
> the database, then returns either a String or an
> array of Strings to PHP. However, it appears
> that somewhere along the line there's some kind of
> memory corruption and I get a stack trace in apache's
> error_log.
>
> Has anyone else encountered this? I can't isolate it
> very much, because it crashes inconsistently....
> Does it have to do with using the IBM JDK (native threads,
> maybe?), or is it a problem with ext/java?
>
> Thanks,
>
> -Mike