ID:               37933
 Updated by:       [EMAIL PROTECTED]
 Reported By:      ylee at peragrin dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         Session related
 Operating System: Linux FC5
 PHP Version:      5.1.4
 New Comment:

Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.




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

[2006-06-27 18:28:44] ylee at peragrin dot com

Description:
------------
When S_SESSION is passed through a function with global $_SESSION, the
apache's child processor segfaults.



Reproduce code:
---------------
<?php

session_id("temp");
session_start();

$_SESSION['a'] = 'test';

function my_get_from($list)
{
  global $_SESSION;

  // removed code related to manipulating $_SESSION using $list.
}

my_get_from('a', $_SESSION);

if (isset($_SESSION))
{
   print_r($_SESSION);
}

?>


Expected result:
----------------
An error message would be nice or being able to access both list will
be the most desirable solution.
This code used work on 4.* releases. 



Actual result:
--------------
[Tue Jun 27 11:14:16 2006] [notice] child pid 15899 exit signal
Segmentation fault (11)


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


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

Reply via email to