crash in GADMutableArrayAddObject

184 views
Skip to first unread message

Eric Slosser

unread,
Oct 18, 2022, 11:54:39 AM10/18/22
to Google Mobile Ads SDK Developers
I'm seeing occasional SIGABRT crashes inside GADMutableArrayAddObject, because:

     malloc: *** error for object 0x600000c5ce10: pointer being freed was not allocated

     CoreSimulator 857.10 - Device: iPhone 8 Plus - iOS 15.2 (97DCF3D4-2AA8-438D-A177-9F4D99E8634F) - Runtime: iOS 15.2 (19C51) - DeviceType: iPhone 8 Plus

#0    0x00000001c997ce60 in __pthread_kill ()
#1    0x00000001c99d03c0 in pthread_kill ()
#2    0x00000001800fe3d8 in abort ()
#3    0x000000018016b6b4 in malloc_vreport ()
#4    0x000000018016b86c in malloc_report ()
#5    0x000000018015fc40 in free ()
#6    0x00000001802daaec in -[__NSArrayM insertObject:atIndex:] ()
#7    0x0000000106e37960 in ___lldb_unnamed_symbol1294216 ()
#8    0x0000000106dd6334 in ___lldb_unnamed_symbol1292343 ()
#9    0x0000000106dd75f8 in ___lldb_unnamed_symbol1292345 ()
#10    0x0000000106dd7d80 in ___lldb_unnamed_symbol1292347 ()
#11    0x0000000106dd5a7c in ___lldb_unnamed_symbol1292341 ()
#12    0x0000000106e21858 in ___lldb_unnamed_symbol1293771 ()
#13    0x000000010deafe94 in _dispatch_call_block_and_release ()


I wonder if others have seen this and know how to prevent.

Eric Slosser

unread,
Oct 18, 2022, 11:57:38 AM10/18/22
to Google Mobile Ads SDK Developers
The code at frame #7 is:

0x106e3794c <+236>: bl 0x106f1b244 ; symbol stub for: objc_msgSend
0x106e37950 <+240>: cbz x0, 0x106e37964 ; <+260>
0x106e37954 <+244>: mov x0, x22
0x106e37958 <+248>: mov x1, x21
0x106e3795c <+252>: bl 0x106da1300 ; GADMutableArrayAddObject
-> 0x106e37960 <+256>: b 0x106e379d8 ; <+376>

Reply all
Reply to author
Forward
0 new messages