<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Please ignore the gdb bt information above because of error dbgsyms, </div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
and please refer to the following <span style="color: rgb(0, 0, 0); font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">logs when occurring crash.</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="color: rgb(0, 0, 0); font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;"><br>
</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="color: rgb(0, 0, 0); font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;"><span>5月 26 03:14:24 test-PC pulseaudio[2841]: W: [pulseaudio] pstream.c: Received SHM memblock frame with invalid frame length.<br>
</span>
<div>5月 26 03:14:24 test-PC pulseaudio[2841]: E: [pulseaudio] pstream.c: Assertion 're->data || re->memblock' failed at pulsecore/pstream.c:862, function do_read(). Aborting.<br>
</div>
<div>5月 26 03:14:24 test-PC systemd[1]: Created slice system-systemd\x2dcoredump.slice.<br>
</div>
<div>5月 26 03:14:24 test-PC systemd[1]: Started Process Core Dump (PID 10183/UID 0).<br>
</div>
<div>5月 26 03:14:25 test-PC bluetoothd[1700]: Endpoint unregistered: sender=:1.60 path=/MediaEndpoint/A2DPSource<br>
</div>
<div>5月 26 03:14:25 test-PC bluetoothd[1700]: Endpoint unregistered: sender=:1.60 path=/MediaEndpoint/A2DPSink<br>
</div>
<div>5月 26 03:14:25 test-PC daemon/audio[2874]: audio_events.go:65: pulseaudio context state failed<br>
</div>
<div>5月 26 03:14:25 test-PC systemd[2674]: pulseaudio.service: Main process exited, code=dumped, status=6/ABRT<br>
</div>
<div>5月 26 03:14:25 test-PC systemd[2674]: pulseaudio.service: Failed with result 'core-dump'.<br>
</div>
<div>5月 26 03:14:25 test-PC systemd-coredump[10184]: Process 2841 (pulseaudio) of user 1000 dumped core.<br>
</div>
<div> <br>
</div>
<div> Stack trace of thread 2841:<br>
</div>
<div> #0 0x0000ffff8702a714 raise (libc.so.6)<br>
</div>
<div> #1 0x0000ffff870188e8 abort (libc.so.6)<br>
</div>
<div> #2 0x0000ffff873b5728 n/a (libpulsecommon-12.2.so)<br>
</div>
<div> #3 0x0000ffff873b7fd8 n/a (libpulsecommon-12.2.so)<br>
</div>
<div> #4 0x0000ffff873b8368 n/a (libpulsecommon-12.2.so)<br>
</div>
<div> #5 0x0000ffff873b8bec n/a (libpulsecommon-12.2.so)<br>
</div>
<div> #6 0x0000ffff87339c70 pa_mainloop_dispatch (libpulse.so.0)<br>
</div>
<div> #7 0x0000ffff8733a01c pa_mainloop_iterate (libpulse.so.0)<br>
</div>
<div> #8 0x0000ffff8733a0d8 pa_mainloop_run (libpulse.so.0)<br>
</div>
<div> #9 0x0000000000406894 main (pulseaudio)<br>
</div>
<div> #10 0x0000ffff87018d24 __libc_start_main (libc.so.6)<br>
</div>
<div> #11 0x00000000004076c4 _start (pulseaudio)<br>
</div>
<div> #12 0x00000000004076c4 _start (pulseaudio)<br>
</div>
<div>5月 26 03:14:25 test-PC systemd[2674]: pulseaudio.service: Service RestartSec=100ms expired, scheduling restart.<br>
</div>
<div>5月 26 03:14:25 test-PC systemd[2674]: pulseaudio.service: Scheduled restart job, restart counter is at 1.<br>
</div>
<div>5月 26 03:14:25 test-PC systemd[2674]: Stopped Sound Service.<br>
</div>
<div>5月 26 03:14:25 test-PC systemd[2674]: Starting Sound Service...<br>
</div>
<span>5月 26 03:14:25 test-PC pulseaudio[10197]: W: [pulseaudio] pid.c: Stale PID file, overwriting.</span><br>
</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Best Regards,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Chengyi</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>发件人:</b> Zhao Chengyi<br>
<b>发送时间:</b> 2020年6月9日 0:30<br>
<b>收件人:</b> pulseaudio-discuss@lists.freedesktop.org <pulseaudio-discuss@lists.freedesktop.org><br>
<b>主题:</b> How to fix pulseaudio crash when playing music</font>
<div> </div>
</div>
<style type="text/css" style="display:none">
<!--
p
{margin-top:0;
margin-bottom:0}
-->
</style>
<div dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Hi,</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
I found pulseaudio crash when playing music, please help fix this issue, thanks a lot!</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
please refer to the following gdb information when occurring crash:</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span>[Current thread is 1 (Thread 0xffff86823010 (LWP 2841))]<br>
</span>
<div>(gdb) bt<br>
</div>
<div>#0 0x0000ffff8702a714 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50<br>
</div>
<div>#1 0x0000ffff870188e8 in __GI_abort () at abort.c:79<br>
</div>
<div>#2 0x0000ffff873b5728 in do_read (p=p@entry=0x3673a170, re=re@entry=0x3673a338) at pulsecore/pstream.c:856<br>
</div>
<div>#3 0x0000ffff873b7fd8 in do_pstream_read_write (p=0x3673a170) at pulsecore/pstream.c:248<br>
</div>
<div>#4 0x0000ffff873b8368 in srb_callback (srb=<optimized out>, userdata=0x3673a170) at pulsecore/pstream.c:287<br>
</div>
<div>#5 0x0000ffff873b8bec in srbchannel_rwloop (sr=0x36766ae0) at pulsecore/srbchannel.c:190<br>
</div>
<div>#6 0x0000ffff87339c70 in dispatch_pollfds (m=0x36670db0) at pulse/mainloop.c:655<br>
</div>
<div>#7 0x0000ffff87339c70 in pa_mainloop_dispatch (m=m@entry=0x36670db0) at pulse/mainloop.c:898<br>
</div>
<div>#8 0x0000ffff8733a01c in pa_mainloop_iterate (m=0x36670db0, block=<optimized out>, retval=0xffffd9683030) at pulse/mainloop.c:929<br>
</div>
<div>#9 0x0000ffff8733a0d8 in pa_mainloop_run (m=m@entry=0x36670db0, retval=retval@entry=0xffffd9683030) at pulse/mainloop.c:945<br>
</div>
<div>#10 0x0000000000406894 in main (argc=<optimized out>, argv=<optimized out>) at daemon/main.c:1144<br>
</div>
<span></span><br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Best Regards,</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Chengyi</div>
</div>
</body>
</html>