Bug#639821: asterisk: Asterisk crashes in softmix_bridge_thread()

Eric Sesterhenn eric.sesterhenn at lsexperts.de
Tue Aug 30 15:34:24 UTC 2011


Package: asterisk
Version: 1:1.6.2.9-2+squeeze3
Severity: important
Tags: patch


Using asterisk we see several crashes along with core dumps of the following type:

(gdb) bt full
#0  0x0000000000000061 in ?? ()
No symbol table info available.
#1  0x00007f2bb4cb4497 in softmix_bridge_thread (bridge=<value optimized out>) at bridge_softmix.c:273
        bridge_channel = 0x0
        buf = {-136, 2048, 1440, 216, 1360, 1840, 1792, 1136, -424, 1040, 1728, 8, 424, 280, 104, 1216, -408, -1232, 848, 608, -1264, 
          -2112, -2160, -1648, -1792, -1728, -864, -928, -1168, -312, -136, -1008, -248, 672, 1088, 1008, -536, -752, 1216, 2144, 688, 
          152, 1152, 1488, 1424, 944, 296, 864, 1424, 552, -152, 264, -344, -1520, -704, 248, -1008, -1744, -1008, -768, -672, -608, 
          -1600, -1248, 704, -88, -2160, -1248, 1152, 1872, 104, -928, 928, 1776, 120, -592, 1280, 1968, 40, -104, 1168, 1504, 496, -944, 
          56, 1456, 408, -864, -328, 328, 104, -296, -1808, -1568, -216, -2016, -2464, 8, 520, -608, -1120, -1088, -360, 720, -312, 
          -1152, 720, 512, -248, 624, 560, 1296, 1184, 88, 1008, 1328, -72, 408, 1664, 880, -216, -56, -408, -8, 512, -480, 152, 440, 
          -800, -1248, -1616, -1984, -1824, -704, -232, -456, -656, -1120, -544, -312, -152, 168, -656, 576, 1376, -104, -40, 168, 832, 
          2064, 1216, -152, 1088, 1840, 104, -528, -592, 8, 1648, 1088, 0 <repeats 160 times>}
        timeout = -1
        timer = 0x1fd33d0
        timingfd = 59
#2  0x000000000043dfa3 in bridge_thread (data=<value optimized out>) at bridging.c:370
        bridge = 0x1e7c608
        res = <value optimized out>
        __PRETTY_FUNCTION__ = "bridge_thread"
#3  0x00000000004e47aa in dummy_start (data=<value optimized out>) at utils.c:967
        __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {33371216, -7918344545856162489, 139825478753232, 0, 139826061725760, 3, 
                7803379684191204679, -7918345149280193209}, __mask_was_saved = 0}}, __pad = {0x7f2ba7f61f80, 0x0, 0x7f2bca170a12, 0x0}}
        not_first_call = <value optimized out>
        ret = 0x61
#4  0x00007f2bc96f28ba in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#5  0x00007f2bca12f02d in clone () from /lib/libc.so.6
No symbol table info available.
#6  0x0000000000000000 in ?? ()
No symbol table info available.


A pretty similar issue is reported in https://issues.asterisk.org/jira/browse/ASTERISK-14433?focusedCommentId=153759&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel
where a patch is also included. See http://svnview.digium.com/svn/asterisk/trunk/main/bridging.c?r1=266877&r2=266876&pathrev=266877
The patch is not yet in the debian asterisk, please ask if you require further information.

Thanks and Regards, Eric Sesterhenn


