[Home]

Summary:ASTERISK-16934: Asterisk Crash after get many warrring and error on chan_h323.c and RTP
Reporter:Grzegorz (czelusc)Labels:
Date Opened:2010-11-09 06:47:09.000-0600Date Closed:2011-06-07 14:00:35
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Channels/chan_h323
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) btfull
Description:Asterisk 1.6.2.14rc1 (I try lower version 1.6.2.11,1.6.1.6 result the same)
OpenH323_1.19.0.1
pwlib_v1_11_0
codec_g729-ast16-gcc4-glibc-x86_64-core2.so
os/Slackware 13.0, kernel 2.6.29.6

System is Crashed two time per day after get some
chan_h323.c:820 oh323_read: Unable to handle fd 8 on channel H323/ip$XXXXXXXXXX:42332/30424
and WARNING[24329] rtp.c: RTP Read too short
and

Can any help me ???

I was 2 weeks search on google about
chan_h323.c:820 oh323_read: Unable to handle fd 8 on channel
and not find anything what I can use.

last crashed after console have:
[Nov  9 12:56:13] NOTICE[39696] rtp.c: Unknown RTP codec 2 received from '82.129.44.4'
[Nov  9 12:56:13] NOTICE[39696] rtp.c: Unknown RTP codec 2 received from '82.129.44.4'
[Nov  9 12:56:13] NOTICE[39696] rtp.c: Unknown RTP codec 2 received from '82.129.44.4'
[Nov  9 12:56:13] NOTICE[39696] rtp.c: Unknown RTP codec 2 received from '82.129.44.4'
[Nov  9 12:56:14] NOTICE[39696] channel.c: Dropping incompatible voice frame on SIP/condor-00002d5b of format gsm since our native format has changed to 0x100 (g729)
[Nov  9 12:56:14] NOTICE[39696] channel.c: Dropping incompatible voice frame on SIP/condor-00002d5b of format g723 since our native format has changed to 0x100 (g729)
[Nov  9 12:56:14] NOTICE[39696] channel.c: Dropping incompatible voice frame on SIP/condor-00002d5b of format adpcm since our native format has changed to 0x100 (g729)
[Nov  9 12:56:14] NOTICE[39696] channel.c: Dropping incompatible voice frame on SIP/condor-00002d5b of format adpcm since our native format has changed to 0x100 (g729)
[Nov  9 12:56:14] NOTICE[39696] channel.c: Dropping incompatible voice frame on SIP/condor-00002d5b of format lpc10 since our native format has changed to 0x100 (g729)
[Nov  9 12:56:14] NOTICE[39696] rtp.c: Unknown RTP codec 12 received from '82.129.44.4'
[Nov  9 12:56:14] NOTICE[39696] rtp.c: Comfort noise support incomplete in Asterisk (RFC 3389). Please turn off on client if possible. Client IP: 82.129.44.4
[Nov  9 12:56:14] NOTICE[39696] rtp.c: Unknown RTP codec 14 received from '82.129.44.4'
[Nov  9 12:56:14] NOTICE[39696] rtp.c: Unknown RTP codec 15 received from '82.129.44.4'
[Nov  9 12:56:14] NOTICE[39696] channel.c: Dropping incompatible voice frame on SIP/condor-00002d5b of format adpcm since our native format has changed to 0x100 (g729)
[Nov  9 12:56:14] NOTICE[39696] channel.c: Dropping incompatible voice frame on SIP/condor-00002d5b of format adpcm since our native format has changed to 0x100 (g729)
[Nov  9 12:56:14] NOTICE[39696] rtp.c: Unknown RTP codec 20 received from '82.129.44.4'
[Nov  9 12:56:14] NOTICE[39696] rtp.c: Unknown RTP codec 21 received from '82.129.44.4'
[Nov  9 12:56:14] NOTICE[39696] rtp.c: Unknown RTP codec 22 received from '82.129.44.4'
[Nov  9 12:56:14] NOTICE[39696] rtp.c: Unknown RTP codec 23 received from '82.129.44.4'
[Nov  9 12:56:14] NOTICE[39696] rtp.c: Unknown RTP codec 24 received from '82.129.44.4'
[Nov  9 12:56:14] NOTICE[39696] rtp.c: Unknown RTP codec 25 received from '82.129.44.4'
[Nov  9 12:56:14] NOTICE[39696] rtp.c: Unknown RTP codec 27 received from '82.129.44.4'




****** ADDITIONAL INFORMATION ******

