ID: 34186
User updated by: ljanda at checkstop dot com
Reported By: ljanda at checkstop dot com
Status: Open
Bug Type: Program Execution
Operating System: SCO 5.0.5
PHP Version: 4.4.0
New Comment:
Probably this may be the area which is causing this.
/u/leroy/php4-STABLE-200508081638/ext/standard/exec.c: In function
`proc_open_rsrc_dtor':
/u/leroy/php4-STABLE-200508081638/ext/standard/exec.c:611: warning:
cast from pointer to integer of different size
/u/leroy/php4-STABLE-200508081638/ext/standard/exec.c: In function
`zif_proc_open':
/u/leroy/php4-STABLE-200508081638/ext/standard/exec.c:1030: warning:
cast to pointer from integer of different size
Previous Comments:
------------------------------------------------------------------------
[2005-08-18 19:55:00] ljanda at checkstop dot com
(dbx) run -X
Segmentation violation in (noname) at 0x806936d
0x0806936d ((noname)+0x806936d)mov DWord Ptr [edx],eax
(dbx) bt
Syntax error
this is dbx, was able to get the segment violation. Dbx has a trace,
but nowhere says how to get at the information.
------------------------------------------------------------------------
[2005-08-18 16:53:55] tony2001@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php
Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.
------------------------------------------------------------------------
[2005-08-18 16:45:02] ljanda at checkstop dot com
Description:
------------
PHP module is causing segment violation in apache. The error log is
show below.
[Thu Aug 18 09:32:20 2005] [notice] Apache/1.3.33 (Unix) PHP/4.4.1-dev
configured -- resuming normal operations
[Thu Aug 18 09:32:20 2005] [notice] Accept mutex: fcntl (Default:
fcntl)
[Thu Aug 18 09:34:30 2005] [notice] child pid 26519 exit signal
Segmentation fault (11)
All regular html works fine, only two or three php pages do this.
Compile and linked with gcc 2.95
Reproduce code:
---------------
http://www.czechs.org/index.phpshttp://www.czechs.org/db.phps
Expected result:
----------------
Display the www page like it does under Apache 1.3.19 and php 4.0.4.
Actual result:
--------------
Seqment violation, and the page is only halfway sent.
Connection closed when the child terminates.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=34186&edit=1