Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 86098

Summary: dev-php/eaccelerator segfaults on amd64
Product: Gentoo Linux Reporter: Konstantin Arkhipov (RETIRED) <voxus>
Component: Current packagesAssignee: Sebastian Bergmann (RETIRED) <sebastian>
Status: RESOLVED UPSTREAM    
Severity: critical CC: amd64
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 82670    

Description Konstantin Arkhipov (RETIRED) gentoo-dev 2005-03-21 00:56:04 UTC
dev-php/eaccelerator segfaults on my production dual opteron box.

php is working as cgi (dev-php/php-cgi-4.3.10), web server - www-server/nginx-0.1.25, application - phpAdsNew

problem occurs under heavy load only and, unfortunately, i can't reproduce it on my amd64 3200+ dev-box. when eaccelerator disabled - everything goes smooth and fine.

even worse: i can't debug it on that box, because it's production server

logs:
Mar 21 11:48:58 z80 kernel: php-cgi[19104]: segfault at 000000000000007f rip 00000000005b47c5 rsp 00007fffffffed80 error 6
Mar 21 11:48:58 z80 kernel: php-cgi[19108]: segfault at 000000000000007f rip 00000000005b47c5 rsp 00007fffffffed80 error 6
Mar 21 11:48:58 z80 kernel: php-cgi[19110]: segfault at 000000000000007f rip 00000000005b47c5 rsp 00007fffffffed80 error 6
Mar 21 11:48:59 z80 kernel: php-cgi[19384]: segfault at 000000000000007f rip 00000000005b47c5 rsp 00007fffffffed80 error 6

Reproducible: Always
Steps to Reproduce:
1. emerge dev-php/php-cgi-4.3.10
2. emerge dev-php/eaccelerator
3. make heavy load on php-applications

Actual Results:  
logs are full of segfaults

Expected Results:  
everything works ok
Comment 1 Sebastian Bergmann (RETIRED) gentoo-dev 2005-03-21 01:37:15 UTC
The eAccelerator bug database (http://sourceforge.net/tracker/?group_id=122249&atid=692864) is full of reports about segfaults.
Comment 2 Konstantin Arkhipov (RETIRED) gentoo-dev 2005-05-04 06:24:37 UTC
FYI:

http://sourceforge.net/mailarchive/forum.php?thread_id=7170342&forum_id=43358
Comment 3 Konstantin Arkhipov (RETIRED) gentoo-dev 2005-05-06 07:34:17 UTC
seems to be fixed in latest cvs. at least - works for me.

fyi: http://dev.gentoo.org/~voxus/stuff/eaccelerator-0.9.2-branch-update-20050504.diff.bz2