dump (compile without copiler optimization and enable debug tree)

#0  0x00007f2fdccc8ec8 in memcpy () from /lib64/libc.so.6
(gdb) bt
#0  0x00007f2fdccc8ec8 in memcpy () from /lib64/libc.so.6
#1  0x00000000004bacf0 in ast_frdup (f=0xd0e198) at frame.c:532
#2  0x0000000000461ff7 in __ast_queue_frame (chan=0xde0eb0, fin=0xd0e198, head=0, after=0x0) at channel.c:1021
#3  0x000000000046256b in ast_queue_frame (chan=0xde0eb0, fin=0xd0e198) at channel.c:1088
#4  0x0000000000467b35 in __ast_read (chan=0xde0eb0, dropaudio=0) at channel.c:2883
ASTERISK-1  0x00000000004695f0 in ast_read (chan=0xde0eb0) at channel.c:3181
ASTERISK-2  0x0000000000470810 in ast_generic_bridge (c0=0x7f2fb2c1b840, c1=0xde0eb0, config=0x7f2fafe860e0, fo=0x7f2fafe85208, rc=0x7f2fafe85200, bridge_end=
     {tv_sec = 0, tv_usec = 0}) at channel.c:5108
ASTERISK-3  0x00000000004729c2 in ast_channel_bridge (c0=0x7f2fb2c1b840, c1=0xde0eb0, config=0x7f2fafe860e0, fo=0x7f2fafe85208, rc=0x7f2fafe85200)
   at channel.c:5512
ASTERISK-4  0x00000000004ab4b0 in ast_bridge_call (chan=0x7f2fb2c1b840, peer=0xde0eb0, config=0x7f2fafe860e0) at features.c:2655
ASTERISK-5  0x00007f2fbff187dc in dial_exec_full (chan=0x7f2fb2c1b840, data=0x7f2fafe888c0, peerflags=0x7f2fafe86660, continue_exec=0x0) at app_dial.c:2269
ASTERISK-6 0x00007f2fbff19144 in dial_exec (chan=0x7f2fb2c1b840, data=0x7f2fafe888c0) at app_dial.c:2353
ASTERISK-7 0x00000000004e9eb7 in pbx_exec (c=0x7f2fb2c1b840, app=0xbcc580, data=0x7f2fafe888c0) at pbx.c:1352
ASTERISK-8 0x00000000004f3999 in pbx_extension_helper (c=0x7f2fb2c1b840, con=0x0, context=0x7f2fb2c1c7a0 "\f", exten=0x7f2fb2c1c7f0 "", priority=1, label=0x0,
   callerid=0x7f2fb2a55500 "200666", action=E_SPAWN, found=0x7f2fafe8afb4, combined_find_spawn=1) at pbx.c:3715
ASTERISK-9 0x00000000004f52a6 in ast_spawn_extension (c=0x7f2fb2c1b840, context=0x7f2fb2c1c7a0 "\f", exten=0x7f2fb2c1c7f0 "", priority=1,
   callerid=0x7f2fb2a55500 "200666", found=0x7f2fafe8afb4, combined_find_spawn=1) at pbx.c:4193
ASTERISK-10 0x00000000004f5a3e in __ast_pbx_run (c=0x7f2fb2c1b840, args=0x0) at pbx.c:4287
ASTERISK-11 0x00000000004f6fe5 in pbx_thread (data=0x7f2fb2c1b840) at pbx.c:4574
ASTERISK-12 0x000000000055a924 in dummy_start (data=0x7f2fb2a559f0) at utils.c:968
ASTERISK-13 0x00007f2fdf5d53a0 in start_thread () from /lib64/libpthread.so.0
ASTERISK-14 0x00007f2fdcd29bdd in clone () from /lib64/libc.so.6
Comments:By: Leif Madsen (lmadsen) 2010-11-18 14:08:11.000-0600

What is codec_g729-ast16-gcc4-glibc-x86_64-core2.so? I don't believe this is the Digium commercial module (at least I don't recognize the name).

Can you reproduce without this codec module loaded?

By: Grzegorz (czelusc) 2010-12-08 08:43:37.000-0600

HI

I use codec from http://asterisk.hosting.lv/ to tests.

But I was resolved problem , I was disable video on h323 and now asterisk not crashed.

I must compile openh323 like this ./configure --disable-ixj --disable-video --disable-h263avcodec

It seems when connection try use video then was crash.

By: Leif Madsen (lmadsen) 2011-04-06 12:17:32

Closed per the reporter.