← Back to team overview

ius-coredev team mailing list archive

Re: [Bug 783986] Re: php53u segmentation fault

 

W dniu 17.05.2011 18:35, Jeffrey Ness pisze:
> I have tested your above steps using CentOS 5.6 Final x86_64, however I
> have not been able to reproduce a segfault:
>
> # cat /etc/redhat-release
> CentOS release 5.6 (Final)
>
> # rpm -qa | grep php53u
> php53u-5.3.6-1.ius.el5
> php53u-mbstring-5.3.6-1.ius.el5
> php53u-pgsql-5.3.6-1.ius.el5
> php53u-common-5.3.6-1.ius.el5
> php53u-pdo-5.3.6-1.ius.el5
> php53u-devel-5.3.6-1.ius.el5
> php53u-bcmath-5.3.6-1.ius.el5
> php53u-gd-5.3.6-1.ius.el5
> php53u-cli-5.3.6-1.ius.el5
> php53u-soap-5.3.6-1.ius.el5
> php53u-ldap-5.3.6-1.ius.el5
>
> # rpm -q postgresql-server
> postgresql-server-8.1.23-1.el5_6.1
>
> # php
> <?php
> $foo123 = new PDO('pgsql:dbname=db', 'root', '');
> echo 'output'
> ?>
> output #
>
> ==
>
> It seems your segfault may be related to some other piece of software,
> can you provide us with a list of all installed PECL modules:
>
>   # pecl list
>
> You will also want to pull an Apache core dump in hopes to narrow down
> which module may be causing the fault:
>
>     http://httpd.apache.org/dev/debugging.html
>
Hi Jeffrey,

I get this error even if I run script from command line. I have 32 bit 
OS running as virtual machine under XenServer 5.6. sp1

[root@centos1 ~]# uname -a
Linux centos1 2.6.18-238.9.1.el5xen #1 SMP Tue Apr 12 19:32:47 EDT 2011 
i686 i686 i386 GNU/Linux
[root@centos1 ~]#

Installed packages, channel pecl.php.net:
=========================================
Package Version State
ncurses 1.0.1   stable
ssh2    0.11.2  beta
[root@centos1 ~]#

On ubuntu 10.10, I run the same script and it's work

dpkg -l |grep php
ii libapache2-mod-php5 5.3.3-1ubuntu9.5 server-side, HTML-embedded 
scripting language (Apache 2 module)
ii libphp-pclzip 2.8.2-2 zip archive manager class for PHP
ii libssh2-php 0.11.0-2.1 PHP Bindings for libssh2
ii php-auth-sasl 1.0.4-1 Abstraction of various SASL mechanism responses
ii php-http-request 1.4.4-2 provides an easy way to perform HTTP requests
ii php-mail 1.2.0-2 PHP PEAR module for sending email
ii php-mail-mime 1.5.3-0.1 PHP PEAR module for creating MIME messages
ii php-mail-mimedecode 1.5.0-3 PHP PEAR module to decode MIME messages
ii php-net-dime 0.3-3 class that implements DIME encoding
ii php-net-smtp 1.4.2-1 PHP PEAR module implementing SMTP protocol
ii php-net-socket 1.0.9-2 PHP PEAR Network Socket Interface module
ii php-net-url 1.0.15-2 easy parsing of Urls
ii php-pear 5.3.3-1ubuntu9.5 PEAR - PHP Extension and Application Repository
ii php-soap 0.12.0-1 a SOAP Client/Server class for PHP
ii php5 5.3.3-1ubuntu9.5 server-side, HTML-embedded scripting language 
(metapackage)
ii php5-cli 5.3.3-1ubuntu9.5 command-line interpreter for the php5 
scripting language
ii php5-common 5.3.3-1ubuntu9.5 Common files for packages built from the 
php5 source
ii php5-curl 5.3.3-1ubuntu9.5 CURL module for php5
ii php5-dev 5.3.3-1ubuntu9.5 Files for PHP5 module development
ii php5-gd 5.3.3-1ubuntu9.5 GD module for php5
ii php5-mcrypt 5.3.3-0ubuntu2 MCrypt module for php5
ii php5-mysql 5.3.3-1ubuntu9.5 MySQL module for php5
ii php5-pgsql 5.3.3-1ubuntu9.5 PostgreSQL module for php5
ii php5-sqlite 5.3.3-1ubuntu9.5 SQLite module for php5
ii php5-svn 1.0.0-1 PHP Bindings for the Subversion Revision control system
ii php5-sybase 5.3.3-1ubuntu9.5 Sybase / MS SQL Server module for php5
ii php5-xdebug 2.1.0-1 Xdebug Module for PHP 5
ii phpmyadmin 4:3.3.7-5build0.10.10.1 MySQL web administration tool

-- 
You received this bug notification because you are a member of IUS Core
Development, which is subscribed to IUS Community Project.
https://bugs.launchpad.net/bugs/783986

Title:
  php53u segmentation fault

Status in IUS Community Project:
  New

Bug description:
  I have centos 5.6 and problem with php53u e.g:

  php53u-5.3.6-1.ius.el5
  php53u-bcmath-5.3.6-1.ius.el5
  php53u-cli-5.3.6-1.ius.el5
  php53u-devel-5.3.6-1.ius.el5
  php53u-gd-5.3.6-1.ius.el5
  php53u-pdo-5.3.6-1.ius.el5
  php53u-pgsql-5.3.6-1.ius.el5
  php53u-soap-5.3.6-1.ius.el5
  php53u-common-5.3.6-1.ius.el5
  php53u-mbstring-5.3.6-1.ius.el5
  php53u-ldap-5.3.6-1.ius.el5

  
  Bellow I past a simple code wich I run from shell and I get error: segmentation fault

  <?php
  //echo '1';				
  $foo123 = new PDO('pgsql:dbname=masterupdate;host=192.168.1.217','database','');			
  ?>


References