ID:               42188
 Comment by:       tony at mcrsys dot com
 Reported By:      h dot fietz at dezem dot de
 Status:           No Feedback
 Bug Type:         Session related
 Operating System: Gentoo 2006.1
 PHP Version:      5.2.3
 New Comment:

Mac OSX 10.5 (Leopard), PHP 5.2.3
Same stack trace, from index.php, session_start() before any output.


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

[2007-08-11 01:00:01] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".

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

[2007-08-03 01:04:24] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows (zip):
 
  http://snaps.php.net/win32/php5.2-win32-latest.zip

For Windows (installer):

  http://snaps.php.net/win32/php5.2-win32-installer-latest.msi



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

[2007-08-02 20:03:12] h dot fietz at dezem dot de

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



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


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

Reply via email to