Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
pipewire
pipewire
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 239
    • Issues 239
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 3
    • Merge Requests 3
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • PipeWire
  • pipewirepipewire
  • Issues
  • #323

Closed
Open
Created Oct 09, 2020 by Oschowa@OschowaContributor

Reinitializing the pipewire library after calling pw_deinit() causes crashes in subsequent pipewire api calls

Minimal example to reproduce the crash: pw_deinit_crash.c

I noticed this while playing around with a (not upstream) mpv pipewire backend. mpv destroys it's audio backends when you e.g. unselect the audio track - where it seems to make sense to call pw_deinit() - and initializes them again when you reselect an audio track, which then crashes in pipewire.

For reference, the pipewire backend PR that i used as a base: https://github.com/mpv-player/mpv/pull/7902/commits/918b2873db331b43b1716526d454881411e66324

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None