ID: 26223 User updated by: Xuefer at 21cn dot com Reported By: Xuefer at 21cn dot com Status: Open Bug Type: Session related Operating System: win PHP Version: 4.3.4 New Comment:
btw: i can use go-pear.php under non-debug built but under debug built, i get ====== If you wish to abort, press Control-C now, or press Enter to continue: HTTP proxy (http://user:[EMAIL PROTECTED]:port), or Enter for none:: We do not find any php.exe, please select the php.exe folder (CLI is recommanded, usually in c:\php\cli\php.exe) ===== and a alert messagebox: ===== Debug Assertion Failed! program path\to\cli\php.exe File: fdopen.c Line: 54 Expression: _osfile(filedes) & FOPEN Previous Comments: ------------------------------------------------------------------------ [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] [EMAIL PROTECTED] Here you can find some debug enabled builds: http://www.thebrainroom.net/php-snaps/ ------------------------------------------------------------------------ [2003-11-17 20:53:09] Xuefer at 21cn dot com Program received signal SIGSEGV, Segmentation fault. 0x100c00a4 in shutdown_memory_manager () from /cygdrive/d/www/php4/php4ts.dll (gdb) bt #0 0x100c00a4 in shutdown_memory_manager () from /cygdrive/d/www/php4/php4ts.dll #1 0x0012fd68 in ?? () #2 0x003e82b4 in ?? () #3 0x0012fe74 in ?? () #4 0x003e4248 in ?? () #5 0x10004276 in php_register_variable_ex () from /cygdrive/d/www/php4/php4ts.dll Previous frame inner to this frame (corrupt stack?) (gdb) i'm using cygwin gdb to debug but it is said: "To get a backtrace with correct information you must have PHP configured with --enable-debug!" where can i get a debug built? is the snapshot already with --enable-debug? i've tested under linux and it does not crash but under windows xp, updated to lastest snapshot still crash :( what point am i missing? ------------------------------------------------------------------------ [2003-11-17 15:01:52] [EMAIL PROTECTED] Also does not crash... ------------------------------------------------------------------------ [2003-11-14 00:09:21] Xuefer at 21cn dot com sorry for my careless it took me so much time to track down this problem but i don't know if it'll still crash if php env(system+apache+php..) changed <?php touch('./127.0.0.1.3.4.5.6'); file_exists('./127.0.0.1.3.4.5.6'); function n() { return true; } function write() { file_exists('Unknown'); } session_set_save_handler ("n", "n", "n", "write", "n", "n"); session_start(); ?> ------------------------------------------------------------------------ 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