#12270 [Fbk->NoF]: php4ts.dll crashes due to null-pointer assignment on shutdown

From: Date: Sun, 25 Aug 2002 05:00:10 +0000
Subject: #12270 [Fbk->NoF]: php4ts.dll crashes due to null-pointer assignment on shutdown
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-17780@lists.php.net to get a copy of this message
ID: 12270 Updated by: php-bugs@lists.php.net Reported By: zimpel@t-online.de -Status: Feedback +Status: No Feedback Bug Type: Reproducible crash Operating System: Win32 PHP Version: 4.2.2 New Comment: No feedback was provided for this bug for over a month, 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". Previous Comments: ------------------------------------------------------------------------ [2002-07-24 20:08:03] sniper@php.net This _might_ be fixed already, as the module shutdown order happens now in reverse as they were loaded (might be related). Please try this snapshot: http://snaps.php.net/win32/php4-win32-latest.zip ------------------------------------------------------------------------ [2002-07-24 14:42:08] zimpel@t-online.de This issue still persists in PHP4.2.2 as I recently checked. I can't provide a script to reproduce the problem, because only the startup and immediate shutdown of the sapi module is sufficient as a trigger. I tried to debug the PHP.exe based on php4ts.dll, but the crash isn't reproducible then. I made a small addition to cgi_main.c in order to invoke the shutdown-code: cgi_sapi_module.shutdown(&cgi_sapi_module); I used the 4.2.2 source distribution and build it on NT4/SP6 with MSVC6. The error is still as described below, except it also happens in debug builds now (probably changed preprocessor directives). I only wonder, if the p->pLast is NULL but the rest of the structure is still intact. If I can provide further support (e.g. logs), don't hestitate to ask. -- cu, Holger ------------------------------------------------------------------------ [2002-03-04 00:00:01] php-bugs@lists.php.net No feedback was provided for this bug for over a month, 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". ------------------------------------------------------------------------ [2002-02-03 20:19:29] yohgaki@php.net Could you try 4.1.1? ------------------------------------------------------------------------ [2001-07-22 15:30:06] zeev@php.net The fix is not valid - p->pLast cannot be NULLif everything works right - i.e., the bug is elsewhere. Do you have a script that reproduces this problem (preferably with the CGI version of PHP)? ------------------------------------------------------------------------ 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/12270 -- Edit this bug report at http://bugs.php.net/?id=12270&edit=1

« previous php.bugs (#17780) next »