#26478 [NEW]: Segfault under load with scripts that call MySQL
| From: | fillmore at nrcan dot gc dot ca | Date: | Mon, 01 Dec 2003 00:16:06 +0000 |
| Subject: | #26478 [NEW]: Segfault under load with scripts that call MySQL | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-51404@lists.php.net to get a copy of this message | ||
From: fillmore at nrcan dot gc dot ca
Operating system: Solaris 8 (SPARC)
PHP version: 4.3.4
PHP Bug Type: Reproducible crash
Bug description: Segfault under load with scripts that call MySQL
Description:
------------
PHP 4.3.4 --with-nsapi (and 4.3.2) segfaults when many
simultaneous requests are made to a script that calls MySQL. It fails
under both SunONE Web Server 6.0 and 6.1 with:
[30/Nov/2003:18:39:36] catastrophe ( 2877): Server crash detected (signal
SIGBUS)
[30/Nov/2003:18:39:36] info ( 2877): Crash occurred in NSAPI SAF
php4_execute
[30/Nov/2003:18:39:36] info ( 2877): Crash occurred in function
_db_return_ from module /sunone/bin/libphp4.so
It only happens if a load test is run with more than about
30 simultaneous users. It does not appear to be a
multithreading problem- it still fails with all CPUs
except one shut off.
- Bob Fillmore
--
Edit bug report at http://bugs.php.net/?id=26478&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=26478&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=26478&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=26478&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=26478&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=26478&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=26478&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=26478&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=26478&r=support
Expected behavior: http://bugs.php.net/fix.php?id=26478&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=26478&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=26478&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=26478&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26478&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=26478&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=26478&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=26478&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=26478&r=float