Skip to content

Instantly share code, notes, and snippets.

@jungle-boogie
Created January 30, 2018 21:22
Show Gist options
  • Save jungle-boogie/c13049f8b5d8dfc2b2cdff1847f3ecf6 to your computer and use it in GitHub Desktop.
Save jungle-boogie/c13049f8b5d8dfc2b2cdff1847f3ecf6 to your computer and use it in GitHub Desktop.
baresip coredump
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "amd64-unknown-openbsd6.2"...
Core was generated by `baresip'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libpthread.so.25.1...done.
Loaded symbols for /usr/lib/libpthread.so.25.1
Loaded symbols for /home/sean/bin/baresipdir/baresip/baresip
Reading symbols from /usr/local/lib/libre.so...done.
Loaded symbols for /usr/local/lib/libre.so
Reading symbols from /usr/lib/libssl.so.44.1...done.
Loaded symbols for /usr/lib/libssl.so.44.1
Reading symbols from /usr/lib/libcrypto.so.42.0...done.
Loaded symbols for /usr/lib/libcrypto.so.42.0
Reading symbols from /usr/lib/libz.so.5.0...done.
Loaded symbols for /usr/lib/libz.so.5.0
Symbols already loaded for /usr/lib/libpthread.so.25.1
Reading symbols from /usr/lib/libsndio.so.7.0...done.
Loaded symbols for /usr/lib/libsndio.so.7.0
Reading symbols from /usr/local/lib/libavcodec.so.22.2...done.
Loaded symbols for /usr/local/lib/libavcodec.so.22.2
Reading symbols from /usr/local/lib/libavutil.so.12.4...done.
Loaded symbols for /usr/local/lib/libavutil.so.12.4
Reading symbols from /usr/local/lib/libx264.so.18.0...done.
Loaded symbols for /usr/local/lib/libx264.so.18.0
Reading symbols from /usr/local/lib/libavdevice.so.10.0...done.
Loaded symbols for /usr/local/lib/libavdevice.so.10.0
Reading symbols from /usr/local/lib/libavformat.so.19.4...done.
Loaded symbols for /usr/local/lib/libavformat.so.19.4
Reading symbols from /usr/local/lib/libavahi-common.so.0.1...done.
Loaded symbols for /usr/local/lib/libavahi-common.so.0.1
Reading symbols from /usr/local/lib/libavahi-client.so.0.1...done.
Loaded symbols for /usr/local/lib/libavahi-client.so.0.1
Reading symbols from /usr/local/lib/libcairo.so.12.3...done.
Loaded symbols for /usr/local/lib/libcairo.so.12.3
Reading symbols from /usr/local/lib/libmpg123.so.6.2...done.
Loaded symbols for /usr/local/lib/libmpg123.so.6.2
Reading symbols from /usr/local/lib/libspandsp.so.7.0...done.
Loaded symbols for /usr/local/lib/libspandsp.so.7.0
Reading symbols from /usr/local/lib/libgsm.so.1.0...done.
Loaded symbols for /usr/local/lib/libgsm.so.1.0
Reading symbols from /usr/local/lib/libgstreamer-1.0.so.3.3...done.
Loaded symbols for /usr/local/lib/libgstreamer-1.0.so.3.3
Reading symbols from /usr/local/lib/libgobject-2.0.so.4200.6...done.
Loaded symbols for /usr/local/lib/libgobject-2.0.so.4200.6
Reading symbols from /usr/local/lib/libglib-2.0.so.4200.6...done.
Loaded symbols for /usr/local/lib/libglib-2.0.so.4200.6
Reading symbols from /usr/local/lib/libintl.so.6.0...done.
Loaded symbols for /usr/local/lib/libintl.so.6.0
Reading symbols from /usr/local/lib/libgstapp-1.0.so.3.3...done.
Loaded symbols for /usr/local/lib/libgstapp-1.0.so.3.3
Reading symbols from /usr/local/lib/libgstbase-1.0.so.3.3...done.
Loaded symbols for /usr/local/lib/libgstbase-1.0.so.3.3
Reading symbols from /usr/local/lib/libgtk-x11-2.0.so.2400.0...done.
Loaded symbols for /usr/local/lib/libgtk-x11-2.0.so.2400.0
Reading symbols from /usr/local/lib/libgdk-x11-2.0.so.2400.0...done.
Loaded symbols for /usr/local/lib/libgdk-x11-2.0.so.2400.0
Reading symbols from /usr/local/lib/libpangocairo-1.0.so.3800.1...done.
Loaded symbols for /usr/local/lib/libpangocairo-1.0.so.3800.1
Reading symbols from /usr/X11R6/lib/libXrender.so.6.0...done.
Loaded symbols for /usr/X11R6/lib/libXrender.so.6.0
Reading symbols from /usr/X11R6/lib/libXinerama.so.6.0...done.
Loaded symbols for /usr/X11R6/lib/libXinerama.so.6.0
Reading symbols from /usr/X11R6/lib/libXi.so.12.1...done.
Loaded symbols for /usr/X11R6/lib/libXi.so.12.1
Reading symbols from /usr/X11R6/lib/libXrandr.so.7.1...done.
Loaded symbols for /usr/X11R6/lib/libXrandr.so.7.1
Reading symbols from /usr/X11R6/lib/libXcursor.so.5.0...done.
Loaded symbols for /usr/X11R6/lib/libXcursor.so.5.0
Reading symbols from /usr/X11R6/lib/libXcomposite.so.4.0...done.
Loaded symbols for /usr/X11R6/lib/libXcomposite.so.4.0
Reading symbols from /usr/X11R6/lib/libXdamage.so.4.0...done.
Loaded symbols for /usr/X11R6/lib/libXdamage.so.4.0
Reading symbols from /usr/X11R6/lib/libXfixes.so.6.0...done.
Loaded symbols for /usr/X11R6/lib/libXfixes.so.6.0
Reading symbols from /usr/X11R6/lib/libX11.so.16.1...done.
Loaded symbols for /usr/X11R6/lib/libX11.so.16.1
Reading symbols from /usr/X11R6/lib/libXext.so.13.0...done.
Loaded symbols for /usr/X11R6/lib/libXext.so.13.0
Reading symbols from /usr/local/lib/libatk-1.0.so.21809.2...done.
Loaded symbols for /usr/local/lib/libatk-1.0.so.21809.2
Reading symbols from /usr/local/lib/libgdk_pixbuf-2.0.so.3200.1...done.
Loaded symbols for /usr/local/lib/libgdk_pixbuf-2.0.so.3200.1
Reading symbols from /usr/local/lib/libgio-2.0.so.4200.6...done.
Loaded symbols for /usr/local/lib/libgio-2.0.so.4200.6
Reading symbols from /usr/local/lib/libpangoft2-1.0.so.3800.1...done.
Loaded symbols for /usr/local/lib/libpangoft2-1.0.so.3800.1
Reading symbols from /usr/local/lib/libpango-1.0.so.3800.1...done.
Loaded symbols for /usr/local/lib/libpango-1.0.so.3800.1
Reading symbols from /usr/X11R6/lib/libfontconfig.so.11.0...done.
Loaded symbols for /usr/X11R6/lib/libfontconfig.so.11.0
Reading symbols from /usr/X11R6/lib/libfreetype.so.28.2...done.
Loaded symbols for /usr/X11R6/lib/libfreetype.so.28.2
Reading symbols from /usr/local/lib/libx265.so.13.0...done.
Loaded symbols for /usr/local/lib/libx265.so.13.0
Reading symbols from /usr/local/lib/libopus.so.1.1...done.
Loaded symbols for /usr/local/lib/libopus.so.1.1
Reading symbols from /usr/lib/libm.so.10.0...done.
Loaded symbols for /usr/lib/libm.so.10.0
Reading symbols from /usr/lib/libossaudio.so.4.0...done.
Loaded symbols for /usr/lib/libossaudio.so.4.0
Reading symbols from /usr/local/lib/libpulse-simple.so.1.0...done.
Loaded symbols for /usr/local/lib/libpulse-simple.so.1.0
Reading symbols from /usr/local/lib/libpulse.so.6.2...done.
Loaded symbols for /usr/local/lib/libpulse.so.6.2
Reading symbols from /usr/local/lib/libSDL.so.8.0...done.
Loaded symbols for /usr/local/lib/libSDL.so.8.0
Reading symbols from /usr/local/lib/libSDL2.so.0.4...done.
Loaded symbols for /usr/local/lib/libSDL2.so.0.4
Reading symbols from /usr/local/lib/libsndfile.so.5.0...done.
Loaded symbols for /usr/local/lib/libsndfile.so.5.0
Reading symbols from /usr/local/lib/libspeex.so.8.0...done.
Loaded symbols for /usr/local/lib/libspeex.so.8.0
Reading symbols from /usr/local/lib/libspeexdsp.so.1.0...done.
Loaded symbols for /usr/local/lib/libspeexdsp.so.1.0
Reading symbols from /usr/local/lib/libv4l2.so.0.0...done.
Loaded symbols for /usr/local/lib/libv4l2.so.0.0
Reading symbols from /usr/local/lib/libvpx.so.8.0...done.
Loaded symbols for /usr/local/lib/libvpx.so.8.0
Reading symbols from /usr/local/lib/librem.so...done.
Loaded symbols for /usr/local/lib/librem.so
Reading symbols from /usr/lib/libc.so.92.3...done.
Loaded symbols for /usr/lib/libc.so.92.3
Reading symbols from /usr/local/lib/libswresample.so.1.2...done.
Loaded symbols for /usr/local/lib/libswresample.so.1.2
Reading symbols from /usr/local/lib/libmp3lame.so.2.1...done.
Loaded symbols for /usr/local/lib/libmp3lame.so.2.1
Reading symbols from /usr/local/lib/libvorbis.so.9.0...done.
Loaded symbols for /usr/local/lib/libvorbis.so.9.0
Reading symbols from /usr/local/lib/libvorbisenc.so.3.1...done.
Loaded symbols for /usr/local/lib/libvorbisenc.so.3.1
Reading symbols from /usr/local/lib/libxvidcore.so.4.4...done.
Loaded symbols for /usr/local/lib/libxvidcore.so.4.4
Reading symbols from /usr/local/lib/libavfilter.so.7.3...done.
Loaded symbols for /usr/local/lib/libavfilter.so.7.3
Reading symbols from /usr/X11R6/lib/libXv.so.6.0...done.
Loaded symbols for /usr/X11R6/lib/libXv.so.6.0
Reading symbols from /usr/X11R6/lib/libxcb-shape.so.1.1...done.
Loaded symbols for /usr/X11R6/lib/libxcb-shape.so.1.1
Reading symbols from /usr/X11R6/lib/libxcb-shm.so.1.1...done.
Loaded symbols for /usr/X11R6/lib/libxcb-shm.so.1.1
Reading symbols from /usr/X11R6/lib/libxcb-xfixes.so.1.2...done.
Loaded symbols for /usr/X11R6/lib/libxcb-xfixes.so.1.2
Reading symbols from /usr/X11R6/lib/libxcb.so.4.0...done.
Loaded symbols for /usr/X11R6/lib/libxcb.so.4.0
Reading symbols from /usr/local/lib/libbz2.so.10.4...done.
Loaded symbols for /usr/local/lib/libbz2.so.10.4
Reading symbols from /usr/local/lib/libiconv.so.6.0...done.
Loaded symbols for /usr/local/lib/libiconv.so.6.0
Reading symbols from /usr/local/lib/libdbus-1.so.11.2...done.
Loaded symbols for /usr/local/lib/libdbus-1.so.11.2
Reading symbols from /usr/X11R6/lib/libpixman-1.so.32.6...done.
Loaded symbols for /usr/X11R6/lib/libpixman-1.so.32.6
Reading symbols from /usr/lib/libexpat.so.12.0...done.
Loaded symbols for /usr/lib/libexpat.so.12.0
Reading symbols from /usr/local/lib/libpng.so.17.5...done.
Loaded symbols for /usr/local/lib/libpng.so.17.5
Reading symbols from /usr/X11R6/lib/libXau.so.10.0...done.
Loaded symbols for /usr/X11R6/lib/libXau.so.10.0
Reading symbols from /usr/X11R6/lib/libXdmcp.so.11.0...done.
Loaded symbols for /usr/X11R6/lib/libXdmcp.so.11.0
Reading symbols from /usr/X11R6/lib/libxcb-render.so.1.1...done.
Loaded symbols for /usr/X11R6/lib/libxcb-render.so.1.1
Reading symbols from /usr/local/lib/libjpeg.so.68.1...done.
Loaded symbols for /usr/local/lib/libjpeg.so.68.1
Reading symbols from /usr/local/lib/libtiff.so.40.2...done.
Loaded symbols for /usr/local/lib/libtiff.so.40.2
Reading symbols from /usr/local/lib/libpcre.so.3.0...done.
Loaded symbols for /usr/local/lib/libpcre.so.3.0
Reading symbols from /usr/local/lib/libffi.so.1.2...done.
Loaded symbols for /usr/local/lib/libffi.so.1.2
Reading symbols from /usr/local/lib/libgmodule-2.0.so.4200.6...done.
Loaded symbols for /usr/local/lib/libgmodule-2.0.so.4200.6
Reading symbols from /usr/local/lib/libgthread-2.0.so.4200.6...done.
Loaded symbols for /usr/local/lib/libgthread-2.0.so.4200.6
Reading symbols from /usr/local/lib/libharfbuzz.so.9.4...done.
Loaded symbols for /usr/local/lib/libharfbuzz.so.9.4
Reading symbols from /usr/local/lib/libgraphite2.so.1.2...done.
Loaded symbols for /usr/local/lib/libgraphite2.so.1.2
Reading symbols from /usr/lib/libc++.so.1.0...done.
Loaded symbols for /usr/lib/libc++.so.1.0
Reading symbols from /usr/lib/libc++abi.so.0.0...done.
Loaded symbols for /usr/lib/libc++abi.so.0.0
Reading symbols from /usr/local/lib/pulseaudio/libpulsecommon-11.1.so...done.
Loaded symbols for /usr/local/lib/pulseaudio/libpulsecommon-11.1.so
Reading symbols from /usr/X11R6/lib/libX11-xcb.so.2.0...done.
Loaded symbols for /usr/X11R6/lib/libX11-xcb.so.2.0
Reading symbols from /usr/X11R6/lib/libSM.so.9.0...done.
Loaded symbols for /usr/X11R6/lib/libSM.so.9.0
Reading symbols from /usr/X11R6/lib/libICE.so.10.0...done.
Loaded symbols for /usr/X11R6/lib/libICE.so.10.0
Reading symbols from /usr/X11R6/lib/libXtst.so.11.0...done.
Loaded symbols for /usr/X11R6/lib/libXtst.so.11.0
Reading symbols from /usr/local/lib/libFLAC.so.10.0...done.
Loaded symbols for /usr/local/lib/libFLAC.so.10.0
Reading symbols from /usr/local/lib/libogg.so.6.2...done.
Loaded symbols for /usr/local/lib/libogg.so.6.2
Reading symbols from /usr/local/lib/libexecinfo.so.2.0...done.
Loaded symbols for /usr/local/lib/libexecinfo.so.2.0
Reading symbols from /usr/lib/libusbhid.so.7.0...done.
Loaded symbols for /usr/lib/libusbhid.so.7.0
Reading symbols from /usr/local/lib/libsamplerate.so.2.1...done.
Loaded symbols for /usr/local/lib/libsamplerate.so.2.1
Reading symbols from /usr/local/lib/libv4lconvert.so.0.0...done.
Loaded symbols for /usr/local/lib/libv4lconvert.so.0.0
Reading symbols from /usr/local/lib/libavresample.so.1.0...done.
Loaded symbols for /usr/local/lib/libavresample.so.1.0
Reading symbols from /usr/local/lib/libpostproc.so.16.1...done.
Loaded symbols for /usr/local/lib/libpostproc.so.16.1
Reading symbols from /usr/local/lib/libswscale.so.6.1...done.
Loaded symbols for /usr/local/lib/libswscale.so.6.1
Reading symbols from /usr/local/lib/libass.so.3.0...done.
Loaded symbols for /usr/local/lib/libass.so.3.0
Reading symbols from /usr/local/lib/libfribidi.so.2.0...done.
Loaded symbols for /usr/local/lib/libfribidi.so.2.0
Reading symbols from /usr/libexec/ld.so...done.
Loaded symbols for /usr/libexec/ld.so
#0 0x00000712d7d1a10d in vec_circular_dot_prodi16 () from /usr/local/lib/libspandsp.so.7.0
(gdb) bt
#0 0x00000712d7d1a10d in vec_circular_dot_prodi16 () from /usr/local/lib/libspandsp.so.7.0
#1 0x00000712d7cc3edf in g722_encode () from /usr/local/lib/libspandsp.so.7.0
#2 0x0000070ffd53e82b in encode (st=0x7125d60d740, buf=0x71258acc050 "", len=0x7128fd796d8, sampv=0x712ea5c5040, sampc=320) at modules/g722/g722.c:132
#3 0x0000070ffd505e45 in encode_rtp_send (a=0x712f438b680, tx=0x712f438b688, sampv=0x712ea5c5040, sampc=320) at src/audio.c:454
#4 0x0000070ffd50645d in poll_aubuf_tx (a=0x712f438b680) at src/audio.c:600
#5 0x0000070ffd5067af in ausrc_read_handler (sampv=0x7127817d040, sampc=320, arg=0x712f438b680) at src/audio.c:704
#6 0x0000070ffd522bc5 in read_thread (arg=0x71230ac70c0) at modules/sndio/sndio.c:82
#7 0x00000712298dc80e in _rthread_start (v=Variable "v" is not available.
) at /usr/src/lib/librthread/rthread.c:96
#8 0x000007127ea77fab in __tfork_thread () at /usr/src/lib/libc/arch/amd64/sys/tfork_thread.S:75
#9 0x0000000000000000 in ?? ()
@jungle-boogie
Copy link
Author

(gdb) bt full
#0 0x00000712d7d1a10d in vec_circular_dot_prodi16 () from /usr/local/lib/libspandsp.so.7.0
No symbol table info available.
#1 0x00000712d7cc3edf in g722_encode () from /usr/local/lib/libspandsp.so.7.0
No symbol table info available.
#2 0x0000070ffd53e82b in encode (st=0x7125d60d740, buf=0x71258acc050 "", len=0x7128fd796d8, sampv=0x712ea5c5040, sampc=320) at modules/g722/g722.c:132
n = -1073750009
#3 0x0000070ffd505e45 in encode_rtp_send (a=0x712f438b680, tx=0x712f438b688, sampv=0x712ea5c5040, sampc=320) at src/audio.c:454
frame_size = 7776304076640
sampc_rtp = 7776304076560
len = 4096
ext_len = 0
err = 1810
#4 0x0000070ffd50645d in poll_aubuf_tx (a=0x712f438b680) at src/audio.c:600
tx = (struct autx *) 0x712f438b688
sampv = (int16_t *) 0x712ea5c5040
sampc = 320
sz = 2
num_bytes = 640
le = (struct le *) 0x0
err = 0
#5 0x0000070ffd5067af in ausrc_read_handler (sampv=0x7127817d040, sampc=320, arg=0x712f438b680) at src/audio.c:704
i = 0
a = (struct audio *) 0x712f438b680
tx = (struct autx *) 0x712f438b688
num_bytes = 640
#6 0x0000070ffd522bc5 in read_thread (arg=0x71230ac70c0) at modules/sndio/sndio.c:82
n = 640
st = (struct ausrc_st *) 0x71230ac70c0
#7 0x00000712298dc80e in _rthread_start (v=Variable "v" is not available.
) at /usr/src/lib/librthread/rthread.c:96
thread = Variable "thread" is not available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment