call to gtalk ASSERT FAILED
GoogleCodeExporter opened this issue · 3 comments
GoogleCodeExporter commented
What steps will reproduce the problem?
1. run "call.exe" call to gtalk
What is the expected output? What do you see instead?
Error(common.cc:67): c:\src\talk\p2p\base\session.cc(617): ASSERT FAILED:
state() == STATE_INIT || msg.from == remote_name() @
cricket::Session::OnIncomingMessage
What version of the product are you using? On what operating system?
libjingle-0.6.0
Python2.4
scons-2.1.0
linphone-3.4.3
expat-2.0.1
windows xp
vs2008
Please provide any additional information below.
talk_base::Win32Socket::OnDnsNotify: (74.125.71.125, 0)
WSAAsync:connect (80 ms)
SChannelAdapter::OnConnectEvent
XmppLoginTask::Advance - No error
XmppLoginTask::Advance - LOGINSTATE_STREAMSTART_SENT
SEND >>>>>>>>>>>>>>>> : Thu Sep 29 10:42:42 2011
<stream:stream to="gmail.com" xml:lang="*" version="1.0" xmlns:stream="http:/
/etherx.jabber.org/streams" xmlns="jabber:client">
logging in...
RECV <<<<<<<<<<<<<<<< : Thu Sep 29 10:42:42 2011
<stream:stream from="gmail.com" id="355FA1CB023C8D06" version="1.0" xmlns:str
eam="http://etherx.jabber.org/streams" xmlns="jabber:client">
<stream:features>
<starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls">
<required/>
</starttls>
<mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl">
<mechanism>
X-GOOGLE-TOKEN
</mechanism>
<mechanism>
X-OAUTH2
</mechanism>
</mechanisms>
</stream:features>
XmppLoginTask::Advance - LOGINSTATE_STREAMSTART_SENT
XmppLoginTask::Advance - LOGINSTATE_STARTED_XMPP
XmppLoginTask::Advance - LOGINSTATE_TLS_INIT
XmppLoginTask::Advance - LOGINSTATE_TLS_REQUESTED
SEND >>>>>>>>>>>>>>>> : Thu Sep 29 10:42:42 2011
<starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>
RECV <<<<<<<<<<<<<<<< : Thu Sep 29 10:42:42 2011
<proceed xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>
XmppLoginTask::Advance - LOGINSTATE_TLS_REQUESTED
BeginSSL: gmail.com
SChannel cipher strength: 40 - 168
SChannel supported algorithms:
rc4 (26625)
3des (26115)
rc2 (26114)
des (26113)
md5 (32771)
sha1 (32772)
RSA (9216)
ESDH (43522)
InitializeSecurityContext error: SEC_I_CONTINUE_NEEDED
XmppLoginTask::Advance - No error
XmppLoginTask::Advance - LOGINSTATE_STREAMSTART_SENT
SEND >>>>>>>>>>>>>>>> : Thu Sep 29 10:42:42 2011
<stream:stream to="gmail.com" xml:lang="*" version="1.0" xmlns:stream="http:/
/etherx.jabber.org/streams" xmlns="jabber:client">
ContinueSSL
InitializeSecurityContext error: SEC_I_CONTINUE_NEEDED
ContinueSSL
InitializeSecurityContext error: No error
QueryContextAttributes
RECV <<<<<<<<<<<<<<<< : Thu Sep 29 10:42:42 2011
<stream:stream from="gmail.com" id="9B4A68C70A5A13CE" version="1.0" xmlns:str
eam="http://etherx.jabber.org/streams" xmlns="jabber:client">
XmppLoginTask::Advance - LOGINSTATE_STREAMSTART_SENT
RECV <<<<<<<<<<<<<<<< : Thu Sep 29 10:42:42 2011
<stream:features>
<mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl">
<mechanism>
PLAIN
</mechanism>
<mechanism>
X-GOOGLE-TOKEN
</mechanism>
<mechanism>
X-OAUTH2
</mechanism>
</mechanisms>
</stream:features>
XmppLoginTask::Advance - LOGINSTATE_STARTED_XMPP
XmppLoginTask::Advance - LOGINSTATE_AUTH_INIT
XmppLoginTask::Advance - LOGINSTATE_SASL_RUNNING
SEND >>>>>>>>>>>>>>>> : Thu Sep 29 10:42:42 2011
<auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="PLAIN">
## TEXT REMOVED ##
</auth>
RECV <<<<<<<<<<<<<<<< : Thu Sep 29 10:42:43 2011
<success xmlns="urn:ietf:params:xml:ns:xmpp-sasl"/>
XmppLoginTask::Advance - LOGINSTATE_SASL_RUNNING
XmppLoginTask::Advance - No error
XmppLoginTask::Advance - LOGINSTATE_STREAMSTART_SENT
SEND >>>>>>>>>>>>>>>> : Thu Sep 29 10:42:43 2011
<stream:stream to="gmail.com" xml:lang="*" version="1.0" xmlns:stream="http:/
/etherx.jabber.org/streams" xmlns="jabber:client">
RECV <<<<<<<<<<<<<<<< : Thu Sep 29 10:42:43 2011
<stream:stream from="gmail.com" id="EC5B2DF0F167E3AF" version="1.0" xmlns:str
eam="http://etherx.jabber.org/streams" xmlns="jabber:client">
<stream:features>
<bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"/>
<session xmlns="urn:ietf:params:xml:ns:xmpp-session"/>
</stream:features>
XmppLoginTask::Advance - LOGINSTATE_STREAMSTART_SENT
XmppLoginTask::Advance - LOGINSTATE_STARTED_XMPP
XmppLoginTask::Advance - LOGINSTATE_BIND_INIT
XmppLoginTask::Advance - LOGINSTATE_BIND_REQUESTED
SEND >>>>>>>>>>>>>>>> : Thu Sep 29 10:42:43 2011
<iq type="set" id="0">
<bind xmlns="urn:ietf:params:xml:ns:xmpp-bind">
<resource>
call
</resource>
</bind>
</iq>
RECV <<<<<<<<<<<<<<<< : Thu Sep 29 10:42:43 2011
<iq id="0" type="result">
<bind xmlns="urn:ietf:params:xml:ns:xmpp-bind">
<jid>
wang8139@gmail.com/call4BC4C92F
</jid>
</bind>
</iq>
XmppLoginTask::Advance - LOGINSTATE_BIND_REQUESTED
XmppLoginTask::Advance - LOGINSTATE_SESSION_REQUESTED
SEND >>>>>>>>>>>>>>>> : Thu Sep 29 10:42:43 2011
<iq type="set" id="1">
<session xmlns="urn:ietf:params:xml:ns:xmpp-session"/>
</iq>
RECV <<<<<<<<<<<<<<<< : Thu Sep 29 10:42:43 2011
<iq type="result" id="1"/>
XmppLoginTask::Advance - LOGINSTATE_SESSION_REQUESTED
logged in...
SEND >>>>>>>>>>>>>>>> : Thu Sep 29 10:42:43 2011
<presence>
<status/>
<priority>
0
</priority>
<c xmlns="http://jabber.org/protocol/caps" node="http://www.google.com/xmpp
/client/caps" ver="1.0.0.67" ext=" pmuc-v1"/>
<x xmlns="jabber:x:delay" stamp="20110929T02:42:43"/>
</presence>
RECV <<<<<<<<<<<<<<<< : Thu Sep 29 10:42:43 2011
<presence from="JieBinJin@gmail.com/Talk.v105A1F6D173" to="wang8139@gmail.com
/call4BC4C92F">
<priority>
0
</priority>
<c node="http://www.google.com/xmpp/client/caps" ver="1.0.0.105" ext="voice
-v1" xmlns="http://jabber.org/protocol/caps"/>
<x stamp="20110929T02:33:26" xmlns="jabber:x:delay"/>
<status/>
<x xmlns="vcard-temp:x:update">
<photo/>
</x>
</presence>
Adding to roster: jiebinjin@gmail.com/Talk.v105A1F6D173
call jiebinjin@gmail.com
Found online friend 'jiebinjin@gmail.com/Talk.v105A1F6D173'
SEND >>>>>>>>>>>>>>>> : Thu Sep 29 10:43:01 2011
<iq to="jiebinjin@gmail.com/Talk.v105A1F6D173" type="set" id="8">
<jingle xmlns="urn:xmpp:jingle:1" action="session-initiate" sid="3145682020
" initiator="wang8139@gmail.com/call4BC4C92F">
<content name="audio" creator="initiator">
<description xmlns="urn:xmpp:jingle:apps:rtp:1" media="audio" ssrc="427
588361">
<encryption>
<crypto tag="0" crypto-suite="AES_CM_128_HMAC_SHA1_32" key-params="
inline:xZHM4Bw5piMzE4vUInl/1upHlqKBJxqjEK3oxp3r"/>
<crypto tag="1" crypto-suite="AES_CM_128_HMAC_SHA1_80" key-params="
inline:EZVFYukugYp0ejwACrat6gw42F/tqB2WAVD0M0dX"/>
</encryption>
<rtcp-mux/>
</description>
<transport xmlns="http://www.google.com/transport/p2p"/>
</content>
</jingle>
<session xmlns="http://www.google.com/session" type="initiate" id="31456820
20" initiator="wang8139@gmail.com/call4BC4C92F">
<description xmlns="http://www.google.com/session/phone">
<src-id xmlns="http://www.google.com/session/phone">
427588361
</src-id>
<rtp:encryption xmlns:rtp="urn:xmpp:jingle:apps:rtp:1">
<rtp:crypto tag="0" crypto-suite="AES_CM_128_HMAC_SHA1_32" key-params
="inline:xZHM4Bw5piMzE4vUInl/1upHlqKBJxqjEK3oxp3r"/>
<rtp:crypto tag="1" crypto-suite="AES_CM_128_HMAC_SHA1_80" key-params
="inline:EZVFYukugYp0ejwACrat6gw42F/tqB2WAVD0M0dX"/>
<usage/>
</rtp:encryption>
</description>
</session>
</iq>
RECV <<<<<<<<<<<<<<<< : Thu Sep 29 10:43:02 2011
<iq type="result" to="wang8139@gmail.com/call4BC4C92F" id="8" from="JieBinJin
@gmail.com/Talk.v105A1F6D173"/>
RECV <<<<<<<<<<<<<<<< : Thu Sep 29 10:43:02 2011
<iq to="wang8139@gmail.com/call4BC4C92F" type="set" id="108" from="JieBinJin@
gmail.com/Talk.v105A1F6D173">
<session type="candidates" id="3145682020" initiator="wang8139@gmail.com/ca
ll4BC4C92F" xmlns="http://www.google.com/session">
<candidate name="rtp" address="192.168.4.49" port="60996" username="jrv+x
nEjTFcE1Rjs" password="ETRESktJ8/Q9Kbsc" preference="1" protocol="udp" type="loc
al" network="0" generation="0"/>
</session>
</iq>
RECV <<<<<<<<<<<<<<<< : Thu Sep 29 10:43:02 2011
<iq to="wang8139@gmail.com/call4BC4C92F" type="set" id="109" from="JieBinJin@
gmail.com/Talk.v105A1F6D173">
<session type="candidates" id="3145682020" initiator="wang8139@gmail.com/ca
ll4BC4C92F" xmlns="http://www.google.com/session">
<candidate name="rtp" address="183.32.224.227" port="60997" username="W4M
Rx4dqCxuKwA0d" password="DgRRF7WEvAG4B1dO" preference="0.9" protocol="udp" type=
"stun" network="0" generation="0"/>
</session>
</iq>
Error(common.cc:67): c:\src\talk\p2p\base\session.cc(617): ASSERT FAILED: state(
) == STATE_INIT || msg.from == remote_name() @
cricket::Session::OnIncomingMessage
Original issue reported on code.google.com by wang8...@gmail.com
on 29 Sep 2011 at 2:59
GoogleCodeExporter commented
The audio payload type in the session-initiate message is missing.
Original comment by jun...@google.com
on 4 Oct 2011 at 6:54
- Changed state: Done
GoogleCodeExporter commented
I also met this problem. It is strange that only when I call some friends this
problem occurs. For other friends there is no problem. What Jun says may be the
reason, but I still don't know how to solve it.
Original comment by tangketa...@gmail.com
on 21 Nov 2011 at 12:06
GoogleCodeExporter commented
To fix the "payload-type" issue, please refer to
"/talk/session/phone/mediasessionclient.cc" file.
If you still run into this issue after fixed the payload-type issue, please
send me the full xmpp stanza and repro steps (including OS info, calling
direction, etc.)
Original comment by jun...@google.com
on 21 Nov 2011 at 6:18
- Added labels: Type-Other
- Removed labels: Type-Defect