Issue 88734 - WW8: hang on open sample file / layout loop
Summary: WW8: hang on open sample file / layout loop
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: formatting (show other issues)
Version: DEV300_m10
Hardware: PC Windows XP
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords: crash
Depends on:
Blocks:
 
Reported: 2008-04-25 13:35 UTC by pmike
Modified: 2017-05-20 11:17 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
sample (262.50 KB, application/msword)
2008-04-25 13:36 UTC, pmike
no flags Details
backtrace (6.94 KB, text/plain)
2008-05-21 17:10 UTC, bjoern.michaelsen
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description pmike 2008-04-25 13:35:20 UTC
OOo 2.4.0 and DEV300_m10 cannot open sample file.
Hang with 100% CPU load for at least several minutes.
Comment 1 pmike 2008-04-25 13:36:13 UTC
Created attachment 53192 [details]
sample
Comment 2 kpalagin 2008-04-25 13:44:52 UTC
Confirming also with 2.4 on WinXP - Office hungs and has to be killed via Task 
Manager.
Keyword, priority.
Comment 3 kaplanlior 2008-04-25 17:07:24 UTC
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
Comment 4 eric.savary 2008-04-27 21:47:28 UTC
@AMA: please dispatch to the competent developper.
Comment 5 bjoern.michaelsen 2008-05-21 17:10:20 UTC
Created attachment 53823 [details]
backtrace
Comment 6 bjoern.michaelsen 2008-05-21 17:12:42 UTC
This is not an import filter error, this is looping during layout. see attached
backtrace on DEV300 m13 on Linux.
Comment 7 andreas.martens 2008-05-23 16:20:53 UTC
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
Comment 8 Marcus 2017-05-20 11:17:44 UTC
Reset assigne to the default "issues@openoffice.apache.org".