Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • LibVLCSharp LibVLCSharp
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 79
    • Issues 79
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • VideoLANVideoLAN
  • LibVLCSharpLibVLCSharp
  • Issues
  • #15
Closed
Open
Issue created Aug 02, 2018 by Diego Stamigni@diegostamigni

System.ExecutionEngineException: Attempting to JIT compile method '(wrapper native-to-managed)

Hello!

Today I tried to register to MediaPlayer events via mediaPlayer.EventManager.TimeChanged += (sender, args) ... Unfortunately, it crashes on device only (simulator works just fine) [iOS]:

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ExecutionEngineException: Attempting to JIT compile method '(wrapper native-to-managed) LibVLCSharp.Shared.MediaPlayerEventManager:OnTimeChanged (intptr)' while running in aot-only mode. See https://developer.xamarin.com/guides/ios/advanced_topics/limitations/ for more information.

  at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_delegate_to_ftnptr(object)
  at (wrapper managed-to-native) LibVLCSharp.Shared.EventManager+Internal.LibVLCEventAttach(intptr,LibVLCSharp.Shared.EventType,LibVLCSharp.Shared.EventCallback,intptr)
  at LibVLCSharp.Shared.EventManager.AttachEvent (LibVLCSharp.Shared.EventType eventType, LibVLCSharp.Shared.EventCallback eventCallback) <0x1012fd8d0 + 0x0004f> in <b19459fb0452425c81cbd690281cf4a8#a9fdeec3d01afc70eb9d0e128ec42346>:0 
  at LibVLCSharp.Shared.MediaPlayerEventManager.add_TimeChanged (System.EventHandler`1[TEventArgs] value) <0x10131f884 + 0x00117> in <b19459fb0452425c81cbd690281cf4a8#a9fdeec3d01afc70eb9d0e128ec42346>:0 
...

Current configuration is:

  • Xcode 9.3.1
  • macOS Mojave beta 5
  • iOS 12 (and iOS 11.3)
  • Xamarin iOS 11.12.0.4
  • LibVLCSharp.dll alpha 6
  • VideoLAN.LibVLC.iOS 3.0.0-alpha2
Edited Aug 02, 2018 by Diego Stamigni
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