{ "id": "77992", "key": "TIMOB-4727", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2017-05-02T20:14:15.000+0000", "created": "2011-07-19T19:48:43.000+0000", "priority": { "name": "Trivial", "id": "5" }, "labels": [ "kitchensink" ], "versions": [ { "id": "11570", "description": "", "name": "Release 1.7.2", "archived": true, "released": true, "releaseDate": "2011-07-21" } ], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-05-02T21:02:50.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "Description:\r\nWhile testing KitchenSink I noticed some new log behavior I hadn't seen in other passes. I was able to find a reproducible case by launching the Mashups>SOAP test, hitting back and launching the test again. By approximately the third attempt, the following will appear in the log:\r\n\r\n07-19 11:22:28.157: WARN/MessageQueue(2534): Handler{40acfa10} sending message to a Handler on a dead thread\r\n07-19 11:22:28.157: WARN/MessageQueue(2534): java.lang.RuntimeException: Handler{40acfa10} sending message to a Handler on a dead thread\r\n07-19 11:22:28.157: WARN/MessageQueue(2534): at android.os.MessageQueue.enqueueMessage(MessageQueue.java:196)\r\n07-19 11:22:28.157: WARN/MessageQueue(2534): at android.os.Handler.sendMessageAtTime(Handler.java:457)\r\n07-19 11:22:28.157: WARN/MessageQueue(2534): at android.os.Handler.sendMessageDelayed(Handler.java:430)\r\n07-19 11:22:28.157: WARN/MessageQueue(2534): at android.os.Handler.post(Handler.java:248)\r\n07-19 11:22:28.157: WARN/MessageQueue(2534): at org.appcelerator.titanium.kroll.KrollCallback.callAsync(KrollCallback.java:162)\r\n07-19 11:22:28.157: WARN/MessageQueue(2534): at org.appcelerator.titanium.kroll.KrollCallback.callAsync(KrollCallback.java:96)\r\n07-19 11:22:28.157: WARN/MessageQueue(2534): at org.appcelerator.titanium.kroll.KrollCallback.callAsync(KrollCallback.java:91)\r\n07-19 11:22:28.157: WARN/MessageQueue(2534): at ti.modules.titanium.network.TiHTTPClient.fireCallback(TiHTTPClient.java:471)\r\n07-19 11:22:28.157: WARN/MessageQueue(2534): at ti.modules.titanium.network.TiHTTPClient.fireCallback(TiHTTPClient.java:462)\r\n07-19 11:22:28.157: WARN/MessageQueue(2534): at ti.modules.titanium.network.TiHTTPClient.setReadyState(TiHTTPClient.java:494)\r\n07-19 11:22:28.157: WARN/MessageQueue(2534): at ti.modules.titanium.network.TiHTTPClient$ClientRunnable.run(TiHTTPClient.java:1013)\r\n07-19 11:22:28.157: WARN/MessageQueue(2534): at java.lang.Thread.run(Thread.java:1019)\r\n\r\nSteps to Reproduce:\r\n1) Launch KS, built with 1.7.2\r\n2) Ensure you are loggings\r\n3) Navigate to Mashups>SOAP\r\n4) Tap \"back\"\r\n5) Repeat steps 3 and 4 until you see the log output\r\n\r\n\r\nResult:\r\nWarnings logged: java.lang.RuntimeException: Handler{40aa1810} sending message to a Handler on a dead thread\r\n\r\nExpected results:\r\nNo warnings logged\r\n", "attachment": [], "flagged": false, "summary": "KitchenSink: Repeatedly launching Mashups>SOAP test results in logged warnings of messaging a dead thread", "creator": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Nexus S 2.3.2, Titanium Studio, build: 1.0.2.201107130739, SDK 1.7.2.v20110715135838", "comment": { "comments": [ { "id": "163713", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Following near identical steps on the iPhone simulator results in a crash. \r\n\r\nSteps to Reproduce:\r\n1) Launch KS in iPhone simulator (iOS 4.1), built with 1.7.2\r\n2) Navigate to Mashups>SOAP\r\n3) Navigate back to Mashups\r\n4) Repeat step 2\r\n\r\nlog output:\r\n\r\n[DEBUG] loading: /Users/tlukasavage/Downloads/appcelerator-KitchenSink-284ed4e/Resources/examples/soap.js, resource: Users/tlukasavage/Downloads/appcelerator-KitchenSink-284ed4e/Resources/examples/soap_js\r\n[DEBUG] include url: file://localhost/Users/tlukasavage/Downloads/appcelerator-KitchenSink-284ed4e/Resources/examples/suds.js\r\n[DEBUG] loading: /Users/tlukasavage/Downloads/appcelerator-KitchenSink-284ed4e/Resources/examples/suds.js, resource: Users/tlukasavage/Downloads/appcelerator-KitchenSink-284ed4e/Resources/examples/suds_js\r\n\r\nEntity: line 1: parser error : Start tag expected, '<' not found\r\nThe service is unavailable.\r\n^\r\n[ERROR] Error Domain=com.google.GDataXML Code=-1 \"The operation couldn’t be completed. (com.google.GDataXML error -1.)\". in -[TiDOMDocumentProxy parseString:] (TiDOMDocumentProxy.m:42)\r\n\r\n[ERROR] The application has crashed with an unhandled exception. Stack trace:\r\n0 CoreFoundation 0x0238c58c __exceptionPreprocess + 156\r\n1 libobjc.A.dylib 0x024e0313 objc_exception_throw + 44\r\n2 appcelerator-KitchenSink-284ed4e 0x000d5d2b -[TiProxy throwException:subreason:location:] + 363\r\n3 appcelerator-KitchenSink-284ed4e 0x001564a3 -[TiDOMDocumentProxy parseString:] + 451\r\n4 appcelerator-KitchenSink-284ed4e 0x00162b11 -[XMLModule parseString:] + 737\r\n5 CoreFoundation 0x022fcc7d __invoking___ + 29\r\n6 CoreFoundation 0x022fcb51 -[NSInvocation invoke] + 145\r\n7 appcelerator-KitchenSink-284ed4e 0x0004ddf9 -[KrollMethod call:] + 3081\r\n8 appcelerator-KitchenSink-284ed4e 0x0004c89e KrollCallAsFunction + 542\r\n9 appcelerator-KitchenSink-284ed4e 0x002d9169 _ZN2TI16TiCallbackObjectINS_8TiObjectEE4callEPNS_10TiExcStateEPS1_NS_7TiValueERKNS_7ArgListE + 391\r\n10 appcelerator-KitchenSink-284ed4e 0x002b642b cti_op_call_NotTiFunction + 299\r\n11 ??? 0x0da0a57e 0x0 + 228631934\r\n12 appcelerator-KitchenSink-284ed4e 0x00273085 _ZN2TI11Interpreter7executeEPNS_18FunctionExecutableEPNS_10TiExcStateEPNS_10TiFunctionEPNS_8TiObjectERKNS_7ArgListEPNS_14ScopeChainNodeEPNS_7TiValueE + 975\r\n13 appcelerator-KitchenSink-284ed4e 0x002c485d _ZN2TI10TiFunction4callEPNS_10TiExcStateENS_7TiValueERKNS_7ArgListE + 129\r\n14 appcelerator-KitchenSink-284ed4e 0x0023bf7b _ZN2TI4callEPNS_10TiExcStateENS_7TiValueENS_8CallTypeERKNS_8CallDataES2_RKNS_7ArgListE + 91\r\n15 appcelerator-KitchenSink-284ed4e 0x002d7486 TiObjectCallAsFunction + 454\r\n16 appcelerator-KitchenSink-284ed4e 0x000559f8 -[KrollObject invokeCallbackForKey:withObject:thisObject:] + 856\r\n17 appcelerator-KitchenSink-284ed4e 0x000452d2 -[ExpandedInvocationOperation main] + 210\r\n18 Foundation 0x006a1b76 -[__NSOperationInternal start] + 747\r\n19 appcelerator-KitchenSink-284ed4e 0x00047c56 -[KrollContext invoke:] + 150\r\n20 appcelerator-KitchenSink-284ed4e 0x0004685e -[KrollContext main] + 4478\r\n21 Foundation 0x0067bcf4 -[NSThread main] + 81\r\n22 Foundation 0x0067bc80 __NSThread__main__ + 1387\r\n23 libsystem_c.dylib 0x91e89ed9 _pthread_start + 335\r\n24 libsystem_c.dylib 0x91e8d6de thread_start + 34\r\n\r\n2011-08-23 09:01:05.933 appcelerator-KitchenSink-284ed4e[21080:1a90b] *** Terminating app due to uncaught exception 'org.appcelerator_kitchensink_284ed4e.TiDOMDocumentProxy', reason: 'Error Domain=com.google.GDataXML Code=-1 \"The operation couldn’t be completed. (com.google.GDataXML error -1.)\". in -[TiDOMDocumentProxy parseString:] (TiDOMDocumentProxy.m:42)'\r\n\r\n*** Call stack at first throw:\r\n(\r\n\t0 CoreFoundation 0x0238c5a9 __exceptionPreprocess + 185\r\n\t1 libobjc.A.dylib 0x024e0313 objc_exception_throw + 44\r\n\t2 appcelerator-KitchenSink-284ed4e 0x000d5d2b -[TiProxy throwException:subreason:location:] + 363\r\n\t3 appcelerator-KitchenSink-284ed4e 0x001564a3 -[TiDOMDocumentProxy parseString:] + 451\r\n\t4 appcelerator-KitchenSink-284ed4e 0x00162b11 -[XMLModule parseString:] + 737\r\n\t5 CoreFoundation 0x022fcc7d __invoking___ + 29\r\n\t6 CoreFoundation 0x022fcb51 -[NSInvocation invoke] + 145\r\n\t7 appcelerator-KitchenSink-284ed4e 0x0004ddf9 -[KrollMethod call:] + 3081\r\n\t8 appcelerator-KitchenSink-284ed4e 0x0004c89e KrollCallAsFunction + 542\r\n\t9 appcelerator-KitchenSink-284ed4e 0x002d9169 _ZN2TI16TiCallbackObjectINS_8TiObjectEE4callEPNS_10TiExcStateEPS1_NS_7TiValueERKNS_7ArgListE + 391\r\n\t10 appcelerator-KitchenSink-284ed4e 0x002b642b cti_op_call_NotTiFunction + 299\r\n\t11 ??? 0x0da0a57e 0x0 + 228631934\r\n\t12 appcelerator-KitchenSink-284ed4e 0x00273085 _ZN2TI11Interpreter7executeEPNS_18FunctionExecutableEPNS_10TiExcStateEPNS_10TiFunctionEPNS_8TiObjectERKNS_7ArgListEPNS_14ScopeChainNodeEPNS_7TiValueE + 975\r\n\t13 appcelerator-KitchenSink-284ed4e 0x002c485d _ZN2TI10TiFunction4callEPNS_10TiExcStateENS_7TiValueERKNS_7ArgListE + 129\r\n\t14 appcelerator-KitchenSink-284ed4e 0x0023bf7b _ZN2TI4callEPNS_10TiExcStateENS_7TiValueENS_8CallTypeERKNS_8CallDataES2_RKNS_7ArgListE + 91\r\n\t15 appcelerator-KitchenSink-284ed4e 0x002d7486 TiObjectCallAsFunction + 454\r\n\t16 appcelerator-KitchenSink-284ed4e 0x000559f8 -[KrollObject invokeCallbackForKey:withObject:thisObject:] + 856\r\n\t17 appcelerator-KitchenSink-284ed4e 0x000452d2 -[ExpandedInvocationOperation main] + 210\r\n\t18 Foundation 0x006a1b76 -[__NSOperationInternal start] + 747\r\n\t19 appcelerator-KitchenSink-284ed4e 0x00047c56 -[KrollContext invoke:] + 150\r\n\t20 appcelerator-KitchenSink-284ed4e 0x0004685e -[KrollContext main] + 4478\r\n\t21 Foundation 0x0067bcf4 -[NSThread main] + 81\r\n\t22 Foundation 0x0067bc80 __NSThread__main__ + 1387\r\n\t23 libsystem_c.dylib 0x91e89ed9 _pthread_start + 335\r\n\t24 libsystem_c.dylib 0x91e8d6de thread_start + 34\r\n)\r\n\r\nterminate called throwing an exception", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-08-23T06:19:02.000+0000", "updated": "2011-08-23T06:19:02.000+0000" }, { "id": "418685", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Resolving ticket as Invalid as there is now a new version of Kitchen Sink available and we no longer support the version which relates to this ticket.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-05-02T20:14:15.000+0000", "updated": "2017-05-02T20:14:15.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }