Apache OpenOffice (AOO) Bugzilla – Issue 15787
crash in loading HTML with particular combination of nested div and table
Last modified: 2013-08-07 14:41:36 UTC
1.New a document in Text Document 2.Access a web page at http://house.sina.com.cn/s/2003-02-18/19011.html 3.Copy any thing in the artical 5.Paste (not paste special) into the text document 6.One unrecoverable error occurs
On XP, I selected the entire website, copied, and pasted it into Writer. Writer seemed to go very slow, I thought it had crashed. I observed it trying to save the file verrry slowly. Then I got a non- recoverable error. It then asked me if I wanted to try to restore my work. When trying to restore the incomplete file, it crashed.
Easily reproduced on Linux. However, gdb was not much use in tracking this one down; I had to use Valgrind. I'll attach the stack traceback next.
Created attachment 7024 [details] Crash under linux, caught with Valgrind
Reassigned to ES
ES->MIB: I can reproduce this also loading (not copying) the filie. Load/save problem.
a) Can be verfied by loading the attached document. b) Happens only for the very certain situation that a section included a table that includes a section. For this reason: P3, OOo 2.0
Created attachment 7156 [details] bug document
The newly attached file can be loaded directyl in Writer to verfify the crash. Copying it with the clipboard is not required.
FME->ES: Looks like fixed with #109767# in sw017 (m8s1). Please verify.
Changed the name to better match the issue.
Created attachment 7431 [details] Minimal test case. (Note: the earlier attachment looks like it was in error - it didn't cause a crash. This one does.)
Created attachment 7432 [details] USE THIS FILE. Minimal test case, saved in a tar.gz file to avoid the strange problem caused by attaching .html files to IssueZilla reports.
FME was right. Tested with 645m7-1, 645m8s1 and 645m10: stops crashing from 645m8s1 on. Fixed!
CLosed