<meta http-equiv="Content-Type" content="text/html; charset=GB18030"><div>Subject: Error Report for PulseAudio</div><div><br></div><div>Dear PulseAudio Development Team,</div><div><br></div><div>Hello!</div><div><br></div><div>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:</div><div> </div><div>Assertion 'pa_atomic_load(&(s)->_ref) >= 1' failed at pulse/stream.c:1683, function pa_stream_writable_size(). Aborting.</div><div>This error occurred while performing audio stream operations. I am using the audio library provided by Qt5.</div><div><br></div><div>Here are the details of my environment and related information:</div><div><br></div><div>PulseAudio Version: [pulseaudio 13.99.1]</div><div><br></div><div>Operating System: [Ubuntu 20.04 LTS]</div><div>Distributor ID: Ubuntu</div><div>Description: Ubuntu 20.04 LTS</div><div>Release: 20.04</div><div>Codename: focal</div><div><br></div><div>Related Code/Operation: The error occurs when I perform the following operation in my code:</div><div> </div><div>int bytesToWrite = pAudioOutput->bytesFree();</div><div>I have tried various solutions but still cannot resolve the issue. I would appreciate it if you could provide any suggestions or solutions.</div><div><br></div><div>Thank you for your time and support!</div><div><br></div><div>Best regards,</div><div>[Kong]</div><div>[1514817196@qq.com]<br><br></div><div><div><div>尊敬的 PulseAudio 开发团队,</div><div><br></div><div>您好!</div><div><br></div><div>我在使用 PulseAudio 时遇到了一个问题,希望能够向您报告并寻求帮助。具体的错误信息如下:<br>Assertion 'pa_atomic_load(&(s)->_ref) >= 1' failed at pulse/stream.c:1683, function pa_stream_writable_size(). Aborting.<br>错误发生时,我正在进行音频流操作。使用的是qt5 提供的音频库<br>以下是我的环境和相关信息:<br>**PulseAudio 版本**: [pulseaudio 13.99.1]<br> **操作系统**: [ Ubuntu 20.04 LTS]<br><div>Distributor ID: Ubuntu</div><div>Description:    Ubuntu 20.04 LTS</div><div>Release:        20.04</div><div>Codename:       focal<br>**相关代码/操作**:通过Debug 在<br>int bytesToWrite = pAudioOutput->bytesFree();<br>我已经尝试了 好多但仍然无法解决该问题。希望您能提供一些解决方案或建议。<div>感谢您的时间与支持!</div><div>祝好,  </div><div>[Kong]  </div><div>[1514817196@qq.com]</div></div></div></div><div><hr align="left" style="margin: 0px 0px 10px; border-top: 0px; border-right: 0px; border-left: 0px; border-image: initial; border-bottom-style: solid; border-bottom-color: rgb(228, 229, 230); height: 0px; line-height: 0; font-size: 0px; padding: 20px 0px 0px; width: 50px;"><div><a class="xm_write_card" id="in_alias" href="https://wx.mail.qq.com/home/index?t=readmail_businesscard_midpage&nocheck=true&name=%E9%98%BF%E5%93%A9&icon=http%3A%2F%2Fthirdqq.qlogo.cn%2Fg%3Fb%3Dsdk%26k%3DUa65LYwX5o2tZTIpo85rzA%26s%3D100%26t%3D1595077699%3Frand%3D1596541385&mail=1514817196%40qq.com&code=lYnlHReOfMmzsuM7AiR0lOl6UmF2-ogwiQ7kPjkQ9cswHp9kR2URi1wVa8zy0GxbGRb3qs8W8yDGJRVNOOrJ5w" target="_blank" style="display: inline-block; font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei"; text-decoration-line: none !important;"><table contenteditable="false" cellpadding="0" cellspacing="0" style="table-layout: fixed; padding-right: 20px;"><tbody><tr valign="top"><td style="width: 40px; min-width: 40px; padding-top: 10px;"><div style="width: 38px; height: 38px; border: 1px solid rgb(255, 255, 255); border-radius: 50%; margin: 0px; vertical-align: top; box-shadow: rgba(127, 152, 178, 0.14) 0px 0px 10px 0px;"><img src="http://thirdqq.qlogo.cn/g?b=sdk&k=Ua65LYwX5o2tZTIpo85rzA&s=100&t=1595077699?rand=1596541385" style="width: 38px; height: 38px; border-radius: 50%; pointer-events: none;"></div></td><td style="padding: 10px 0px 8px 10px;"><div class="businessCard_name" style="line-height: 20px; font-size: 14px; color: rgb(51, 49, 46); padding-bottom: 2px; margin: 0px;">阿哩</div><div class="businessCard_mail" style="line-height: 18px; font-size: 12px; color: rgb(153, 152, 150); margin: 0px;">1514817196@qq.com</div></td></tr></tbody></table></a></div></div><div> </div></div>