Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | Importing html crashes soffice | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Writer | Reporter: | timbaldwin <timbaldwin> | ||||||
Component: | open-import | Assignee: | eric.savary | ||||||
Status: | CLOSED FIXED | QA Contact: | issues@sw <issues> | ||||||
Severity: | Trivial | ||||||||
Priority: | P2 | CC: | issues, mnagashree | ||||||
Version: | OOo 2.0 | ||||||||
Target Milestone: | --- | ||||||||
Hardware: | PC | ||||||||
OS: | Linux, all | ||||||||
Issue Type: | DEFECT | Latest Confirmation in: | --- | ||||||
Developer Difficulty: | --- | ||||||||
Attachments: |
|
Description
timbaldwin
2005-10-25 18:33:14 UTC
Created attachment 30825 [details]
HTML file created by doing Save-As in Thunderbird. The file opens successfully in Mozilla HTML editor.
Reassigned to ES. ES->TRA: amazingly the crash is due to the <img src> tag. When an image has as source a character combination like <alphanum_character><hash><question_mark> this leads zo a crash. Regression compared to OOo 1.1.5 -> target 2.0.2 Created attachment 30961 [details]
A very simple file causing the crash
The SEGV seems to be in SfxApplication::LoadTemplate () from /usr/lib/ooo-2.0/program/libsfx680li.so Here's a backtrace: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1098461856 (LWP 6244)] 0x4436bf54 in SfxApplication::LoadTemplate () from /usr/lib/ooo-2.0/program/libsfx680li.so (gdb) bt #0 0x4436bf54 in SfxApplication::LoadTemplate () from /usr/lib/ooo-2.0/program/libsfx680li.so #1 0x443ca159 in SfxMedium::GetFileVersion () from /usr/lib/ooo-2.0/program/libsfx680li.so #2 0x443cac03 in SfxMedium::SfxMedium () from /usr/lib/ooo-2.0/program/libsfx680li.so #3 0x45c94bdf in SvxLinkManager::SvxLinkManager () from /usr/lib/ooo-2.0/program/libsvx680li.so #4 0x45c9515a in SvxLinkManager::SvxLinkManager () from /usr/lib/ooo-2.0/program/libsvx680li.so #5 0x45607e05 in SwSectionFmt::~SwSectionFmt () from /usr/lib/ooo-2.0/program/libsw680li.so #6 0x457fcaff in SwDocShell::StartLoadFinishedTimer () from /usr/lib/ooo-2.0/program/libsw680li.so #7 0x456eeac7 in SwIoSystem::IsFileFilter () from /usr/lib/ooo-2.0/program/libsw680li.so #8 0x406f12ff in SvRefBase::QueryDelete () from /usr/lib/ooo-2.0/program/libtl680li.so #9 0x40594478 in HTMLParser::_GetNextToken () from /usr/lib/ooo-2.0/program/libsvt680li.so #10 0x40594d5a in SvParser::NewDataRead () from /usr/lib/ooo-2.0/program/libsvt680li.so flr/tra: The problem is, that the URL contains a "#" mark. When this is present the creation of an SfXMedium SvFileObject::LoadFile_Impl() --- located in svx/source/svxlink/fileobj.cxx --- will crash. tra->mav: I was told this is your playground. Fixed. *** Issue 59377 has been marked as a duplicate of this issue. *** MAV->ES: Please verify the issue. re-open issue and reassign to es@openoffice.org reassign to es@openoffice.org reset resolution to FIXED VERIFIED in CWS mav19 Ok in src680m156 |