#35854 [Com]: PHP hangs on session-related functions on form submit
| From: | geert at hauwaerts dot be | Date: | Fri, 09 Jun 2006 13:37:05 +0000 |
| Subject: | #35854 [Com]: PHP hangs on session-related functions on form submit | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-98235@lists.php.net to get a copy of this message | ||
ID: 35854
Comment by: geert at hauwaerts dot be
Reported By: jlampa at poczta dot onet dot pl
Status: No Feedback
Bug Type: Session related
Operating System: Windows XP Professional
PHP Version: 4.4.1
New Comment:
Oh, and I am using PHP 5.1.4 compiled by source on Gentoo.
Below are my configure lines:
'./configure' '--with-config-file-path=/etc'
'--with-apxs2=/usr/local/apache/bin/apxs' '--enable-safe-mode'
'--disable-ipv6' '--with-openssl' '--with-zlib'
'--enable-bcmath'
'--with-bz2' '--enable-calendar' '--with-curl'
'--with-inifile'
'--with-flatfile' '--enable-dbase' '--enable-dbx'
'--enable-exif'
'--enable-ftp' '--with-gd' '--with-gettext' '--with-gmp'
'--with-imap'
'--with-imap-ssl' '--with-mcrypt' '--with-mhash'
'--with-mysql'
'--with-readline' '--with-mm' '--with-snmp'
'--enable-sockets'
'--enable-sysvmsg' '--enable-sysvsem' '--enable-sysvshm'
'--with-tidy'
'--with-xsl' '--enable-yp' '--with-pear' '--with-zip'
'--enable-gd-native-ttf' '--with-ttf' '--with-jpeg-dir=/usr/lib'
'--with-freetype-dir=/usr/lib'
Previous Comments:
------------------------------------------------------------------------
[2006-06-09 13:35:48] geert at hauwaerts dot be
I have exactly the same problem:
As jlampa described the problem appears and stops at random.
When I first load the page (no session started yet) I get the HTML
code. After submitting the form nothing hapens and the page look lik
it's stuck in a foreach/while loop.
When puttting exit; before session start (right before submitting) it
doesn't happen.
So I am 100% sure that session_start() hangs for some reason...
submit.php:
===========
<?php
session_start();
?>
<form method="get" action="?">
<select name="router" onchange="this.form.submit();">
<option value="">select a router</option>
<option value="Freebix" >br0.bru1.benesol.be</option>
</select>
<input type="submit" value="select"/>
</form>
=== END ===
------------------------------------------------------------------------
[2006-01-07 01:00:05] 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".
------------------------------------------------------------------------
[2005-12-30 20:08:24] tony2001@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php
If you can provide more information, feel free to add it
to this bug and change the status back to "Open".
Thank you for your interest in PHP.
------------------------------------------------------------------------
[2005-12-30 20:04:22] jlampa at poczta dot onet dot pl
Description:
------------
SOMETIMES, after POST-ing a form, a script hangs on any session-related
function. This problm appears and stops at random. It only happens on
one server, I haven't been able to reproduce it in any other
environment
Reproduce code:
---------------
Eg. session_start() or session_register()
Expected result:
----------------
The session-related functions should work properly instead of hanging.
Actual result:
--------------
Script hangs on first session-related function
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=35854&edit=1