Comment 45 for bug 343870

Revision history for this message
Clint Byrum (clint-fewbar) wrote : Re: [Bug 343870] Re: php-cli segmentation fault with mysql extension

Excerpts from Nonox's message of Tue Apr 12 01:51:12 UTC 2011:
> Hi!
> I'm getting (almost any time) the "Segmentation fault" problem when the crontab execute a php script. Can anyone help me and tell me how to solve the issue?
>
> $ lsb_release -a
> No LSB modules are available.
> Distributor ID: Ubuntu
> Description: Ubuntu 10.10
> Release: 10.10
> Codename: maverick
>
> $ php -v
> PHP 5.3.3-1ubuntu9.3 with Suhosin-Patch (cli) (built: Jan 12 2011 16:08:14)
> Copyright (c) 1997-2009 The PHP Group
> Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
>
> $ dpkg --get-selections | grep php
> libapache2-mod-php5 install
> php5-cli install
> php5-common install
> php5-curl install
> php5-mysql install

The bug is in libmysqlclient. Can you show us what version of that you have installed?

dpkg -l 'libmysqlclient*'