To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=65339 Issue #:|65339 Summary:|crash opening corrupt file Component:|Word processor Version:|OOo 2.0.1 Platform:|PC URL:| OS/Version:|Linux Status:|UNCONFIRMED Status whiteboard:| Keywords:| Resolution:| Issue type:|DEFECT Priority:|P3 Subcomponent:|open-import Assigned to:|mru Reported by:|hunteke
------- Additional comments from [EMAIL PROTECTED] Fri May 12 21:44:00 -0700 2006 ------- My computer info: OpenOffice.org 2.0.1 installed via RPM openoffice.org-javafilter-2.0.1.1-5.1 openoffice.org-calc-2.0.1.1-5.1 openoffice.org-core-2.0.1.1-5.1 openoffice.org-xsltfilter-2.0.1.1-5.1 openoffice.org-graphicfilter-2.0.1.1-5.1 openoffice.org-pyuno-2.0.1.1-5.1 openoffice.org-writer-2.0.1.1-5.1 Fedora Core 4 (Custom kernel: 2.6.15) Pentium M @ 1.5Ghz 512M RAM I unzipped an odt file into file 't'. I then edited it in a text editor, removing all but the content block. I then saved file 't' and zipped it back up to 't.odt'. So, if I zipped it correctly, the unzipped contents of the file 't.odt' should be an subset of the unzipped contents of my original file. In other words, the file 't.odt' is corrupt as far as OpenOffice is concerned. Steps to reproduce crash: 1. Open OpenOffice 2.0.1 Writer (I don't know if bug exists in later versions) 2. Open 'Open' dialog box. 3. Select 't.odt'. 4. Click 'Open' button -> A filter selection dialog box should open 5. Select 'OpenDocument Text'. 6. Click 'Ok'. 7. A dialog box asking if OpenOffice.org should repair the file should pop up. Select 'Yes'. 8. Another dialog box informing you that the file 't.odt' could not be repaired and can't be opened should pop up. Click 'OK'. 9. OpenOffice will hang for a minute and then will inform you that it has crashed. I've have included the trace information below. A few other notes. Opening an empty zip file (cat blankfile | zip > blank.odt) does not crash the program. Nor does a single character (echo | zip > onechar.odt). However, the latter shows an (pseudo) incorrect file contents when opened. I'm zipped up a text file (a web CSS file: cat style.css > zip style.odt) and it also crashed OpenOffice. I zipped up another text file, however, and it did not crash OpenOffice (cat todo.12.May | zip > todo.odt). The most notable difference between the files was a lack of curly braces in the todo file. I'm sorry I can't narrow it down more than this. I've will include my 't.odt' file, as well as my 'style.odt' file, if I can figure out this web interface. One final note: I'm guessing that OpenOffice zips it's files slightly differently than the zip utility because: $ unzip -c original.odt | zip > rezipped.odt $ diff original.odt rezipped.odt Binary files original.odt and rezipped.odt differ $ Opening original.odt works like a charm. Opening rezipped.odt crashes OpenOffice. Thus, I'll fully accept the "Why the hell are you messing with files like this, bud? You have too much time on your hands" On the other hand, a crash is a crash, so . . . Thanks for your hard work! Kevin Hunter ___________________________________________________________________________ Trace information spewed forth by OpenOffice: Video Driver is probably nvidia [Actually, hunteke guarantees it is. :)] DESKTOP_SESSION is set to gnome [hunteke loves the bloat, what can he say? :)] libgcj version is libgcj-4.0.2-8.fc4 OpenOffice.org core rpm version is openoffice.org-core-2.0.1.1-5.1 0x4d62f007: /usr/lib/openoffice.org2.0/program/libuno_sal.so.3 + 0x1e007 0x4d62f7cc: /usr/lib/openoffice.org2.0/program/libuno_sal.so.3 + 0x1e7cc 0xffffe420: + 0x420 (__kernel_sigreturn + 0x0) 0x4d0c9888: /lib/libc.so.6 + 0x29888 (abort + 0xf8) 0x4d4ae41e: /usr/lib/libstdc++.so.6 + 0xad41e (__gnu_cxx::__verbose_terminate_handler() + 0x16e) 0x4d4ac115: /usr/lib/libstdc++.so.6 + 0xab115 0x4d4ac14a: /usr/lib/libstdc++.so.6 + 0xab14a 0x4d4ac27e: /usr/lib/libstdc++.so.6 + 0xab27e (__cxa_rethrow + 0x0) 0xb3922d55: /usr/lib/openoffice.org2.0/program/libxstor.so + 0x27d55 (OStorage::dispose() + 0x51) 0x418db645: /usr/lib/openoffice.org2.0/program/libsfx680li.so + 0x127645 (SfxObjectShell::~SfxObjectShell() + 0x1e5) 0x432f73bf: /usr/lib/openoffice.org2.0/program/libsw680li.so + 0x5bf3bf (SwDocShell::~SwDocShell() + 0xc5) 0x4d9addab: /usr/lib/openoffice.org2.0/program/libtl680li.so + 0x62dab (SvRefBase::QueryDelete() + 0x13) 0x4d53c017: /usr/lib/openoffice.org2.0/program/libsot680li.so + 0x12017 (SotObject::QueryDelete() + 0x29) 0x418585a9: /usr/lib/openoffice.org2.0/program/libsfx680li.so + 0xa45a9 0x41858c31: /usr/lib/openoffice.org2.0/program/libsfx680li.so + 0xa4c31 0x4191a06d: /usr/lib/openoffice.org2.0/program/libsfx680li.so + 0x16606d (SfxBaseModel::dispose() + 0x2c3) 0x4339e195: /usr/lib/openoffice.org2.0/program/libsw680li.so + 0x666195 0x41912b7b: /usr/lib/openoffice.org2.0/program/libsfx680li.so + 0x15eb7b (SfxBaseModel::close(unsigned char) + 0x26d) 0x4339f3d6: /usr/lib/openoffice.org2.0/program/libsw680li.so + 0x6673d6 0x41936d0e: /usr/lib/openoffice.org2.0/program/libsfx680li.so + 0x182d0e 0x42bc4f5f: /usr/lib/openoffice.org2.0/program/libfwk680li.so + 0xedf5f 0x42bc5751: /usr/lib/openoffice.org2.0/program/libfwk680li.so + 0xee751 0x42bc63bc: /usr/lib/openoffice.org2.0/program/libfwk680li.so + 0xef3bc 0x42b2c776: /usr/lib/openoffice.org2.0/program/libfwk680li.so + 0x55776 0x41860ceb: /usr/lib/openoffice.org2.0/program/libsfx680li.so + 0xacceb 0x41866ba4: /usr/lib/openoffice.org2.0/program/libsfx680li.so + 0xb2ba4 0x41964ff4: /usr/lib/openoffice.org2.0/program/libsfx680li.so + 0x1b0ff4 0x419643e1: /usr/lib/openoffice.org2.0/program/libsfx680li.so + 0x1b03e1 0x419648d2: /usr/lib/openoffice.org2.0/program/libsfx680li.so + 0x1b08d2 (SfxDispatcher::_Execute(SfxShell&, SfxSlot const&, SfxRequest&, unsigned short) + 0x138) 0x41964bd2: /usr/lib/openoffice.org2.0/program/libsfx680li.so + 0x1b0bd2 (SfxDispatcher::Execute(unsigned short, unsigned short, unsigned short, SfxItemSet const&) + 0xe0) 0x41964c5e: /usr/lib/openoffice.org2.0/program/libsfx680li.so + 0x1b0c5e (SfxDispatcher::Execute(unsigned short, unsigned short, SfxItemSet const&) + 0x26) 0x4185f305: /usr/lib/openoffice.org2.0/program/libsfx680li.so + 0xab305 0x41866ba4: /usr/lib/openoffice.org2.0/program/libsfx680li.so + 0xb2ba4 0x41964ff4: /usr/lib/openoffice.org2.0/program/libsfx680li.so + 0x1b0ff4 0x419643e1: /usr/lib/openoffice.org2.0/program/libsfx680li.so + 0x1b03e1 0x419646f5: /usr/lib/openoffice.org2.0/program/libsfx680li.so + 0x1b06f5 0x41964798: /usr/lib/openoffice.org2.0/program/libsfx680li.so + 0x1b0798 0x4185d71c: /usr/lib/openoffice.org2.0/program/libsfx680li.so + 0xa971c 0x4197d785: /usr/lib/openoffice.org2.0/program/libsfx680li.so + 0x1c9785 0x4197d640: /usr/lib/openoffice.org2.0/program/libsfx680li.so + 0x1c9640 0x4197d79a: /usr/lib/openoffice.org2.0/program/libsfx680li.so + 0x1c979a 0x4197d62c: /usr/lib/openoffice.org2.0/program/libsfx680li.so + 0x1c962c 0x412a9e72: /usr/lib/openoffice.org2.0/program/libvcl680li.so + 0x82e72 0x41403485: /usr/lib/openoffice.org2.0/program/libvcl680li.so + 0x1dc485 0xb7865ed0: /usr/lib/openoffice.org2.0/program/libvclplug_gen680li.so + 0x1eed0 0xb788c12b: /usr/lib/openoffice.org2.0/program/libvclplug_gen680li.so + 0x4512b (SalDisplay::DispatchInternalEvent() + 0xad) 0xb7d88e1f: /usr/lib/openoffice.org2.0/program/libvclplug_gtk680li.so + 0x1ae1f 0xb78cc730: /usr/lib/libglib-2.0.so.0 + 0x25730 0xb78ca4ce: /usr/lib/libglib-2.0.so.0 + 0x234ce (g_main_context_dispatch + 0x1dc) 0xb78cd4d6: /usr/lib/libglib-2.0.so.0 + 0x264d6 0xb78cd9b8: /usr/lib/libglib-2.0.so.0 + 0x269b8 (g_main_context_iteration + 0x66) 0xb7d88a51: /usr/lib/openoffice.org2.0/program/libvclplug_gtk680li.so + 0x1aa51 0xb788d33d: /usr/lib/openoffice.org2.0/program/libvclplug_gen680li.so + 0x4633d (X11SalInstance::Yield(unsigned char) + 0x29) 0x412b01ba: /usr/lib/openoffice.org2.0/program/libvcl680li.so + 0x891ba (Application::Yield() + 0x50) 0x412b01f8: /usr/lib/openoffice.org2.0/program/libvcl680li.so + 0x891f8 (Application::Execute() + 0x26) 0x41102015: /usr/lib/openoffice.org2.0/program/libsoffice.so + 0x29015 (desktop::Desktop::Main() + 0x15df) 0x412b5769: /usr/lib/openoffice.org2.0/program/libvcl680li.so + 0x8e769 0x412b5819: /usr/lib/openoffice.org2.0/program/libvcl680li.so + 0x8e819 (SVMain() + 0x29) 0x410f9a37: /usr/lib/openoffice.org2.0/program/libsoffice.so + 0x20a37 (sal_main + 0x57) 0x410f9a83: /usr/lib/openoffice.org2.0/program/libsoffice.so + 0x20a83 (main + 0x27) 0x4d0b4d5f: /lib/libc.so.6 + 0x14d5f (__libc_start_main + 0xdf) 0x80484e1: /usr/lib/openoffice.org2.0/program/swriter.bin + 0x4e1 --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]