Bug #69225 [Opn]: PHP5-fpm segfault on mysql server switch in phpMyAdmin

From: Date: Sat, 14 Mar 2015 03:36:40 +0000
Subject: Bug #69225 [Opn]: PHP5-fpm segfault on mysql server switch in phpMyAdmin
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-191378@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=69225&edit=1 ID: 69225 Updated by: laruence@php.net Reported by: php at sibrenvasse dot nl Summary: PHP5-fpm segfault on mysql server switch in phpMyAdmin Status: Open Type: Bug Package: MySQLi related Operating System: Debian Jessie PHP Version: 5.6.6 Block user comment: N Private report: N New Comment: hmm, it's better if you could build php.5.6.6 by you self, and with --enable-debug, thus we could see which line in src codes cause that.. thanks Previous Comments: ------------------------------------------------------------------------ [2015-03-12 08:16:05] php at sibrenvasse dot nl I disabled the extension, but my issue still persists. Actual result: -------------- #0 0x00000000006c0898 in ?? () #1 0x00000000006856bd in php_verror () #2 0x0000000000685b0b in php_error_docref0 () #3 0x00007f08414fc228 in php_mysqli_throw_sql_exception () from /usr/lib/php5/20131226/mysqli.so #4 0x00007f08414f94ec in mysqli_common_connect () from /usr/lib/php5/20131226/mysqli.so #5 0x00007f08414f4281 in zif_mysqli_real_connect () from /usr/lib/php5/20131226/mysqli.so #6 0x00000000006d949a in dtrace_execute_internal () #7 0x0000000000797520 in ?? () #8 0x0000000000727570 in execute_ex () #9 0x00000000006d9338 in dtrace_execute_ex () #10 0x0000000000797a4e in ?? () #11 0x0000000000727570 in execute_ex () #12 0x00000000006d9338 in dtrace_execute_ex () #13 0x0000000000797a4e in ?? () #14 0x0000000000727570 in execute_ex () #15 0x00000000006d9338 in dtrace_execute_ex () #16 0x0000000000797a4e in ?? () #17 0x0000000000727570 in execute_ex () #18 0x00000000006d9338 in dtrace_execute_ex () #19 0x0000000000796c68 in ?? () #20 0x0000000000727570 in execute_ex () #21 0x00000000006d9338 in dtrace_execute_ex () #22 0x00000000006ebd30 in zend_execute_scripts () #23 0x0000000000687d1b in php_execute_script () #24 0x0000000000465037 in main () ------------------------------------------------------------------------ [2015-03-12 04:21:11] laruence@php.net could you please disable xdebug, then try agian? ------------------------------------------------------------------------ [2015-03-11 23:51:52] php at sibrenvasse dot nl Description: ------------ I have phpMyAdmin (4.2.12deb2) configured with two MariaDB (10.0.16) instances (one production server on port 3306 and one development server, on port 3307). When I'm logged on on both mysql servers in phpMyAdmin, I can switch between them with a dropdown menu on the top left. When I do this, PHP5-fpm segfaults. Actual result: -------------- #0 0x00000000006c0898 in ?? () #1 0x00000000006856bd in php_verror () #2 0x0000000000685b0b in php_error_docref0 () #3 0x00007f3b7ff8d228 in php_mysqli_throw_sql_exception () from /usr/lib/php5/20131226/mysqli.so #4 0x00007f3b7ff8a4ec in mysqli_common_connect () from /usr/lib/php5/20131226/mysqli.so #5 0x00007f3b7ff85281 in zif_mysqli_real_connect () from /usr/lib/php5/20131226/mysqli.so #6 0x00000000006d949a in dtrace_execute_internal () #7 0x00007f3b85eaad75 in xdebug_execute_internal (current_execute_data=0x7f3b8ab44400, fci=0x0, return_value_used=1) at /tmp/buildd/xdebug-2.2.5/xdebug-2.2.5/xdebug.c:1551 #8 0x0000000000797520 in ?? () #9 0x0000000000727570 in execute_ex () #10 0x00000000006d9338 in dtrace_execute_ex () #11 0x00007f3b85eaa274 in xdebug_execute_ex (execute_data=0x7f3b8ab44400) at /tmp/buildd/xdebug-2.2.5/xdebug-2.2.5/xdebug.c:1437 #12 0x0000000000797a4e in ?? () #13 0x0000000000727570 in execute_ex () #14 0x00000000006d9338 in dtrace_execute_ex () #15 0x00007f3b85eaa274 in xdebug_execute_ex (execute_data=0x7f3b8ab44210) at /tmp/buildd/xdebug-2.2.5/xdebug-2.2.5/xdebug.c:1437 #16 0x0000000000797a4e in ?? () #17 0x0000000000727570 in execute_ex () #18 0x00000000006d9338 in dtrace_execute_ex () #19 0x00007f3b85eaa274 in xdebug_execute_ex (execute_data=0x7f3b8ab44088) at /tmp/buildd/xdebug-2.2.5/xdebug-2.2.5/xdebug.c:1437 #20 0x0000000000797a4e in ?? () #21 0x0000000000727570 in execute_ex () #22 0x00000000006d9338 in dtrace_execute_ex () #23 0x00007f3b85eaa274 in xdebug_execute_ex (execute_data=0x7f3b8ab43e10) at /tmp/buildd/xdebug-2.2.5/xdebug-2.2.5/xdebug.c:1437 #24 0x0000000000796c68 in ?? () #25 0x0000000000727570 in execute_ex () #26 0x00000000006d9338 in dtrace_execute_ex () #27 0x00007f3b85eaa274 in xdebug_execute_ex (execute_data=0x7f3b8ab43bd8) at /tmp/buildd/xdebug-2.2.5/xdebug-2.2.5/xdebug.c:1437 #28 0x00000000006ebd30 in zend_execute_scripts () #29 0x0000000000687d1b in php_execute_script () #30 0x0000000000465037 in main () ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=69225&edit=1

« previous php.bugs (#191378) next »