Apache OpenOffice (AOO) Bugzilla – Issue 88734
WW8: hang on open sample file / layout loop
Last modified: 2017-05-20 11:17:44 UTC
OOo 2.4.0 and DEV300_m10 cannot open sample file. Hang with 100% CPU load for at least several minutes.
Created attachment 53192 [details] sample
Confirming also with 2.4 on WinXP - Office hungs and has to be killed via Task Manager. Keyword, priority.
Also happens with 2.4.0 on Debian unstable. I ran strace to see what the process does. One of the child processes is in a loop: [pid 8142] poll( <unfinished ...> [pid 8138] gettimeofday({1209139548, 172095}, NULL) = 0 [pid 8138] gettimeofday({1209139548, 172228}, NULL) = 0 [pid 8142] <... poll resumed> [{fd=27, events=POLLIN}], 1, 1000) = 0 [pid 8142] gettimeofday({1209139548, 248816}, NULL) = 0 [pid 8142] poll([{fd=27, events=POLLIN}], 1, 1000) = 0 [pid 8142] gettimeofday({1209139549, 248720}, NULL) = 0 [pid 8142] poll([{fd=27, events=POLLIN}], 1, 1000) = 0 [pid 8142] gettimeofday({1209139550, 248708}, NULL) = 0 [pid 8142] poll( <unfinished ...> [pid 8143] <... futex resumed> ) = -1 ETIMEDOUT (Connection timed out) [pid 8143] gettimeofday({1209139551, 204714}, NULL) = 0 [pid 8143] futex(0xb72ed1e0, 0x81 /* FUTEX_??? */, 1) = 0 [pid 8143] clock_gettime(CLOCK_REALTIME, {1209139551, 204993734}) = 0 [pid 8143] futex(0xb72ed344, 0x80 /* FUTEX_??? */, 9 <unfinished ...> [pid 8142] <... poll resumed> [{fd=27, events=POLLIN}], 1, 1000) = 0 [pid 8142] gettimeofday({1209139551, 284725}, NULL) = 0 [pid 8142] poll([{fd=27, events=POLLIN}], 1, 1000) = 0 [pid 8142] gettimeofday({1209139552, 284712}, NULL) = 0
@AMA: please dispatch to the competent developper.
Created attachment 53823 [details] backtrace
This is not an import filter error, this is looping during layout. see attached backtrace on DEV300 m13 on Linux.
ama->od: Loop is caused by abuse of the 'keep with next' attribute for paragraphs and tables. The keeping objects does not fit onto one page, they need several pages. Work-around: Open new writer document, insert bugdoc via insert/file
Reset assigne to the default "issues@openoffice.apache.org".