rainscut / libjingle

Automatically exported from code.google.com/p/libjingle
0 stars 0 forks source link

NSInternalInconsistencyException from call client on mac #400

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Moved from http://code.google.com/p/webrtc/issues/detail?id=892

What steps will reproduce the problem?
1. cd libjingle/talk 
2. hammer.sh
3. cd build/dbg/staging
4. ./call --voiceinput ../../../media/testdata/voice.rtpdump email@gmail.com 
passwd

What is the expected output? What do you see instead?
=======Expected=======
Logging in to talk.google.com as email@gmail.com
OpenSSLAdapter::OnConnectEvent
logging in...
BeginSSL: gmail.com
SSL_connect:before/connect initialization
SSL_connect:SSLv3 write client hello A
SSL_connect:error in SSLv3 read server hello A
SSL_connect:SSLv3 read server hello A
SSL_connect:SSLv3 read server certificate A
SSL_connect:SSLv3 read server done A
SSL_connect:SSLv3 write client key exchange A
SSL_connect:SSLv3 write change cipher spec A
SSL_connect:SSLv3 write finished A
SSL_connect:SSLv3 flush data
SSL_connect:error in SSLv3 read finished A
SSL_connect:SSLv3 read finished A
Certificate from server:
...
========Actual========
Logging in to talk.google.com as email@gmail.com
2012-09-26 11:18:01.575 call[76105:507] *** Assertion failure in 
-[NSApplication run], 
/SourceCache/AppKit/AppKit-1138.47/AppKit.subproj/NSApplication.m:3314
2012-09-26 11:18:01.576 call[76105:507] An uncaught exception was raised
2012-09-26 11:18:01.576 call[76105:507] NSApp with wrong _running count
2012-09-26 11:18:01.579 call[76105:507] (
    0   CoreFoundation                      0x93073a67 __raiseError + 231
    1   libobjc.A.dylib                     0x95fb5149 objc_exception_throw + 155
    2   CoreFoundation                      0x92fdb289 +[NSException raise:format:arguments:] + 137
    3   Foundation                          0x9897f233 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 116
    4   AppKit                              0x9b459a92 -[NSApplication run] + 368
    5   call                                0x000a4f96 _ZN9talk_base20MacCocoaSocketServer4WaitEib + 298
    6   call                                0x000c90e4 _ZN9talk_base12MessageQueue3GetEPNS_7MessageEib + 1252
    7   call                                0x000f5a0f _ZN9talk_base6Thread15ProcessMessagesEi + 127
    8   call                                0x000f5aef _ZN9talk_base6Thread3RunEv + 31
    9   call                                0x00066be7 main + 10983
    10  call                                0x00064045 start + 53
    11  ???                                 0x00000005 0x0 + 5
)
2012-09-26 11:18:01.580 call[76105:507] *** Terminating app due to uncaught 
exception 'NSInternalInconsistencyException', reason: 'NSApp with wrong 
_running count'
*** Call stack at first throw:
(
    0   CoreFoundation                      0x93073a67 __raiseError + 231
    1   libobjc.A.dylib                     0x95fb5149 objc_exception_throw + 155
    2   CoreFoundation                      0x92fdb289 +[NSException raise:format:arguments:] + 137
    3   Foundation                          0x9897f233 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 116
    4   AppKit                              0x9b459a92 -[NSApplication run] + 368
    5   call                                0x000a4f96 _ZN9talk_base20MacCocoaSocketServer4WaitEib + 298
    6   call                                0x000c90e4 _ZN9talk_base12MessageQueue3GetEPNS_7MessageEib + 1252
    7   call                                0x000f5a0f _ZN9talk_base6Thread15ProcessMessagesEi + 127
    8   call                                0x000f5aef _ZN9talk_base6Thread3RunEv + 31
    9   call                                0x00066be7 main + 10983
    10  call                                0x00064045 start + 53
    11  ???                                 0x00000005 0x0 + 5
)
Trace/BPT trap: 5

What version of the product are you using? On what operating system?
Webrtc, but specifically libjingle, on OSX version 10.7.4

Please provide any additional information below.
Seems to only happen when running frequently when supplying a username and 
password from the command line

Original issue reported on code.google.com by ronghuawu@google.com on 27 Sep 2012 at 9:17