Package: asterisk Version: 1:1.4.21.2~dfsg-1+b1 Severity: important Asterisk seemingly randomly dies and has to be restarted by hand. Sometimes it holds weeks before dying, but some days it dies 5 times the same day.
Today, I caught it dying while stracing it. The exact strace command was: strace -s10240 -e 'trace=!poll,ioctl,gettimeofday,time,nanosleep,rt_sigprocmask,rt_sigaction,stat,futex,clock_gettime' -t -f -o asterisk.strace -p7261 Here is the end of the strace: 8266 19:32:28 brk(0x790000) = 0x790000 8266 19:32:28 brk(0x780000) = 0x780000 8266 19:32:28 sendto(11, "\25\3766\203\1\0\r\0\20 \336\363\344\25\346\355\301'!\340\205\20\231=ac/P[\342v\6\2377u\342o^\356\7\362k"..., 42, 0, {sa_family=AF_INET, sin_port=htons(4520), sin_addr=inet_addr("82.95.233.223")}, 16) = 42 8266 19:32:28 _exit(0) = ? 7283 19:32:28 recvfrom(11, "6\203\25\376\1\1\300\0"..., 8191, 0, {sa_family=AF_INET, sin_port=htons(4520), sin_addr=inet_addr("82.95.233.223")}, [16]) = 8 7269 19:32:29 recvfrom(8, "\0\0\0\0"..., 4095, 0, {sa_family=AF_INET, sin_port=htons(5060), sin_addr=inet_addr("67.55.159.160")}, [16]) = 4 7283 19:32:35 recvfrom(11, "^\v\0\0\0\0\r\0\1\6\0\340\201u\333\253\23\4\36_\206\340\0200\347\221h~\203i\277e\371\226\223Y\242p\335a)7\334I\316\21\354\246E\376h\242s\213\3\24/\253\1\202R\r\3621.\232P\2211\342\10\224"..., 8191, 0, {sa_family=AF_INET, sin_port=htons(4520), sin_addr=inet_addr("88.207.234.220")}, [16]) = 72 7283 19:32:35 lseek(7, 12288, SEEK_SET) = 12288 7283 19:32:35 write(7, "\3\0\0\0\2\0\0\0\0\0\0\0\2\0\0\0002\0\204\10$\17\200\0160\r\214\f\354\vH\v\250\n\4\nd\t\300\10\304\17D\16\204\10\370\r\320\rM\0\0\0\0\0\0\237M\0\0\0\0\0\0\237M\0\0\0\0\0\327\261t\0\0\0\0\0\305^u\0\0\0\0\0k]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\0\0\2\0v\314WFx\273\0\0\0\0\0\0\0\0\301\312s\340\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0Init: [EMAIL PROTECTED]:[EMAIL PROTECTED]:30412;rinstance=b5a7d515f8014b51\0SIP/2.0\0\0Via: SIP/2.0/UDP 193.202.115.224:5060;branch=z9hG4bK278a841a;rport\0\0From: \33\0\0\0\27\0\0\0\0/dundi/dpeers/00E08175DBAB\00088.207.234.220:4520:60\00004\0\0\0d\0\0\0\0/dundi/cache/00E08175DBAB/1017/lemfat/r000000000000\0001220981706|389/0/1/dundi:[EMAIL PROTECTED]/[EMAIL PROTECTED]/00E08175DBAB|\0\0\0\0000\0\0\0d\0\0\0\0/dundi/cache/00E08175DBAB/1017/lemfat/e00000000\0001220981706|389/0/1/dundi:[EMAIL PROTECTED]/[EMAIL PROTECTED]/00E08175DBAB|\0AB|4\0\0\0d\0\0\0\0/dundi/cache/00E08175DBAB/1014/lemfat/r000000000000\0001220981701|389/0/1/dundi:[EMAIL PROTECTED]/[EMAIL PROTECTED]/00E08175DBAB|\0\0\0\0000\0\0\0d\0\0\0\0/dundi/cache/00E08175DBAB/1014/lemfat/e00000000\0001220981701|389/0/1/dundi:[EMAIL PROTECTED]/[EMAIL PROTECTED]/00E08175DBAB|\0AB|4\0\0\0d\0\0\0\0/dundi/cache/00E08175DBAB/1013/lemfat/r000000000000\0001220981696|389/0/1/dundi:[EMAIL PROTECTED]/[EMAIL PROTECTED]/00E08175DBAB|\0\0\0\0000\0\0\0d\0\0\0\0/dundi/cache/00E08175DBAB/1013/lemfat/e00000000\0001220981696|389/0/1/dundi:[EMAIL PROTECTED]/[EMAIL PROTECTED]/00E08175DBAB|\0AB|4\0\0\0d\0\0\0\0/dundi/cache/00E08175DBAB/1012/lemfat/r000000000000\0001220981691|389/0/1/dundi:[EMAIL PROTECTED]/[EMAIL PROTECTED]/00E08175DBAB|\0\0\0\0000\0\0\0d\0\0\0\0/dundi/cache/00E08175DBAB/1012/lemfat/e00000000\0001220981691|389/0/1/dundi:[EMAIL PROTECTED]/[EMAIL PROTECTED]/00E08175DBAB|\0wzn\24\0\0\0\v\0\0\0\0/dundi/secretexpiry\0001220983077\0\16\0\0\0002\0\0\0\0/dundi/secret\0MzU2beXhpke2srxA7v84VA==;Bo0KadzIEVtIAUxlgInqJQ==\0di/\33\0\0\0\27\0\0\0\0/dundi/dpeers/003018B026C9\00062.235.221.196:4520:60\00004\0\0\0d\0\0\0\0/dundi/cache/003018B026C9/1002/lemfat/r000000000000\0001220976290|389/0/1/dundi:[EMAIL PROTECTED]/[EMAIL PROTECTED]/003018B026C9|\0\0\0\0000\0\0\0d\0\0\0\0/dundi/cache/003018B026C9/1002/lemfat/e00000000\0001220976290|389/0/1/dundi:[EMAIL PROTECTED]/[EMAIL PROTECTED]/003018B026C9|\0AB|\33\0\0\0\27\0\0\0\0/dundi/dpeers/00085453811D\00079.179.226.136:4520:60\0r"..., 4096) = 4096 7283 19:32:35 fsync(7) = 0 7283 19:32:35 brk(0x7b0000) = 0x7b0000 7283 19:32:35 brk(0x7a0000) = 0x7a0000 7283 19:32:35 brk(0x790000) = 0x790000 7283 19:32:35 brk(0x780000) = 0x780000 7283 19:32:35 sendto(11, "\0\236^\v\1\0\r\0\20 \"\211\221\n\10\246(\7H\326\232\25a\245ku\252\207\370\353w_\v\354F|\0T\351\343\233\304"..., 42, 0, {sa_family=AF_INET, sin_port=htons(4520), sin_addr=inet_addr("88.207.234.220")}, 16) = 42 7283 19:32:35 recvfrom(11, "^\v\0\236\1\1\300\0"..., 8191, 0, {sa_family=AF_INET, sin_port=htons(4520), sin_addr=inet_addr("88.207.234.220")}, [16]) = 8 7283 19:32:39 sendto(11, "'\231\0\0\0\0\211\0"..., 8, 0, {sa_family=AF_INET, sin_port=htons(4520), sin_addr=inet_addr("88.207.234.220")}, 16) = 8 7283 19:32:39 recvfrom(11, "r['\231\1\0\300\0"..., 8191, 0, {sa_family=AF_INET, sin_port=htons(4520), sin_addr=inet_addr("88.207.234.220")}, [16]) = 8 7269 19:32:41 recvfrom(8, "SIP/2.0 408 Request Timeout\r\nVia: SIP/2.0/UDP 193.202.115.224:5060;branch=z9hG4bK47790fb2;rport=5060\r\nFrom: <sip:[EMAIL PROTECTED]>;tag=as48109f4e\r\nTo: <sip:[EMAIL PROTECTED]>;tag=c16928e0b64c75110ac550bd62be7243-d6d1\r\nCall-ID: [EMAIL PROTECTED]: 118 REGISTER\r\nContact: <sip:[EMAIL PROTECTED]:5060>;expires=600\r\nServer: PSN Sip Proxy (1.1.3 (PRX3-EXTERNAL))\r\nContent-Length: 0\r\nWarning: 392 213.11.62.39:5060 \"Noisy feedback tells: pid=26978 req_src_ip=193.202.115.224 req_src_port=5060 in_uri=sip:sip.phonesystems.net out_uri=sip:sip.phonesystems.net via_cnt==0\"\r\n\r\n"..., 4095, 0, {sa_family=AF_INET, sin_port=htons(5060), sin_addr=inet_addr("213.11.62.39")}, [16]) = 650 7269 19:32:41 --- SIGSEGV (Segmentation fault) @ 0 (0) --- 7261 19:32:41 <... read resumed> 0x7ffffece7e5c, 4) = ? ERESTARTSYS (To be restarted) 7265 19:32:41 <... select resumed> ) = ? ERESTARTNOHAND (To be restarted) 7266 19:32:41 <... select resumed> ) = ? ERESTARTNOHAND (To be restarted) 7267 19:32:41 <... select resumed> ) = ? ERESTARTNOHAND (To be restarted) 7286 19:32:41 <... select resumed> ) = ? ERESTARTNOHAND (To be restarted) 7265 19:32:41 +++ killed by SIGSEGV +++ 7266 19:32:41 +++ killed by SIGSEGV +++ 7267 19:32:41 +++ killed by SIGSEGV +++ 7286 19:32:41 +++ killed by SIGSEGV +++ 7299 19:32:41 +++ killed by SIGSEGV +++ 7263 19:32:41 +++ killed by SIGSEGV +++ 7264 19:32:41 +++ killed by SIGSEGV +++ 7282 19:32:41 +++ killed by SIGSEGV +++ 7272 19:32:41 +++ killed by SIGSEGV +++ 7274 19:32:41 +++ killed by SIGSEGV +++ 7275 19:32:41 +++ killed by SIGSEGV +++ 7276 19:32:41 +++ killed by SIGSEGV +++ 7277 19:32:41 +++ killed by SIGSEGV +++ 7278 19:32:41 +++ killed by SIGSEGV +++ 7279 19:32:41 +++ killed by SIGSEGV +++ 7270 19:32:41 +++ killed by SIGSEGV +++ 7271 19:32:41 +++ killed by SIGSEGV +++ 7273 19:32:41 +++ killed by SIGSEGV +++ 7268 19:32:41 +++ killed by SIGSEGV +++ 7280 19:32:41 +++ killed by SIGSEGV +++ 7284 19:32:41 +++ killed by SIGSEGV +++ 7285 19:32:41 +++ killed by SIGSEGV +++ 7283 19:32:41 +++ killed by SIGSEGV +++ 7281 19:32:41 +++ killed by SIGSEGV +++ 7261 19:32:41 +++ killed by SIGSEGV +++ (If there is something you want me to look for earlier in the strace, just ask.) Here is /var/log/asterisk/messages: [Sep 9 18:23:38] NOTICE[7261] cdr.c: CDR simple logging enabled. [Sep 9 18:23:38] NOTICE[7261] loader.c: 154 modules will be loaded. [Sep 9 18:23:42] NOTICE[7269] chan_sip.c: Peer 'lionel' is now Reachable. (9ms / 2000ms) [Sep 9 18:23:42] WARNING[7269] chan_sip.c: Got 200 OK on REGISTER that isn't a register [Sep 9 18:23:42] WARNING[7261] pbx.c: Unable to register extension '_229X.', priority 1 in 'macro-lcd-xs4all', already in use [Sep 9 18:23:42] WARNING[7261] pbx.c: Unable to register extension '_229X.', priority 1 in 'macro-lcd-xs4all', already in use [Sep 9 18:23:42] WARNING[7261] pbx.c: Unable to register extension '_229X.', priority 1 in 'macro-lcd-xs4all', already in use [Sep 9 18:23:42] WARNING[7261] pbx.c: Unable to register extension '_229X.', priority 1 in 'macro-lcd-xs4all', already in use [Sep 9 18:23:42] WARNING[7261] pbx.c: Unable to register extension '_229X.', priority 1 in 'macro-lcd-xs4all', already in use [Sep 9 18:23:42] WARNING[7261] pbx.c: Unable to register extension '_229X.', priority 1 in 'macro-lcd-xs4all', already in use [Sep 9 18:23:42] WARNING[7261] pbx.c: Unable to register extension '_236X.', priority 1 in 'macro-lcd-xs4all', already in use [Sep 9 18:23:42] WARNING[7261] pbx.c: Unable to register extension '_236X.', priority 1 in 'macro-lcd-xs4all', already in use [Sep 9 18:23:42] WARNING[7261] pbx.c: Unable to register extension '_236X.', priority 1 in 'macro-lcd-xs4all', already in use [Sep 9 18:23:42] WARNING[7261] pbx.c: Unable to register extension '_236X.', priority 1 in 'macro-lcd-xs4all', already in use [Sep 9 18:23:42] NOTICE[7261] pbx_ael.c: Starting AEL load process. [Sep 9 18:23:42] NOTICE[7261] pbx_ael.c: AEL load process: calculated config file name '/etc/asterisk/extensions.ael'. [Sep 9 18:23:42] NOTICE[7261] pbx_ael.c: AEL load process: parsed config file name '/etc/asterisk/extensions.ael'. [Sep 9 18:23:42] NOTICE[7261] pbx_ael.c: AEL load process: checked config file name '/etc/asterisk/extensions.ael'. [Sep 9 18:23:42] NOTICE[7261] pbx_ael.c: AEL load process: compiled config file name '/etc/asterisk/extensions.ael'. [Sep 9 18:23:42] NOTICE[7261] pbx_ael.c: AEL load process: merged config file name '/etc/asterisk/extensions.ael'. [Sep 9 18:23:42] NOTICE[7261] pbx_ael.c: AEL load process: verified config file name '/etc/asterisk/extensions.ael'. [Sep 9 18:23:42] WARNING[7269] chan_sip.c: Got 200 OK on REGISTER that isn't a register [Sep 9 18:33:27] WARNING[7269] chan_sip.c: Got 200 OK on REGISTER that isn't a register [Sep 9 18:33:27] WARNING[7269] chan_sip.c: Got 200 OK on REGISTER that isn't a register [Sep 9 18:43:12] WARNING[7269] chan_sip.c: Got 200 OK on REGISTER that isn't a register [Sep 9 18:43:13] WARNING[7269] chan_sip.c: Got 200 OK on REGISTER that isn't a register [Sep 9 18:52:57] WARNING[7269] chan_sip.c: Got 200 OK on REGISTER that isn't a register [Sep 9 18:52:58] WARNING[7269] chan_sip.c: Got 200 OK on REGISTER that isn't a register [Sep 9 19:03:02] WARNING[7269] chan_sip.c: Forbidden - maybe wrong password on authentication for REGISTER [Sep 9 19:03:02] NOTICE[7269] chan_sip.c: -- Registration for '[EMAIL PROTECTED]' timed out, trying again (Attempt #1) [Sep 9 19:03:10] WARNING[7269] chan_sip.c: Got 200 OK on REGISTER that isn't a register [Sep 9 19:12:40] WARNING[7269] chan_sip.c: Got 200 OK on REGISTER that isn't a register [Sep 9 19:12:55] WARNING[7269] chan_sip.c: Got 200 OK on REGISTER that isn't a register [Sep 9 19:22:25] WARNING[7269] chan_sip.c: Got 200 OK on REGISTER that isn't a register [Sep 9 19:22:41] WARNING[7269] chan_sip.c: Got 200 OK on REGISTER that isn't a register I had done a: core set verbose 99 core set debug 99 on the console, but there doesn't seem to be much effect on the log... -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (300, 'testing'), (200, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.18-6-amd64 (SMP w/2 CPU cores) Locale: LANG=fr_LU.UTF-8, LC_CTYPE=fr_LU.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages asterisk depends on: ii adduser 3.110 add and remove users and groups ii asterisk-config 1:1.4.21.2~dfsg-1 Configuration files for Asterisk ii asterisk-sounds-main 1:1.4.21.2~dfsg-1 Core Sound files for Asterisk (Eng ii libasound2 1.0.16-2 ALSA library ii libc-client2007b 7:2007b~dfsg-3 c-client library for mail protocol ii libc6 2.7-13 GNU C Library: Shared libraries ii libcap1 1:1.10-14 support for getting/setting POSIX. ii libcurl3 7.18.2-5 Multi-protocol file transfer libra ii libgcc1 1:4.3.1-9 GCC support library ii libgsm1 1.0.12-1 Shared libraries for GSM speech co ii libiksemel3 1.2-4 C library for the Jabber IM platfo ii libncurses5 5.6+20080830-1 shared libraries for terminal hand ii libnewt0.52 0.52.2-11.3 Not Erik's Windowing Toolkit - tex ii libogg0 1.1.3-4 Ogg Bitstream Library ii libpopt0 1.14-4 lib for parsing cmdline parameters ii libpq5 8.3.3-1 PostgreSQL C client library ii libpri1.0 1.4.3-2 Primary Rate ISDN specification li ii libradiusclient-ng2 0.5.5-1 Enhanced RADIUS client library ii libsnmp15 5.4.1~dfsg-8.1 SNMP (Simple Network Management Pr 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-4 SQLite shared library ii libssl0.9.8 0.9.8g-13 SSL shared libraries ii libstdc++6 4.3.1-9 The GNU Standard C++ Library v3 ii libtonezone1 1:1.4.11~dfsg-1 tonezone library (runtime) ii libvorbis0a 1.2.0.dfsg-3.1 The Vorbis General Audio Compressi ii libvorbisenc2 1.2.0.dfsg-3.1 The Vorbis General Audio Compressi ii libvpb0 4.2.32-1 Voicetronix telephony hardware use ii unixodbc 2.2.11-16 ODBC tools libraries ii zlib1g 1:1.2.3.3.dfsg-12 compression library - runtime asterisk recommends no packages. 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) pn ekiga <none> (no description available) pn kphone <none> (no description available) pn ohphone <none> (no description available) pn twinkle <none> (no description available) -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]