Apache OpenOffice (AOO) Bugzilla – Issue 16629
Writer file with lots of tables hangs writer during load
Last modified: 2013-08-07 14:41:36 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.
Created attachment 7518 [details] Writer file that causes OOo to hang when it is loaded.
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.
Created attachment 7582 [details] A new .sxw that fails to load in 1.1RC for Linux
Created attachment 7583 [details] The same as tables-test-2.sxw, but with one less table. This one loads into 1.1RC for Linux.
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
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?!?
Created attachment 7621 [details] gdb stack traceback produced by hitting ^C after hang, then doing bt
I'll check this.
HI->MH: Occurs only in Linux. Works in Sparc and Windows.
mh->hi: have you verified this with SO or more recent Linux build?
HI->MH: Jep, still occurs. Verified with srx645_m13s1-1_01.8660.
mh->hi: And does not occur in SO build ? I can't believe this.
HI->MH: Feel free to see it on my machine.
Problem still occurs in 1.1RC2.
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. :-)
close issue.
Created attachment 72500