|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits              [2012-07-23 12:02 UTC] uw@php.net
 
-Status: Open
+Status: Feedback
  [2012-07-23 12:02 UTC] uw@php.net
  [2013-02-18 00:35 UTC] pecl-dev at lists dot php dot net
 | |||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 13:00:01 2025 UTC | 
Description: ------------ Centos 6.2 nginx 1.2 php 5.4.4 mysqlnd-ms 1.3.2 Percona XtraDB Cluster 5.5 When I run test.php -> randomly PHP process crashed with a segfault ("signal 11 SIGSEGV") If I remove "$conn->beginTransaction()" from test.php -> work OK If I remove master_0 or master_1 from /etc/mysqlnd_ms.json -> work OK Test script: --------------- /etc/php.d/mysqlnd_ms.ini -------------------------- extension=mysqlnd_ms.so mysqlnd_ms.enable = 1 mysqlnd_ms.ini_file = "/etc/mysqlnd_ms.json" mysqlnd_ms.multi_master = 1 mysqlnd_ms.disable_rw_split = 1 /etc/mysqlnd_ms.json --------------------- { "test": { "master": { "master_0": { "host": "192.168.64.205", "port": "3306" }, "master_1": { "host": "192.168.64.206", "port": "3306" } }, "slave":{ }, "failover": "master" } } test.php ---------- <?php $conn = new PDO("mysql:host=test", "root", "datadec"); $conn->beginTransaction(); $ret = $conn->query("SELECT @@hostname"); echo "<br> Connect to ".$ret->fetch(PDO::FETCH_ASSOC)['@@hostname']."<br>"; $conn->commit(); $conn = null; ?>