Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 356045 - Submitting to bugzilla may freeze eclipse
Summary: Submitting to bugzilla may freeze eclipse
Status: RESOLVED DUPLICATE of bug 344818
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Mylyn Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-29 02:15 EDT by Peter Kullmann CLA
Modified: 2011-09-01 12:29 EDT (History)
0 users

See Also:


Attachments
jstack output of a frozen eclipse instance (23.34 KB, text/plain)
2011-09-01 10:31 EDT, Peter Kullmann CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***