Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Apr 2010 21:35:31 GMT
From:      Adam PAPAI <wooh@wooh.hu>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   amd64/145788: pdo_mysql dumps core if allowed in extensions.ini
Message-ID:  <201004172135.o3HLZVZg007875@www.freebsd.org>
Resent-Message-ID: <201004172140.o3HLe1oZ032811@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         145788
>Category:       amd64
>Synopsis:       pdo_mysql dumps core if allowed in extensions.ini
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-amd64
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 17 21:40:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Adam PAPAI
>Release:        FreeBSD 7.0-RELEASE
>Organization:
BSD Support Service
>Environment:
FreeBSD radon 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 10:35:36 UTC 2008     root@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
Yesterday I updated PHP and extensions via portsnap & portmaster.

My PHP version is:

PHP 5.3.2 with Suhosin-Patch (cli) (built: Apr 17 2010 01:13:25) 

If I add the pdo_mysql extension to the extensions.ini the php dumps core.

My installed php packages are:

php5-5.3.2          PHP Scripting Language
php5-calendar-5.3.2 The calendar shared extension for php
php5-ctype-5.3.2    The ctype shared extension for php
php5-curl-5.3.2     The curl shared extension for php
php5-dom-5.3.2      The dom shared extension for php
php5-extensions-1.4 A "meta-port" to install PHP extensions
php5-filter-5.3.2   The filter shared extension for php
php5-ftp-5.3.2      The ftp shared extension for php
php5-gd-5.3.2       The gd shared extension for php
php5-gettext-5.3.2  The gettext shared extension for php
php5-hash-5.3.2     The hash shared extension for php
php5-iconv-5.3.2    The iconv shared extension for php
php5-imap-5.3.2     The imap shared extension for php
php5-json-5.3.2     The json shared extension for php
php5-mbstring-5.3.2 The mbstring shared extension for php
php5-mcrypt-5.3.2   The mcrypt shared extension for php
php5-mysql-5.3.2    The mysql shared extension for php
php5-mysqli-5.3.2   The mysqli shared extension for php
php5-openssl-5.3.2  The openssl shared extension for php
php5-pdo-5.3.2      The pdo shared extension for php
php5-pdo_mysql-5.3.2 The pdo_mysql shared extension for php
php5-pgsql-5.3.2    The pgsql shared extension for php
php5-posix-5.3.2    The posix shared extension for php
php5-session-5.3.2  The session shared extension for php
php5-simplexml-5.3.2 The simplexml shared extension for php
php5-soap-5.3.2     The soap shared extension for php
php5-sockets-5.3.2  The sockets shared extension for php
php5-sqlite-5.3.2   The sqlite shared extension for php
php5-tokenizer-5.3.2 The tokenizer shared extension for php
php5-xml-5.3.2      The xml shared extension for php
php5-xmlreader-5.3.2 The xmlreader shared extension for php
php5-xmlwriter-5.3.2 The xmlwriter shared extension for php
php5-zlib-5.3.2     The zlib shared extension for php

The gdb output:

where
#0  0x000000000055bc9a in zend_startup_module_ex ()
#1  0x0000000000562768 in zend_hash_apply ()
#2  0x000000000055ba80 in zend_startup_modules ()
#3  0x00000000004f40a8 in php_module_startup ()
#4  0x00000000005ed78d in php_cli_startup ()
#5  0x00000000005edf95 in main ()
#6  0x0000000000417c95 in _start ()

>How-To-Repeat:
Install php5-5.3.2 and pdo/mysql_pdo from ports.
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004172135.o3HLZVZg007875>