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

Bug 14260

Summary: mod_php 4.3.0-r2 segfaults randomly unless compiled without optimizations
Product: Gentoo Linux Reporter: Matt <matthew>
Component: [OLD] ServerAssignee: Ryan Phillips (RETIRED) <rphillips>
Status: RESOLVED REMIND    
Severity: normal    
Priority: High    
Version: 1.4_rc2   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Matt 2003-01-20 16:34:57 UTC
I have a complex php web app that on the larger pages will randomly segfault. 
My memory operates in ECC Scrub mode and memtest showed no problems on this
machine before it was put in production.  CPU's operate cool (for athlons), so
heat isn't likely a problem.

I finally was able to get it to be reliable after trying -O3 through -O1 and
finally just compiling with "-march=athlon-mp -pipe"

Not sure why it's so unstable on this platform, or if anything can be done about
it but it might help someone who finds this bug to figure out how to make it
work.  (dual athlon mp 2000+ 1gb ECC RAM)
Comment 1 Ryan Phillips (RETIRED) gentoo-dev 2003-02-07 16:32:37 UTC
Not all optimizations are stable on certain platforms, and there is no real way to check.... Be careful on the CFLAGS used when compiling software.