You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Heath Borders (JIRA)" <ji...@apache.org> on 2016/05/18 20:42:12 UTC
[jira] [Commented] (CB-10464) Incorrect checksum for freed object -
object was probably modified after being freed
[ https://issues.apache.org/jira/browse/CB-10464?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15289774#comment-15289774 ]
Heath Borders commented on CB-10464:
------------------------------------
I had a very similar crash that was actually caused by a background thread instantiating a UIImage.
This is the call stack that actually caused the crash for me:
{noformat}
com.apple.root.background-qos
0 libsystem_malloc.dylib 0x238041d8 free_tiny_botch
1 CoreFoundation 0x23b6f560 __CFBasicHashRehash + 2968
2 CoreFoundation 0x23b706d4 __CFBasicHashAddValue + 100
3 CoreFoundation 0x23a4f933 CFDictionarySetValue + 206
4 UIKit 0x28a87ffb _UITraitCollectionCacheForBuiltinStorage + 146
5 UIKit 0x28a8a2a7 +[UITraitCollection traitCollectionWithDisplayScale:] + 50
6 UIKit 0x2812390f -[UIImage initWithCGImage:scale:orientation:] + 214
7 UIKit 0x2812382b +[UIImage imageWithCGImage:scale:orientation:] + 62
8 Redacted
9 Redacted
10 Redacted
11 libdispatch.dylib 0x236d7cbf _dispatch_call_block_and_release + 10
12 libdispatch.dylib 0x236e36a1 _dispatch_root_queue_drain + 1572
13 libdispatch.dylib 0x236e307b _dispatch_worker_thread3 + 94
14 libsystem_pthread.dylib 0x23876e0d _pthread_wqthread + 1024
15 libsystem_pthread.dylib 0x238769fc start_wqthread + 8
{noformat}
> Incorrect checksum for freed object - object was probably modified after being freed
> ------------------------------------------------------------------------------------
>
> Key: CB-10464
> URL: https://issues.apache.org/jira/browse/CB-10464
> Project: Apache Cordova
> Issue Type: Bug
> Components: iOS
> Reporter: Giribabu
> Labels: triaged
>
> In cordova application, iPad 2,2 running iOS 9.0.1 crashed, crash logs as below. But in application there are no explicit calls for UIStatusBarXXXX.
> Tried same scenario multiple times after crash, it did not crash.
> Please help in finding issue.
> Thread 0 name: Dispatch queue: com.apple.main-thread
> Thread 0 Crashed:
> 0 libsystem_kernel.dylib 0x36c1dd24 __pthread_kill + 8
> 1 libsystem_pthread.dylib 0x36cc174a pthread_kill + 62
> 2 libsystem_c.dylib 0x36bb5f40 abort + 108
> 3 libsystem_malloc.dylib 0x36c4f0bc free_list_checksum_botch + 0
> 4 libsystem_malloc.dylib 0x36c4f0d8 free_list_checksum_botch + 28
> 5 libsystem_malloc.dylib 0x36c46f9a tiny_malloc_from_free_list + 994
> 6 libsystem_malloc.dylib 0x36c45a1e szone_malloc_should_clear + 222
> 7 libsystem_malloc.dylib 0x36c4590a malloc_zone_malloc + 90
> 8 CoreFoundation 0x249981e0 _CFRuntimeCreateInstance + 236
> 9 CoreGraphics 0x24cc71d8 CGTypeCreateInstance + 20
> 10 CoreGraphics 0x24cceb6c CGImageCreate + 484
> 11 CoreGraphics 0x24cce6ae CGBitmapContextCreateImage + 146
> 12 UIKit 0x2943faaa -[UIStatusBarForegroundStyleAttributes imageWithText:ofItemType:forWidth:lineBreakMode:letterSpacing:textAlignment:style:withLegibilityStyle:legibilityStrength:] + 558
> 13 UIKit 0x28b98e5c -[UIStatusBarItemView imageWithText:] + 240
> 14 UIKit 0x28b98c2a -[UIStatusBarItemView updateContentsAndWidth] + 34
> 15 UIKit 0x28b42bda -[UIStatusBarItemView setStatusBarData:actions:] + 90
> 16 UIKit 0x28b42b2a -[UIStatusBarLayoutManager _updateItemView:withData:actions:animated:] + 138
> 17 UIKit 0x28b429dc -[UIStatusBarLayoutManager updateItemsWithData:actions:animated:] + 176
> 18 UIKit 0x28b423fa -[UIStatusBarForegroundView _setStatusBarData:actions:animated:] + 986
> 19 UIKit 0x28b41ece -[UIStatusBarForegroundView setStatusBarData:actions:animated:] + 842
> 20 UIKit 0x28b4100a -[UIStatusBar statusBarServer:didReceiveStatusBarData:withActions:] + 170
> 21 UIKit 0x28b40f58 -[UIStatusBarServer _receivedStatusBarData:actions:] + 44
> 22 UIKit 0x28b40f1c _UIStatusBarReceivedStatusBarDataAndActions + 56
> 23 UIKit 0x28b40ea6 _XReceivedStatusBarDataAndActions + 58
> 24 AppSupport 0x2a33aa6e migHelperRecievePortCallout + 146
> 25 CoreFoundation 0x24a4d3f2 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 34
> 26 CoreFoundation 0x24a4cb06 __CFRunLoopDoSource1 + 342
> 27 CoreFoundation 0x24a4af18 __CFRunLoopRun + 1688
> 28 CoreFoundation 0x2499e248 CFRunLoopRunSpecific + 520
> 29 CoreFoundation 0x2499e034 CFRunLoopRunInMode + 108
> 30 GraphicsServices 0x2da67ad0 GSEventRunModal + 160
> 31 UIKit 0x28bb38a8 UIApplicationMain + 144
> Thanks in advance.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org