{"id":419,"date":"2005-06-16T01:00:00","date_gmt":"2005-06-15T16:00:00","guid":{"rendered":"https:\/\/ecoop.net\/memo\/2005-06-16-1.html"},"modified":"2005-06-16T01:00:00","modified_gmt":"2005-06-15T16:00:00","slug":"2005-06-16-1","status":"publish","type":"post","link":"https:\/\/www.ecoop.net\/memo\/archives\/2005-06-16-1.html","title":{"rendered":"Segmentation Fault \u304c\u8d77\u3053\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u5916\u90e8\u8981\u56e0"},"content":{"rendered":"<p>\n&#8211; ulimit -s \u3067\u5f97\u3089\u308c\u308b\u3001\u30b9\u30bf\u30c3\u30af\u306e\u9650\u754c\u30b5\u30a4\u30ba\u3092\u8d85\u3048\u305f\u5834\u5408\u3001\u6700\u521d\u306e\u4ee3\u5165\u3092\u884c\u3063\u305f\u6642\u70b9\u3067 Segumentation Fault (core dumped) \u306b\u306a\u308b\u3002<br \/>\n\u4f8b\u3048\u3070\u3001\n<\/p>\n<blockquote><p>$ ulimit -s<br \/>\n65536\n<\/p><\/blockquote>\n<p>\u306e\u6642\u3001\u6b21\u306e\u3088\u3046\u306a\u30b3\u30fc\u30c9\u3067\u767a\u751f\u3059\u308b\u3002\n<\/p>\n<blockquote><p>\/* \u30aa\u30d7\u30c6\u30a3\u30de\u30a4\u30ba\u3055\u308c\u308b\u3068\u51e6\u7406\u304c\u306a\u304f\u306a\u308b\u305f\u3081\u3001<br \/>\n&nbsp;* gcc -O0 \u3092\u4ed8\u3051\u3066\u30b3\u30f3\u30d1\u30a4\u30eb\u3059\u308b\u3053\u3068\u3002<br \/>\n&nbsp;*\/<br \/>\nint main(int argc, char* argv[]){<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;char ac[64 * 1024 * 1024];<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;ac[0] = &#8216;\\0&#8217;; \/\/ \u3053\u3053\u3067\u767a\u751f<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;return 0;<br \/>\n}\n<\/p><\/blockquote>\n<p>\u5bfe\u7b56\u306f\u3001 \n<\/p>\n<blockquote><p>ulimit -s [limit]\n<\/p><\/blockquote>\n<p>\u3067\u5341\u5206\u306a\u30b9\u30bf\u30c3\u30af\u30b5\u30a4\u30ba\u3092\u78ba\u4fdd\u3059\u308b\u3053\u3068\u3092\u8a31\u53ef\u3059\u308c\u3070\u3088\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8211; ulimit -s \u3067\u5f97\u3089\u308c\u308b\u3001\u30b9\u30bf\u30c3\u30af\u306e\u9650\u754c\u30b5\u30a4\u30ba\u3092\u8d85\u3048\u305f\u5834\u5408\u3001\u6700\u521d\u306e\u4ee3\u5165\u3092\u884c\u3063\u305f\u6642\u70b9\u3067 Segumentation Fault (core dumped) \u306b\u306a\u308b\u3002 \u4f8b\u3048\u3070\u3001 $ ulimit -s  &hellip; <a href=\"https:\/\/www.ecoop.net\/memo\/archives\/2005-06-16-1.html\" class=\"more-link\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"screen-reader-text\">Segmentation Fault \u304c\u8d77\u3053\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u5916\u90e8\u8981\u56e0<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[73,20],"class_list":["post-419","post","type-post","status-publish","format-standard","hentry","tag-c2fc2b2b","tag-linux"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/posts\/419","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/comments?post=419"}],"version-history":[{"count":0,"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/posts\/419\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/media?parent=419"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/categories?post=419"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/tags?post=419"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}