Skip to content

Crash with InMobi SDK v11.1.1 #70

@cristian1980

Description

@cristian1980

I am using InMobi through AppLovin mediation and we are encountering a crash.
My understanding is that IMDeviceProcessor is part of InMobi SDK

I am fairly confident the issue occurs every time when an InMobi banner is removed from the banner area.
Exception was not thrown when I closed an interstitial ad.

The exception is:

Exception    NSException *    "Cannot remove an observer <IMDeviceProcessor 0x151198ae0> for the key path \"outputVolume\" from <AVAudioSession     
0x1333104c0> because it is not registered as an observer."    0x00000001501b3870name    __NSCFConstantString *    "NSRangeException"                  
0x000000020be69418reason    __NSCFString *    "Cannot remove an observer <IMDeviceProcessor 0x151198ae0> for the key path \"outputVolume\" from       
<AVAudioSession 0x1333104c0> because it is not registered as an observer."    0x0000000133611500userInfo    void *    NULL                            
0x0000000000000000reserved    void *    NULL    0x0000000000000000argc    int    1argv    char **    0x16b94f4d0                                      
0x000000016b94f4d0makeColor(0xfffeffff, colorSpace)    (null)    (null)    (null)

This is the call stack:

Thread 1 Queue : com.apple.main-thread (serial)                 
#0    0x000000019cb857bc in objc_exception_throw ()                                                                                                   
#1    0x000000019db62614 in -[NSObject(NSKeyValueObserverRegistration) _removeObserver:forProperty:] ()                                               
#2    0x000000019db62a38 in -[NSObject(NSKeyValueObserverRegistration) removeObserver:forKeyPath:] ()                                                 
#3    0x000000019db62950 in -[NSObject(NSKeyValueObserverRegistration) removeObserver:forKeyPath:context:] ()                                         
#4    0x0000000107bc9344 in -[IMDeviceProcessor removeListeningToDeviceVolumeListener] ()                                                             
#5    0x0000000107bc97b4 in -[IMDeviceProcessor dealloc] ()                                                                                           
#6    0x0000000107bcc6d8 in -[IMRichMediaResolver dealloc] ()                                                                                         
#7    0x0000000107bb8590 in -[IMRenderView .cxx_destruct] ()                                                                                          
#8    0x000000019cb5e1f8 in object_cxxDestructFromClass ()                                                                                            
#9    0x000000019cb59f20 in objc_destructInstance_nonnull_realized ()                                                                                 
#10    0x000000019cb594a4 in _objc_rootDealloc ()                                                                                                     
#11    0x00000001a556c8f8 in -[UIResponder dealloc] ()                                                                                                
#12    0x00000001a556c364 in -[UIView dealloc] ()                                                                                                     
#13    0x0000000107bb64b8 in -[IMRenderView dealloc] ()                                                                                               
#14    0x00000002b5dca458 in _call_dispose_helpers_excp ()                                                                                            
#15    0x00000002b5dca1e8 in _Block_release ()                                                                                                        
#16    0x00000001068bdd58 in _dispatch_source_handler_dispose ()                                                                                      
#17    0x00000001068be20c in _dispatch_source_latch_and_call ()                                                                                       
#18    0x00000001068bccd4 in _dispatch_source_invoke ()                                                                                               
#19    0x00000001068df398 in _dispatch_main_queue_drain.cold.5 ()                                                                                     
#20    0x00000001068b4778 in _dispatch_main_queue_drain ()                                                                                            
#21    0x00000001068b46b4 in _dispatch_main_queue_callback_4CF ()                                                                                     
#22    0x000000019fc152b4 in __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ ()                                                                    
#23    0x000000019fbc8b3c in __CFRunLoopRun ()                                                                                                        
#24    0x000000019fbc7a6c in _CFRunLoopRunSpecificWithOptions ()                                                                                      
#25    0x0000000241322498 in GSEventRunModal ()                                                                                                       
#26    0x00000001a55a2df8 in -[UIApplication _run] ()                                                                                                 
#27    0x00000001a554be54 in UIApplicationMain ()                                                                                                     
#28    0x0000000109710ef8 in main at /Users/cristi/Desktop/work/artbook/common/main.m:14                                                              
#29    0x000000019cbdae28 in start ()                                                                   

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions