From:             [EMAIL PROTECTED]
Operating system: FreeBSD 4.2-RELEASE
PHP version:      4.1.0
PHP Bug Type:     Apache related
Bug description:  core dump in session handling

PHP config:
./configure  --with-mysql=/app/mysql --with-apache=../apache_1.3.22/
--enable-
track-vars --with-jpeg-dir=/usr/local/ --enable-inline-optimization
--with-png-dir=/usr/local --with-zlib --with-zlib-dir=/usr/lib/
--with-openssl --with-freetype-dir=/usr/local/ --with-gd=/usr/local
--enable-gd-native-tt --enable-gd-imgstrttf --enable-gd-native-ttf
--enable-shmop --enable-sysvsem --enable-sysvshm --with-imap=/usr/local/


GDB Backtrace:
gdb /app/apache/bin/httpd
GNU gdb 4.18
This GDB was configured as "i386-unknown-freebsd"...
(gdb) run -X
Starting program: /app/apache/bin/httpd -X

Program received signal SIGSEGV, Segmentation fault.
0x81281d5 in zend_hash_del_key_or_index (ht=0x73755f72,
    arKey=0x83746ec "verified_user", nKeyLength=14, h=0, flag=0)
    at zend_hash.c:482
482             nIndex = h & ht->nTableMask;
(gdb) where
#0  0x81281d5 in zend_hash_del_key_or_index (ht=0x73755f72,
    arKey=0x83746ec "verified_user", nKeyLength=14, h=0, flag=0)
    at zend_hash.c:482
#1  0x80c17f8 in zif_session_unregister (ht=1, return_value=0x83746cc,
    this_ptr=0x0, return_value_used=0) at session.c:1201
#2  0x81426b1 in execute (op_array=0x8359400) at ./zend_execute.c:1590
#3  0x8142850 in execute (op_array=0x832960c) at ./zend_execute.c:1630
#4  0x8146a04 in execute (op_array=0x832928c) at ./zend_execute.c:2133
#5  0x8146a04 in execute (op_array=0x82f7a8c) at ./zend_execute.c:2133
#6  0x8124a28 in zend_execute_scripts (type=8, retval=0x0, file_count=3)
    at zend.c:814
#7  0x808f682 in php_execute_script (primary_file=0xbfbff8e4) at
main.c:1309
#8  0x812cc26 in apache_php_module_main (r=0x830a034,
display_source_mode=0)
    at sapi_apache.c:90
#9  0x808caf2 in send_php ()
#10 0x808cb46 in send_parsed_php ()
#11 0x814e10d in ap_invoke_handler ()
#12 0x8162a44 in process_request_internal ()
#13 0x8162aae in ap_process_request ()
#14 0x8159a1b in child_main ()
#15 0x8159bdd in make_child ()
#16 0x8159d56 in startup_children ()
#17 0x815a388 in standalone_main ()
#18 0x815abd8 in main ()
#19 0x806c4c1 in _start ()

This occurs seemingly at random and quite frequently. I will try and create
a small script to reproduce the problem. This might be caused by
unregistering a non-registered variable in the session.

-- 
Edit bug report at: http://bugs.php.net/?id=14504&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to