{"id":11,"date":"2007-01-04T12:36:30","date_gmt":"2007-01-04T11:36:30","guid":{"rendered":"http:\/\/www.rpsys.net\/wp\/?p=11"},"modified":"2007-01-04T12:40:05","modified_gmt":"2007-01-04T11:40:05","slug":"11","status":"publish","type":"post","link":"https:\/\/www.rpsys.net\/wp\/?p=11","title":{"rendered":"Mystery Segfaults Solved"},"content":{"rendered":"<p>After much painful debugging, I finally found the cause of the segfaults I was seeing on EABI images, particularly with glibc 2.4\/2.5. It turned out to be a cache flushing problem affecting StrongARM, XScale and ARMv6 processors. The bug must have been in the kernel for years and only triggered by the changed usage patterns in glibc 2.4\/2.5.<\/p>\n<p>I submitted a patch for the problem which has been accepted into the mainline kernel and will be in 2.6.20.<br \/>\n(<a href=\"http:\/\/www.arm.linux.org.uk\/developer\/patches\/viewpatch.php?id=4078\/1\">http:\/\/www.arm.linux.org.uk\/developer\/patches\/viewpatch.php?id=4078\/1<\/a>, <a href=\"http:\/\/www.rpsys.net\/openzaurus\/patches\/archive\/xscale_cache_workaround-r1.patch\">  http:\/\/www.rpsys.net\/openzaurus\/patches\/archive\/xscale_cache_workaround-r1.patch<\/a>). I&#8217;d recommend anyone using the affected processors to apply this patch.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>After much painful debugging, I finally found the cause of the segfaults I was seeing on EABI images, particularly with glibc 2.4\/2.5. It turned out to be a cache flushing problem affecting StrongARM, XScale and ARMv6 processors. The bug must have been in the kernel for years and only triggered by the changed usage patterns [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[3,4],"tags":[],"_links":{"self":[{"href":"https:\/\/www.rpsys.net\/wp\/index.php?rest_route=\/wp\/v2\/posts\/11"}],"collection":[{"href":"https:\/\/www.rpsys.net\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rpsys.net\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rpsys.net\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rpsys.net\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=11"}],"version-history":[{"count":0,"href":"https:\/\/www.rpsys.net\/wp\/index.php?rest_route=\/wp\/v2\/posts\/11\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.rpsys.net\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=11"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rpsys.net\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=11"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rpsys.net\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=11"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}