Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 348284 - creating problem markers in RSECIndexSubsystem can cause deadlock
Summary: creating problem markers in RSECIndexSubsystem can cause deadlock
Status: RESOLVED FIXED
Alias: None
Product: PTP
Classification: Tools
Component: RDT (show other bugs)
Version: 4.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-03 17:04 EDT by Mike Kucera CLA
Modified: 2011-06-06 13:25 EDT (History)
0 users

See Also:


Attachments
Patch for PTP 4 (4.98 KB, text/plain)
2011-06-06 13:21 EDT, Mike Kucera CLA
no flags Details
Patch for PTP head (4.96 KB, text/plain)
2011-06-06 13:21 EDT, Mike Kucera CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Kucera CLA 2011-06-03 17:04:11 EDT
I sometimes see RSECIndexSubsystem deadlock when it tries to create problem markers in the reportProblem() method.

I'm not entirely sure what causes the deadlock but when I suspend the VM I see that thread hanging on the createmarker method.

The likely fix is to wrap the marker creation code in a WorkspaceJob.
Comment 1 Mike Kucera CLA 2011-06-06 13:21:44 EDT
Created attachment 197426 [details]
Patch for PTP 4
Comment 2 Mike Kucera CLA 2011-06-06 13:21:58 EDT
Created attachment 197427 [details]
Patch for PTP head
Comment 3 Mike Kucera CLA 2011-06-06 13:25:15 EDT
Fixed