Bug 529920 - Grid causes JVM crash/app dump on Mac since Mars
Summary: Grid causes JVM crash/app dump on Mac since Mars
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Nebula (show other bugs)
Version: unspecified   Edit
Hardware: Macintosh Mac OS X
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: Svyatoslav Kovalsky CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 537709 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-01-16 18:01 EST by Justin Dolezy CLA
Modified: 2021-07-05 11:41 EDT (History)
7 users (show)

See Also:


Attachments
HotSpot crash log (57.68 KB, application/octet-stream)
2018-01-16 18:01 EST, Justin Dolezy CLA
no flags Details
Mac Crash Report (127.26 KB, text/plain)
2018-01-16 18:02 EST, Justin Dolezy CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Dolezy CLA 2018-01-16 18:01:18 EST
Created attachment 272294 [details]
HotSpot crash log

We've been working on a major new version of our application for a while, and have an issue with the Mac build core dumping on exit.

This new version uses e4 and we've have this problem since Mars; not on Luna or Keppler, curiously, nor on our current e3-based version.

As it occurs on exit it's been hard to track down. Switching perspectives seems to be a guaranteed trigger - we have 3, 2 of which use the Nebula Grid.

We're now pretty sure org.eclipse.nebula.widgets.grid.Grid and its sizingGC field in particular is the cause of the issue and will submit a patch that resolves the issue for us.

I'm attaching the HotSpot crash log, and the Mac Crash Reporter log.
Comment 1 Justin Dolezy CLA 2018-01-16 18:02:02 EST
Created attachment 272295 [details]
Mac Crash Report
Comment 2 Eclipse Genie CLA 2018-01-17 14:43:51 EST
New Gerrit change created: https://git.eclipse.org/r/115568
Comment 3 Wim Jongman CLA 2018-01-17 15:51:32 EST
Moving to SWT for comments. 

org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.1.550.v20170928-1359

All, please see the proposed Gerrit patch for what solves a crash on Mac. Apparently holding on to a GC for many resize calculations makes the application crash on close-down.

You can imagine that we only want to incorporate this patch if it is absolutely needed.
Comment 5 Wim Jongman CLA 2018-01-19 11:21:15 EST
Thanks Svyatoslav! You may set this bug to Resoved/Fixed and later to Resolved/Verified. Great patch.
Comment 6 Lakshmi P Shanmugam CLA 2018-11-22 07:32:13 EST
Moving to Nebula as it was fixed there.
Comment 7 Sai krishna CLA 2019-11-07 02:28:50 EST
*** Bug 537709 has been marked as a duplicate of this bug. ***