Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 14260 - mod_php 4.3.0-r2 segfaults randomly unless compiled without optimizations
Summary: mod_php 4.3.0-r2 segfaults randomly unless compiled without optimizations
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Ryan Phillips (RETIRED)
Depends on:
Reported: 2003-01-20 16:34 UTC by Matt
Modified: 2003-02-07 16:32 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
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.