← Back to team overview

registry team mailing list archive

[Bug 343870] Re: php-cli segmentation fault with mysql extension

 

I've added SRU information to the bug description.

I believe this is worthy of a fix for karmic, and have proposed the
merge.

NOTE that the patch added in the merge proposal above is actually quite
different, and that this is the final patch that made it into the mysql
source tree.

https://code.launchpad.net/~clint-fewbar/ubuntu/karmic/mysql-dfsg-5.1
/mysql-sru-343870/+merge/35366

** Description changed:

  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.

** Changed in: mysql-dfsg-5.1 (Ubuntu Karmic)
       Status: In Progress => Confirmed

** Changed in: mysql-dfsg-5.1 (Ubuntu Karmic)
     Assignee: Clint Byrum (clint-fewbar) => (unassigned)

-- 
php-cli segmentation fault with mysql extension
https://bugs.launchpad.net/bugs/343870
You received this bug notification because you are a member of Registry
Administrators, which is the registrant for Debian.