|  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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
42 - 5 = ?
Subscribe to this entry?

 [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: Mon Jul 22 08:01:43 2024 UTC