Bug #69225 [NEW]: PHP5-fpm segfault on mysql server switch in phpMyAdmin
From: php at sibrenvasse dot nl
Operating system: Debian Jessie
PHP version: 5.6.6
Package: MySQLi related
Bug Type: Bug
Bug description:PHP5-fpm segfault on mysql server switch in phpMyAdmin
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 bug report at https://bugs.php.net/bug.php?id=69225&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=69225&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=69225&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=69225&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=69225&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=69225&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=69225&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=69225&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=69225&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=69225&r=support
Expected behavior: https://bugs.php.net/fix.php?id=69225&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=69225&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=69225&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=69225&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=69225&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=69225&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=69225&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=69225&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=69225&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=69225&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=69225&r=mysqlcfg
Thread (9 messages)
- php at sibrenvasse dot nl