From: <php...@li...> - 2006-02-10 06:31:17
|
Hey everbody, I recently moved my site to a new server, reinstalled the bridge, and now there is a strange problem (everything was fine on the old machine): Whenever I run PHP from the command line, I get a "Segmentation fault" fault right before it exists. It doesn't matter whether it actually running a script, or just showing version info, whatever - there's also the Segmentation fault, when the java.so extension is loaded. It doesn't really seem to have any serious effect, everything is running fine (and no messages with mod_php!), but it's still strange and I'd like it to got away ;) I'm running the CVS from Feb, 7th, with Java 1.5.0 Update 6 and PHP 5. Any help greatly appreciated. Thanks, Michael |
From: <php...@li...> - 2006-02-10 19:44:04
|
Hi, > Whenever I run PHP from the command line, I get a > "Segmentation fault" fault right before it exists do you use php 5.1.x or php 5.0.x? And which version of the bridge do you use? > It doesn't matter whether it actually running a > script, or just showing version info, whatever So it crashes in mshutdown even if the zend object store doesn't contain any java objects. A bug that could cause this behaviour was fixed in 3.0.5: http://cvs.sourceforge.net/viewcvs.py/php-java-bridge/php-java-bridge/client.c?r1=1.78&r2=1.79 The new pipe communication channel was not initialized correctly in 3.0.4. Can you please open a problem report, please use: http://sourceforge.net/tracker/?func=add&group_id=117793&atid=679233 and append php, bridge and os version numbers and the generated core dump (if any) at the end of the ticket? Thank you very much for the bug report. Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |
From: <php...@li...> - 2006-02-17 09:38:37
|
Jost, Sorry for the late response. > do you use php 5.1.x or php 5.0.x? And which version > of the bridge do you use? PHP 5.1.2, and (as said in the orginal post) the bridge compiled from Feb, 7th CVS. I guess that would mean that the linked changeset can't be the problem. I have opened a bug report: http://sourceforge.net/tracker/index.php?func=detail&aid=1433448&group_id=11 7793&atid=679233 Thanks for your great work, Michael > -----Original Message----- > From: php...@li... [mailto:php-java- > bri...@li...] > Sent: Friday, February 10, 2006 8:44 PM > To: php...@li... > Subject: RE: [Php-java-bridge-users] PHP Segfaults > > Hi, > > > Whenever I run PHP from the command line, I get a > > "Segmentation fault" fault right before it exists > > do you use php 5.1.x or php 5.0.x? And which version > of the bridge do you use? > > > > It doesn't matter whether it actually running a > > script, or just showing version info, whatever > > So it crashes in mshutdown even if the zend object > store doesn't contain any java objects. A bug that > could cause this behaviour was fixed in 3.0.5: > http://cvs.sourceforge.net/viewcvs.py/php-java-bridge/php-java- > bridge/client.c?r1=1.78&r2=1.79 > The new pipe communication channel was not initialized > correctly in 3.0.4. > > Can you please open a problem report, please use: > > http://sourceforge.net/tracker/?func=add&group_id=117793&atid=679233 > > and append php, bridge and os version numbers and the > generated core dump (if any) at the end of the ticket? > > Thank you very much for the bug report. > > > Regards, > Jost Boekemeier > > > > > > > > ___________________________________________________________ > Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |
From: <php...@li...> - 2006-02-17 18:41:43
|
Hi, > PHP 5.1.2, and (as said in the orginal post) the > bridge compiled from Feb, > 7th CVS. okay, and the OS? I can't reproduce this problem, neither on unix (solaris, linux) nor on windows. BTW: When you update the sources make sure to regenerate the .c and .h files from the .in templates. If you don't, you'll end up with a mixture of old and new code. Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |