php.net |  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
Votes:3
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.
Password:
Status:
Package:
Bug Type:
Summary:
From: mail at julian-stier dot de
New email:
PHP Version: OS:

 

 [2009-06-10 11:58 UTC] mail at julian-stier dot de
Description:
------------
I use xampp with php-5.3-win32-VC9-x86-latest.zip (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 php-5.3.0RC2-nts-Win32-VC9-x86.zip (15-06-2009) and when I found out, that session_start() is the reason for the crash, I updated it to php-5.3-win32-VC9-x86-latest.zip (10-06-2009) ..

Reproduce code:
---------------
<?php
session_start();
echo 'Hello World';
?>

Expected result:
----------------
Hello World

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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

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] jani@php.net
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
Hi,
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.

http://yourcounty.yo.funpic.de/ works fine, but http://yourcounty.yo.funpic.de/bug doesn?t.
http://yourcounty.yo.funpic.de/bug/index.phps is the code.

Funpic works with the following phpinfo: http://phpinfo.ph.funpic.de
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 http://de.php.net/manual/en/function.crypt.php

$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: Sat Apr 20 02:01:29 2024 UTC