You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running our app in debug mode on the Simulator (tested iPhone 8), the app crashes right away due to an Exc_Bad_Access error. Based on the XCode log report the issue seems to be here in Google Utilities/ Network/ GULMutableDictionnary:
I noticed a memory corruption bug in our app in production that highlighted a pointer being freed that was not allocated. Given that the above happens at launch, it could very well be the same issue (i.e., object not initiated but being deallocated).
Steps to reproduce:
Running firebase SKD v5.15.0 and launching an app on iPhone 8 simulator. Given the memory corruption issue noticed in production, I turned on the Zombie Object debugging in my debug scheme, which is the one I run. When I turn Zombie Object debugging off in my scheme, the app runs fine (but I suspect the memory corruption still happens, just undetected).
Problem only occurs when running on the Xcode simulator (tried using iPhone 8 simulator), NOT on the physical device. Only tested in debug mode.
Relevant Code:
Not particular code to reproduce the problem. The EXC_bad_Access is being triggered in the GoogleUtilities pod and highlight the following code (line 61): - (void)removeObjectForKey:(id)key { dispatch_async(_queue, ^{ [self->_objects removeObjectForKey:key]; <== Line highlighted }); }
Thanks for the help!
The text was updated successfully, but these errors were encountered:
[REQUIRED] Step 2: Describe your environment
[REQUIRED] Step 3: Describe the problem
When running our app in debug mode on the Simulator (tested iPhone 8), the app crashes right away due to an Exc_Bad_Access error. Based on the XCode log report the issue seems to be here in Google Utilities/ Network/ GULMutableDictionnary:
- (void)removeObjectForKey:(id)key { dispatch_async(_queue, ^{ [self->_objects removeObjectForKey:key]; }); }
I noticed a memory corruption bug in our app in production that highlighted a pointer being freed that was not allocated. Given that the above happens at launch, it could very well be the same issue (i.e., object not initiated but being deallocated).
Steps to reproduce:
Running firebase SKD v5.15.0 and launching an app on iPhone 8 simulator. Given the memory corruption issue noticed in production, I turned on the Zombie Object debugging in my debug scheme, which is the one I run. When I turn Zombie Object debugging off in my scheme, the app runs fine (but I suspect the memory corruption still happens, just undetected).
Problem only occurs when running on the Xcode simulator (tried using iPhone 8 simulator), NOT on the physical device. Only tested in debug mode.
Relevant Code:
Not particular code to reproduce the problem. The EXC_bad_Access is being triggered in the GoogleUtilities pod and highlight the following code (line 61):
- (void)removeObjectForKey:(id)key { dispatch_async(_queue, ^{ [self->_objects removeObjectForKey:key]; <== Line highlighted }); }
Thanks for the help!
The text was updated successfully, but these errors were encountered: