why squid 3.2.0.14 exited/restarted every 2 or 3 or 4 ... hours and why squid crashing with segfault. tail -f /var/log/messages Dec 15 12:10:04 cache1 squid[3694]: Squid Parent: (squid-3) process 4740 exited due to signal 11 with status 0 Dec 15 12:10:07 cache1 squid[3694]: Squid Parent: (squid-3) process 4936 started Dec 15 12:14:30 cache1 squid[3694]: Squid Parent: (squid-3) process 4936 exited due to signal 11 with status 0 Dec 15 12:14:33 cache1 squid[3694]: Squid Parent: (squid-3) process 4951 started dmesg [53814.782993] TCP: Peer 89.xxx.xx.74:53694/3129 unexpectedly shrunk window 488475413:488479649 (repaired) [53901.583831] UDP: bad checksum. From 188.24.247.207:12357 to 89.xxx.xx.38:46417 ulen 38 [54352.771633] squid3[4024] general protection ip:64e6e3 sp:7fffeb607d50 error:0 in squid[400000+3ca000] [54370.730624] squid3[4726]: segfault at d4054a0 ip 00000000006349f0 sp 00007ffff1ce8ec0 error 4 in squid[400000+3ca000] [63374.362550] TCP: Peer 89.xxx.xx.144:63288/3129 unexpectedly shrunk window 1551497406:1551500126 (repaired) [65204.035395] squid3[4740] general protection ip:64e6e3 sp:7fff05fe36b0 error:0 in squid[400000+3ca000] [65469.515990] squid3[4936]: segfault at 8b714ba0 ip 00000000006349f0 sp 00007fffadfe96c0 error 4 in squid[400000+3ca000] Thanks and Best Regards, Saleh > On 15/12/2011 4:28 a.m., Guy Helmer wrote: >> undefined reference to `__sync_fetch_and_sub_4 > > Thank you. > > Apparently that is related to GCC version. Which gcc version are you > building with? > > Amos > >