Bug #75654 [NEW]: PHP Crash Using PDO ODBC

From: Date: Fri, 08 Dec 2017 17:06:41 +0000
Subject: Bug #75654 [NEW]: PHP Crash Using PDO ODBC
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-213015@lists.php.net to get a copy of this message
From: conner dot panarella at teamson dot com Operating system: Windows Server 2012 PHP version: 7.2.0 Package: Reproducible crash Bug Type: Bug Bug description:PHP Crash Using PDO ODBC Description: ------------ If I made more than 1 request to the odbc database source using PDO, PHP crashes with the following backtrace: Actual result: -------------- Full Call Stack Function Arg 1 Arg 2 Arg 3 Arg 4 Source ntdll!RtlReportCriticalFailure+8c 20202020`0000e400 00007fff9bf4ed40 000000d6c9eb0000 006e006f`00000000 ntdll!RtlpHeapHandleError+12 000000d6c9eb0000 0000000000000000 0000000000000000 2020202020202000 ntdll!RtlpLogHeapFailure+a4 000000d6c9eb0000 000000d6c9eb43b0 0000000000000000 0000000000000007 ntdll!RtlpAllocateHeap+1b22 000000d6c9eb0000 002e003200000002 0000000000001220 0000000000001230 ntdll!RtlAllocateHeap+17d 0000000000740072 000000d600000003 0000000000000ac2 0000000000000000 ntdll!RtlCreateProcessParametersEx+21c 000000d6`c9d78db0 000000d6c9d79130 0000000000000000 00000104`00000072 KERNELBASE!BasepCreateProcessParameters+189 00000000`00000008 0000000000000001 0000000000000000 00000000`00000208 KERNELBASE!CreateProcessInternalW+a4a 00000000`00000000 000000000000022c 0000000000000026 00007fff`67c648eb KERNELBASE!CreateProcessW+66 0000000000000000 0000000000000000 0000000000000360 00007fff67c88ce8 kernel32!CreateProcessWStub+53 000070b9`fd335aaf 00790070006f0044 0000000000000000 00000000`00000013 mscorwks!WszCreateProcess+10a 00000000`00000000 0000000000000334 0072006100560000 00007fff`67b33628 mscorwks!RunWatson+162 0000000000000004 000000d6cbc404d0 000000d688500000 0000000000000364 mscorwks!DoFaultReportWorker+79c 000000d6`c9d7a898 0000000000000004 0000000000000000 00000000`0000022c mscorwks!DoFaultReport+9f 0000000000000000 00007fff6800e930 0000010400001000 0000000000020000 mscorwks!WatsonLastChance+47 0000000000000000 000000d6c5d70000 00007fff00000004 00007fff67c5069a mscorwks!UnmanagedToManagedCallFrame::ExceptionUnwind+25b 000000d6c9d7ab80 0000000000000001 00000020`00001000 00000000`01000000 mscorwks!InternalUnhandledExceptionFilter+29 00000000`00000000 0000000000000001 0000000000000000 00000000`00000001 KERNELBASE!UnhandledExceptionFilter+1a2 00000000`00000000 00007fff99101dc0 0000000000000000 000000d6`c9d7fa30 ntdll!RtlUserThreadStart$filt$0+3e 00007fff`9bf4eb20 00007fff9be75e95 ffffffff00000000 00000000`b12de70d ntdll!_C_specific_handler+96 0000000000000000 000000d6c9d7acf0 000000d6c9d7b7b0 000000d6c9d7b7b0 ntdll!RtlpExecuteHandlerForException+d 00000000`00000001 00007fff9be20000 0000000000000000 00007fff`9bf5409c ntdll!RtlDispatchException+197 00000000`00000000 0000000000000000 000000d6cbd7219c 00000000`00000000 ntdll!KiUserExceptionDispatch+3a 00007fff`7203fb58 0000000000000001 00007fff720393cf 000000d6`cbbf1001 msvcr120!strncpy+121 0000000000000001 00007fff720393cf 000000d6cbbf1001 00000000ffffffff f:\dd\vctools\crt\crtw32\string\amd64\strncpy.asm @ 138 S23DBC32!SQLFreeStmt+2138 000000d6cbd06050 000000d6c9d7bcd0 0000000000000001 0000000000000009 S23DBC32!SQLError+10ec 0000000000000001 000000d6cbd06050 0000000000000000 00007fff99e11d76 S23DBC32!SQLExecute+1ac 8000000000000000 00007fff72044680 0000000000000002 000000d6c9eaddd0 odbc32!SQLExecute+37e 000000d6cb86fca8 00007fff00000000 8000000000000000 0000000000000000 php_pdo_odbc!odbc_stmt_execute+39 00000000`00000000 8000000000000000 000000d6cb8a6700 00000000`00000000 c:\php-snap-build\php72\vc15\x64\php-7.2.0\ext\pdo_odbc\odbc_stmt.c @ 173 + e php7!zim_PDOStatement_execute+1fb 00000000`00000000 8000000000000000 000000d6cb893a60 000000d6`cb868fa8 c:\php-snap-build\php72\vc15\x64\php-7.2.0\ext\pdo\pdo_stmt.c @ 503 + 5 php7!ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER+14a 000000d6`cb8a9850 00007fff723cf7f0 000000d6cb893a60 000000d6`cb81d0c0 c:\php-snap-build\php72\vc15\x64\php-7.2.0\zend\zend_vm_execute.h @ 921 php7!execute_ex+80 00007fff723d8bb0 0000000000000000 000000d6cb87d2a0 0000000000000008 c:\php-snap-build\php72\vc15\x64\php-7.2.0\zend\zend_vm_execute.h @ 59726 + 5 php7!zend_execute+140 000000d6cb865360 000000d6c9d7ed70 0000000000000001 0000000000000008 c:\php-snap-build\php72\vc15\x64\php-7.2.0\zend\zend_vm_execute.h @ 63764 php7!zend_execute_scripts+a9 0000000000000008 0000000000000000 ffffffff00000000 0000000000000000 c:\php-snap-build\php72\vc15\x64\php-7.2.0\zend\zend.c @ 1497 php7!php_execute_script+33b 0000000000000001 0000000000000001 8000000000000000 000000d6cbb46ff8 c:\php-snap-build\php72\vc15\x64\php-7.2.0\main\main.c @ 2592 + 1b php!do_cli+a1f 0000000000000008 000000d6c9d7f930 0000000000000008 000000d6c9d7f930 c:\php-snap-build\php72\vc15\x64\php-7.2.0\sapi\cli\php_cli.c @ 1012 php!main+65e 00007ff6ce93b000 0000000000000000 00007fff737d59f4 00007ff6ce47e000 c:\php-snap-build\php72\vc15\x64\php-7.2.0\sapi\cli\php_cli.c @ 1404 + 11 php!__scrt_common_main_seh+11d 00007ff6`ce93b090 00007ff6ce47e000 0000000000000000 00000000`00000000 f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl @ 283 + 22 kernel32!BaseThreadInitThunk+22 00007fff`99f213b0 0000000000000000 0000000000000000 00000000`00000000 ntdll!RtlUserThreadStart+34 0000000000000000 0000000000000000 0000000000000000 0000000000000000 -- Edit bug report at https://bugs.php.net/bug.php?id=75654&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=75654&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=75654&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=75654&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=75654&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=75654&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=75654&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=75654&r=needscript Try newer version: https://bugs.php.net/fix.php?id=75654&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=75654&r=support Expected behavior: https://bugs.php.net/fix.php?id=75654&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=75654&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=75654&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=75654&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=75654&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=75654&r=dst IIS Stability: https://bugs.php.net/fix.php?id=75654&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=75654&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=75654&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=75654&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=75654&r=mysqlcfg

« previous php.bugs (#213015) next »