Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 527171

Summary: [10.13] Selecting more than a few lines and deleting them causes a hard crash in Mac OS High Sierra
Product: [Eclipse Project] Platform Reporter: Jay Wettlaufer <jaywettlaufer>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: blocker    
Priority: P3 CC: daniel_megert, durgaprasadbabu.n, Ed.Merks, lshanmug, peter
Version: 4.6   
Target Milestone: ---   
Hardware: Macintosh   
OS: Mac OS X   
Whiteboard:
Bug Depends on:    
Bug Blocks: 527287    
Attachments:
Description Flags
Animated GIF screen recording of the bug none

Description Jay Wettlaufer CLA 2017-11-12 19:18:41 EST
Created attachment 271428 [details]
Animated GIF screen recording of the bug

After upgrading to Mac OS High Sierra the IDE now crashes (with no stack trace) after selecting more than a few lines (approximately 10 or more) and deleting them in any way (over-typing, Backspace, Cmd-X, etc.) This is making it extremely difficult to use the IDE and is mission critical. (To downgrade to Mac OS Sierra, I will need to wipe the disk and install from a previous backup taken before the upgrade because of the new Apple file system.)

See attached screen recording for bug verification.

Apparently this is also a bug in Eclipse Oxygen and Mars according to another user on the community forums although I did not verify this.

Also reported on Community Forums here: https://www.eclipse.org/forums/index.php/t/1089382

MacOS High Sierra 10.13.1
Eclipse Neon 4.6.3.M20170301-0400
Java 1.8.0_151

Installed software:
Buildship: Eclipse Plug-ins for Gradle	1.0.21.v20161010-1640	org.eclipse.buildship.feature.group	Eclipse Buildship
Code Recommenders for Java Developers	2.4.6.v20170307-1041	org.eclipse.recommenders.rcp.feature.feature.group	Eclipse Code Recommenders
Code Recommenders Mylyn Integration	2.4.6.v20170307-1041	org.eclipse.recommenders.mylyn.rcp.feature.feature.group	Eclipse Code Recommenders
Code Recommenders Snipmatch	2.4.6.v20170307-1041	org.eclipse.recommenders.snipmatch.rcp.feature.feature.group	Eclipse Code Recommenders
Eclipse Color Theme	1.0.0.201410260308	com.github.eclipsecolortheme.feature.feature.group	GitHub
Eclipse IDE for Java Developers	4.6.3.20170314-1500	epp.package.java	Eclipse Packaging Project
Eclipse Java Development Tools	3.12.3.v20170301-0400	org.eclipse.jdt.feature.group	Eclipse.org
Eclipse Moonrise UI Theme	0.8.9.201404052318	com.github.eclipseuitheme.themes.feature.feature.group	Andrea Guarinoni
Eclipse XML Editors and Tools	3.8.2.v201702270442	org.eclipse.wst.xml_ui.feature.feature.group	Eclipse Web Tools Platform
Git integration for Eclipse	4.6.1.201703071140-r	org.eclipse.egit.feature.group	Eclipse EGit
Git integration for Eclipse - Task focused interface	4.6.1.201703071140-r	org.eclipse.egit.mylyn.feature.group	Eclipse EGit
Java implementation of Git	4.6.1.201703071140-r	org.eclipse.jgit.feature.group	Eclipse JGit
m2e - Maven Integration for Eclipse (includes Incubating components)	1.7.0.20160603-1933	org.eclipse.m2e.feature.feature.group	Eclipse.org - m2e
m2e - slf4j over logback logging (Optional)	1.7.0.20160603-1933	org.eclipse.m2e.logback.feature.feature.group	Eclipse.org - m2e
Mylyn Builds Connector: Hudson/Jenkins	1.13.0.v20160806-1446	org.eclipse.mylyn.hudson.feature.group	Eclipse Mylyn
Mylyn Context Connector: Eclipse IDE	3.21.0.v20160912-1820	org.eclipse.mylyn.ide_feature.feature.group	Eclipse Mylyn
Mylyn Context Connector: Java Development	3.21.0.v20160701-1337	org.eclipse.mylyn.java_feature.feature.group	Eclipse Mylyn
Mylyn Task List	3.21.0.v20160914-0252	org.eclipse.mylyn_feature.feature.group	Eclipse Mylyn
Mylyn Task-Focused Interface	3.21.0.v20160815-2336	org.eclipse.mylyn.context_feature.feature.group	Eclipse Mylyn
Mylyn Tasks Connector: Bugzilla	3.21.0.v20160909-1813	org.eclipse.mylyn.bugzilla_feature.feature.group	Eclipse Mylyn
Mylyn Versions Connector: Git	1.13.0.v20160630-2022	org.eclipse.mylyn.git.feature.group	Eclipse Mylyn
Mylyn WikiText	2.10.1.v20161129-1925	org.eclipse.mylyn.wikitext_feature.feature.group	Eclipse Mylyn
OS X Eclipse Launcher Utility	3.0.0.201509271854	net.resheim.eclipse.launcher.feature.group	Torkild U. Resheim
SpotBugs	3.1.0.r201710241414-11c9895	com.github.spotbugs.plugin.eclipse.feature.group	SpotBugs Project
Comment 1 Jay Wettlaufer CLA 2017-11-15 19:03:42 EST
Relevant main thread stack:

