|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #48516 session_start() crashes application irregular (hang up)
Submitted: 2009-06-10 11:58 UTC Modified: 2009-06-18 01:00 UTC
Avg. Score:5.0 ± 0.0
Reproduced:2 of 2 (100.0%)
Same Version:1 (50.0%)
Same OS:1 (50.0%)
From: mail at julian-stier dot de Assigned:
Status: No Feedback Package: Session related
PHP Version: 5.3CVS-2009-06-10 (snap) OS: Windows XP
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: mail at julian-stier dot de
New email:
PHP Version: OS:


 [2009-06-10 11:58 UTC] mail at julian-stier dot de
I use xampp with (10-06-2009). When I restart the apache (xampp-control), my application runs on a first visit. Sometimes it it possible to reload the page or click on a link with a similar code. Eventually (after 1-3 reloads) the application "crashs". The page loads and loads, but never finishs (I think I have no max_execution_time ..).
I developed the script with (15-06-2009) and when I found out, that session_start() is the reason for the crash, I updated it to (10-06-2009) ..

Reproduce code:
echo 'Hello World';

Expected result:
Hello World

Actual result:
[no output, loads and loads ..]


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2009-06-10 12:09 UTC] a dot schilder at gmx dot net
Perhaps it has to do with bug #48485. 

The default value for "session.use_only_cookies" has been changed to "1" in PHP 5.3, which IMHO can lead to interesting results with "session.use_cookies" set to "0"...
 [2009-06-10 12:50 UTC]
Does PHP 5.2.9 (or rather, the latest snapshot of 5.2) work?
 [2009-06-10 13:37 UTC] mail at julian-stier dot de
I changed session.use_only_cookies to 0 and eventually found out, that it doesnt?t crash just on session_start() .. it?s really weird. works fine, but doesn?t. is the code.

Funpic works with the following phpinfo:
My local server works with the described snapshot. While Funpic prints to me "No suitable nodes are available to serve your request.", my local server doesn?t load the page. The crash happened mostly when I typed the url without an ending slash ("/"): localhost/my_path instead of localhost/my_path/index.php or localhost/my_path/
Is it a bug of apache?

Since I changed the session.use_only_cookies settings the above code works fine ..
 [2009-06-10 13:54 UTC] c dot mueller at gmx dot net
I guess it has to do with

$string = md5(crypt('test123', 'any_string_with_special_chars&"?!$'));
 [2009-06-18 01:00 UTC] 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".
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Jul 14 11:01:28 2024 UTC