[vlc-devel] VLCKit for iOS/AppleTV Crash

Milos Jakovljevic milos1290 at gmail.com
Tue Jul 2 14:05:10 UTC 2024


Hey,

I'm trying to post the issue on GitLab but cannot do it because account
needs admin approval, anyway i'm having an issue with latest VLCKIt
(4.0.0a5) on iOS and tvOS, its crashing occasionally and i'm trying to
figure out what the problem is, here is the stacktrace

Fatal Exception: NSInvalidArgumentException
*** -[AVSampleBufferAudioRenderer enqueueSampleBuffer:] invalid parameter
not satisfying: sampleBuffer != NULL

Fatal Exception: NSInvalidArgumentException
0  CoreFoundation                 0x83f20 __exceptionPreprocess
1  libobjc.A.dylib                0x16018 objc_exception_throw
2  AVFCore                        0xe5ff0 -[AVSampleBufferAudioRenderer
flush]
3  VLCKit                         0x46a98 -[VLCAVSample whenDataReady] +
256 (avsamplebuffer.m:256)
4  VLCKit                         0x46e80 __25-[VLCAVSample
play:date:]_block_invoke + 270 (avsamplebuffer.m:270)
5  AVFCore                        0xee8cc -[AVMediaDataRequester
_requestMediaDataIfReady]
6  libdispatch.dylib              0x213c _dispatch_call_block_and_release
7  libdispatch.dylib              0x3dd4 _dispatch_client_callout
8  libdispatch.dylib              0xb400 _dispatch_lane_serial_drain
9  libdispatch.dylib              0xbf30 _dispatch_lane_invoke
10 libdispatch.dylib              0x16cb4
_dispatch_root_queue_drain_deferred_wlh
11 libdispatch.dylib              0x16528 _dispatch_workloop_worker_thread
12 libsystem_pthread.dylib        0x4934 _pthread_wqthread
13 libsystem_pthread.dylib        0x10cc start_wqthread

I'm not able to reproduce this issue but the app is collecting logs to
Crashlytics and this is what is gathered, there is also a log message that
is caught:

CMBlockBufferRef creation failure -12704

Any advice or help would be appreciated,
Thanks,
Milos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20240702/c2afe0b7/attachment.htm>


More information about the vlc-devel mailing list