|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2018-12-17 15:58 UTC] php-bugs at xpaw dot me
Description: ------------ After upgrading to PHP 7.3.0 (from 7.2), I've been experiencing random segfaults, which I can not point to any specific code, here's one of the traces: #0 instanceof_class (ce=<optimized out>, instance_ce=0x6e75722f7261762f) at ./Zend/zend_operators.c:2296 #1 instanceof_function (instance_ce=<optimized out>, ce=0x56300b0a7bb0) at ./Zend/zend_operators.c:2338 #2 0x0000563009843a69 in zend_check_type (is_return_type=<optimized out>, scope=<optimized out>, default_value=<optimized out>, cache_slot=<optimized out>, ce=<optimized out>, arg=0x7fed8001d490, type=<optimized out>) at ./Zend/zend_execute.c:906 #3 zend_verify_arg_type (cache_slot=<optimized out>, default_value=<optimized out>, arg=<optimized out>, arg_num=<optimized out>, zf=<optimized out>) at ./Zend/zend_execute.c:948 #4 ZEND_RECV_SPEC_UNUSED_HANDLER () at ./Zend/zend_vm_execute.h:2352 #5 execute_ex (ex=0x6e75722f7261762f) at ./Zend/zend_vm_execute.h:55566 #6 0x00005630098469fa in zend_execute (op_array=op_array@entry=0x7fed80071000, return_value=return_value@entry=0x7fed6c6bd8e0) at ./Zend/zend_vm_execute.h:60834 #7 0x00005630097b7bd3 in zend_execute_scripts (type=0x8001d440, type@entry=0x8, retval=0x7fed6c6bd8e0, retval@entry=0x0, file_count=file_count@entry=0x3) at ./Zend/zend.c:1568 #8 0x0000563009756678 in php_execute_script (primary_file=0x7ffcd8854b90) at ./main/main.c:2630 #9 0x0000563009612a9a in main (argc=<optimized out>, argv=<optimized out>) at ./sapi/fpm/fpm/fpm_main.c:1950 Sadly I can't provide a test script because this crash doesn't happen very often and I don't know what code triggers it (on a rather popular site). PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 14:00:01 2025 UTC |
I looked at that crash with php's gdbinit and zbacktrace lead back to this code: public static function SetDatabase( \PDO $Database ) { self::$Database = $Database; } and SetDatabase got called with a PDO object.