[AC-1487] crash TiBase : TiThreadProcessPendingMainThreadBlocks
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2015-02-03T15:16:09.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Titanium SDK & CLI |
Labels | TCSupportTriage, crash, ios, iphone |
Reporter | Jonathan |
Assignee | Mauro Parra-Miranda |
Created | 2014-09-10T16:50:59.000+0000 |
Updated | 2016-03-08T07:37:56.000+0000 |
Description
We have a recurring error and we cannot reproduce this bug,
90% of errors coming from Crashlytics are this one for iOS platform :
{quote}
TiBase.m line 279
__destroy_helper_block_187
Crashed: com.apple.main-thread
EXC_BAD_ACCESS KERN_INVALID_ADDRESS at 0xc0000010
0 libobjc.A.dylib 0x3b2ca7ea objc_release + 9
1 libsystem_blocks.dylib 0x3b7f2ac5 _Block_release + 216
2 MyApp 0x000dd697 __destroy_helper_block_187 (TiBase.m:279)
3 libsystem_blocks.dylib 0x3b7f2ac5 _Block_release + 216
4 MyApp 0x000dd839 TiThreadProcessPendingMainThreadBlocks (TiBase.m:366)
{quote}
To fix this error we change TiBase.m and TiThreadProcessPendingMainThreadBlocks method
https://github.com/appcelerator/titanium_mobile/pull/6045 :
We use autorelease for "thisAction" and we replace NSAutoreleasePool with new syntax : @autoreleasepool.
Do you think this fix is appropriate?
Thanks for your help
Hello, do you have any code that can reproduces it? How large is your installation and how many crashes do you have? Best Regards!
Hello and thanks for your help. We cannot reproduce this bug but this error is level 1 on Crashlytics : 1330 crashes for 994 users Our fix doesn't work (https://github.com/appcelerator/titanium_mobile/pull/6045) because we have a new crash with the same error.
We haven't seen this. If you are able to come up with a testcase that reproduces the issue, we can reopen this one.