Skip to content
This repository has been archived by the owner on Apr 24, 2021. It is now read-only.

Crash when open. Please look. #24

Closed
tranngoclinh88 opened this issue Nov 6, 2014 · 10 comments
Closed

Crash when open. Please look. #24

tranngoclinh88 opened this issue Nov 6, 2014 · 10 comments

Comments

@tranngoclinh88
Copy link

Process: Xcode [3496]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 6.1 (6604)
Build Info: IDEFrameworks-6604000000000000~2
App Item ID: 497799835
App External ID: 752282650
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Xcode [3496]
User ID: 501

Date/Time: 2014-11-06 19:41:59.531 +0700
OS Version: Mac OS X 10.10 (14A389)
Report Version: 11
Anonymous UUID: 71693DE8-8E91-F068-4E53-6C33470DEFFE

Time Awake Since Boot: 1100 seconds

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000

Application Specific Information:
Sending showMessageBox: to <CocoaPodUI: 0x7fc5284e9c50> from <NSMenuItem: 0x7fc52e0a8e80 CocoaPod UI>
ProductBuildVersion: 6A1052d
UNCAUGHT EXCEPTION (NSInternalInconsistencyException): Modal session requires modal window
UserInfo: (null)
Hints:
0: Sending showMessageBox: to <CocoaPodUI: 0x7fc5284e9c50> from <NSMenuItem: 0x7fc52e0a8e80 CocoaPod UI>
Backtrace:
0 0x00007fff8cd08634 __exceptionPreprocess (in CoreFoundation)
1 0x000000010678e2f4 DVTFailureHintExceptionPreprocessor (in DVTFoundation)
2 0x00007fff8a69c6de objc_exception_throw (in libobjc.A.dylib)
3 0x00007fff8cd0842a +[NSException raise:format:arguments:](in CoreFoundation)
4 0x00007fff8e6555b9 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:](in Foundation)
5 0x00007fff883acae7 -[NSApplication _commonBeginModalSessionForWindow:relativeToWindow:modalDelegate:didEndSelector:contextInfo:](in AppKit)
6 0x000000010784d2c3 -[IDEApplication beginSheet:modalForWindow:modalDelegate:didEndSelector:contextInfo:](in IDEKit)
7 0x0000000117a7bb54 -[CocoaPodUI showMessageBox:](in CocoaPodUI)
8 0x00007fff8f1cbcd7 _os_activity_initiate (in libsystem_trace.dylib)
9 0x00007fff882825e7 -[NSApplication sendAction:to:from:](in AppKit)
....

@Galeas
Copy link
Owner

Galeas commented Nov 6, 2014

@tranngoclinh88 Hi! Can you describe in details what caused the error? This bug appears not for the first time, but I can't reproduce it.

@tranngoclinh88
Copy link
Author

@Galeas : I saw new update from you and update plugin by installing from Xcode.
After that when open CocoapodUI, it can't read info from Podfile, nothing's displayed on the left side (No target, no version, no pod ...) (Also happen in my other mac).
I remove plugin and then install again.
Now when I open it, it crash every time and show this crash report.

@Galeas
Copy link
Owner

Galeas commented Nov 6, 2014

Can you quit Xcode, perform in Terminal this command tail -b 5 -f /var/log/system.log then run Xcode again and show me the output, when bug will appear?

@tranngoclinh88
Copy link
Author

Here is the output.

