Issue 16629 - Writer file with lots of tables hangs writer during load
Summary: Writer file with lots of tables hangs writer during load
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: OOo 1.1 RC
Hardware: Other Linux, all
: P2 Trivial (vote)
Target Milestone: ---
Assignee: Martin Hollmichel
QA Contact: issues@sw
URL:
Keywords: oooqa
Depends on:
Blocks:
 
Reported: 2003-07-09 23:22 UTC by sleepytiger
Modified: 2013-08-07 14:41 UTC (History)
1 user (show)

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


Attachments
Writer file that causes OOo to hang when it is loaded. (23.50 KB, application/octet-stream)
2003-07-09 23:23 UTC, sleepytiger
no flags Details
A new .sxw that fails to load in 1.1RC for Linux (15.15 KB, application/octet-stream)
2003-07-11 10:15 UTC, sleepytiger
no flags Details
The same as tables-test-2.sxw, but with one less table. This one loads into 1.1RC for Linux. (13.70 KB, application/octet-stream)
2003-07-11 10:17 UTC, sleepytiger
no flags Details
gdb stack traceback produced by hitting ^C after hang, then doing bt (8.72 KB, text/plain)
2003-07-13 02:49 UTC, dankegel
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description sleepytiger 2003-07-09 23:22:05 UTC
The attached file hangs OOo1.1RC when it is loaded.  
The progress bar gets about 3/4 way across, then the whole app hangs, needing 
to be killed manually. 
 
It works fine in 1.0.3.
Comment 1 sleepytiger 2003-07-09 23:23:21 UTC
Created attachment 7518 [details]
Writer file that causes OOo to hang when it is loaded.
Comment 2 sleepytiger 2003-07-10 07:24:04 UTC
Looks like a defect in the .sxw parsing code. In 1.0.3 I can save it  
as a .doc file, then this loads into 1.1RC. I can then save it as a  
.sxw in 1.1RC. However loading this new .sxw causes OOo to hang,  
just like the original.  
Comment 3 sleepytiger 2003-07-11 10:15:56 UTC
Created attachment 7582 [details]
A new .sxw that fails to load in 1.1RC for Linux
Comment 4 sleepytiger 2003-07-11 10:17:11 UTC
Created attachment 7583 [details]
The same as tables-test-2.sxw, but with one less table. This one loads into 1.1RC for Linux.
Comment 5 sleepytiger 2003-07-11 10:19:39 UTC
I've been playing with this issue a little. It only affects the   
Linux version. The above file loads perfectly in the Windows version   
of 1.1RC under Win98.   
   
I've managed to repeat the issue with a new file created from   
scratch in order to eliminate a possible corrupted .sxw.   
   
This is a basic table with 11x22 cells created with Insert->Table.   
Heading text is added. It is then copied 16 times.   
This file with 17 copies of the table fails to load.   
   
An almost identical version of the file, but with 16 copies of the   
table loads OK.   
   
These are the two attachments above.   
   
Both load OK in 1.0.3   
Comment 6 dankegel 2003-07-13 01:52:52 UTC
Excellent catch.  Your first two files also hang OOo1.1beta2
on my Linux box, either single-processor or dual.
A hang is as bad as a crash in my book, so I'm raising this to P2.

The strangest thing, though, is that both files load fine in
OOo1.1beta2 when run under Valgrind.  Looks like the hang
is timing-dependent?!?
Comment 7 dankegel 2003-07-13 02:49:33 UTC
Created attachment 7621 [details]
gdb stack traceback produced by hitting ^C after hang, then doing bt
Comment 8 h.ilter 2003-07-14 15:33:16 UTC
I'll check this.
Comment 9 h.ilter 2003-07-16 11:40:22 UTC
HI->MH: Occurs only in Linux. Works in Sparc and Windows.
Comment 10 Martin Hollmichel 2003-07-16 12:10:57 UTC
mh->hi: have you verified this with SO or more recent Linux build?
Comment 11 h.ilter 2003-07-16 15:32:24 UTC
HI->MH: Jep, still occurs. Verified with srx645_m13s1-1_01.8660.
Comment 12 Martin Hollmichel 2003-07-16 16:53:44 UTC
mh->hi: And does not occur in SO build ? I can't believe this.
Comment 13 h.ilter 2003-07-17 15:32:34 UTC
HI->MH: Feel free to see it on my machine.
Comment 14 sleepytiger 2003-07-29 00:58:06 UTC
Problem still occurs in 1.1RC2. 
Comment 15 sleepytiger 2003-09-05 18:13:38 UTC
Good news, this bug appears to be fixed in OOo 1.1RC4 - at least my 
test files load OK under Linux.  
 
It still occurred in RC3, but now works. Thanks to whoever fixed it in time 
for 1.1. :-)  
Comment 16 Martin Hollmichel 2004-02-20 10:58:08 UTC
close issue.
Comment 17 ubanmidna 2010-10-23 15:30:12 UTC
Created attachment 72500