Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • LibVLCSharp LibVLCSharp
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 77
    • Issues 77
    • 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
  • VideoLAN
  • LibVLCSharpLibVLCSharp
  • Issues
  • #216

Closed
Open
Created Sep 04, 2019 by srollinet@srollinet

subscribing to LibVlc.Log crashes the application on Linux

Summary

On Linux, subscribing on the LibVlc.Log EventHandler crashes the application almost instantly.

Minimal project and steps to reproduce

Based on the NetCoreSample

        static void Main(string[] args)
        {
            Core.Initialize();
            var libVLC = new LibVLC();
            libVLC.Log += (sender, eventArgs) => Console.WriteLine(eventArgs.Message);
            Console.ReadKey();
        }
<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <OutputType>Exe</OutputType>
    <TargetFramework>netcoreapp2.2</TargetFramework>
  </PropertyGroup>
  <ItemGroup>
    <PackageReference Include="LibVLCSharp" Version="3.2.1" />
  </ItemGroup>
</Project>

What is the current bug behavior?

The application starts and crashes, most of the time with this log event

free(): invalid next size (normal)

What is the expected correct behavior?

The application doesn't crash

Environment

  • OS: Ubuntu 19.04
  • LibVLC 3.0.7.1 Vetinari (revision 3.0.7.1-0-gf3940db4af)
  • LibVLCSharp 3.2.1
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