#1036645 libportaudio2: crash due to violated assertion

Package:
libportaudio2
Source:
libportaudio2
Description:
Portable audio I/O - shared library
Submitter:
Daniel Schürmann
Date:
2023-05-23 18:57:04 UTC
Severity:
normal
#1036645#5
Date:
2023-05-23 18:51:59 UTC
From:
To:
Severity: important

Dear Portaudio maintainers,

With Mixxx and Pipewrie installed we see crashes SIGABRT when closing Mixxx.
This leads to losing unsaved user data. The issue seems to be a broken
pipe to the pipewire process.

The original bug is reported here:
https://github.com/mixxxdj/mixxx/issues/11587

When building portaudio without debuild, -DNDEBUG is set that disables assert()
For my understanding that flag should be also set for the debian package.
That would be a solution for this bug.

Alternatively we may patch out the assertion here:
https://github.com/PortAudio/portaudio/blob/2fe67f3568295accc0b4cc47cefd5e0d6a7f6e43/src/hostapi/jack/pa_jack.c#L864
and in some other similar places.

Daniel