From: galg at sphera dot com
Operating system: Red Hat Linux 7.2, Kernel 2.4.18
PHP version: 4.3.0
PHP Bug Type: Session related
Bug description: Apache core dumps because of mistake in sessions registration.
I Had a mistake with sessions registration.
This problem caused the apache to crash:
child pid 30578 exit signal Segmentation fault (11), possible coredump in
/usr/local/apache
and i had core dumps:
=======================
#0 0x4017364b in chunk_alloc (ar_ptr=0x40225c80, nb=48) at malloc.c:2879
#1 0x40173444 in __libc_malloc (bytes=44) at malloc.c:2811
#2 0x40351ccf in _emalloc (size=32) at
/compile/php-4.3.0/Zend/zend_alloc.c:154
#3 0x40351f0f in _ecalloc (nmemb=8, size=4) at
/compile/php-4.3.0/Zend/zend_alloc.c:254
#4 0x4036594b in zend_hash_init (ht=0x4040e934, nSize=5,
pHashFunction=0,
pDestructor=0x4036239c <free_estring>, persistent=0) at
/compile/php-4.3.0/Zend/zend_hash.c:178
#5 0x40352670 in init_compiler () at
/compile/php-4.3.0/Zend/zend_compile.c:102
#6 0x40361a43 in zend_activate () at /compile/php-4.3.0/Zend/zend.c:618
#7 0x40336bb7 in php_request_startup () at
/compile/php-4.3.0/main/main.c:858
#8 0x4037ad20 in apache_php_module_main (r=0x80cf3fc,
display_source_mode=0)
at /compile/php-4.3.0/sapi/apache/sapi_apache.c:32
#9 0x4037b940 in send_php (r=0x80cf3fc, display_source_mode=0,
filename=0x0)
at /compile/php-4.3.0/sapi/apache/mod_php4.c:556
#10 0x4037b9ac in send_parsed_php (r=0x80cf3fc) at
/compile/php-4.3.0/sapi/apache/mod_php4.c:571
#11 0x0807ee65 in ap_invoke_handler ()
#12 0x0808ef0c in ap_some_auth_required ()
#13 0x0808ef6d in ap_process_request ()
#14 0x0808834b in ap_child_terminate ()
#15 0x0808857f in ap_child_terminate ()
#16 0x08088603 in ap_child_terminate ()
#17 0x08088ad7 in ap_child_terminate ()
#18 0x080891df in main ()
#19 0x40113336 in __libc_start_main (main=0x8088ef0 <main>, argc=1,
ubp_av=0xbffff894,
init=0x804fab8 <_init>, fini=0x809f524 <_fini>, rtld_fini=0x4000d2fc
<_dl_fini>,
stack_end=0xbffff88c) at ../sysdeps/generic/libc-start.c:129
My configuration is:
Red Hat Linux 7.2, Kernel 2.4.18-19.7.x
Apache/1.3.26 with PHP 4.3.0 (finall release).
Apache/1.3.26 (Unix) mod_ssl/2.8.10 OpenSSL/0.9.6b PHP/4.3.0
[PHP Modules]
Zend Optimizer
ctype
curl
domxml
ftp
gd
iconv
mbstring
mcrypt
mysql
overload
pcre
pgsql
posix
session
standard
tokenizer
xml
zlib
[Zend Modules]
Zend Optimizer
--
Edit bug report at http://bugs.php.net/?id=22329&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=22329&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=22329&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=22329&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=22329&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=22329&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=22329&r=support
Expected behavior: http://bugs.php.net/fix.php?id=22329&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=22329&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=22329&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=22329&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22329&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=22329&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=22329&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=22329&r=gnused