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

Bug 522161

Summary: UI freezes in org.eclipse.swt.internal.gtk.OS._g_main_context_iteration when opening new dialogs
Product: [Eclipse Project] Platform Reporter: Jon Burggraaf <burggraaf.j>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: CLOSED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: burggraaf.j, christoph.pohl, ericwill
Version: 4.7Keywords: triaged
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
5 jstacks of similiar freezes on ubuntu and rhel none

Description Jon Burggraaf CLA 2017-09-11 14:10:53 EDT
Created attachment 270157 [details]
5 jstacks of similiar freezes on ubuntu and rhel

using setup:
SWTBot 2.7.0.201707171532 
Eclipse Platform 4.7.0.v20170612-1255
Jenkins 2.46.1

slaves running OS:
Ubuntu 16.04 LTS with java v1.8.0.131-b11
RedHat Enterprise Linux 7.3 with java v1.8.0.141-b16

I started to see this issue on my linux OS's with the switch to Oxygen as our IDE's target platform.

The problem seems to occur when a popup dialog is created.
It isn't consistently happening in the same test cases on every run so it must be some sort of a timing issue.

I have seen these issues on Progress Monitor dialogs, Delete Resource dialogs and the dialog that pops up to save your workspace before quitting.  Along with some QNX Momentics specific dialogs.

I am not seeing the same issue on Win7sp1, Win8, Win10, macOS 10.11 or macOS 10.12 running the same test cases. 

attached 5 jstacks taken during hangs in my test runs
Comment 1 Eric Williams CLA 2018-08-16 11:11:21 EDT
Does the bug still occur with 4.8 or even 4.9 M2?
Comment 2 Eric Williams CLA 2018-08-30 11:56:01 EDT
Closing this as WORKSFORME, please reopen if the issue reproduces with a snippet on 4.9M2/GTK3.22.