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

Bug 348284

Summary: creating problem markers in RSECIndexSubsystem can cause deadlock
Product: [Tools] PTP Reporter: Mike Kucera <mikekucera>
Component: RDTAssignee: Project Inbox <ptp-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 4.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Patch for PTP 4
none
Patch for PTP head none

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