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

Bug 356045

Summary: Submitting to bugzilla may freeze eclipse
Product: z_Archived Reporter: Peter Kullmann <peter.kullmann>
Component: MylynAssignee: Mylyn Inbox <mylyn-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: Macintosh   
OS: Mac OS X   
Whiteboard:
Attachments:
Description Flags
jstack output of a frozen eclipse instance none

Description Peter Kullmann CLA 2011-08-29 02:15:10 EDT
I have several problems regarding mylyn and bugzilla (see http://www.eclipse.org/forums/index.php/t/219214/). 

Here are steps that sometimes freeze my eclipse:
- Edit a bugzilla task
- Click Submit
- While the progress indication in the status line still says "Submitting Task: (0%)" click on the task list view. 

After that eclipse stops responding, uses a lot of cpu and has to be killed. The task in question was in fact submitted to bugzilla.

I have tried to use jvisualvm to look at the freezed eclipse but it is not visible in the tool.
Comment 1 Steffen Pingel CLA 2011-08-29 06:03:54 EDT
To investigate further we would need a stack trace. You can try using jps and jstack from a shell to capture one at the moment the freeze happens?
Comment 2 Peter Kullmann CLA 2011-08-29 06:30:04 EDT
Unfortunately, after the freeze eclipse no longer appears in jps. I will try jstack nonetheless the next time.

I have some other similar issues where the refresh of the task editor seems to hang. Now I have noticed that bringing another app to the foreground and then switching back to eclipse helps the editor along. So perhaps my problem is a SWT/Cocoa issue.
Comment 3 Steffen Pingel CLA 2011-08-29 07:10:58 EDT
You could also try increasing the MaxPermSize or memory pool in case Eclipse crashes due to a lack of resources.
Comment 4 Peter Kullmann CLA 2011-09-01 10:31:32 EDT
Created attachment 202607 [details]
jstack output of a frozen eclipse instance

It happened again and this time I was able to create a jstack dump. As one can see it stops at handling the tree click (I again accidentally clicked the task list tree during submit).
Comment 5 Steffen Pingel CLA 2011-09-01 12:29:37 EDT
Thanks. That looks like bug 344818. I would recommend posting the stack trace there with any hints to the SWT team how to reproduce the condition.

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