Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
VLCKit
VLCKit
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 74
    • Issues 74
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 1
    • Merge Requests 1
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • VideoLAN
  • VLCKitVLCKit
  • Issues
  • #461

Closed
Open
Opened Jan 04, 2021 by miosgit@matteogobbiContributor

Many crashes due VLCMedia when using `initWithOptions`

Hello,

since I started using VLC 2 years ago, I always noticed this problem:

if I use [[VLCMediaPlayer alloc] initWithOptions:options]; I notice a lot of crashes like this from VLC. Screen_Shot_2021-01-03_at_6.18.22_PM

This happens when the user exit the view controller, and therefore the dealloc method is called. We don't do anything in the dealloc method, but obviously, the system tries to deallocate everything that was retained from that view controller, including the VLC player. When this happens, the VLCMedia provocates this crash.

Can you please advise?

Edited Jan 04, 2021 by miosgit
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: videolan/VLCKit#461