Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 438755 - MPC wizard freezes on open under Linux/GTK/Cinnamon (Fedora 19)
Summary: MPC wizard freezes on open under Linux/GTK/Cinnamon (Fedora 19)
Status: RESOLVED FIXED
Alias: None
Product: MPC
Classification: Technology
Component: wizard (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 1.3.2   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-02 12:24 EDT by Carsten Reckord CLA
Modified: 2015-01-22 04:53 EST (History)
1 user (show)

See Also:


Attachments
Deadlock Stack Dump (28.42 KB, text/plain)
2014-07-02 12:25 EDT, Carsten Reckord CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Carsten Reckord CLA 2014-07-02 12:24:25 EDT
From bug 436295 comment 6:

Opened Eclipse Market Place and it hangs

The Marketplace dialog opens and the progress bar runs across and then disappears like it is going to show a new progress indication and then nothing happens.

This stack trace is made with jstack without the -l, please let me know if you would like the stack trace created differently.
Comment 1 Carsten Reckord CLA 2014-07-02 12:25:18 EDT
Created attachment 244743 [details]
Deadlock Stack Dump
Comment 2 Carsten Reckord CLA 2014-07-02 12:29:54 EDT
The stack trace looks like the main thread freezes when bringing up AWT. It might help to make the call on a different thread, but I doubt that - at least it wouldn't lock up the main UI thread then. 

We've had reports about AWT under Linux before, but never something reproducible. Nevertheless, it might be worth trying to get rid of it altogethe. Unfortunately for the two use cases where we currently use it (mail actions and image scaling) there isn't a good alternative.
Comment 3 Carsten Reckord CLA 2014-07-02 12:38:57 EDT
Geoff, could you try running your Eclipse with SWT_GTK3 turned on or off and see if it works with either setting? I.e. do this just before launching Eclipse:

> export SWT_GTK3=0

or 

> export SWT_GTK3=1
Comment 4 Geoff Ruscoe CLA 2014-07-02 18:20:07 EDT
Okay, setting

export SWT_GTK3=0

Makes the problem go away (and setting it to 1 makes it reappear).

So this is a great work around -- hopefully this will help others.  As for the bug itself, please let me know if there is anything else I can test.

Thanks again.

I will begin testing this with the svn compare editor bug, bug 438760 as well.
Comment 5 Carsten Reckord CLA 2015-01-22 04:52:13 EST
With the fix for bug 438598, we're not using AWT in the Marketplace client anymore. That should fix this issue too. The fix will be available with Luna SR1 (starting with the upcoming RC1 build) and Mars M5. Please reopen if you still get the deadlock with any of these builds.
Comment 6 Carsten Reckord CLA 2015-01-22 04:53:49 EST
(In reply to comment #5)
> The fix will be available with Luna SR1
I mean SR2 obviously...