Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • pipewire pipewire
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 574
    • Issues 574
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 24
    • Merge requests 24
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • 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
  • PipeWirePipeWire
  • pipewirepipewire
  • Issues
  • #323
Closed
Open
Issue 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
Time tracking