-- System Information:
Debian Release: 6.0.2
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages asterisk depends on:
ii  adduser            3.112+nmu2            add and remove users and groups
ii  asterisk-config    1:1.6.2.9-2+squeeze3  Configuration files for Asterisk
ii  asterisk-sounds-ma 1:1.6.2.9-2+squeeze3  Core Sound files for Asterisk (Eng
ii  dahdi              1:2.2.1.1-1           utilities for using the DAHDI kern
ii  libasound2         1.0.23-2.1            shared library for ALSA applicatio
ii  libc-client2007e   8:2007e~dfsg-3.1      c-client library for mail protocol
ii  libc6              2.11.2-10             Embedded GNU C Library: Shared lib
ii  libcap2            1:2.19-3              support for getting/setting POSIX.
ii  libcurl3           7.21.0-2              Multi-protocol file transfer libra
ii  libgcc1            1:4.4.5-8             GCC support library
ii  libglib2.0-0       2.24.2-1              The GLib library of C routines
ii  libgmime-2.0-2a    2.2.25-2              MIME library
ii  libgsm1            1.0.13-3              Shared libraries for GSM speech co
ii  libiksemel3        1.2-4                 C library for the Jabber IM platfo
ii  libjack-jackd2-0 [ 1.9.6~dfsg.1-2        JACK Audio Connection Kit (librari
ii  libldap-2.4-2      2.4.23-7.2            OpenLDAP libraries
ii  liblua5.1-0        5.1.4-5               Simple, extensible, embeddable pro
ii  libncurses5        5.7+20100313-5        shared libraries for terminal hand
ii  libnewt0.52        0.52.11-1             Not Erik's Windowing Toolkit - tex
ii  libogg0            1.2.0~dfsg-1          Ogg bitstream library
ii  libopenais3        1.1.2-2               Standards-based cluster framework 
ii  libopenr2-3        1.3.0-2               MFC/R2 (telephony) call setup libr
ii  libpopt0           1.16-1                lib for parsing cmdline parameters
ii  libpq5             8.4.8-0squeeze1       PostgreSQL C client library
ii  libpri1.4          1.4.11.3-1            Primary Rate ISDN specification li
ii  libradiusclient-ng 0.5.6-1.1             Enhanced RADIUS client library
ii  libresample1       0.1.3-3               real-time audio resampling library
ii  libsdl1.2debian    1.2.14-6.1            Simple DirectMedia Layer
ii  libsnmp15          5.4.3~dfsg-2          SNMP (Simple Network Management Pr
ii  libspandsp2        0.0.6~pre12-1         Telephony signal processing librar
ii  libspeex1          1.2~rc1-1             The Speex codec runtime library
ii  libspeexdsp1       1.2~rc1-1             The Speex extended runtime library
ii  libsqlite0         2.8.17-6              SQLite shared library
ii  libss7-1           1.0.2-1               Signalling System 7 (ss7) library
ii  libssl0.9.8        0.9.8o-4squeeze1      SSL shared libraries
ii  libstdc++6         4.4.5-8               The GNU Standard C++ Library v3
ii  libsybdb5          0.82-7                libraries for connecting to MS SQL
ii  libtiff4           3.9.4-5+squeeze3      Tag Image File Format (TIFF) libra
ii  libtonezone2.0     1:2.2.1.1-1           tonezone library (runtime)
ii  libvorbis0a        1.3.1-1               The Vorbis General Audio Compressi
ii  libvorbisenc2      1.3.1-1               The Vorbis General Audio Compressi
ii  libvpb0            4.2.52-2              Voicetronix telephony hardware use
ii  libx11-6           2:1.3.3-4             X11 client-side library
ii  libxml2            2.7.8.dfsg-2+squeeze1 GNOME XML library
ii  unixodbc           2.2.14p2-1            ODBC tools libraries
ii  zlib1g             1:1.2.3.4.dfsg-3      compression library - runtime

Versions of packages asterisk recommends:
ii  sox                          14.3.1-1+b1 Swiss army knife of sound processi

Versions of packages asterisk suggests:
ii  asterisk-dev        1:1.6.2.9-2+squeeze3 Development files for Asterisk
pn  asterisk-doc        <none>               (no description available)
pn  asterisk-h323       <none>               (no description available)

-- Configuration Files:
/etc/default/asterisk changed [not included]

-- no debconf information





More information about the Pkg-voip-maintainers mailing list