{"id":4444,"date":"2014-03-30T10:59:22","date_gmt":"2014-03-30T10:59:22","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/why-am-i-getting-threadid3-reacting-to-signal-3-and-game-freeze-andengine-collection-of-common-programming-errors\/"},"modified":"2014-03-30T10:59:22","modified_gmt":"2014-03-30T10:59:22","slug":"why-am-i-getting-threadid3-reacting-to-signal-3-and-game-freeze-andengine-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/why-am-i-getting-threadid3-reacting-to-signal-3-and-game-freeze-andengine-collection-of-common-programming-errors\/","title":{"rendered":"Why am I getting: threadid=3: reacting to signal 3 and game freeze (AndEngine)?-Collection of common programming errors"},"content":{"rendered":"<p>I&#8217;m using AndEngine to make a game that deals with a lot of moving sprites. It&#8217;s inconsistant when, but eventually I get a message in the log cat (threadid=3: reacting to signal 3) and the game freezes. What does this error mean? I&#8217;ve narrowed down in the code where it happens (it&#8217;s marked):<\/p>\n<pre><code>private void levelComplete(){\n        runOnUiThread(new Runnable() {\n            public void run() {\n                 Toast.makeText(TestGFX5Activity.this, \"Level Complete\", Toast.LENGTH_SHORT).show();\n            }\n        });\n        Log.e(\"Level Complete\",\"Going to reset values\");\n        \/\/Reset values\n        level++;\n        fillerCount = (originalNumberOfFillers + level - 1);\n        areaFilled=0;\n        fillAreaPercent = 0;\n\n        \/\/Rid scene of sprites\n        for(int x=0;x<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m using AndEngine to make a game that deals with a lot of moving sprites. It&#8217;s inconsistant when, but eventually I get a message in the log cat (threadid=3: reacting to signal 3) and the game freezes. What does this error mean? I&#8217;ve narrowed down in the code where it happens (it&#8217;s marked): private void [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-4444","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/4444","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=4444"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/4444\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=4444"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=4444"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=4444"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}