Bug 402248 - Eclipse doesn't redraw, unresponsive w/100% cpu load on loading largish .mediawiki file
Summary: Eclipse doesn't redraw, unresponsive w/100% cpu load on loading largish .medi...
Status: RESOLVED DUPLICATE of bug 417481
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: 1.7   Edit
Hardware: PC Linux
: P2 major (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: David Green CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-03 15:16 EST by Alain Kalker CLA
Modified: 2013-10-25 19:04 EDT (History)
3 users (show)

See Also:


Attachments
Example file, opening this caused the deadlock which jstack.txt refers to (50.24 KB, application/octet-stream)
2013-03-03 15:16 EST, Alain Kalker CLA
no flags Details
Eclipse configuration (437.12 KB, text/plain)
2013-03-03 15:19 EST, Alain Kalker CLA
no flags Details
Stack dump (23.21 KB, text/plain)
2013-03-03 15:19 EST, Alain Kalker CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alain Kalker CLA 2013-03-03 15:16:59 EST
Created attachment 227854 [details]
Example file, opening this caused the deadlock which jstack.txt refers to

Installed Mylyn/WikiText which works well for small test inputs, but freezes the IDE with ~100% CPU load when
- pasting a larger document copied from Wikipedia editor
 -or-
- opening a .mediawiki file (prepared earlier outside of Eclipse) by double-clicking it.

OS:
Arch Linux (rolling release) x86_64

Java VM: (`java -version')
java version "1.7.0_15"
OpenJDK Runtime Environment (IcedTea7 2.3.7) (ArchLinux build 7.u13_2.3.7-2-x86_64)
OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)
Comment 1 Alain Kalker CLA 2013-03-03 15:19:09 EST
Created attachment 227855 [details]
Eclipse configuration
Comment 2 Alain Kalker CLA 2013-03-03 15:19:50 EST
Created attachment 227856 [details]
Stack dump
Comment 3 Alain Kalker CLA 2013-03-03 16:00:14 EST
Starting with an empty .mediawiki file, then adding sections from TextEditorSupport.mediawiki piecemeal causes the freeze to happen at about the ==In-browser editors== section. Splitting the file in to at this point doesn't freeze.
VM memory setting issue? If so, an error message would be much better than a freeze.
Comment 4 Alain Kalker CLA 2013-03-03 16:02:52 EST
Splitting the file in to -> Splitting the file in two files
Comment 5 David Green CLA 2013-03-04 12:22:25 EST
Thanks for the bug report Alain.  Does the problem just occur with the content you've provided, or does it occur with other content as well?  When we've seen this before it has been related to specific syntax used rather than size of the content.
Comment 6 Alain Kalker CLA 2013-03-04 19:37:47 EST
Thanks for the reassign, I wasn't sure about what category this should go in.
Comment 7 David Green CLA 2013-10-25 19:04:46 EDT
With manual testing with the attached file I've confirmed that this problem no longer occurs with the fix merged for bug 417481.  Please reopen this bug if the problem comes up again for you.

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