Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 341608 - deadlock in I20110329-0800
Summary: deadlock in I20110329-0800
Status: CLOSED DUPLICATE of bug 341085
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.7   Edit
Hardware: PC Linux-GTK
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-01 08:20 EDT by Paul Webster CLA
Modified: 2011-04-01 09:54 EDT (History)
2 users (show)

See Also:


Attachments
javacore stack dump (1.31 MB, text/plain)
2011-04-01 08:21 EDT, Paul Webster CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Webster CLA 2011-04-01 08:20:44 EDT
I was running our UI test suite and it deadlocked.  I've attached a stack dump.

We're waiting on a job in the UI thread, in:
org/eclipse/ui/tests/preferences/FontPreferenceTestCase.testNonUIThreadFontAccess(FontPreferenceTestCase.java:168)

and that looks like it hit a gtk lock in another thread, but I'm not 100% sure that's what is going on.

3XMTHREADINFO      "Worker-2" (TID:0x00007FA1A8008800, sys_thread_t:0x0000000003815888, state:R, native ID:0x00000000000064F9) prio=5
4XESTACKTRACE          at org/eclipse/swt/internal/gtk/OS.gdk_threads_enter(Native Method)
4XESTACKTRACE          at org/eclipse/swt/internal/Lock.lock(Lock.java:29(Compiled Code))
4XESTACKTRACE          at org/eclipse/swt/internal/gtk/OS.pango_font_description_get_family(OS.java:14394)
4XESTACKTRACE          at org/eclipse/swt/graphics/Font.getFontData(Font.java:183)
4XESTACKTRACE          at org/eclipse/ui/tests/preferences/FontPreferenceTestCase.checkFont(FontPreferenceTestCase.java:183)
4XESTACKTRACE          at org/eclipse/ui/tests/preferences/FontPreferenceTestCase$2.run(FontPreferenceTestCase.java:161)
4XESTACKTRACE          at org/eclipse/core/internal/jobs/Worker.run(Worker.java:54)
Comment 1 Paul Webster CLA 2011-04-01 08:21:07 EDT
Created attachment 192348 [details]
javacore stack dump
Comment 2 Paul Webster CLA 2011-04-01 08:49:06 EDT
This effects me on both IBM 1.5 and 1.6 Java SDKs.

PW
Comment 3 Oleg Besedin CLA 2011-04-01 09:27:08 EDT
On Windows 7 all tests pass. (Which hardly surprising if it is a GTK-related problem).
Comment 4 Felipe Heidrich CLA 2011-04-01 09:54:49 EDT

*** This bug has been marked as a duplicate of bug 341085 ***