[asterisk-bugs] [JIRA] Commented: (ASTERISK-20395) CLI Originate to chan_gtalk causes memory corruption crash

Private Name (JIRA) noreply at issues.asterisk.org
Sat Sep 15 18:53:27 CDT 2012


    [ https://issues.asterisk.org/jira/browse/ASTERISK-20395?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=197128#comment-197128 ] 

Private Name commented on ASTERISK-20395:
-----------------------------------------

I asked the volunteer to continue satisfying the requests. But for the record, the dialplan is really simple:
exten =>  s,1,Answer
exten =>  s,n,Set(GROUP()=trunkgroup1)
exten =>  s,n,Verbose(0,${UNIQUEID} ${EXTEN} Calls ${GROUP_COUNT(trunkgroup1)})
exten =>  s,n,MusicOnHold()
exten =>  s,n,Hangup()
I guess you could eliminate every line except one, this would work:"exten =>  s,1,MusicOnHold()"

What I do is this: I have 191 accounts in my jabber.conf, with names [asterisk1], [asterisk2], etc. Then a shell script reads phone numbers from database and goes into a loop from 1 to 191, generating this:

#!/bin/sh
for i in `seq 1 191`;do A=$(mysql -e "call asterisk.getme_line()");
a="channel originate gtalk/asterisk$i/+${A}@voice.google.com extension s at default";
asterisk -rx "$a" &
sleep 1
fi

This process is done in parallel many times, and it crashes in a matter of one to two minutes, all the time.






> CLI Originate to chan_gtalk causes memory corruption crash
> ----------------------------------------------------------
>
>                 Key: ASTERISK-20395
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-20395
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_gtalk
>    Affects Versions: 1.8.15.1
>         Environment: centos 6.3
>            Reporter: Private Name
>            Assignee: Private Name
>         Attachments: crash-10.txt, crash-1.txt, crash-2.txt, crash-3.txt, crash-4.txt, crash-5.txt, Untitled 5.txt, valgrind.txt
>
>
> It crashes every few minutes. I am uploading the trace.
> I originate calls from the cli with originate and then if answered it gets dropped on a context with music-on-hold. No more logic to it.
> It uses jabber and gtalk

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list