#26223 [Com]: wired file system with session write handler make php crash

From: Date: Thu, 12 Feb 2004 17:51:08 +0000
Subject: #26223 [Com]: wired file system with session write handler make php crash
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-54810@lists.php.net to get a copy of this message
 ID:               26223
 Comment by:       xuefer at 21cn dot com
 Reported By:      Xuefer at 21cn dot com
 Status:           Open
 Bug Type:         Session related
 Operating System: winxp
 PHP Version:      4CVS-2003-12-2
 New Comment:

i've built a simple version under cygwin, but do not crash

[Xuefer php4]$ ./build/buildcheck.sh 
buildconf: checking installation...
buildconf: autoconf version 2.13 (ok)
buildconf: libtool version 1.4.3 (ok)

[Xuefer php4]$ bison -V
bison (GNU Bison) 1.875b
Written by Robert Corbett and Richard Stallman.

Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
[Xuefer php4]$ flex -V
flex version 2.5.4

[Xuefer php4]$ cat config.nice 
#! /bin/sh
#
# Created by configure

'./configure' \
'--disable-all' \
'--enable-cli' \
'--enable-session' \
'--with-pcre-regex' \
"$@"

[Xuefer php4]$ sapi/cli/php.exe -v
PHP 4.3.5RC3-dev (cli) (built: Feb 13 2004 01:29:25)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies


Previous Comments:
------------------------------------------------------------------------

[2004-02-12 11:18:20] Xuefer at 21cn dot com

not crash under linux
but still crash on winxp

------------------------------------------------------------------------

[2004-02-11 12:37:03] sniper@php.net

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip

Works fine for me.


------------------------------------------------------------------------

[2004-01-31 22:27:11] xuefer at 21cn dot com

verified on linux

is anyone fixing this bug?

btw, in error log:
[01-Feb-2004 11:24:30] PHP Warning:  Unknown(): A session is active.
You cannot change the session module's ini settings at this time. in
Unknown on line 0

maybe it generate this error everytime it crash, i'm not sure

------------------------------------------------------------------------

[2003-11-17 23:08:44] Xuefer at 21cn dot com

i'm not familiar with debugging
i'm stucked

with same script
still crash on
http://www.thebrainroom.net/php-snaps/php4-win32-STABLE-foundstone-latest.zip
(with similar gdb bt)

but not crash on:
http://www.thebrainroom.net/php-snaps/php4-win32-STABLE-debug-foundstone-latest.zip
output:

Warning: file_exists(): Stat failed for Unknown (errno=9 - Bad file
descriptor) in c:\test.php on line 14
warning: ---------------------------------------

warning:
f:\tbr\php\snapbuilder\php_4_3-foundstone\ext\standard\filestat.c(616)
: Block 0x00BAE800 status:

warning: Beginning:     
warning: Cached (allocated on
f:\tbr\php\snapbuilder\php_4_3-foundstone\main\main.c:485, 21 bytes)

warning:       End:     
warning: OK

warning: ---------------------------------------

[Tue Nov 18 11:23:53 2003]  Script:  'test.php'

Program exited normally.

------------------------------------------------------------------------

[2003-11-17 21:38:43] sniper@php.net

Here you can find some debug enabled builds:

   http://www.thebrainroom.net/php-snaps/


------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/26223

-- 
Edit this bug report at http://bugs.php.net/?id=26223&edit=1


Thread (28 messages)

« previous php.bugs (#54810) next »