Skip to content
This repository has been archived by the owner on Oct 4, 2019. It is now read-only.

Getting crashes on minor changes #36

Closed
EsSpectacularrr opened this issue Mar 20, 2014 · 2 comments
Closed

Getting crashes on minor changes #36

EsSpectacularrr opened this issue Mar 20, 2014 · 2 comments

Comments

@EsSpectacularrr
Copy link

2014-03-20 18:14:27.202 CigaretteDispenser[91836:60b]  - (void)updateOnClassInjection 
2014-03-20 18:14:27.379 CigaretteDispenser[91836:60b] *** Terminating app due to uncaught exception 'NSGenericException', reason: '*** Collection <__NSCFSet: 0xa489550> was mutated while being enumerated.'  
*** First throw call stack:     
(   
    0   CoreFoundation                      0x020ba1e4 __exceptionPreprocess + 180  
    1   libobjc.A.dylib                     0x01d838e5 objc_exception_throw + 44  
    2   CoreFoundation                      0x02149cf5 __NSFastEnumerationMutationHandler + 165  
    3   CigaretteDispenser                  0x00177332 -[SFInjectionsNotificationsCenter notifyOnClassInjection:] + 802  
    4   CigaretteDispenser                  0x00175189 -[SFDynamicCodeInjection performInjectionWithClass:] + 361  
    5   CigaretteDispenser                  0x00174f11 -[SFDynamicCodeInjection performInjectionWithClassesInSet:] + 577  
    6   CigaretteDispenser                  0x00175ad3 -[SFDynamicCodeInjection newFileWasFoundAtPath:] + 1251  
    7   CigaretteDispenser                  0x001766ec -[SFFileWatcher checkForFileCreationDate] + 828  
    8   CigaretteDispenser                  0x00176272 __42-[SFFileWatcher   setupHandlerOnFileChange:]_block_invoke_2 + 50  
    9   libdispatch.dylib                   0x023b97b8 _dispatch_call_block_and_release + 15  
    10  libdispatch.dylib                   0x023ce4d0 _dispatch_client_callout + 14  
    11  libdispatch.dylib                   0x023bc726 _dispatch_main_queue_callback_4CF + 340  
    12  CoreFoundation                      0x0211f43e   __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 14  
    13  CoreFoundation                      0x020605cb __CFRunLoopRun + 1963  
    14  CoreFoundation                      0x0205f9d3 CFRunLoopRunSpecific + 467  
    15  CoreFoundation                      0x0205f7eb CFRunLoopRunInMode + 123  
    16  GraphicsServices                    0x036175ee GSEventRunModal + 192  
    17  GraphicsServices                    0x0361742b GSEventRun + 104  
    18  UIKit                               0x006d0f9b UIApplicationMain + 1225  
    19  CigaretteDispenser                  0x0000275d main + 141  
    20  libdyld.dylib                       0x02603701 start + 1  
    21  ???                                 0x00000001 0x0 + 1  
)  
libc++abi.dylib: terminating with uncaught exception of type NSException
@PaulTaykalo
Copy link
Member

Hi there.
What type of library you're using?
.framework or cocoapods ?

If you can show exact line where this exception occurs, I would be appreciated.

I hope you're not injecting SFInjectionsNotificationCenter itself :))

@PaulTaykalo
Copy link
Member

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants