I have an Eclipse Kepler installed and I use it for monthes, with a JDK 7u65 installed. I recently tried to install a JDK 7u67 which failed (don't know why). It is the same when trying to install a JRE 7u67. I then removed the folder of the JDK 7u67.
At startup, Eclipse is telling me the following:
To resolve this, I tried to tweak my eclipse.ini (just added -vm arg and its value):
-vm
/Library/Java/JavaVirtualMachines/jdk1.7.0_65.jdk/Contents/Home/jre/bin/java
-startup
../../../plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
--launcher.library
../../../plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.1.200.v20140116-2212
-product
org.eclipse.epp.package.java.product
--launcher.defaultAction
openFile
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.7
-XstartOnFirstThread
-Dorg.eclipse.swt.internal.carbon.smallFonts
-XX:MaxPermSize=256m
-Xms512m
-Xmx1536m
-Xdock:icon=../Resources/Eclipse.icns
-XstartOnFirstThread
-Dorg.eclipse.swt.internal.carbon.smallFonts
As a result, Eclipse just crashes. Here is an extract of the crashlog.
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 com.apple.CoreFoundation 0x00007fff96474017 CFBundleGetFunctionPointerForName + 39
1 eclipse_1508.so 0x00000001000e283a findSymbol + 66
2 eclipse_1508.so 0x00000001000e09b0 startJavaJNI + 206
3 eclipse_1508.so 0x00000001000dfd6f startJavaVM + 9
4 eclipse_1508.so 0x00000001000de2f9 _run + 4611
5 eclipse_1508.so 0x00000001000dece2 run + 434
6 org.eclipse.platform.ide 0x00000001000018e3 original_main + 1809
7 org.eclipse.platform.ide 0x0000000100001eb5 main + 1230
8 org.eclipse.platform.ide 0x0000000100001090 start + 52
Just to be sure, I tried installing another Eclipse (Luna), but the result is the same. Any idea?
EDIT : Here are some environment variables defined on my machine :
PATH=/opt/local/bin:/opt/local/sbin:/Users/remidoolaeghe/Developper/apache-maven-3.0.4/bin:/Library/glassfish3/glassfish/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin
JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_65.jdk/Contents/Home
Related
I wanted to update Xcode to 12.3, but there wasn't enough space for that on my MacBook, so I downloaded Xcode 12.3 from developer.apple.com, and unarchived the .xip file on an external SSD. After that, I moved Xcode back to the laptop, and now when I want to launch Xcode (so when I launch the app, not a particular project!) it crashes with the following log:
Process: Xcode [616]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 12.3 (17715)
Build Info: IDEFrameworks-17715000000000000~8 (12C33)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Xcode [616]
User ID: 501
Date/Time: 2020-12-18 14:22:40.576 +0200
OS Version: macOS 11.1 (20C69)
Report Version: 12
Bridge OS Version: 5.1 (18P3030)
Anonymous UUID: A6A1D2D4-69BA-5197-5F6F-C0FB4D60ADEB
Time Awake Since Boot: 91 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Application Specific Information:
ProductBuildVersion: 12C33
ASSERTION FAILURE in /Library/Caches/com.apple.xbs/Sources/DVTFrameworks/DVTFrameworks-17718/DVTFoundation/DeveloperStructure/DVTExtendedPlatformInfo.m:110
Details: (extensionPoint) should not be nil.
Object: <DVTExtendedPlatformInfo>
Method: +extendedPlatformInfoForPlatformIdentifier:error:
Thread: <NSThread: 0x7faa6100a380>{number = 1, name = main}
Open FDs: 6/256
Hints:
Backtrace:
0 -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:assertionSignature:messageFormat:arguments:] (in IDEKit)
1 _DVTAssertionHandler (in DVTFoundation)
2 _DVTAssertionFailureHandler (in DVTFoundation)
3 __75+[DVTExtendedPlatformInfo extendedPlatformInfoForPlatformIdentifier:error:]_block_invoke (in DVTFoundation)
4 _dispatch_client_callout (in libdispatch.dylib)
5 _dispatch_once_callout (in libdispatch.dylib)
6 +[DVTExtendedPlatformInfo extendedPlatformInfoForPlatformIdentifier:error:] (in DVTFoundation)
7 -[DVTPlatform(DVTExtendedPlatformInfo) dvt_extendedInfoOrError:] (in DVTFoundation)
8 +[DVTPlatform validatePlatformDataReturningError:] (in DVTFoundation)
9 IDEInitialize (in IDEFoundation)
10 -[IDEApplicationController applicationWillFinishLaunching:] (in IDEKit)
11 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ (in CoreFoundation)
12 ___CFXRegistrationPost_block_invoke (in CoreFoundation)
13 _CFXRegistrationPost (in CoreFoundation)
14 _CFXNotificationPost (in CoreFoundation)
15 -[NSNotificationCenter postNotificationName:object:userInfo:] (in Foundation)
16 -[NSNotificationCenter(DVTNSNotificationCenterAdditions_MRR) _dvt_postNotificationName:object:userInfo:] (in DVTFoundation)
17 -[NSApplication finishLaunching] (in AppKit)
18 -[DVTApplication finishLaunching] (in DVTKit)
19 -[NSApplication run] (in AppKit)
20 NSApplicationMain (in AppKit)
21 start (in libdyld.dylib)
abort() called
Application Specific Signatures:
((extensionPoint)) != nil
I've tried everything I could find online:
restart Mac (in safe mode)
update macOS to Big Sur 11.1
reinstall Xcode Command Line Tools
clear derived data
clear all Xcode associated files (excepting the app itself) using AppCleaner
Do you have any idea on how I can fix this?
By the way, isn't it strange that the file that gives ASSERTION FAILURE doesn't even exist on my computer?
I somehow managed to free up around 40 GB on my MacBook, so I was able to download Xcode from App Store. And it seems like this was a "cleaner" install, stopping Xcode from crashing.
I have been using Eclipse (Oxygen or 4.7) to build an Eclipse RCP App in MacOs Sierra.
When I stop the execution with a breakpoint, IDE is really slow. After moments, it logs following statements to error console.
Have you guys seen this? Any workaround to overcome this?
2017-09-18 15:39:49.814 java[5621:1677726] IMKClient Stall detected, *please Report* your user scenario attaching a spindump (or sysdiagnose) that captures the problem - (imkxpc_presentFunctionRowItemTextInputViewWithEndpoint:reply:) block performed very slowly (19.02 secs).
2017-09-18 15:39:49.817 java[5621:1677726] *** Assertion failure in -[NSRemoteView informAuxServiceOfSelf], /Library/Caches/com.apple.xbs/Sources/ViewBridge/ViewBridge-283/NSRemoteView.m:3207
2017-09-18 15:39:49.827 java[5621:1677726] IMKInputSession presentFunctionRowItemTextInputViewWithEndpoint:completionHandler: : [self textInputContext]=0x7ff8de18e840 *NO* NSRemoteViewController to client, NSError=Error Domain=com.apple.ViewBridge Code=8 "(null)" UserInfo={com.apple.ViewBridge.error.hint=__38-[NSRemoteView _advanceToConfigPhase:]_block_invoke.2466 caught NSInternalInconsistencyException '<NSRemoteView: 0x7ff8ddebe6f0> failed to rendezvous via aux service' with backtrace (
0 CoreFoundation 0x00007fff9ebc92cb __exceptionPreprocess + 171
1 libobjc.A.dylib 0x00007fffb39d448d objc_exception_throw + 48
2 CoreFoundation 0x00007fff9ebce042 +[NSException raise:format:arguments:] + 98
3 Foundation 0x00007fffa0616c80 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 195
4 ViewBridge 0x00007fffb242ab34 -[NSRemoteView informAuxServiceOfSelf] + 345
5 ViewBridge 0x00007fffb242b47e -[NSRemoteView _finishAdvanceToConfigPhaseWithContextID:andServiceViewSize:andOffset:] + 685
I had the same issue, then I have bumped up to 10.13.1 (17B48), MacOS High Sierra. Now the performance is smooth as before. I hope this solves your problem too.
I have just got Xcode 6.3 installed and immediately receiving a Xcode crash while archiving a project.
And actually, I don't know how to proceed. I cannot push my product to iTunes Connect.
I am also checking if I can roll back to Xcode 6.2.
Process: Xcode [4677]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 6.3 (7569)
Build Info: IDEFrameworks-7569000000000000~2
App Item ID: 497799835
App External ID: 812135760
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Xcode [4677]
User ID: 502
Date/Time: 2015-04-09 22:23:04.523 +0200
OS Version: Mac OS X 10.10.3 (14D131)
Report Version: 11
Time Awake Since Boot: 9100 seconds
Time Since Wake: 2000 seconds
Crashed Thread: 12 Dispatch queue: NSOperationQueue 0x7f946daa5ef0 :: NSOperation 0x7f946d9284b0 (QOS: USER_INITIATED)
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
ProductBuildVersion: 6D570
UNCAUGHT EXCEPTION (NSInvalidArgumentException): *** -[NSURL URLByAppendingPathComponent:]: component, components, or pathExtension cannot be nil.
UserInfo: (null)
Hints: None
Backtrace:
0 0x00007fff984e6024 __exceptionPreprocess (in CoreFoundation)
1 0x00000001042e0184 DVTFailureHintExceptionPreprocessor (in DVTFoundation)
2 0x00007fff977aa76e objc_exception_throw (in libobjc.A.dylib)
3 0x00007fff984e5eed +[NSException raise:format:] (in CoreFoundation)
4 0x00007fff8fae581d -[NSURL(NSURLPathUtilities) URLByAppendingPathComponent:] (in Foundation)
5 0x0000000107029a41 -[DVTSourceControlWorkspaceBlueprint saveBlueprintInFolder:options:] (in DVTSourceControl)
6 0x0000000104f6eb61 __96+[IDEArchive _copySCMBlueprintFromWorkspace:toArchiveWithPath:usingFileManager:completionBlock:]_block_invoke (in IDEFoundation)
7 0x0000000107020c24 __77-[DVTSourceControlWorkspace blueprintWithRemoteRepositories:completionBlock:]_block_invoke (in DVTSourceControl)
8 0x00007fff8fb257e8 __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__ (in Foundation)
9 0x00007fff8fb255b5 -[NSBlockOperation main] (in Foundation)
10 0x00007fff8fb24a6c -[__NSOperationInternal _start:] (in Foundation)
11 0x00007fff8fb24543 __NSOQSchedule_f (in Foundation)
12 0x00007fff944f4c13 _dispatch_client_callout (in libdispatch.dylib)
13 0x00007fff944f8365 _dispatch_queue_drain (in libdispatch.dylib)
14 0x00007fff944f9ecc _dispatch_queue_invoke (in libdispatch.dylib)
15 0x00007fff944f76b7 _dispatch_root_queue_drain (in libdispatch.dylib)
16 0x00007fff94505fe4 _dispatch_worker_thread3 (in libdispatch.dylib)
17 0x00007fff99dcd637 _pthread_wqthread (in libsystem_pthread.dylib)
18 0x00007fff99dcb40d start_wqthread (in libsystem_pthread.dylib)
abort() called
Application Specific Signatures:
NSInvalidArgumentException
Application Specific Backtrace 1:
0 CoreFoundation 0x00007fff984e603c __exceptionPreprocess + 172
1 DVTFoundation 0x00000001042e0184 DVTFailureHintExceptionPreprocessor + 194
2 libobjc.A.dylib 0x00007fff977aa76e objc_exception_throw + 43
3 CoreFoundation 0x00007fff984e5eed +[NSException raise:format:] + 205
4 Foundation 0x00007fff8fae581d -[NSURL(NSURLPathUtilities) URLByAppendingPathComponent:] + 84
5 DVTSourceControl 0x0000000107029a41 -[DVTSourceControlWorkspaceBlueprint saveBlueprintInFolder:options:] + 225
6 IDEFoundation 0x0000000104f6eb61 __96+[IDEArchive _copySCMBlueprintFromWorkspace:toArchiveWithPath:usingFileManager:completionBlock:]_block_invoke + 112
7 DVTSourceControl 0x0000000107020c24 __77-[DVTSourceControlWorkspace blueprintWithRemoteRepositories:completionBlock:]_block_invoke + 5293
8 Foundation 0x00007fff8fb257e8 __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__ + 7
9 Foundation 0x00007fff8fb255b5 -[NSBlockOperation main] + 97
10 Foundation 0x00007fff8fb24a6c -[__NSOperationInternal _start:] + 653
11 Foundation 0x00007fff8fb24543 __NSOQSchedule_f + 184
12 libdispatch.dylib 0x00007fff944f4c13 _dispatch_client_callout + 8
13 libdispatch.dylib 0x00007fff944f8365 _dispatch_queue_drain + 1100
14 libdispatch.dylib 0x00007fff944f9ecc _dispatch_queue_invoke + 202
15 libdispatch.dylib 0x00007fff944f76b7 _dispatch_root_queue_drain + 463
16 libdispatch.dylib 0x00007fff94505fe4 _dispatch_worker_thread3 + 91
17 libsystem_pthread.dylib 0x00007fff99dcd637 _pthread_wqthread + 729
18 libsystem_pthread.dylib 0x00007fff99dcb40d start_wqthread + 13
Seems like the problem is when you have an old project with some subprojects under source control while the main one is not.
I have removed from Xcode Preferences source control completely, and it seems did the trick - now archiving works.
To remove your project from Source Control press command+, (or select Preferences from main menu) -> Source Control and uncheck all parameters.
I am following this issue in the developer forums and seems like Apple is aware of the issues.
New projects are not affected.
EDIT FOR NEW VERSION OF XCODE (6.3.1)
After installing new version of Xcode yesterday I have enabled Source Control and it works now correctly. Below is my version now:
Here is a visual that maybe of assistance!
I solved this crashing bug with the following steps:
Remove Xcode.app (throw it in the Trash or remove it via Launchpad)
Restart your Mac
Reinstall Xcode 6.3 via the Mac App Store
Everything is now back to normal.
My XCode project (which contains multiple sub projects) is entirely unstable in XCode 6.3. XCode is crashing at random when I'm working with it - never mind just achieving! I installed 6.2 side-by-side with 6.3 just to have a fallback option (Actually I have like 4 versions of XCode installed!). Here's an SO link to download full prior versions:
How to download Xcode DMG or XIP file?
XCode 9 Swift 4
if the xcode crash during the Archive please first check which Account you are using for Archive is your Apple Agreement is updated for this Apple Account?, then please update and re Archive Problem Solve
Has anyone had problems with Xcode 4.3.3 crashing on OSX Lion (10.7.4)? I am attempting to program a GUI interface and everything was perfect until I opened it to continue working on it today. This file will end up being an expert system for medical diagnosis.
A zip file is located here (http://www.mediafire.com/?14slv9xhb45214t) with all of the program files. Haven't gotten very far besides designing the interface.
I included the crash report below as well.
Process: Xcode [9714]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 4.3.3 (1178)
Build Info: IDEApplication-1178000000000000~3
App Item ID: 497799835
App External ID: 8553856
Code Type: X86-64 (Native)
Parent Process: launchd [273]
Date/Time: 2012-07-05 20:13:12.925 -0400
OS Version: Mac OS X 10.7.4 (11E53)
Report Version: 9
Interval Since Last Report: 197037 sec
Crashes Since Last Report: 12
Per-App Interval Since Last Report: 8746 sec
Per-App Crashes Since Last Report: 10
Anonymous UUID: 7C84D886-82A8-4652-B690-46D441C4DABB
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
ProductBuildVersion: 4E3002
ASSERTION FAILURE in /SourceCache/IDESourceEditor/IDESourceEditor-1175/Classes/IDESourceCodeAdjustNodeTypesRequest.m:412
Details: symLoc should be an instance inheriting from DVTTextDocumentLocation, but it is <IBDocumentMemberLocation: 0x401dc9a40>
Object: <IDESourceCodeAdjustNodeTypesRequest: 0x401f137e0>
Method: -_processFoundSymbolResults:
Thread: <NSThread: 0x40010a220>{name = (null), num = 1}
Hints: None
Backtrace:
0 0x000000010556eb9f -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:messageFormat:arguments:] (in IDEKit)
1 0x0000000104a1f5d5 _DVTAssertionFailureHandler (in DVTFoundation)
2 0x000000010a625908 -[IDESourceCodeAdjustNodeTypesRequest _processFoundSymbolResults:] (in IDESourceEditor)
3 0x0000000104a3ffc7 __DVTAsyncPerformBlock_block_invoke_0 (in DVTFoundation)
4 0x00007fff826cadfc __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ (in CoreFoundation)
5 0x00007fff82682f02 __CFRunLoopDoBlocks (in CoreFoundation)
6 0x00007fff826aab35 __CFRunLoopRun (in CoreFoundation)
7 0x00007fff826aa486 CFRunLoopRunSpecific (in CoreFoundation)
8 0x00007fff8727b4d3 RunCurrentEventLoopInMode (in HIToolbox)
9 0x00007fff87282781 ReceiveNextEventCommon (in HIToolbox)
10 0x00007fff8728260e BlockUntilNextEventMatchingListInMode (in HIToolbox)
11 0x0000000105b64e31 _DPSNextEvent (in AppKit)
12 0x0000000105b64735 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] (in AppKit)
13 0x0000000105b61071 -[NSApplication run] (in AppKit)
14 0x0000000105ddd244 NSApplicationMain (in AppKit)
15 0x000000010499beec (in Xcode)
16 0x0000000000000002
objc[9714]: garbage collection is ON
abort() called
Xcode crashes can be caused by a corrupt project file. This has happened to me a couple of times.
Xcode seems intolerant of any errors, and won't even let you get to version control.
If you are using version control you could try repairing this at the command line.
You might want to recreate your project. You should be able to copy your source files and .XIB into a new project.
Hello recently I reinstalled my mac os x machine I have the following configuration:
1. Mac Os x Snow Leopard 10.6.8
2. Xcode 4.2 (4C199) for snow leopard with sdk 10.6
3. Firebreath project 1.6
4. CMAKE 2.8-8
I have created a plugIn test project,after run the prepmac.sh command everything is built ok. last I open it with XCODE and start the Build process.
after a 10 minutes a Crash error is generated in the process.
A message appears: Internal Error, XCODE encountered an internal logic error.
ASSERTION FAILURE in /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport- 928/Xcode3Sources/XcodeIDE/Frameworks/DevToolsBase/pbxcore/Target.subproj/PBXTarget.m:4146
Details: target 'azTest' has been asked for its build context but it does not belong to a project
Object: <PBXNativeTarget: 0x200f62f00>
Method: -targetBuildContext
Thread: <NSThread: 0x2019f6fa0>{name = (null), num = 25}
Hints: None
Backtrace:
0 0x00000001009e6646 -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:messageFormat:arguments:] (in IDEKit)
1 0x000000010006aaa4 _DVTAssertionFailureHandler (in DVTFoundation)
2 0x0000000116655973 -[PBXTarget targetBuildContext] (in DevToolsCore)
3 0x000000011665908d -[PBXTarget(XCBuildables) buildDidFinishWithBuildLogRecorder:] (in DevToolsCore)
4 0x00000001167e0222 -[Xcode3TargetBuildableSnapshot buildForBuilderDidFinish:] (in DevToolsCore)
5 0x000000010068997a -[IDEBuildableSnapshot performBuildForBuilder:buildCommand:buildOnlyTheseFiles:] (in IDEFoundation)
6 0x00000001005c3753 -[IDEBuilder main] (in IDEFoundation)
7 0x00007fff83a75dd0 -[__NSOperationInternal start] (in Foundation)
8 0x00007fff83b53bd5 ____NSOQSchedule_block_invoke_2 (in Foundation)
9 0x00007fff81d47d64 _dispatch_call_block_and_release (in libSystem.B.dylib)
10 0x00007fff81d262d1 _dispatch_worker_thread2 (in libSystem.B.dylib)
11 0x00007fff81d25c08 _pthread_wqthread (in libSystem.B.dylib)
12 0x00007fff81d25aa5 start_wqthread (in libSystem.B.dylib)
if I choose continue XCODE Finally crash with this detail:
objc[2341]: garbage collection is ON
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSCFArray initWithObjects:count:]: attempt to insert nil object at objects[0]'
*** Call stack at first throw:
(
0 CoreFoundation 0x00007fff8628a784 __exceptionPreprocess + 180
1 libobjc.A.dylib 0x00007fff80bd1f03 objc_exception_throw + 45
2 CoreFoundation 0x00007fff862344d7 -[__NSPlaceholderArray initWithObjects:count:] + 407
3 CoreFoundation 0x00007fff862408e1 +[NSArray arrayWithObject:] + 49
4 DevToolsCore 0x000000011663a72e -[PBXTarget filePathForBuildableProductFileMapForWorkspaceArenaSnapshot:] + 79
5 DevToolsCore 0x000000011664f0b7 -[PBXTarget(XCBuildables) buildDidFinishWithBuildLogRecorder:] + 79
6 DevToolsCore 0x00000001167d6222 -[Xcode3TargetBuildableSnapshot buildForBuilderDidFinish:] + 99
7 IDEFoundation 0x000000010068997a -[IDEBuildableSnapshot performBuildForBuilder:buildCommand:buildOnlyTheseFiles:] + 1397
8 IDEFoundation 0x00000001005c3753 -[IDEBuilder main] + 1136
9 Foundation 0x00007fff83a75dd0 -[__NSOperationInternal start] + 681
10 Foundation 0x00007fff83b53bd5 ____NSOQSchedule_block_invoke_2 + 129
11 libSystem.B.dylib 0x00007fff81d47d64 _dispatch_call_block_and_release + 15
12 libSystem.B.dylib 0x00007fff81d262d1 _dispatch_worker_thread2 + 239
13 libSystem.B.dylib 0x00007fff81d25c08 _pthread_wqthread + 353
14 libSystem.B.dylib 0x00007fff81d25aa5 start_wqthread + 13
)
I can't get that the Building process works fine. So I decided to post here looking for help.
I have to mention that I tested the same project in another machine with MAC OS X Lion and it worked perfect.
This is less of an answer and more of a workaround; XCode 4 seems to use a ridiculously large amount of memory on any project that uses boost which includes FireBreath projects. try building from the command line with:
cmake --build path/to/build/
See if that works.