From:             birkhofer at vseth dot ethz dot ch
Operating system: Linux-ppc (Debian)
PHP version:      4.3.1
PHP Bug Type:     Session related
Bug description:  session_start(): read returned less bytes than requested

This bug exists in 4.3.0 and 4.3.1 but *not* in 4.2.3. I installed 4.2.3
over 4.3.1. 

./configure --with-ldap --with-mysql --with-apxs

<?
session_start();
if ( session_is_registered( "foo" )) echo $_SESSION["foo"];
$_SESSION["foo"] = "bar";
?>

Problem: session_start() generates the error

session_start(): read returned less bytes than requested in
/var/www/session.php on line 2

the 2nd++ time the page is loaded.

- If no Session variable is set there's no error
- /tmp/sess_.. looks fine:
    foo|s:3:"bar";


PHP is the only 'custom' software, all the other apps are part of Debian
stable. The box is a PowerMac (ppc). 
-- 
Edit bug report at http://bugs.php.net/?id=22630&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=22630&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=22630&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=22630&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=22630&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=22630&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=22630&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=22630&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=22630&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=22630&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=22630&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22630&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=22630&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=22630&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=22630&r=gnused

Reply via email to