Community
Participate
Working Groups
During our automated UI tests we are experience crashes regularly on Mac. At the highest level is the CDT build console, but the issue is deep in SWT during a Canvas.scroll(). Here is the relevant stack trace. Let me know if you need more. SWT version 3.105.3.v20170228-0512 Stack: [0x00007fff59017000,0x00007fff59817000], sp=0x00007fff5980f860, free space=8162k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) C [libsystem_platform.dylib+0x2050] _platform_memmove$VARIANT$Nehalem+0x70 C [CoreGraphics+0xb268d] CGBlt_copyBytes+0x173 C [CoreGraphics+0x18c05] argb32_image+0x1345 C [CoreGraphics+0x3feb2a] ripl_Mark+0x17 C [CoreGraphics+0x3fab8b] RIPLayerBltImage+0x49c C [CoreGraphics+0x84163] ripc_RenderImage+0xfa C [CoreGraphics+0x85c22] ripc_DrawImage+0x4fb C [CoreGraphics+0x1020b3] CGContextDelegateDrawImage+0x46 C [AppKit+0x1f544c] __backing_store_DrawImage_block_invoke+0x46 C [AppKit+0x1f0d8b] backing_store_delegate+0x3d8 C [AppKit+0x1f53c4] backing_store_DrawImage+0x1f7 C [CoreGraphics+0x1020b3] CGContextDelegateDrawImage+0x46 C [AppKit+0x4decc9] backing_store_DrawWindowContents+0x47e C [CoreGraphics+0x1022c2] CGContextDelegateDrawWindowContents+0x71 C [SkyLight+0x5f718] SLContextCopyWindowContentsToRect+0xaf C [AppKit+0x3e77f9] _NSRenderImageFromWindow+0x658 C [AppKit+0x3e7181] _NXScroll+0x1f3 C [AppKit+0x926e55] NSCopyBitsFromGraphicsContext+0x138 C [AppKit+0x926d17] NSCopyBits+0x3a C [libswt-pi-cocoa-4629.jnilib+0xbdb0] Java_org_eclipse_swt_internal_cocoa_OS_NSCopyBits+0x120 j org.eclipse.swt.internal.cocoa.OS.NSCopyBits(JLorg/eclipse/swt/internal/cocoa/NSRect;Lorg/eclipse/swt/internal/cocoa/NSPoint;)V+0 j org.eclipse.swt.widgets.Canvas.scroll(IIIIIIZ)V+633 j org.eclipse.swt.custom.StyledText.scroll(IIIIIIZ)V+16 j org.eclipse.swt.custom.StyledText.scrollText(II)V+99 j org.eclipse.swt.custom.StyledText.handleTextChanging(Lorg/eclipse/swt/custom/TextChangingEvent;)V+259 j org.eclipse.swt.custom.StyledText$6.textChanging(Lorg/eclipse/swt/custom/TextChangingEvent;)V+9 j org.eclipse.jface.text.DefaultDocumentAdapter.fireTextChanging()V+296 j org.eclipse.jface.text.DefaultDocumentAdapter.documentAboutToBeChanged(Lorg/eclipse/jface/text/DocumentEvent;)V+79 j org.eclipse.jface.text.AbstractDocument.fireDocumentAboutToBeChanged(Lorg/eclipse/jface/text/DocumentEvent;)V+239 j org.eclipse.jface.text.AbstractDocument.set(Ljava/lang/String;J)V+47 j org.eclipse.jface.text.AbstractDocument.set(Ljava/lang/String;)V+10 j org.eclipse.cdt.internal.ui.buildconsole.BuildConsolePartitioner$1.run()V+224 J 21544 C2 org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Z)Z (363 bytes) @ 0x000000011971c338 [0x000000011971bf00+0x438]
This is from the version 4.6.3 platform.
Happens on both Sierra and High Sierra.
Thanks for reporting. This is already fixed in 4.7 *** This bug has been marked as a duplicate of bug 502711 ***
I was able to reproduce a similar issue in Eclipse Oxygen. When I select multiple lines and hit "delete"key it crashes eclipse: Stack: Stack: [0x00007ffeef400000,0x00007ffeefc00000], sp=0x00007ffeefbf60b0, free space=8152k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) C [libsystem_platform.dylib+0x5091] _platform_memmove$VARIANT$Haswell+0x171 C [CoreGraphics+0x29795] CGBlt_copyBytes+0x165 C [CoreGraphics+0x2add7] argb32_image+0x1387 C [CoreGraphics+0x3924e1] ripl_Mark+0x16 C [CoreGraphics+0x38e8f9] RIPLayerBltImage+0x40b C [CoreGraphics+0xfa803] ripc_RenderImage+0xe4 C [CoreGraphics+0xfbe1e] ripc_DrawImage+0x34f C [CoreGraphics+0x65a30] CGContextDelegateDrawImage+0x29 C [AppKit+0x1d616f] __backing_store_DrawImage_block_invoke+0x46 C [AppKit+0x1d24a1] backing_store_delegate+0x3c2 C [AppKit+0x4cc666] backing_store_DrawImage.llvm.20A1ED98+0x202 C [CoreGraphics+0x65a30] CGContextDelegateDrawImage+0x29 C [AppKit+0x4cd500] backing_store_DrawWindowContents.llvm.20A1ED98+0x4ad C [CoreGraphics+0x6ef0c] CGContextDelegateDrawWindowContents+0x3b C [SkyLight+0x1cf0d8] SLContextCopyWindowContentsToRect+0xb2 C [AppKit+0x3ad97b] _NSRenderImageFromWindow+0x5ae C [AppKit+0x3ad3ad] _NXScroll+0x1c3 C [AppKit+0x95a506] NSCopyBitsFromGraphicsContext+0x138 C [AppKit+0x95a3c8] NSCopyBits+0x3a C [libswt-pi-cocoa-4711.jnilib+0xbdb0] Java_org_eclipse_swt_internal_cocoa_OS_NSCopyBits+0x120 j org.eclipse.swt.internal.cocoa.OS.NSCopyBits(JLorg/eclipse/swt/internal/cocoa/NSRect;Lorg/eclipse/swt/internal/cocoa/NSPoint;)V+0 j org.eclipse.swt.widgets.Canvas.scroll(IIIIIIZ)V+326 j org.eclipse.swt.custom.StyledText.scroll(IIIIIIZ)V+11 j org.eclipse.swt.custom.StyledText.scrollText(II)V+75 j org.eclipse.swt.custom.StyledText.handleTextChanging(Lorg/eclipse/swt/custom/TextChangingEvent;)V+180 j org.eclipse.swt.custom.StyledText$5.textChanging(Lorg/eclipse/swt/custom/TextChangingEvent;)V+5 j org.eclipse.jface.text.DefaultDocumentAdapter.fireTextChanging()V+195 j org.eclipse.jface.text.DefaultDocumentAdapter.documentAboutToBeChanged(Lorg/eclipse/jface/text/DocumentEvent;)V+50 j org.eclipse.jface.text.AbstractDocument.fireDocumentAboutToBeChanged(Lorg/eclipse/jface/text/DocumentEvent;)V+121
(In reply to AMIT SUDHALKAR from comment #4) > I was able to reproduce a similar issue in Eclipse Oxygen. When I select > multiple lines and hit "delete"key it crashes eclipse: See reply in bug 502711