ID: 34186 Updated by: [EMAIL PROTECTED] Reported By: ljanda at checkstop dot com -Status: Open +Status: Feedback Bug Type: Program Execution Operating System: SCO 5.0.5 PHP Version: 4.4.0 New Comment:
Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with <?php and ends with ?>, is max. 10-20 lines long and does not require any external resources such as databases, etc. If possible, make the script source available online and provide an URL to it here. Try to avoid embedding huge scripts into the report. Previous Comments: ------------------------------------------------------------------------ [2005-08-18 20:48:54] ljanda at checkstop dot com 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 ------------------------------------------------------------------------ [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] [EMAIL PROTECTED] 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.phps http://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