|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-08-03 01:04 UTC] jani@php.net
[2007-08-11 01:00 UTC] php-bugs at lists dot php dot net
[2007-09-11 02:54 UTC] tony at mcrsys dot com
[2007-10-09 08:45 UTC] oyvind at selbek dot com
[2008-07-18 22:55 UTC] adam dot prall at thinkingman dot com
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Dec 03 07:00:01 2025 UTC |
Description: ------------ PHP crashes ("Child pid xxx exit signal segmentation fault" in Apache's error_log) on calling session_start(). Environment: AMD Opteron 146 (64bit) Gentoo Linux 2006.1 Apache 2.0.58 PHP 5.2.3 from portage ebuild Reproduce code: --------------- <? sleep(30); // give some time to attach gdb session_start(); // crash echo "Never comes here<br>"; ?> Expected result: ---------------- session starts Actual result: -------------- Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 46971518093328 (LWP 26146)] 0x00002ab8688ac430 in strlen () from /lib/libc.so.6 (gdb) bt #0 0x00002ab8688ac430 in strlen () from /lib/libc.so.6 #1 0x00002ab86a81c934 in zif_session_encode () from /usr/lib64/apache2/modules/libphp5.so #2 0x00002ab86a81efc5 in php_session_start () from /usr/lib64/apache2/modules/libphp5.so #3 0x00002ab86a81f8b9 in zif_session_start () from /usr/lib64/apache2/modules/libphp5.so #4 0x00002ab86a975512 in execute () from /usr/lib64/apache2/modules/libphp5.so #5 0x00002ab86a9660d3 in execute () from /usr/lib64/apache2/modules/libphp5.so #6 0x00002ab86a94715d in zend_execute_scripts () from /usr/lib64/apache2/modules/libphp5.so #7 0x00002ab86a905b18 in php_execute_script () from /usr/lib64/apache2/modules/libphp5.so #8 0x00002ab86a9c5dbd in php_ap2_register_hook () from /usr/lib64/apache2/modules/libphp5.so #9 0x0000000000426d69 in ap_run_handler () #10 0x0000000000429c62 in ap_invoke_handler () #11 0x0000000000424d38 in ap_process_request () #12 0x000000000041fd30 in _start ()