When exiting castty with audio recording enabled I get a stacktrace following a pulseaudio assertion failure:
pa_write() failed while trying to wake up the mainloop: Broken pipe
pa_write() failed while trying to wake up the mainloop: Broken pipe
pa_write() failed while trying to wake up the mainloop: Broken pipe
pa_write() failed while trying to wake up the mainloop: Broken pipe
Assertion 'pa_close(fds[0]) == 0' failed at pulsecore/core-util.c:2625, function pa_close_pipe(). Aborting.
Process -303538095 got signal 6
at faultaddr: 0x55c9ede86051 errno: 21961 code: 1662301864
Backtrace:
./src/castty(+0x2c80) [0x55c9ec40cc80]
/usr/lib/libpthread.so.0(+0x11080) [0x7fef63750080]
/usr/lib/libc.so.6(gsignal+0xcf) [0x7fef6315d04f]
/usr/lib/libc.so.6(abort+0x16a) [0x7fef6315e47a]
/usr/lib/pulseaudio/libpulsecommon-10.0.so(pa_close_pipe+0x85) [0x7fef61a7b645]
/usr/lib/libpulse.so.0(pa_mainloop_free+0x42) [0x7fef62cb6602]
/usr/lib/libpulse.so.0(pa_threaded_mainloop_free+0x3d) [0x7fef62cc61bd]
/usr/lib/libsoundio.so.1(+0xd359) [0x7fef63969359]
/usr/lib/libsoundio.so.1(soundio_disconnect+0x30) [0x7fef63963950]
/usr/lib/libsoundio.so.1(soundio_destroy+0x1c) [0x7fef63963b0c]
./src/castty(+0x4ff5) [0x55c9ec40eff5]
./src/castty(+0x5fe9) [0x55c9ec40ffe9]
./src/castty(main+0x520) [0x55c9ec40dcb7]
/usr/lib/libc.so.6(__libc_start_main+0xf1) [0x7fef6314a291]
./src/castty(+0x2b2a) [0x55c9ec40cb2a]
./src/castty(+0x4ff5) is ./src/audio.c:472
If I pause the recording mid-way, and then exit, there is no backtrace (log is clear too).
When exiting castty with audio recording enabled I get a stacktrace following a pulseaudio assertion failure:
./src/castty(+0x4ff5) is ./src/audio.c:472
If I pause the recording mid-way, and then exit, there is no backtrace (log is clear too).
This is on archlinux x86_64 with: