Summary: | ASTERISK-01789: asterisk crash when usecallerid = yes | ||
Reporter: | jimkou (jimkou) | Labels: | |
Date Opened: | 2004-06-09 19:39:33 | Date Closed: | 2004-09-25 02:26:23 |
Priority: | Critical | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | asterisk stable-branch(CVS-05/25/04) ran on slackware 9.0 This server usually goes through about 200 calls per day gdb output: (gdb) bt full #0 fsk_serie (fskd=0x4061f008, buffer=0x89cc000, len=0xbddff5b0, outbyte=0xfffffe3b) at fskmodem.c:34 a = 1075905280 i = 0 j = -1109396048 n1 = -1109396108 r = 0 olen = 144490496 #1 0x080726f8 in callerid_feed (cid=0x4061f008, ubuf=0xbddff93c "IND×OUUTaeioxsokkmmnkkkkjmknooovzzzyyyuoooinnouxmnq}uieeaaaaaacceeiiiiooooyyyy}z}zzzxzz}yyyyyuyuooooooooooooooooooooooououuyyyxyuouvomd__^^adhjz?¯UcDgaasaa_\\^[_", len=1080160264, codec=4) at callerid.c:190 mylen = -452 b = 88 res = 1080160264 x = 160 buf = (short int *) 0x89cbb38 obuf = (short int *) 0x89cbb38 #2 0x403b13c6 in ss_thread (data=0x40548a30) at chan_zap.c:4676 p = (struct zt_pvt *) 0x40505ac8 exten = '\0' <repeats 79 times> exten2 = '\0' <repeats 79 times> buf = "IND×OUUTaeioxsokkmmnkkkkjmknooovzzzyyyuoooinnouxmnq}uieeaaaaaacceeiiiiooooyyyy}z}zzzxzz}yyyyyuyuooooooooooooooooooooooououuyyyxyuouvomd__^^adhjz?¯UcDgaasaa_\\^[_", '\0' <repeats 95 times> cid = '\0' <repeats 255 times> dtmfbuf = '\0' <repeats 299 times> cs = (struct callerid_state *) 0x4061f008 name = 0x0 number = 0x0 distMatches = 0 curRingData = {0, 0, 0} receivedRingT = 0 counter1 = 1079007944 counter = 0 flags = 0 i = 1 timeout = 0 getforward = 0 len = 0 res = 1080160264 #3 0x40025463 in pthread_start_thread () from /lib/libpthread.so.0 No symbol table info available. | ||
Comments: | By: Mark Spencer (markster) 2004-06-09 23:11:25 Please test with -head and not -stable. Also, are there any unusual errors that you see in your logs related to callerid? By: jimkou (jimkou) 2004-06-10 00:36:32 We tried cvs-05-18-04 before, but seems bugs more than stable. like "stuck channel" - to solve this problem only stop asterisk server and start again. and yes, there are unusual messages in /var/log/asterisk/messages : Jun 10 08:05:55 NOTICE[360460]: Got event 2 (Ring/Answered)... Jun 10 08:05:57 ERROR[360460]: fsk_serie made mylen < 0 (-17) Jun 10 08:05:57 WARNING[360460]: CallerID feed failed: Success Jun 10 08:05:57 WARNING[360460]: CallerID returned with error on channel 'Zap/9-1' Jun 10 08:05:57 WARNING[360460]: Ring/Off-hook in strange state 6 on channel 9 By: Brian West (bkw918) 2004-06-10 09:46:49 Ok let me repeat.. cvs update to the latest cvs-head and try again. bkw By: Mark Spencer (markster) 2004-06-10 10:22:59 This problem will not likely be fixed in latest CVS head, but that's where any fix will end up being once I get it fixed. If you have troubles with cvs head other than this, you best get them solved now, because -stable will be end-of-lifed as soon as it is released. By: jimkou (jimkou) 2004-06-10 19:57:32 Ok, I'll try cvs head and feedback. Thanks. :) By: Mark Spencer (markster) 2004-06-12 09:03:56 Any feedback? Is the message the same? By: jimkou (jimkou) 2004-06-15 08:01:51 Sorry for late to feedback. I upgrade asterisk to CVS-HEAD-06/14/04-08:48:06 tonight, when make call I got(CLI Console) : -- Zap/18-1 is ringing -- Zap/18-1 is ringing Jun 15 20:32:43 WARNING[376845]: chan_zap.c:3287 zt_handle_event: Didn't finish Caller-ID spill. Cancelling. -- Zap/18-1 is ringing In /var/log/asterisk/messages : Jun 15 20:32:43 WARNING[376845]: Didn't finish Caller-ID spill. Cancelling. installation: make PROC=pentium4 OPTIMIZE=-O3; make install zapata.conf <snip> zaptel.conf <snip> edited on: 06-16-04 00:58 By: Mark Spencer (markster) 2004-06-15 23:42:43 That's totally irrelevant. That's not even a message from an FXO interface, that's from an FXS interface and has to do with the ring pattern not lining up well with the callerid transmission. By: jimkou (jimkou) 2004-06-16 01:12:15 Hmm... that's didn't happen in -stable. Until now the callerid doesn't work properly... :( By: Mark Spencer (markster) 2004-06-16 21:02:17 I want to focus on received callerid. This other issue is on the FXS side and relates to a custom ring pattern. By: Malcolm Davenport (mdavenport) 2004-06-22 10:59:31 Appears not to happen in -HEAD. Doesn't mean there's not another problem, but we'll save that for a different bug. By: jimkou (jimkou) 2004-07-22 20:36:40 This morning I have noticed about "Asterisk Died", It's similar to this bug. (gdb) bt full #0 fsk_serie (fskd=0x405a0068, buffer=0x8cc1000, len=0xbddff5f0, outbyte=0xbddff5f0) at fskmodem.c:34 a = 1076105984 i = 0 j = 39 n1 = 135004893 r = 147591168 olen = 135082392 #1 0x08079ad0 in callerid_feed (cid=0x405a0068, ubuf=0xbddff93c "眧è·�å—™æ¨�é½–}zsqommiijjjjkmnoqvvzx穰礵嚧齖snmozî‚�臌鳺槫鳵è²�æ¾£éŒ�é—ƒé½�礹?}zxxxxxzx}z}礹籗爦礵麑麑矘??}zzz鵨zvqid_^^__afin訄盥姛è¤fm\\d[_]\\]", len=160, codec=4) at callerid.c:191 mylen = -507 b = 88 res = 2 x = 162 buf = (short int *) 0x8cc0ac8 __PRETTY_FUNCTION__ = "callerid_feed" obuf = (short int *) 0x8cc0ac8 #2 0x403c065d in ss_thread (data=0x8ca7820) at chan_zap.c:5079 p = (struct zt_pvt *) 0x8139a48 exten = '\0' <repeats 79 times> exten2 = '\0' <repeats 79 times> buf = "眧è·�å—™æ¨�é½–}zsqommiijjjjkmnoqvvzx穰礵嚧齖snmozî‚�臌鳺槫鳵è²�æ¾£éŒ�é—ƒé½�礹?}zxxxxxzx}z}礹籗爦礵麑麑矘??}zzz鵨zvqid_^^__afin訄盥姛è¤fm\\d[_]\\]", '\0' <repeats 95 times> cid = '\0' <repeats 255 times> dtmfbuf = '\0' <repeats 299 times> cs = (struct callerid_state *) 0x405a0068 name = 0x0 number = 0x0 distMatches = 0 curRingData = {246, 0, 0} receivedRingT = 1 counter1 = 135502408 counter = 0 flags = 0 i = 1 timeout = 135502408 getforward = 0 len = 0 res = -1109395140 index = 0 __PRETTY_FUNCTION__ = "ss_thread" #3 0x40025463 in pthread_start_thread () from /lib/libpthread.so.0 No symbol table info available. -Asterisk CVS-HEAD-07/21/04-08:14:32 built by root@pbx on a i686 running Linux -Slackware 9.0 on Gigabyte 8EGXR Server Board, P4 2.8GHz, 1GB Ram -T100P*2, CarrierAccess ABI * 2(fxo:9-12,21,23 fxs:1-8,13-20,25-48) cat /proc/interrupts CPU0 0: 212199316 XT-PIC timer 1: 8798 XT-PIC keyboard 2: 0 XT-PIC cascade 3: 2121856505 XT-PIC t1xxp 4: 2121890232 XT-PIC t1xxp 5: 3070136 XT-PIC eth0 12: 1923 XT-PIC PS/2 Mouse 14: 1545094 XT-PIC ide0 15: 0 XT-PIC ide1 NMI: 0 ERR: 0 By: Mark Spencer (markster) 2004-07-22 20:42:07 Okay just committed a fix that should take care of it by making sure we have plenty more information before doing callerid processing. |