Auto Importer: creating project Pods.xcodeproj for workspace workspace
Nov 6 20:28:18 Linh-Trans-MacBook-Pro.local Xcode[4008]: Auto Importer: creating project MobiusPod.xcodeproj for workspace workspace
Nov 6 20:28:18 Linh-Trans-MacBook-Pro.local Xcode[4008]: Auto Importer: 54 Headers in project MobiusPod.xcodeproj - parse time: 0.152153
Nov 6 20:28:20 Linh-Trans-MacBook-Pro.local Xcode[4008]: Auto Importer: 1302 Headers in project Pods.xcodeproj - parse time: 2.386488
Nov 6 20:28:22 Linh-Trans-MacBook-Pro.local Xcode[4008]: COCOAPODUI::<MainWindowController: 0x7fe8a0233ad0> ~
<IDEWorkspaceWindow: 0x7fe8987c2560>
Nov 6 20:28:22 Linh-Trans-MacBook-Pro.local Xcode[4008]: -[MainWindowController loadWindow]: failed to load window nib file 'MainWindowController'.
Nov 6 20:28:22 Linh-Trans-MacBook-Pro.local Xcode[4008]: * Assertion failure in -[IDEApplication _commonBeginModalSessionForWindow:relativeToWindow:modalDelegate:didEndSelector:contextInfo:], /SourceCache/AppKit/AppKit-1343.14/AppKit.subproj/NSApplication.m:3984
Nov 6 20:28:22 Linh-Trans-MacBook-Pro.local Xcode[4008]: [MT] DVTAssertions: UNCAUGHT EXCEPTION (NSInternalInconsistencyException): Modal session requires modal window
UserInfo: (null)
Hints:
0: Sending showMessageBox: to <CocoaPodUI: 0x7fe8987f9960> from <NSMenuItem: 0x7fe89e258c10 CocoaPod UI>
Nov 6 20:28:22 Linh-Trans-MacBook-Pro.local Xcode[4008]: [MT] DVTAssertions:
Backtrace:
0 0x00007fff8cd08634 _exceptionPreprocess (in CoreFoundation)
1 0x000000010728a2f4 DVTFailureHintExceptionPreprocessor (in DVTFoundation)
2 0x00007fff8a69c6de objc_exception_throw (in libobjc.A.dylib)
3 0x00007fff8cd0842a +[NSException raise:format:arguments:](in CoreFoundation)
4 0x00007fff8e6555b9 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:](in Foundation)
5 0x00007fff883acae7 -[NSApplication commonBeginModalSessionForWindow:relativeToWindow:modalDelegate:didEndSelector:contextInfo:](in AppKit)
6 0x00000001083432c3 -[IDEApplication beginSheet:modalForWindow:modalDelegate:didEndSelector:contextInfo:](in IDEKit)
7 0x000000010ce76b54 -[CocoaPodUI showMessageBox:](in CocoaPodUI)
8 0x00007fff8f1cbcd7 os_activity_initiate (in libsystem_trace.dylib)
9 0x00007fff882825e7 -[NSApplication sendAction:to:from:](in AppKit)
10 0x00000001077f1270 37-[DVTApplication sendAction:to:from:]block_invoke (in DVTKit)
11 0x000000010728a032 DVTInvokeWithFailureHint (in DVTFoundation)
12 0x00000001076bb67e -[DVTApplication sendAction:to:from:](in DVTKit)
13 0x00007fff8829c72a -[NSMenuItem corePerformAction](in AppKit)
14 0x00007fff8829c447 -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:](in AppKit)
15 0x00007fff8f1cbcd7 os_activity_initiate (in libsystem_trace.dylib)
16 0x00007fff882e9ce6 -[NSMenu performActionForItemAtIndex:](in AppKit)
17 0x00007fff882e9c56 -[NSMenu internalPerformActionForItemAtIndex:](in AppKit)
18 0x00007fff882e9aa2 -[NSCarbonMenuImpl carbonCommandProcessEvent:handlerCallRef:](in AppKit)
19 0x00007fff8829203b NSSLMMenuEventHandler (in AppKit)
20 0x00007fff8aacd32c DispatchEventToHandlers(EventTargetRec
, OpaqueEventRef
, HandlerCallRec
) (in HIToolbox)
21 0x00007fff8aacc76e SendEventToEventTargetInternal(OpaqueEventRef
, OpaqueEventTargetRef
, HandlerCallRec
) (in HIToolbox)
22 0x00007fff8aae1286 SendEventToEventTarget (in HIToolbox)
23 0x00007fff8ab16795 SendHICommandEvent(unsigned int, HICommand const
, unsigned int, unsigned int, unsigned char, void const
, OpaqueEventTargetRef
, OpaqueEventTargetRef
, OpaqueEventRef
) (in HIToolbox)
24 0x00007fff8ab49e8d SendMenuCommandWithContextAndModifiers (in HIToolbox)
25 0x00007fff8ab49e34 SendMenuItemSelectedEvent (in HIToolbox)
26 0x00007fff8ab49d06 FinishMenuSelection(SelectionData_, MenuResult_, MenuResult_) (in HIToolbox)
27 0x00007fff8ab518b1 MenuSelectCore(MenuData_, Point, double, unsigned int, OpaqueMenuRef**, unsigned short*) (in HIToolbox)
28 0x00007fff8ab5149e _HandleMenuSelection2 (in HIToolbox)
29 0x00007fff88217e6e _NSHandleCarbonMenuEvent (in AppKit)
30 0x00007fff880b3b90 _DPSNextEvent (in AppKit)
31 0x00007fff880b2fd0 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:](in AppKit)
32 0x00000001077f082d -[DVTApplication nextEventMatchingMask:untilDate:inMode:dequeue:](in DVTKit)
33 0x00007fff880a6f73 -[NSApplication run](in AppKit)
34 0x00007fff88092424 NSApplicationMain (in AppKit)
35 0x00007fff84df65c9 start (in libdyld.dylib)
36 0x0000000000000001
Nov 6 20:28:22 Linh-Trans-MacBook-Pro com.apple.xpc.launchd1: Endpoint has been activated through legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in(): com.apple.ReportCrash
Nov 6 20:28:23 Linh-Trans-MacBook-Pro com.apple.xpc.launchd1: Service exited due to signal: Abort trap: 6
Nov 6 20:28:23 Linh-Trans-MacBook-Pro.local ReportCrash[4044]: Saved crash report for Xcode[4008] version 6.1 (6604) to /Users/TranNgocLinh88/Library/Logs/DiagnosticReports/Xcode_2014-11-06-202823_Linh-Trans-MacBook-Pro.crash
Nov 6 20:28:24 Linh-Trans-MacBook-Pro.local sharingd[674]: 20:28:24.397 : Starting Handoff advertising
Nov 6 20:28:31 Linh-Trans-MacBook-Pro.local sharingd[674]: 20:28:31.637 : Starting Handoff advertising
Nov 6 20:28:35 Linh-Trans-MacBook-Pro.local sharingd[674]: 20:28:35.837 : Starting Handoff advertising

@tranngoclinh88
Copy link
Author

@Galeas Crash does not happen now.
But an other error happen (Also happen in other mac)
The Pod file had been created before but when open CocoapodUI, nothing's displayed.

screen shot 2014-11-06 at 8 46 01 pm

@Galeas
Copy link
Owner

Galeas commented Nov 6, 2014

@tranngoclinh88 Ok, I think I've fix this crash once and for all. Would you attach your Podfile so I can check it?

@tranngoclinh88
Copy link
Author

@Galeas
Copy link
Owner

Galeas commented Nov 6, 2014

Ah, here is the thing. Plug-in (and CocoaPods) awaits that the Podfile will be without extension. Just only "Podfile", not "Podfile.txt" etc.

@tranngoclinh88
Copy link
Author

I understand. Maybe the Podfile had been changed by other program.
@Galeas: One more issue is Xcode is freeze very often when finish installing pods from CocoapodUI.

@Galeas
Copy link
Owner

Galeas commented Nov 6, 2014

Yes, I know about it. This is floating bug too and it doesn't reproduce every time. I'll try to fix it ASAP.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants