Apache OpenOffice (AOO) Bugzilla – Issue 127586
CSV file reproducibly crashes AOO during autorecovery
Last modified: 2017-11-06 08:44:41 UTC
AOO 4.1.2 reproducibly crashes during autorecovery on a CSV file. The CSV file just needs to contain an empty initial field, eg.: name,value hi,1 ,2 and then kill AOO while running (kill -9) and try autorecover, and it will crash. Stack trace: Thread 1 "soffice.bin" received signal SIGSEGV, Segmentation fault. 0xb75ffd2c in rtl_uString_acquire () from /opt/openoffice4/program/libuno_sal.so.3 (gdb) bt #0 0xb75ffd2c in rtl_uString_acquire () from /opt/openoffice4/program/libuno_sal.so.3 #1 0xb61ce163 in String::String(String const&) () from /opt/openoffice4/program/libtl.so #2 0xb5d43112 in ?? () from /opt/openoffice4/program/libvcl.so #3 0xb5d432e7 in ?? () from /opt/openoffice4/program/libvcl.so #4 0xb5d43d2f in ?? () from /opt/openoffice4/program/libvcl.so #5 0xb5d45323 in OutputDevice::GetTextArray(String const&, long*, unsigned short, unsigned short) const () from /opt/openoffice4/program/libvcl.so #6 0xb5d45415 in OutputDevice::GetTextWidth(String const&, unsigned short, unsigned short) const () from /opt/openoffice4/program/libvcl.so #7 0xac33e8cc in ScCsvGrid::UpdateLayoutData() () from /opt/openoffice4/program/../program/libsc.so #8 0xac343d0c in ?? () from /opt/openoffice4/program/../program/libsc.so #9 0xac343f24 in ScCsvTableBox::DataChanged(DataChangedEvent const&) () from /opt/openoffice4/program/../program/libsc.so #10 0xb5e92096 in Window::UpdateSettings(AllSettings const&, unsigned char) () from /opt/openoffice4/program/libvcl.so #11 0xb5e920df in Window::UpdateSettings(AllSettings const&, unsigned char) () from /opt/openoffice4/program/libvcl.so #12 0xb5e920df in Window::UpdateSettings(AllSettings const&, unsigned char) () from /opt/openoffice4/program/libvcl.so #13 0xb5c457b2 in Application::SetSettings(AllSettings const&) () from /opt/openoffice4/program/libvcl.so #14 0xb65b2567 in ?? () from /opt/openoffice4/program/libsvt.so #15 0xb65b279e in ?? () from /opt/openoffice4/program/libsvt.so #16 0xb65b2915 in svtools::ColorConfig::ColorConfig() () from /opt/openoffice4/program/libsvt.so #17 0xac16f37a in ?? () from /opt/openoffice4/program/../program/libsc.so #18 0xac34108d in ScCsvGrid::ScCsvGrid(ScCsvControl&) () from /opt/openoffice4/program/../program/libsc.so #19 0xac34414b in ScCsvTableBox::ScCsvTableBox(Window*, ResId const&) () from /opt/openoffice4/program/../program/libsc.so #20 0xabdb929c in ?? () from /opt/openoffice4/program/libscui.so #21 0xabd827fe in ?? () from /opt/openoffice4/program/libscui.so #22 0xac468545 in ?? () from /opt/openoffice4/program/../program/libsc.so #23 0xac8b642e in ?? () from /opt/openoffice4/program/../program/libuui.so #24 0xac8a6d2d in ?? () from /opt/openoffice4/program/../program/libuui.so #25 0xac8a7577 in ?? () from /opt/openoffice4/program/../program/libuui.so #26 0xac8c2a42 in ?? () from /opt/openoffice4/program/../program/libuui.so #27 0xb6bc4054 in SfxObjectShell::HandleFilter(SfxMedium*, SfxObjectShell*) () from /opt/openoffice4/program/libsfx.so #28 0xb6bc970e in SfxObjectShell::DoLoad(SfxMedium*) () from /opt/openoffice4/program/libsfx.so #29 0xb6bf6353 in SfxBaseModel::load(com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&) () from /opt/openoffice4/program/libsfx.so #30 0xb6beefab in SfxBaseModel::recoverFromFile(rtl::OUString const&, rtl::OUString const&, com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&) () from /opt/openoffice4/program/libsfx.so #31 0xb45dc072 in ?? () from /opt/openoffice4/program/libfwk.so #32 0xb45dede0 in ?? () from /opt/openoffice4/program/libfwk.so #33 0xb45df27b in ?? () from /opt/openoffice4/program/libfwk.so #34 0xb45e156d in ?? () from /opt/openoffice4/program/libfwk.so