9   com.apple.CoreGraphics        	0x00007fff27bf1795 CGBlt_copyBytes + 357
10  com.apple.CoreGraphics        	0x00007fff27bf2dd7 argb32_image + 4999
11  com.apple.CoreGraphics        	0x00007fff27f5a4e1 ripl_Mark + 22
12  com.apple.CoreGraphics        	0x00007fff27f568f9 RIPLayerBltImage + 1035
13  com.apple.CoreGraphics        	0x00007fff27cc2803 ripc_RenderImage + 228
14  com.apple.CoreGraphics        	0x00007fff27cc3e1e ripc_DrawImage + 847
15  com.apple.CoreGraphics        	0x00007fff27c2da30 CGContextDelegateDrawImage + 41
16  com.apple.AppKit              	0x00007fff24f5d24f __backing_store_DrawImage_block_invoke + 70
17  com.apple.AppKit              	0x00007fff24f59581 backing_store_delegate + 962
18  com.apple.AppKit              	0x00007fff25253746 backing_store_DrawImage.llvm.836797E2 + 514
19  com.apple.CoreGraphics        	0x00007fff27c2da30 CGContextDelegateDrawImage + 41
20  com.apple.AppKit              	0x00007fff252545e0 backing_store_DrawWindowContents.llvm.836797E2 + 1197
21  com.apple.CoreGraphics        	0x00007fff27c36f0c CGContextDelegateDrawWindowContents + 59
22  com.apple.SkyLight            	0x00007fff48f50f94 SLContextCopyWindowContentsToRect + 178
23  com.apple.AppKit              	0x00007fff25134a5b _NSRenderImageFromWindow + 1454
24  com.apple.AppKit              	0x00007fff2513448d _NXScroll + 451
25  com.apple.AppKit              	0x00007fff256e1432 NSCopyBitsFromGraphicsContext + 312
26  com.apple.AppKit              	0x00007fff256e12f4 NSCopyBits + 58
27  libswt-pi-cocoa-4629.jnilib   	0x0000000123b1ddb0 Java_org_eclipse_swt_internal_cocoa_OS_NSCopyBits + 288
Comment 2 Lakshmi P Shanmugam CLA 2017-11-16 00:54:05 EST
This bug looks like a duplicate of Bug 502711 which has been fixed in Eclipse 4.7.
Can you please try with 4.7 and check if the problem is fixed for you?
Comment 3 Lakshmi P Shanmugam CLA 2018-01-29 04:04:31 EST
No response to comment#2. Closing as duplicate of Bug 502711. Please reopen if you still see the problem with Eclipse 4.7.

*** This bug has been marked as a duplicate of bug 502711 ***
Comment 4 Durga Prasad Babu Nasika CLA 2018-06-02 17:33:32 EDT
I just upgraded to oxygen3a instead of using neon3, problem is fixed now.