Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 316525 - dev-lang/php-5.3 segfault with threads and pdo_mysql
Summary: dev-lang/php-5.3 segfault with threads and pdo_mysql
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 312775
  Show dependency tree
 
Reported: 2010-04-21 12:55 UTC by Patrick ALLAERT
Modified: 2010-06-11 18:38 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick ALLAERT 2010-04-21 12:55:26 UTC
php segfault at startup if threads and pdo_mysql are enabled.
This has been fixed upstream http://svn.php.net/repository/php/php-src/ in rev. 294274 and 294278, last one is fixing incorrect changes to ext/pdo_mysql/php_pdo_mysql_int.h introduced in 294274.

To get the correct fix:
svn diff -c 294274 http://svn.php.net/repository/php/php-src/branches/PHP_5_3/ext/pdo_mysql/pdo_mysql.c
Comment 1 Matti Bickel (RETIRED) gentoo-dev 2010-04-21 13:15:00 UTC
Thanks for the investigation!
Comment 2 Vladimir Tsisaruk 2010-04-22 04:44:09 UTC
(In reply to comment #0)
> php segfault at startup if threads and pdo_mysql are enabled.
> This has been fixed upstream http://svn.php.net/repository/php/php-src/ in rev.
> 294274 and 294278, last one is fixing incorrect changes to
> ext/pdo_mysql/php_pdo_mysql_int.h introduced in 294274.
> 
> To get the correct fix:
> svn diff -c 294274
> http://svn.php.net/repository/php/php-src/branches/PHP_5_3/ext/pdo_mysql/pdo_mysql.c
> 
Patch was added to http://github.com/GiDiS/gentoo-php-rewrite to php-5.3.2 patchset. On my system it fixes this segfault
Comment 3 Matti Bickel (RETIRED) gentoo-dev 2010-06-11 18:38:15 UTC
This is part of the current patchset for php-5.3.2. Thanks again for catching this!