I have been analyzing the differences between my Jaunty server which has the segmentation fault problem, and a Jaunty virtual machine which works fine. I've determined the key difference:
The problem machine has package php5-mysql (version 5.2.6.dfsg.1-3ubuntu4.2) installed. To eliminate the segmentation fault, I installed a different (apparently older) version of pdo and pdo_mysql by doing "sudo pecl install pdo_mysql" which overwrote Ubuntu's installed pdo and pdo_mysql libraries. These modified libraries are found at /usr/lib/php5/20060613/pdo.so and /usr/lib/php5/20060613/pdo_mysql.so. Key file version differences: pdo.c: BAD: 1.57.2.17.2.10.........GOOD: 1.57.2.17 pdo_dbh.c: BAD: 1.82.2.31.2.22.........GOOD: 1.82.2.30 pdo_sql_parser.c: BAD: 1.35.2.6.2.15 ...........GOOD: 1.35.2.6 pdo_sql_parser.re: BAD: 1.28.2.4.2.12...........GOOD: 1.28.2.4 pdo_sqlstate.c: BAD: 1.7.2.1.2.2..............GOOD: 1.7.2.1 pdo_stmt.c: BAD: 1.118.2.38.2.34............GOOD: 1.118.2.38 php_pdo_driver.h: BAD: 1.66.2.11.2.8...........GOOD: 1.66.2.11 php_pdo.h: BAD: 1.7.2.5.2.4...............GOOD: 1.7.2.5 mysql_driver.c: BAD: 1.59.2.13.2.6...........GOOD: 1.59.2.13 mysql_statement.c: BAD: 1.48.2.14.2.7...........GOOD: 1.48.2.14 So the file versions are very close so there wasn't much changed between them. It looks like the newer version either had a bug introduced that causes this segmentation fault, or it is also possible that the way the Ubuntu package was compiled is causing a problem I suppose? I don't know much about the internals of this library so is there someone who is familiar with the internals of PDO comment? Thanks. Nick ** Tags added: php5-mysql -- apache2 crashed with SIGSEGV in pdo_parse_params() https://bugs.launchpad.net/bugs/418220 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
