|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #71759 mysqlnd_ms segfaults when connection denied
Submitted: 2016-03-09 15:42 UTC Modified: 2017-10-24 04:30 UTC
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:-1 (-100.0%)
From: dez at majemedia dot com Assigned:
Status: Suspended Package: mysqlnd_ms (PECL)
PHP Version: 5.6.19 OS: Ubuntu 14.04 LTS
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: dez at majemedia dot com
New email:
PHP Version: OS:


 [2016-03-09 15:42 UTC] dez at majemedia dot com
I received the following error when I was trying to connect to my database servers but the connection was denied.

php5-fpm[5968]: segfault at 68 ip 00007ff58d6ebfc0 sp 00007ffdb3aafc98 error 4 in[7ff58d6de000+3d000]

When I tried to connect from the same server with the same credentials via command line I received a notice:

ERROR 1130 (HY000): Host 'XXX.XXX.XXX.XXX' is not allowed to connect to this MariaDB server

My issue stemmed from a private DNS setup issue but was hidden away by mysqlnd_ms segfaults not telling me that I couldn't connect.

DB Client: mysql  Ver 15.1 Distrib 10.1.12-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2
DB Server: mysql  Ver 15.1 Distrib 10.1.12-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2

Galera is running

Expected result:
I would expect to receive proper error information via PHP output when attempting to connect instead of segfaults.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2016-03-09 15:43 UTC] dez at majemedia dot com
I forgot to note:

When I fixed the DNS issue I was able to connect via mysqlnd_ms again without changing any php.ini configurations.
 [2017-10-24 04:30 UTC]
-Status: Open +Status: Suspended
 [2017-10-24 04:30 UTC]
I'm gonna suspend this report as the mysqlnd_ms had not a release since 2013 or active commit activity since then, if activity comes back to this package, it should be re-opened
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Fri Jan 22 16:01:24 2021 UTC