ID: 34186 User updated by: ljanda at checkstop dot com Reported By: ljanda at checkstop dot com -Status: Feedback +Status: Open Bug Type: Program Execution Operating System: SCO 5.0.5 PHP Version: 4.4.0 New Comment:
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. Previous Comments: ------------------------------------------------------------------------ [2005-09-02 22:15:34] [EMAIL PROTECTED] 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! ------------------------------------------------------------------------ [2005-09-02 19:23:56] ljanda at checkstop dot com Why is the backtrace useless, as that is what the documention says to provide. Bottom line is that the php program has a segment violation, so lets get a fix so everyone can benefit. I have provided the script that is causing this, as a short script does not cause it to fail. I can re-create the situation easily, just give me some idea where to set the break points. ------------------------------------------------------------------------ [2005-09-02 17:56:44] [EMAIL PROTECTED] Can you please ask the questions instead and not add these totally useless backtraces here? ------------------------------------------------------------------------ [2005-09-02 16:40:12] ljanda at checkstop dot com # 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) ------------------------------------------------------------------------ [2005-09-01 23:03:41] [EMAIL PROTECTED] And what do you mean with optimizer? Are you using your own flags during compile? Something like -O3 ? ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/34186 -- Edit this bug report at http://bugs.php.net/?id=34186&edit=1