Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • VLCKit VLCKit
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 108
    • Issues 108
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 9
    • Merge requests 9
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • VideoLAN
  • VLCKitVLCKit
  • Issues
  • #566

Closed
Open
Created Dec 13, 2021 by Francois Goudal@Fanfwe

Crash on simulator when starting playback for the 2nd time

Hello, I'm using VLCKit in a tvOS app to play a live stream over HTTP (HEVC/AAC). In the AppleTV simulator, If I stop the playback and start it again, the app crashes in a thread running a queue related to OpenGL. See backtrace below:

* thread #3, queue = 'com.apple.opengl.cvmDoWork', stop reason = EXC_BAD_ACCESS (code=1, address=0x30)
  * frame #0: 0x000000010e75482c libCoreVMClient.dylib`cvmsServerElementBuild + 432
    frame #1: 0x000000010e750aec libCoreVMClient.dylib`cvms_element_build_from_source + 132
    frame #2: 0x000000010e813680 libCVMSPluginSupport.dylib`cvm_deferred_build_modular(void*) + 396
    frame #3: 0x0000000103e58820 libdispatch.dylib`_dispatch_client_callout + 16
    frame #4: 0x0000000103e5fa5c libdispatch.dylib`_dispatch_lane_serial_drain + 756
    frame #5: 0x0000000103e60710 libdispatch.dylib`_dispatch_lane_invoke + 436
    frame #6: 0x0000000103e6c77c libdispatch.dylib`_dispatch_workloop_worker_thread + 820
    frame #7: 0x0000000104c3ed58 libsystem_pthread.dylib`_pthread_wqthread + 284

I am not myself directly using OpenGL in this app, it really only is a big fullscreen view that gets passed to VLCKit for it to draw inside, so that's why, given that the error relates to OpenGL, I think the crash is caused by VLCKit. The crash only occurs in the simulator, it works fine on a real tvOS hardware. I can reproduce it every time, using latest stable VLCKit (3.3.17)

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

VideoLAN code repository instance