Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
<== Date ==> <== Thread ==>

Subject: php library
From: Christophe Moins <christophe.moins@ego-gw.it>
To: tech-talk@aps.anl.gov
Date: Tue, 06 Jun 2006 14:49:29 +0200
Hello,

We have tried to use apache 2.0.40 and apache 2.2.2 with php4.2.x and php 5.1.x in various combinations with the php_epics library for php. Our test platform is RH9 with a 2.4 kernel. However, everytime we execute a php script that calls the ca_get , ca_put, etc.. routines, the apache server reports a segmentation fault as follows

[Tue Jun 06 14:23:13 2006] [notice] child pid 5939 exit signal Segmentation fault (11)
[Tue Jun 06 14:24:13 2006] [notice] child pid 5937 exit signal Segmentation fault (11)
[Tue Jun 06 14:25:13 2006] [notice] child pid 5936 exit signal Segmentation fault (11)
[Tue Jun 06 14:26:14 2006] [notice] child pid 5933 exit signal Segmentation fault (11)
[Tue Jun 06 14:27:19 2006] [notice] child pid 6115 exit signal Segmentation fault (11)
[Tue Jun 06 14:27:26 2006] [notice] child pid 6089 exit signal Segmentation fault (11)


Unfortunately, sometimes, one of the children of the main apache process fails resulting in a TRACED (T) flag in the process list as viewed from `ps aux`. We are not tracing anything. This child cannot be killed and binds itself to the httpd tcp socket meaning that we cannot restart the webserver.

Have you seen this before? Or, perhaps, can you suggest some way to debug this. We are unable to debug apache using `strace` or `gdb` giving the "Operation not permitted message", even as root.

Your help in this matter would be greatly appreciated.

Mark


Navigate by Date:
Prev: Mail encodings not indicated properly Benjamin Franksen
Next: Problem using waveforms with caget and camonitor Walters, M (Malcolm)
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
Navigate by Thread:
Prev: Mail encodings not indicated properly Benjamin Franksen
Next: Problem using waveforms with caget and camonitor Walters, M (Malcolm)
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·