[Home]

Summary:ASTERISK-07930: [patch] Crash with chan_gtalk during Echotest application
Reporter:bungalow (bungalow)Labels:
Date Opened:2006-10-15 03:41:28Date Closed:2006-10-23 22:10:28
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Channels/chan_gtalk
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) 20061015__bug8149.diff.txt
Description:Trying to run the Echoteset application is resulting in a crash.
Using the latest 1.4 branch (r45143M) on RHEL4.

Jabber and Gtalk configs are as shown on voip-info.org

Extensions.conf:
[google-in]
exten => s,1,Answer()
exten => s,n,Playback(demo-echotest)
exten => s,n,Echo()
exten => s,n,Playback(demo-echodone)
exten => s,n,Hangup

BT full and BT:

(gdb) bt full
#0  gtalk_write (ast=0xb3a2d4b8, frame=0x0) at chan_gtalk.c:1268
       p = Variable "p" is not available.
(gdb) bt
#0  gtalk_write (ast=0xb3a2d4b8, frame=0x0) at chan_gtalk.c:1268
#1  0x0807f194 in ast_write (chan=0xb3a2d4b8, fr=0xb3a2e284) at channel.c:2614
#2  0x0012ca93 in echo_exec (chan=0xb3a2d4b8, data=0xb35f7030) at app_echo.c:81
#3  0x080c1526 in pbx_extension_helper (c=0xb3a2d4b8, con=Variable "con" is not available.
) at pbx.c:505
#4  0x080c283f in __ast_pbx_run (c=0xb3a2d4b8) at pbx.c:2245
ASTERISK-1  0x080c472e in pbx_thread (data=0xb3a2d4b8) at pbx.c:2556
ASTERISK-2  0x080ef875 in dummy_start (data=0xb3a2d4b8) at utils.c:544
ASTERISK-3  0x0029c371 in start_thread () from /lib/tls/libpthread.so.0
ASTERISK-4  0x001f59be in clone () from /lib/tls/libc.so.6


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

SVN-branch-1.4-r45143M
Comments:By: Tilghman Lesher (tilghman) 2006-10-15 23:48:15

Please test this patch and ensure that it fixes your issue.

By: bungalow (bungalow) 2006-10-16 00:25:24

No more crash -- through I'm suffering another bug: sometimes when calling I hear no audio at all, other times I hear audio through the demo_echotest sound file and into the echotest itself, but then the audio dies off after a dull ringing sound.  Has this already been reported in another bug report?

During the echotest, regardless of whether I hear audio or not, I get the following warning repeatedly:
[Oct 16 05:17:17] WARNING[12072]: chan_gtalk.c:1298 gtalk_write: Can't send 10 type frames with Gtalk write

By: bungalow (bungalow) 2006-10-16 00:32:50

As a follow-up to my last note -- when the audio does come through, it consistently lasts for only about 30 seconds. After the audio shuts off after these 30 seconds, the WARNING message I mentioned above is reported more frequently.

By: Tilghman Lesher (tilghman) 2006-10-16 01:50:57

Frame type 10 is Comfort Noise Generation, which is not something supported in chan_gtalk at this time.  CNG generally means that there is no sound picked up remotely, so the remote system is sending a signal to generate something that doesn't sound like the call is dead.

By: bungalow (bungalow) 2006-10-16 02:13:33

Should I file a new bug report, or is this being left open?  Again, the patch solves the crashing problem.

By: Anthony LaMantia (alamantia) 2006-10-17 14:52:45

I would open a new bug report as this one is going to be closed, mostly to save on confusion... a new report will help see that this problem addressed rather then just skimmed over.

By: Anthony LaMantia (alamantia) 2006-10-17 14:53:42

patch still needs to be commited.

By: Tilghman Lesher (tilghman) 2006-10-17 15:18:24

Why are we resolving bugs without committing them?

By: Serge Vecher (serge-v) 2006-10-23 12:30:04

ok, who is committing the patch here?

By: Tilghman Lesher (tilghman) 2006-10-23 22:10:28

Committed in 46078, merged at 46079.