Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 367131 - Infinite loop in MarkupLanguage#processContent
Summary: Infinite loop in MarkupLanguage#processContent
Status: RESOLVED WORKSFORME
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P2 critical (vote)
Target Milestone: 1.6.0   Edit
Assignee: David Green CLA
QA Contact: David Green CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-19 15:41 EST by John Arthorne CLA
Modified: 2012-01-13 16:42 EST (History)
0 users

See Also:


Attachments
First stack trace of task (7.65 KB, text/plain)
2011-12-19 15:43 EST, John Arthorne CLA
no flags Details
Stack of same process 6 minutes later (7.38 KB, text/plain)
2011-12-19 15:43 EST, John Arthorne CLA
no flags Details
raw wiki markup of the page (9.49 KB, text/plain)
2012-01-04 18:35 EST, David Green CLA
no flags Details
Ant script used to build doc (4.76 KB, text/plain)
2012-01-10 11:46 EST, John Arthorne CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description John Arthorne CLA 2011-12-19 15:41:29 EST
Juno M4

I have hit a case using the mediawiki-to-eclipse-help ant task that hits an infinite loop. I left it for ten minutes and it never completed. CPU usage was constant for that process the entire time. Stacks coming...
Comment 1 John Arthorne CLA 2011-12-19 15:43:07 EST
Created attachment 208583 [details]
First stack trace of task
Comment 2 John Arthorne CLA 2011-12-19 15:43:28 EST
Created attachment 208584 [details]
Stack of same process 6 minutes later
Comment 3 John Arthorne CLA 2011-12-19 15:46:11 EST
Here is one wiki document that seems to cause it:

http://wiki.eclipse.org/Orion/Documentation/Developer_Guide/Simple_plugin_example
Comment 4 John Arthorne CLA 2011-12-19 16:06:33 EST
I reverted to the Indigo SR1 version of Mylyn WikiText and the problem went away, so this looks like a recent regression in Juno.
Comment 5 David Green CLA 2012-01-04 18:35:24 EST
Created attachment 209040 [details]
raw wiki markup of the page
Comment 6 David Green CLA 2012-01-04 18:36:42 EST
Thanks for the bug and stack traces.
Comment 7 David Green CLA 2012-01-09 23:54:39 EST
I'm unable to reproduce this problem with my simple test case.  Can you please attach the Ant script that you're using to drive the conversion?
Comment 8 John Arthorne CLA 2012-01-10 11:46:21 EST
Created attachment 209271 [details]
Ant script used to build doc
Comment 9 David Green CLA 2012-01-11 17:48:35 EST
Thanks John.  I've run your Ant script locally and it completed just fine with the latest Mylyn WikiText (I'm using the "latest standalone distro":http://www.eclipse.org/downloads/download.php?file=/mylyn/snapshots/nightly/docs/wikitext-standalone-latest.zip ).  Can you try again (using the latest WikiText) and verify that it works for you?
Comment 10 John Arthorne CLA 2012-01-13 16:31:29 EST
Yes, it appears to be working with the latest nightly snapshot! I guess this must be already fixed or a duplicate.. thanks for looking at it.
Comment 11 David Green CLA 2012-01-13 16:42:24 EST
No problem, glad it's working now.