ID:               23952
 Updated by:       [EMAIL PROTECTED]
 Reported By:      anton at ur dot ru
-Status:           Open
+Status:           Feedback
 Bug Type:         Scripting Engine problem
 Operating System: FreeBSD 4.8-STABLE
 PHP Version:      4.3.2
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip


Also, without a complete script it is impossible for us to start
looking where the bug might be. (it's like looking for a needle in
haystack, without a magnet :)

First you need to include everything in one file (no include()'s or
other external references) and then work
your way down reducing the code piece by piece until you get the
shortest possible script causing the crash.

It looks like your script is causing some error, and the error output
procedure crashes when trying to figure out the line of where the error
happens..



Previous Comments:
------------------------------------------------------------------------

[2003-06-02 07:04:43] anton at ur dot ru

I don't have a short script and i can't reproduce it in short script. 
http://www.uralweb.ru/region/index.phps - this is a script that causes
described error

------------------------------------------------------------------------

[2003-06-02 06:56:10] [EMAIL PROTECTED]

Can you please post a short script so that we can try to reproduce this
too?

------------------------------------------------------------------------

[2003-06-02 06:47:36] anton at ur dot ru

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 this bug report at http://bugs.php.net/?id=23952&edit=1

Reply via email to