Hi,
> The bridge (v 3.0.8) segfaults when used as a module
> to php 5.1.2.
The php 5.1.2 on windows segfaults, yes (if I remember
correctly it's the leak detector). That problem has
been fixed in 5.1.3, which you can find in the
JavaBridge.war. On Windows please use the latest
stable PHP5 version, which is 5.0.5. Or please upgrade
to PHP5.1.3, when it becomes available. -- The memory
leak which caused the detector to crash is still in
php 5.1.3, but it isn't fatal anymore.[1]
On Linux the segfault shouldn't happen, unless you
have compiled PHP with ZTS. I have tested against the
PHP 5.1.2 binary that ships with RedHat FedoraCore 5,
which doesn't show the problem.
To reproduce the problem on Linux please stop your
apache http server and start it as follows:
strace -s1024 /usr/sbin/httpd -X 2>httpd.log
and re-run the test.
Please open a problem report (use
http://sourceforge.net/tracker/?func=add&group_id=117793&atid=679233)
and append the configure options you have used to
compile your php binary and the above httpd.log
Thank you very much for this bug report.
Regards,
Jost Boekemeier
[1] They've fixed the leak, too, but forgot to bump
the API version, so we're still forced to use the old
API for backwards compatibility.
___________________________________________________________
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
|