Error Report: Assertion Failure in pa_stream_writable_size()
阿哩
1514817196 at qq.com
Tue Apr 15 01:24:27 UTC 2025
Subject: Error Report for PulseAudio
Dear PulseAudio Development Team,
Hello!
I encountered an issue while using PulseAudio, and I would like to report it and seek your help. The specific error message is as follows:
Assertion 'pa_atomic_load(&(s)->_ref) >= 1' failed at pulse/stream.c:1683, function pa_stream_writable_size(). Aborting.
This error occurred while performing audio stream operations. I am using the audio library provided by Qt5.
Here are the details of my environment and related information:
PulseAudio Version: [pulseaudio 13.99.1]
Operating System: [Ubuntu 20.04 LTS]
Distributor ID: Ubuntu
Description: Ubuntu 20.04 LTS
Release: 20.04
Codename: focal
Related Code/Operation: The error occurs when I perform the following operation in my code:
int bytesToWrite = pAudioOutput->bytesFree();
I have tried various solutions but still cannot resolve the issue. I would appreciate it if you could provide any suggestions or solutions.
Thank you for your time and support!
Best regards,
[Kong]
[1514817196 at qq.com]
尊敬的 PulseAudio 开发团队,
您好!
我在使用 PulseAudio 时遇到了一个问题,希望能够向您报告并寻求帮助。具体的错误信息如下:
Assertion 'pa_atomic_load(&(s)->_ref) >= 1' failed at pulse/stream.c:1683, function pa_stream_writable_size(). Aborting.
错误发生时,我正在进行音频流操作。使用的是qt5 提供的音频库
以下是我的环境和相关信息:
**PulseAudio 版本**: [pulseaudio 13.99.1]
**操作系统**: [ Ubuntu 20.04 LTS]
Distributor ID: Ubuntu
Description: Ubuntu 20.04 LTS
Release: 20.04
Codename: focal
**相关代码/操作**:通过Debug 在
int bytesToWrite = pAudioOutput->bytesFree();
我已经尝试了 好多但仍然无法解决该问题。希望您能提供一些解决方案或建议。感谢您的时间与支持!
祝好,
[Kong]
[1514817196 at qq.com]
阿哩
1514817196 at qq.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20250415/dc758403/attachment.htm>
More information about the pulseaudio-discuss
mailing list