From: anton at ur dot ru
Operating system: FreeBSD 4.8-STABLE
PHP version: 4.3.2
PHP Bug Type: Scripting Engine problem
Bug description: segmentation fault during script execution under apache
GDB backtrace:
Program received signal SIGSEGV, Segmentation fault.
0x808aef2 in zend_get_executed_lineno ()
at /usr/src-new/.apache/php-4.3.2/Zend/zend_execute_API.c:271
271 return active_opline->lineno;
(gdb) bt
#0 0x808aef2 in zend_get_executed_lineno ()
at /usr/src-new/.apache/php-4.3.2/Zend/zend_execute_API.c:271
#1 0x8092526 in zend_error (type=8, format=0x81e869b "Undefined index:
%s")
at /usr/src-new/.apache/php-4.3.2/Zend/zend.c:715
#2 0x809b7ac in zend_fetch_dimension_address (result=0x83d5420,
op1=0x83d5430, op2=0x83d5440, Ts=0xbfbf9568, type=0)
at /usr/src-new/.apache/php-4.3.2/Zend/zend_execute.c:658
#3 0x809e75a in execute (op_array=0x836e38c)
at /usr/src-new/.apache/php-4.3.2/Zend/zend_execute.c:1273
#4 0x80928b0 in zend_execute_scripts (type=8, retval=0x0, file_count=3)
at /usr/src-new/.apache/php-4.3.2/Zend/zend.c:869
#5 0x8074abb in php_execute_script (primary_file=0xbfbff71c)
at /usr/src-new/.apache/php-4.3.2/main/main.c:1671
#6 0x80a746e in apache_php_module_main (r=0x82f7034,
display_source_mode=0)
at /usr/src-new/.apache/php-4.3.2/sapi/apache/sapi_apache.c:54
#7 0x806c9b8 in send_php ()
#8 0x806cfa8 in send_parsed_php ()
#9 0x815feb1 in ap_invoke_handler ()
#10 0x8172dcc in process_request_internal ()
#11 0x817317d in ap_process_request ()
#12 0x81697aa in child_main ()
#13 0x81699a4 in make_child ()
#14 0x816a12b in standalone_main ()
#15 0x816aab3 in main ()
#16 0x806c27e in _start ()
Configure:
./configure \
--with-config-file-path=/usr/local/etc \
--with-mysql=/usr/servers/mysql \
--enable-discard-path \
--enable-track-vars \
--enable-dbase \
--enable-memory-limit \
--enable-ftp \
--enable-debug \
--with-imap \
--with-curl \
--disable-cli \
--with-apache=../apache_1.3.27rusPL30.17 \
--
Edit bug report at http://bugs.php.net/?id=23952&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=23952&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=23952&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=23952&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=23952&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=23952&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=23952&r=support
Expected behavior: http://bugs.php.net/fix.php?id=23952&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=23952&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=23952&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=23952&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23952&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=23952&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=23952&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=23952&r=gnused