krzdzi / libjingle

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

Crash on Mac 10.8.2 with "NSApp with wrong _running count" #399

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
After some step I compile libjingle and the call example success,but when I run 
the call example,it produce an exception.
2012-09-23 22:04:01.780 call[60419:303] *** Assertion failure in 
-[NSApplication run], 
/SourceCache/AppKit/AppKit-1187.34/AppKit.subproj/NSApplication.m:3372
2012-09-23 22:04:14.489 call[60419:303] An uncaught exception was raised
2012-09-23 22:04:14.489 call[60419:303] NSApp with wrong _running count
2012-09-23 22:04:14.492 call[60419:303] (
    0   CoreFoundation                      0x99fc812b __raiseError + 219
    1   libobjc.A.dylib                     0x945a852e objc_exception_throw + 230
    2   CoreFoundation                      0x99f27c48 +[NSException raise:format:arguments:] + 136
    3   Foundation                          0x969282e4 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 116
    4   AppKit                              0x9568b511 -[NSApplication run] + 412
    5   call                                0x001984e6 _ZN9talk_base20MacCocoaSocketServer4WaitEib + 298
    6   call                                0x001d4fc2 _ZN9talk_base12MessageQueue3GetEPNS_7MessageEib + 1252
    7   call                                0x0020b577 _ZN9talk_base6Thread15ProcessMessagesEi + 127
    8   call                                0x0020b657 _ZN9talk_base6Thread3RunEv + 31
    9   call                                0x00006ae5 main + 16933
    10  libdyld.dylib                       0x9321b725 start + 0
)
2012-09-23 22:04:14.499 call[60419:303] *** Terminating app due to uncaught 
exception 'NSInternalInconsistencyException', reason: 'NSApp with wrong 
_running count'
*** Call stack at first throw:
(
    0   CoreFoundation                      0x99fc812b __raiseError + 219
    1   libobjc.A.dylib                     0x945a852e objc_exception_throw + 230
    2   CoreFoundation                      0x99f27c48 +[NSException raise:format:arguments:] + 136
    3   Foundation                          0x969282e4 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 116
    4   AppKit                              0x9568b511 -[NSApplication run] + 412
    5   call                                0x001984e6 _ZN9talk_base20MacCocoaSocketServer4WaitEib + 298
    6   call                                0x001d4fc2 _ZN9talk_base12MessageQueue3GetEPNS_7MessageEib + 1252
    7   call                                0x0020b577 _ZN9talk_base6Thread15ProcessMessagesEi + 127
    8   call                                0x0020b657 _ZN9talk_base6Thread3RunEv + 31
    9   call                                0x00006ae5 main + 16933
    10  libdyld.dylib                       0x9321b725 start + 0
)

Original issue reported on code.google.com by ufo...@gmail.com on 23 Sep 2012 at 2:31

GoogleCodeExporter commented 9 years ago
I get the same problem.   Anyone can get the solutions?

the proeblem happen in Mac OSX 10.8.4, and I use both XCode 4.5 or 5 and both 
got the problem

I find out if I use the ip as the server, the problem will not happen; it will 
happen if I use domain name as server.

Original comment by cyru...@surycol.com on 17 Sep 2013 at 11:10