Skip to content

Rare crash of VLCMediaList in 3.4.1b9

MobileVLCKit 3.4.1b9

There are two types of stack traces acquired on iPhone and iPad.

EXC_BAD_ACCESS KERN_INVALID_ADDRESS
Crashed: com.apple.main-thread
0  libobjc.A.dylib                0x6664 objc_loadWeakRetained + 152
1  MobileVLCKit                   0x11c94 __52-[VLCMediaList(Private) mediaListItemAdded:atIndex:]_block_invoke.114 + 318 (VLCMediaList.m:318)
2  libdispatch.dylib              0x1e68 _dispatch_call_block_and_release + 32
3  libdispatch.dylib              0x3a2c _dispatch_client_callout + 20
4  libdispatch.dylib              0x11f48 _dispatch_main_queue_drain + 928
5  libdispatch.dylib              0x11b98 _dispatch_main_queue_callback_4CF + 44
6  CoreFoundation                 0x522f0 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16
7  CoreFoundation                 0xc1f4 __CFRunLoopRun + 2532
8  CoreFoundation                 0x1f6b8 CFRunLoopRunSpecific + 600
9  GraphicsServices               0x1374 GSEventRunModal + 164
10 UIKitCore                      0x513e88 -[UIApplication _run] + 1100
11 UIKitCore                      0x2955ec UIApplicationMain + 364
12 libswiftUIKit.dylib            0x30ecc UIApplicationMain(_:_:_:_:) + 104
EXC_BAD_ACCESS KERN_INVALID_ADDRESS
Crashed: com.apple.main-thread
0  libobjc.A.dylib                0x2840 objc_retain + 16
1  Foundation                     0xbd454 -[NSConcreteNotification initWithName:object:userInfo:] + 72
2  Foundation                     0x19c84 -[NSNotificationCenter postNotificationName:object:userInfo:] + 72
3  MobileVLCKit                   0x11d8c __52-[VLCMediaList(Private) mediaListItemAdded:atIndex:]_block_invoke.114 + 320 (VLCMediaList.m:320)
4  libdispatch.dylib              0x632ec _dispatch_call_block_and_release + 24
5  libdispatch.dylib              0x642f0 _dispatch_client_callout + 16
6  libdispatch.dylib              0x109a0 _dispatch_main_queue_callback_4CF$VARIANT$mp + 936
7  CoreFoundation                 0x4d7f8 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12
8  CoreFoundation                 0xb0f8 __CFRunLoopRun + 2528
9  CoreFoundation                 0x1dd8c CFRunLoopRunSpecific + 572
10 GraphicsServices               0x19a0 GSEventRunModal + 160
11 UIKitCore                      0x4edfa8 -[UIApplication _run] + 1080
12 UIKitCore                      0x28222c UIApplicationMain + 2060
13 libswiftUIKit.dylib            0x27e80 UIApplicationMain(_:_:_:_:) + 100

MobileVLCKit 3.4.1b9 or earlier did not have this problem.

best regards.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information