Thread 8 "whipd" received signal SIGSEGV, Segmentation fault.
[Switching to LWP 4318]
0x00007ffff62188a7 in read_packet (s=0x7ffff69000c0, rtsp_st=0x7fffa8b93218, first_queue_st=0x0, wait_end=0) at libavformat/rtsp.c:2194
2194 len = pick_stream(s, rtsp_st, rt->recvbuf, len);
(gdb) bt
#0 0x00007ffff62188a7 in read_packet (s=0x7ffff69000c0, rtsp_st=0x7fffa8b93218, first_queue_st=0x0, wait_end=0) at libavformat/rtsp.c:2194
\#1 0x00007ffff6218c69 in ff_rtsp_fetch_packet (s=0x7ffff69000c0, pkt=0x7fffefd39d00) at libavformat/rtsp.c:2270
<a href="/~krystianch/whipd/2" title="~krystianch/whipd#2: Segfault on graceful exit">#2</a> 0x00007ffff6099d14 in ff_read_packet (s=0x7ffff69000c0, pkt=0x7fffefd39d00) at libavformat/demux.c:576
<a href="/~krystianch/whipd/3" title="~krystianch/whipd#3: panic: io: read/write on closed pipe">#3</a> 0x00007ffff609cf9f in read_frame_internal (s=0x7ffff69000c0, pkt=0x7fffefd39d00) at libavformat/demux.c:1264
<a href="/~krystianch/whipd/4" title="~krystianch/whipd#4: panic: Invalid argument">#4</a> 0x00007ffff609df4e in av_read_frame (s=0x7ffff69000c0, pkt=0x7fffefd39d00) at libavformat/demux.c:1473
<a href="/~krystianch/whipd/5" title="~krystianch/whipd#5: Unlink socket before binding">#5</a> 0x0000000000ae924b in _cgo_7cf567199d2f_Cfunc_av_read_frame (v=0xc000169ab8) at /tmp/go-build/cgo-gcc-prolog:136
<a href="/~krystianch/whipd/6" title="~krystianch/whipd#6: fatal error: sync: unlock of unlocked mutex">#6</a> 0x000000000047b804 in runtime.asmcgocall () at /usr/lib/go/src/runtime/asm_amd64.s:918
#7 0x000000c000282700 in ?? ()
#8 0x000000c000282700 in ?? ()
#9 0x0000000000000000 in ?? ()
This occurred on a dirty tree.