>>> RAM. My CFLAGS are "-O3 -march=nocona -pipe -fomit-frame-pointer". It >>> didn't happen on 32 bit architecture. > gcc version 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8). Those > optimizations didn't cause problems earlier, I will try remove them if I > can't find anything in core dump. gcc-3.4 is known to generate incorrect code when optimising on x86_64 (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21804), it may be the cause of the segfault. If removing the optimisations doesn't help you might try gcc-4. Rick.