Excerpts from Ambricka's message of Tue Apr 12 07:28:16 UTC 2011: > As I've had a similar problem, I'll answer... However, I don't know when > I last had the problem, it might be totally useless. > > > ii libmysqlclient15off > 5.1.30really5.0.83-0ubuntu3 MySQL database > client library > ii libmysqlclient16 5.1.49-1ubuntu8.1 > MySQL database client library > > Now I just wonder why I have two different versions at the same time.
This is normal. You may have something that still depends on libmysqlclient15 , which was not ABI compatible with libmysqlclient16. Its usually a transitional package and will go away when all reverse-dependencies are gone. php5-mysql should be using libmysqlclient16. You can tell that by running apt-cache show php5-mysql|grep ^Depends: > > -- > You received this bug notification because you are a direct subscriber > of the bug. > https://bugs.launchpad.net/bugs/343870 > > Title: > php-cli segmentation fault with mysql extension > > Status in MySQL Server: > Unknown > Status in “mysql-dfsg-5.0” package in Ubuntu: > Confirmed > Status in “mysql-dfsg-5.1” package in Ubuntu: > Fix Released > Status in “php5” package in Ubuntu: > Invalid > Status in “mysql-dfsg-5.0” source package in Intrepid: > Won't Fix > Status in “mysql-dfsg-5.1” source package in Intrepid: > Won't Fix > Status in “php5” source package in Intrepid: > Invalid > Status in “mysql-dfsg-5.0” source package in Jaunty: > Won't Fix > Status in “mysql-dfsg-5.1” source package in Jaunty: > Won't Fix > Status in “php5” source package in Jaunty: > Invalid > Status in “mysql-dfsg-5.0” source package in Karmic: > Invalid > Status in “mysql-dfsg-5.1” source package in Karmic: > Won't Fix > Status in “php5” source package in Karmic: > Invalid > Status in “php5” package in Debian: > Incomplete > > Bug description: > Binary package hint: php5-cli > > $ php -v > PHP 5.2.6-2ubuntu4.1 with Suhosin-Patch 0.9.6.2 (cli) (built: Feb 11 2009 > 20:38:24) > Copyright (c) 1997-2008 The PHP Group > Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies > Segmentation fault > > The problem is intermittent, occurring about 9 out of 10 times. > > Ubuntu version: 8.10 > > Package: php5-cli > Version: 5.2.6-2ubuntu4.1 > > Package: php5-mysql > Version: 5.2.6-2ubuntu4.1 > > The problem goes away if I remove both mysql.ini and mysqli.ini from > /etc/php5/cli/conf.d > > > === Stable Release Update Information === > > IMPACT > > This bug will affect any users of php that have installed the php5-mysql > module, and so the impact is fairly high. Meanwhile, the patch is fairly > small, and is already released in later upstream versions. > . > DEV RELEASE STATUS > > This was fixed upstream in mysql v5.1.40, which is well below the > Maverick version, 5.1.49. Lucid also has 5.1.41, and so is not > affected. > > TEST CASE > > while true; do php -r ""; done > > Will eventually produce a segmentation fault. > > REGRESSION POTENTIAL > > The change is very tiny and seeing as the patch has been in use in > subsequent releases of Ubuntu, regression seems unlikely. > > To unsubscribe from this bug, go to: > https://bugs.launchpad.net/mysql-server/+bug/343870/+subscribe -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/343870 Title: php-cli segmentation fault with mysql extension -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs