Your message dated Mon, 19 Dec 2011 20:02:30 +0000
with message-id <[email protected]>
and subject line Bug#630381: fixed in asterisk 1:1.6.2.9-2+squeeze4
has caused the Debian Bug report #630381,
regarding asterisk: sporadic segfault in chan_sip.so since 1.6.2.9-2+squeeze2
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
630381: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=630381
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: asterisk
Version: 1:1.6.2.9-2+squeeze2
Severity: important
Tags: squeeze
hi,
our asterisk process keeps segfaulting since about over month:
[...?]
May 11 03:04:35 asterisk kernel: [ 530982.766458] asterisk[21999]: segfault at
c ip 00000000f6273869 sp 00000000f54fe420 error 4 in chan_sip.so[f620b000+7e000]
[...]
Jun 9 11:55:37 asterisk kernel: [3064066.396045] asterisk[11373]: segfault at
c ip 00000000f6227869 sp 00000000f5402420 error 4 in chan_sip.so[f61bf000+7e000]
Jun 10 06:54:06 asterisk kernel: [3132257.899373] asterisk[17987]: segfault at
c ip 00000000f6213869 sp 00000000f58e7420 error 4 in chan_sip.so[f61ab000+7e000]
Jun 10 06:57:33 asterisk kernel: [3132464.951748] asterisk[18054]: segfault at
c ip 00000000f623a869 sp 00000000f567a420 error 4 in chan_sip.so[f61d2000+7e000]
Jun 10 06:59:56 asterisk kernel: [3132607.369580] asterisk[18116]: segfault at
c ip 00000000f62f0869 sp 00000000f5730420 error 4 in chan_sip.so[f6288000+7e000]
Jun 10 07:00:49 asterisk kernel: [3132660.206272] asterisk[18207]: segfault at
c ip 00000000f622b869 sp 00000000f566b420 error 4 in chan_sip.so[f61c3000+7e000]
Jun 10 07:43:18 asterisk kernel: [3135205.103355] asterisk[18482]: segfault at
c ip 00000000f62bf869 sp 00000000f56ff420 error 4 in chan_sip.so[f6257000+7e000]
Jun 10 07:55:58 asterisk kernel: [3135963.208988] asterisk[18585]: segfault at
c ip 00000000f62d3869 sp 00000000f56d7420 error 4 in chan_sip.so[f626b000+7e000]
Jun 10 07:58:42 asterisk kernel: [ 82.821256] asterisk[ 1168]: segfault at
c ip 00000000f6243869 sp 00000000f5953420 error 4 in chan_sip.so[f61db000+7e000]
Jun 10 08:00:48 asterisk kernel: [ 208.746595] asterisk[ 1293]: segfault at
c ip 00000000f624c869 sp 00000000f595c420 error 4 in chan_sip.so[f61e4000+7e000]
Jun 10 08:25:45 asterisk kernel: [ 1703.199227] asterisk[ 1483]: segfault at
c ip 00000000f6294869 sp 00000000f56d4420 error 4 in chan_sip.so[f622c000+7e000]
Jun 10 08:43:14 asterisk kernel: [ 2750.321637] asterisk[ 1632]: segfault at
c ip 00000000f628c869 sp 00000000f56cc420 error 4 in chan_sip.so[f6224000+7e000]
Jun 10 08:44:50 asterisk kernel: [ 2845.784976] asterisk[ 1687]: segfault at
c ip 00000000f627c869 sp 00000000f5680420 error 4 in chan_sip.so[f6214000+7e000]
Jun 10 08:45:48 asterisk kernel: [ 2903.932739] asterisk[ 1731]: segfault at
c ip 00000000f623f869 sp 00000000f567f420 error 4 in chan_sip.so[f61d7000+7e000]
Jun 13 00:49:25 asterisk kernel: [ 233123.738117] asterisk[29114]: segfault at
c ip 00000000f6261869 sp 00000000f5971420 error 4 in chan_sip.so[f61f9000+7e000]
Jun 13 00:50:43 asterisk kernel: [ 233201.843818] asterisk[29190]: segfault at
c ip 00000000f62f2869 sp 00000000f5732420 error 4 in chan_sip.so[f628a000+7e000]
"instruction-pointer - base-address" is 0x68869 in all lines,
fetching asterisk-dbg and running addr2line:
asterisk:~$ addr2line -f -e /usr/lib/debug/usr/lib/asterisk/modules/chan_sip.so
0x68869
_sip_tcp_helper_thread
/build/buildd-asterisk_1.6.2.9-2+squeeze2-i386-uKYmpc/asterisk-1.6.2.9/channels/chan_sip.c:3200
line 3200 of channels/chan_sip.c was introduced by
debian/patches/AST-2011-005-p2:
[line 3200 is the one starting "+ if (!tcptls_session->client"]
===
@@ -3074,6 +3197,10 @@ static void *_sip_tcp_helper_thread(stru
ast_debug(2, "Shutting down thread for %s server\n",
tcptls_session->ssl ? "SSL" : "TCP");
cleanup:
+ if (!tcptls_session->client && !authenticated) {
+ ast_atomic_fetchadd_int(&unauth_sessions, -1);
+ }
+
if (me) {
ao2_t_unlink(threadt, me, "Removing tcptls helper thread,
thread is closing");
ao2_t_ref(me, -1, "Removing tcp_helper_threads threadinfo ref");
===
tcptls_session is a "struct ast_tcptls_session_instance", and "client"
is its fourth member, matching to segfault address 0x0000000c if
tcptls_session == NULL.
Suspiciously, a bit below in line 3222 there is an extra
"if (tcptls_session) {" test around some code...
cu
Maurice Massar
-- System Information:
Debian Release: 6.0.1
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
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+squeeze2 Configuration files for Asterisk
ii asterisk-sounds-ma 1:1.6.2.9-2+squeeze2 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-1 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 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.7-0squeeze2 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+squeeze2 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:
pn sox <none> (no description available)
Versions of packages asterisk suggests:
pn asterisk-dev <none> (no description available)
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
--- End Message ---
--- Begin Message ---
Source: asterisk
Source-Version: 1:1.6.2.9-2+squeeze4
We believe that the bug you reported is fixed in the latest version of
asterisk, which is due to be installed in the Debian FTP archive:
asterisk-config_1.6.2.9-2+squeeze4_all.deb
to main/a/asterisk/asterisk-config_1.6.2.9-2+squeeze4_all.deb
asterisk-dbg_1.6.2.9-2+squeeze4_amd64.deb
to main/a/asterisk/asterisk-dbg_1.6.2.9-2+squeeze4_amd64.deb
asterisk-dev_1.6.2.9-2+squeeze4_all.deb
to main/a/asterisk/asterisk-dev_1.6.2.9-2+squeeze4_all.deb
asterisk-doc_1.6.2.9-2+squeeze4_all.deb
to main/a/asterisk/asterisk-doc_1.6.2.9-2+squeeze4_all.deb
asterisk-h323_1.6.2.9-2+squeeze4_amd64.deb
to main/a/asterisk/asterisk-h323_1.6.2.9-2+squeeze4_amd64.deb
asterisk-sounds-main_1.6.2.9-2+squeeze4_all.deb
to main/a/asterisk/asterisk-sounds-main_1.6.2.9-2+squeeze4_all.deb
asterisk_1.6.2.9-2+squeeze4.debian.tar.gz
to main/a/asterisk/asterisk_1.6.2.9-2+squeeze4.debian.tar.gz
asterisk_1.6.2.9-2+squeeze4.dsc
to main/a/asterisk/asterisk_1.6.2.9-2+squeeze4.dsc
asterisk_1.6.2.9-2+squeeze4_amd64.deb
to main/a/asterisk/asterisk_1.6.2.9-2+squeeze4_amd64.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Tzafrir Cohen <[email protected]> (supplier of updated asterisk package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Sun, 18 Dec 2011 22:20:47 +0200
Source: asterisk
Binary: asterisk asterisk-h323 asterisk-doc asterisk-dev asterisk-dbg
asterisk-sounds-main asterisk-config
Architecture: source all amd64
Version: 1:1.6.2.9-2+squeeze4
Distribution: stable-security
Urgency: high
Maintainer: Debian VoIP Team <[email protected]>
Changed-By: Tzafrir Cohen <[email protected]>
Description:
asterisk - Open Source Private Branch Exchange (PBX)
asterisk-config - Configuration files for Asterisk
asterisk-dbg - Debugging symbols for Asterisk
asterisk-dev - Development files for Asterisk
asterisk-doc - Source code documentation for Asterisk
asterisk-h323 - H.323 protocol support for Asterisk
asterisk-sounds-main - Core Sound files for Asterisk (English)
Closes: 630381 639821 651552
Changes:
asterisk (1:1.6.2.9-2+squeeze4) stable-security; urgency=high
.
[ Kilian Krause ]
* Fix sporadic segfault in chan_sip.so (Closes: #630381).
.
[ Tzafrir Cohen ]
* Patch fix_bridging_crash: segfault in bridging API (Closes: #639821).
* README.Debian: clarify datadir pathes (regarding #628415).
* Patch AST-2011-014 (CVE-2011-4598) - Remote crash possibility with
SIP and the “automon” feature enabled Closes: #651552.
inapplicable to Lenny).
* Patch AST-2011-013 (CVE-2011-4597) : potential remote information
disclosure.
- The patch changeges the sample sip.conf . We change the sample
config files, but not the files under /etc/asterisk .
Checksums-Sha1:
c5be337343bf1fdfc8537dcace620a506f5b404e 2219 asterisk_1.6.2.9-2+squeeze4.dsc
88f09f46696d76da3182a621f2a0435ab6d31096 92986
asterisk_1.6.2.9-2+squeeze4.debian.tar.gz
1a5f23d762ac55252ce1fb3c2cc5c7be6fb218cb 1704434
asterisk-doc_1.6.2.9-2+squeeze4_all.deb
c0f8b0b083a6bde1bfe58403c9c2d4c14f778be4 635882
asterisk-dev_1.6.2.9-2+squeeze4_all.deb
cc5b431cd1cb8e02545cc2dbef33be9901aec3f1 2187236
asterisk-sounds-main_1.6.2.9-2+squeeze4_all.deb
7e5c42adcdc008acc729abf11cc6695eb1517321 716800
asterisk-config_1.6.2.9-2+squeeze4_all.deb
ce74fb801fa9462b907a6ab1edc65e1264f6165b 3600274
asterisk_1.6.2.9-2+squeeze4_amd64.deb
3cb43aca14d2792fe608baa44222c26cab15dd67 533538
asterisk-h323_1.6.2.9-2+squeeze4_amd64.deb
64df681c09d2b41429a87831bff17496f12a0e90 20323722
asterisk-dbg_1.6.2.9-2+squeeze4_amd64.deb
Checksums-Sha256:
8edc53fc1ae66a12b81de36495f3b2d073ffd29b52d88102d64b05cde03334f2 2219
asterisk_1.6.2.9-2+squeeze4.dsc
108b43cf9ee6ed135b3c3660dad8a3a972ed5520c3f80954841d2b4eef83de7c 92986
asterisk_1.6.2.9-2+squeeze4.debian.tar.gz
49c05e837dce65f31aa367a884924bdcc9ca15b7487536bf7a5fa9d0d0a528d3 1704434
asterisk-doc_1.6.2.9-2+squeeze4_all.deb
38a00056fddc169820cb1326e3ed48dd01f1466eb0115050a412f36e29702058 635882
asterisk-dev_1.6.2.9-2+squeeze4_all.deb
e807ce19cca37f85cf9fabeb6804b2458465bc5cb96cd81427c535e7e4616ae6 2187236
asterisk-sounds-main_1.6.2.9-2+squeeze4_all.deb
c13c563301c26b6c59b2825ec642196d39d67c9a4481cfc7d5dbd343b0632fbd 716800
asterisk-config_1.6.2.9-2+squeeze4_all.deb
32d7a8e2cee32753020dc004631d90406594d48de4ef31b45aae45b89dc434d0 3600274
asterisk_1.6.2.9-2+squeeze4_amd64.deb
a7b765b0480f0580d105f2fa0b858ebd60e4f1260066a7dd2f369f3e1828e227 533538
asterisk-h323_1.6.2.9-2+squeeze4_amd64.deb
0fd3fc457bca9b99cce2269c745f59ddb53832fa0845c8deb90eca86d4ec6cc8 20323722
asterisk-dbg_1.6.2.9-2+squeeze4_amd64.deb
Files:
7d31f0a8254adf13750a1ed3440ddebd 2219 comm optional
asterisk_1.6.2.9-2+squeeze4.dsc
dfda06362d8880bbaab581932edd3f1d 92986 comm optional
asterisk_1.6.2.9-2+squeeze4.debian.tar.gz
10e021696fed0f30ef1fad8b4c835026 1704434 doc extra
asterisk-doc_1.6.2.9-2+squeeze4_all.deb
3145d8355ab47827aecb98460063f89c 635882 devel extra
asterisk-dev_1.6.2.9-2+squeeze4_all.deb
31adf6056c340d91cb12b1a181700308 2187236 comm optional
asterisk-sounds-main_1.6.2.9-2+squeeze4_all.deb
d40fc4a55901e88b07718d3ad49e27a0 716800 comm optional
asterisk-config_1.6.2.9-2+squeeze4_all.deb
847ec58aaaf81f3ecc6cc7e3a0ffed9f 3600274 comm optional
asterisk_1.6.2.9-2+squeeze4_amd64.deb
6bfd8e7564ee69faf143957dc7951728 533538 comm optional
asterisk-h323_1.6.2.9-2+squeeze4_amd64.deb
5f0518d65743311bdd8d0ace474ed559 20323722 debug extra
asterisk-dbg_1.6.2.9-2+squeeze4_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAk7uVm0ACgkQxArWdkN9Mou0TQCgwAInyq1rGo94zXheC/OoQot0
+McAoJPlI8ydF6aI1tgEDaR/55Mipdcj
=TwRa
-----END PGP SIGNATURE-----
--- End Message ---