There's a person that has posted to the PHP-Users list who is having the
same problem with sessions and he's using RedHat 7.1.  Perhaps you can
get him to provide a bt as well?

Jaime Bozza

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
Sent: Friday, December 14, 2001 2:35 AM
To: [EMAIL PROTECTED]
Subject: [PHP-DEV] Bug #14504 Updated: core dump in session handling


ID: 14504
Updated by: yohgaki
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Feedback
Bug Type: Apache related
Operating System: FreeBSD 4.2-RELEASE
PHP Version: 4.1.0
New Comment:

Yet another segfault problem with FreeBSD & Session.....



Any freebsd hackers around?

I think this can be a FreeBSD's problem.

(A user reported SIGBUS, there should be something

really wrong... He is getting SIGBUS and SIGSEGV.

Bug# 14497)





Are you getting SIGBUS?

Check your apache log and report how you've got, please.

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

[2001-12-14 01:28:52] [EMAIL PROTECTED]

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 this 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]




-- 
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