Bug #76443 [NEW]: php+php_interbase.dll crash on module_shutdown

From: Date: Sun, 10 Jun 2018 19:30:23 +0000
Subject: Bug #76443 [NEW]: php+php_interbase.dll crash on module_shutdown
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-215587@lists.php.net to get a copy of this message
From: phpdev at ehrhardt dot nl Operating system: Windows PHP version: 7.3.0alpha1 Package: InterBase related Bug Type: Bug Bug description:php+php_interbase.dll crash on module_shutdown Description: ------------ PHP 7.3.0 Alpha 1 crashes at the end of a script when extension=interbase is loaded. PHP 7.3.0.Alpha 1 was compiled with VC15 after applying this patch: https://github.com/php/php-src/commit/f96df64cb2219fda42ca875483f874cf3052647c Config: cscript /nologo configure.js "--disable-all" "--enable-cli" "--enable-cgi" "--enable-crt-debug" "--enable-debug-pack" "--disable-zts" "--with-interbase=shared" build-dist with pdb's: https://phpdev.toolsforresearch.com/php-7.3.0alpha1-nts-Win32-VC15-x86-interbase.zip The same thing happens with every other full build (x86 / x64, TS / NTS). They are available here: https://www.apachelounge.com/viewtopic.php?p=36936#36936 Test script: --------------- php phpinfo.php or php-cgi phpinfo.php, where phpinfo.php = <?php phpinfo();?> php.ini: [PHP] extension_dir = "ext" extension=interbase Expected result: ---------------- A graceful_reverse_destroy Actual result: -------------- The output of phpinfo() is echoed to the console, but at the end it crashes. Unhandled exception at 0x7789BA26 (ntdll.dll) in php.exe: 0xC0000005: Access violation reading location 0xBE2C9F38. occurred backtrace: ntdll.dll!_LdrpUpdateLoadCount2@8() ntdll.dll!_LdrpUpdateLoadCount2@8() ntdll.dll!_LdrpUnloadDll@8() ntdll.dll!_LdrUnloadDll@4() KernelBase.dll!_FreeLibrary@4() > php7.dll!module_destructor(_zend_module_entry * module) Line 2624 php7.dll!module_destructor_zval(_zval_struct * zv) Line 748 [Inline Frame] php7.dll!_zend_hash_del_el_ex(_zend_array * idx, unsigned int) Line 1162 [Inline Frame] php7.dll!_zend_hash_del_el(_zend_array *) Line 1185 php7.dll!zend_hash_graceful_reverse_destroy(_zend_array * ht) Line 1639 php7.dll!zend_shutdown() Line 980 php7.dll!php_module_shutdown() Line 2330 php.exe!main(int argc, char * * argv) Line 1421 [External Code] -- Edit bug report at https://bugs.php.net/bug.php?id=76443&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=76443&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=76443&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=76443&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=76443&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=76443&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=76443&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=76443&r=needscript Try newer version: https://bugs.php.net/fix.php?id=76443&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=76443&r=support Expected behavior: https://bugs.php.net/fix.php?id=76443&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=76443&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=76443&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=76443&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=76443&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=76443&r=dst IIS Stability: https://bugs.php.net/fix.php?id=76443&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=76443&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=76443&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=76443&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=76443&r=mysqlcfg

« previous php.bugs (#215587) next »