|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2005-08-18 16:45 UTC] 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. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 16:00:01 2025 UTC |
# gdb httpd GNU gdb 5.2 Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-pc-sco3.2v5.0.5"... (gdb) run -X Starting program: /usr/local/apache133/bin/httpd -X Program received signal SIGSEGV, Segmentation fault. 0x0806932d in _efree (ptr=warning: Cannot convert floating-point register value to non-floating-point type. 0x0) at /u/leroy/php4-STABLE-200508081638/Zend/zend_alloc.c:259 259 REMOVE_POINTER_FROM_LIST(p); (gdb) bt #0 0x0806932d in _efree (ptr=warning: Cannot convert floating-point register value to non-floating-point type. 0x0) at /u/leroy/php4-STABLE-200508081638/Zend/zend_alloc.c:259 (gdb)a) Are you using Zend optimizer or any other zend extension? b) How did you compile PHP? Did you use some extra CFLAGS? c) Provide a _SHORT_ reproducing script! a- n./configure --with-informix \ --without-mysql \ --with-apache=../apache_1.3.33 \ --enable-shared \ --disable-zend-memory-manager \ --prefix=/usr/local/php \ --with-config-file-path=/etc \ --enable-track-vars default make options. I disabled zend-memory-manage and everything is working find now.