Apache OpenOffice (AOO) Bugzilla – Issue 24657
Crash when opening the attached document ONLY under FreeBSD
Last modified: 2013-08-07 14:43:45 UTC
This bug happens on a 1.1.0 version running and compiled for FreeBSD 5.2 Release. I used to be able to open the file under Oo FreeBSD then I may have modified it under Win/Lin, went back to FreeBSD and get the progress bar to got to about 80% before getting the "segmentation fault" See the backtrace below. sxw file attached or found at the URL. Dany bash-2.05b$ uname -a FreeBSD hermes.agora 5.2-RC FreeBSD 5.2-RC #8: Sun Jan 4 16:54:45 EST 2004 alpha@hermes.agora:/usr/obj/usr/src/sys/HERMES i386 bash-2.05b$ export LD_LIBRARY_PATH=/usr/local/OpenOffice.org1.1.0/program bash-2.05b$ gdb /usr/local/OpenOffice.org1.1.0/program/soffice.bin GNU gdb 5.2.1 (FreeBSD) Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-unknown-freebsd"... (no debugging symbols found)... (gdb) run Starting program: /usr/local/OpenOffice.org1.1.0/program/soffice.bin Program received signal SIGSEGV, Segmentation fault. 0x292660eb in _pthread_cond_timedwait () from /usr/lib/libc_r.so.5 (gdb) bt #0 0x292660eb in _pthread_cond_timedwait () from /usr/lib/libc_r.so.5 #1 0x29266205 in pthread_cond_timedwait () from /usr/lib/libc_r.so.5 #2 0x28c70f51 in osl_waitCondition () from /usr/local/OpenOffice.org1.1.0/program/libsal.so.3 #3 0x28b05d14 in comphelper::ConditionWaiter::ConditionWaiter(comphelper::Condi tion&, unsigned long) () from /usr/local/OpenOffice.org1.1.0/program/libcomphelp3gcc3.so #4 0x2899c6cd in utl::Moderator::getResult(unsigned long) () from /usr/local/OpenOffice.org1.1.0/program/libutl645fi.so #5 0x2899d855 in utl::UCBOpenContentSync(utl::UcbLockBytesRef, com::sun::star:: uno::Reference<com::sun::star::ucb::XContent>, com::sun::star::ucb::Command cons t&, com::sun::star::uno::Reference<com::sun::star::uno::XInterface>, com::sun::s tar::uno::Reference<com::sun::star::task::XInteractionHandler>, com::sun::star:: uno::Reference<com::sun::star::ucb::XProgressHandler>, utl::UcbLockBytesHandlerR ef) () from /usr/local/OpenOffice.org1.1.0/program/libutl645fi.so #6 0x289a3217 in utl::UcbLockBytes::CreateLockBytes(com::sun::star::uno::Refere nce<com::sun::star::ucb::XContent> const&, com::sun::star::uno::Sequence<com::su n::star::beans::PropertyValue> const&, unsigned short, com::sun::star::uno::Refe rence<com::sun::star::task::XInteractionHandler> const&, utl::UcbLockBytesHandle r*) () from /usr/local/OpenOffice.org1.1.0/program/libutl645fi.so #7 0x2bc448df in SfxMedium::GetMedium_Impl() () from /usr/local/OpenOffice.org1.1.0/program/libsfx645fi.so #8 0x2bc3ecbd in SfxMedium::GetInStream() () ---Type <return> to continue, or q <return> to quit--- from /usr/local/OpenOffice.org1.1.0/program/libsfx645fi.so #9 0x2bc45286 in SfxMedium::DownLoad(Link const&) () from /usr/local/OpenOffice.org1.1.0/program/libsfx645fi.so #10 0x2b2c22f3 in SvFileObject::LoadFile_Impl() () from /usr/local/OpenOffice.org1.1.0/program/libsvx645fi.so #11 0x2b2c1c3b in SvFileObject::GetData(com::sun::star::uno::Any&, String const& , unsigned char) () from /usr/local/OpenOffice.org1.1.0/program/libsvx645fi.so #12 0x2ae56d8c in so3::SvBaseLink::Update() () from /usr/local/OpenOffice.org1.1.0/program/libso645fi.so #13 0x2d203fb9 in SwBaseLink::SwapIn(unsigned char, unsigned char) () from /usr/local/OpenOffice.org1.1.0/program/libsw645fi.so #14 0x2cf4aa7b in SwGrfNode::ReRead(String const&, String const&, Graphic const* , GraphicObject const*, unsigned char) () from /usr/local/OpenOffice.org1.1.0/program/libsw645fi.so #15 0x2cf49fb3 in SwGrfNode::SwGrfNode(SwNodeIndex const&, String const&, String const&, Graphic const*, SwGrfFmtColl*, SwAttrSet*) () from /usr/local/OpenOffice.org1.1.0/program/libsw645fi.so #16 0x2cf4af00 in SwNodes::MakeGrfNode(SwNodeIndex const&, String const&, String const&, Graphic const*, SwGrfFmtColl*, SwAttrSet*, unsigned char) () from /usr/local/OpenOffice.org1.1.0/program/libsw645fi.so #17 0x2d16855c in SwDoc::Insert(SwPaM const&, String const&, String const&, Grap hic const*, SfxItemSet const*, SfxItemSet const*, SwFrmFmt*) () from /usr/local/OpenOffice.org1.1.0/program/libsw645fi.so ---Type <return> to continue, or q <return> to quit--- #18 0x2d25cd0b in SwXFrame::attachToRange(com::sun::star::uno::Reference<com::su n::star::text::XTextRange> const&) () from /usr/local/OpenOffice.org1.1.0/program/libsw645fi.so #19 0x2d2da364 in SwXText::insertTextContent(com::sun::star::uno::Reference<com: :sun::star::text::XTextRange> const&, com::sun::star::uno::Reference<com::sun::s tar::text::XTextContent> const&, unsigned char) () from /usr/local/OpenOffice.org1.1.0/program/libsw645fi.so #20 0x2c179ed2 in XMLTextImportHelper::InsertTextContent(com::sun::star::uno::Re ference<com::sun::star::text::XTextContent>&) () from /usr/local/OpenOffice.org1.1.0/program/libxo645fi.so #21 0x2c1e149a in XMLTextFrameContext::Create(unsigned char) () from /usr/local/OpenOffice.org1.1.0/program/libxo645fi.so #22 0x2c1e398b in XMLTextFrameContext::XMLTextFrameContext(SvXMLImport&, unsigne d short, rtl::OUString const&, com::sun::star::uno::Reference<com::sun::star::xm l::sax::XAttributeList> const&, com::sun::star::text::TextContentAnchorType, uns igned short) () from /usr/local/OpenOffice.org1.1.0/program/libxo645fi.so #23 0x2c1e6e51 in XMLTextFrameHyperlinkContext::CreateChildContext(unsigned shor t, rtl::OUString const&, com::sun::star::uno::Reference<com::sun::star::xml::sax ::XAttributeList> const&) () from /usr/local/OpenOffice.org1.1.0/program/libxo645fi.so #24 0x2c0d8077 in SvXMLImport::startElement(rtl::OUString const&, com::sun::star ::uno::Reference<com::sun::star::xml::sax::XAttributeList> const&) () from /usr/local/OpenOffice.org1.1.0/program/libxo645fi.so ---Type <return> to continue, or q <return> to quit--- #25 0x2a8b2c4e in sax_expatwrap::SaxExpatParser_Impl::callbackStartElement(void* , unsigned short const*, unsigned short const**) () from /usr/local/OpenOffice.org1.1.0/program/sax.uno.so #26 0x2a8bd2ae in doContent () from /usr/local/OpenOffice.org1.1.0/program/sax.uno.so #27 0x2a8bcb15 in contentProcessor () from /usr/local/OpenOffice.org1.1.0/program/sax.uno.so #28 0x2a8bc823 in XML_ParseBuffer () from /usr/local/OpenOffice.org1.1.0/program/sax.uno.so #29 0x2a8bc7d0 in XML_Parse () from /usr/local/OpenOffice.org1.1.0/program/sax.uno.so #30 0x2a8b259c in sax_expatwrap::SaxExpatParser_Impl::parse() () from /usr/local/OpenOffice.org1.1.0/program/sax.uno.so #31 0x2a8b12c6 in sax_expatwrap::SaxExpatParser::parseStream(com::sun::star::xml ::sax::InputSource const&) () from /usr/local/OpenOffice.org1.1.0/program/sax.uno.so #32 0x2d42d6d1 in ReadThroughComponent(com::sun::star::uno::Reference<com::sun:: star::io::XInputStream>, com::sun::star::uno::Reference<com::sun::star::lang::XC omponent>, String const&, com::sun::star::uno::Reference<com::sun::star::lang::X MultiServiceFactory>&, char const*, com::sun::star::uno::Sequence<com::sun::star ::uno::Any>, rtl::OUString const&, unsigned char, unsigned char, com::sun::star: :uno::Reference<com::sun::star::text::XTextRange>&, unsigned char, unsigned shor t, unsigned char, unsigned char, unsigned char) () ---Type <return> to continue, or q <return> to quit--- from /usr/local/OpenOffice.org1.1.0/program/libsw645fi.so #33 0x2d42e118 in ReadThroughComponent(SvStorage*, com::sun::star::uno::Referenc e<com::sun::star::lang::XComponent>, char const*, char const*, com::sun::star::u no::Reference<com::sun::star::lang::XMultiServiceFactory>&, char const*, com::su n::star::uno::Sequence<com::sun::star::uno::Any>, rtl::OUString const&, unsigned char, unsigned char, com::sun::star::uno::Reference<com::sun::star::text::XText Range>&, unsigned char, unsigned short, unsigned char, unsigned char) () from /usr/local/OpenOffice.org1.1.0/program/libsw645fi.so #34 0x2d42f77b in XMLReader::Read(SwDoc&, SwPaM&, String const&) () from /usr/local/OpenOffice.org1.1.0/program/libsw645fi.so #35 0x2d2e9d27 in SwReader::Read(Reader const&) () from /usr/local/OpenOffice.org1.1.0/program/libsw645fi.so #36 0x2d47dda0 in SwDocShell::Load(SvStorage*) () from /usr/local/OpenOffice.org1.1.0/program/libsw645fi.so #37 0x2bc75fe4 in SfxObjectShell::LoadOwnFormat(SfxMedium&) () from /usr/local/OpenOffice.org1.1.0/program/libsfx645fi.so #38 0x2bc6d4b8 in SfxObjectShell::DoLoad(SfxMedium*) () from /usr/local/OpenOffice.org1.1.0/program/libsfx645fi.so #39 0x2bbf1780 in LoadEnvironment_Impl::Load(SfxObjectFactory const*) () from /usr/local/OpenOffice.org1.1.0/program/libsfx645fi.so #40 0x2bbf309d in LoadEnvironment_Impl::LoadDataAvailable() () from /usr/local/OpenOffice.org1.1.0/program/libsfx645fi.so #41 0x2bbf324d in LoadEnvironment_Impl::LoadDataAvailable() () ---Type <return> to continue, or q <return> to quit--- from /usr/local/OpenOffice.org1.1.0/program/libsfx645fi.so #42 0x2bbf0d19 in LoadEnvironment_Impl::Start() () from /usr/local/OpenOffice.org1.1.0/program/libsfx645fi.so #43 0x2bcca712 in SfxFrameLoader_Impl::load(com::sun::star::uno::Sequence<com::s un::star::beans::PropertyValue> const&, com::sun::star::uno::Reference<com::sun: :star::frame::XFrame> const&) () from /usr/local/OpenOffice.org1.1.0/program/libsfx645fi.so #44 0x2ab84d92 in framework::BaseDispatcher::implts_loadIt(com::sun::star::util: :URL const&, com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> &, rtl::OUString const&, com::sun::star::uno::Reference<com::sun::star::frame::X Frame> const&, com::sun::star::uno::Any const&) () from /usr/local/OpenOffice.org1.1.0/program/libfwk645fi.so #45 0x2ab8b17e in framework::BlankDispatcher::dispatch(com::sun::star::util::URL const&, com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> con st&) () from /usr/local/OpenOffice.org1.1.0/program/libfwk645fi.so #46 0x2ab7e888 in framework::BaseDispatcher::dispatchWithNotification(com::sun:: star::util::URL const&, com::sun::star::uno::Sequence<com::sun::star::beans::Pro pertyValue> const&, com::sun::star::uno::Reference<com::sun::star::frame::XDispa tchResultListener> const&) () from /usr/local/OpenOffice.org1.1.0/program/libfwk645fi.so #47 0x2ab991bc in framework::Desktop::loadComponentFromURL(rtl::OUString const&, rtl::OUString const&, long, com::sun::star::uno::Sequence<com::sun::star::beans ::PropertyValue> const&) () ---Type <return> to continue, or q <return> to quit--- from /usr/local/OpenOffice.org1.1.0/program/libfwk645fi.so #48 0x2bbc3ca3 in SfxApplication::OpenDocExec_Impl(SfxRequest&) () from /usr/local/OpenOffice.org1.1.0/program/libsfx645fi.so #49 0x2bbc6902 in SfxStubSfxApplicationOpenDocExec_Impl(SfxShell*, SfxRequest&) () from /usr/local/OpenOffice.org1.1.0/program/libsfx645fi.so #50 0x2bd18a5b in SfxDispatcher::Call_Impl(SfxShell&, SfxSlot const&, SfxRequest &, unsigned char) () from /usr/local/OpenOffice.org1.1.0/program/libsfx645fi.so #51 0x2bd19e89 in SfxDispatcher::_Execute(SfxShell&, SfxSlot const&, SfxRequest& , unsigned short) () from /usr/local/OpenOffice.org1.1.0/program/libsfx645fi.so #52 0x2bd1ad73 in SfxDispatcher::Execute(unsigned short, unsigned short, SfxPool Item const**, unsigned short, SfxPoolItem const**) () from /usr/local/OpenOffice.org1.1.0/program/libsfx645fi.so #53 0x2bd12786 in SfxDispatchController_Impl::dispatch(com::sun::star::util::URL const&, com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> con st&, com::sun::star::uno::Reference<com::sun::star::frame::XDispatchResultListen er> const&) () from /usr/local/OpenOffice.org1.1.0/program/libsfx645fi.so #54 0x2bd116d7 in SfxOfficeDispatch::dispatch(com::sun::star::util::URL const&, com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&) () from /usr/local/OpenOffice.org1.1.0/program/libsfx645fi.so #55 0x2abde61a in framework::MenuManager::Select(Menu*) () from /usr/local/OpenOffice.org1.1.0/program/libfwk645fi.so #56 0x2abddaba in framework::MenuManager::LinkStubSelect(void*, void*) () from /usr/local/OpenOffice.org1.1.0/program/libfwk645fi.so ---Type <return> to continue, or q <return> to quit--- #57 0x2827bbca in Menu::Select() () from /usr/local/OpenOffice.org1.1.0/program/libvcl645fi.so #58 0x2827f782 in Menu::ImplCallSelect(Menu*) () from /usr/local/OpenOffice.org1.1.0/program/libvcl645fi.so #59 0x2827f766 in Menu::LinkStubImplCallSelect(void*, void*) () from /usr/local/OpenOffice.org1.1.0/program/libvcl645fi.so #60 0x282c413b in ImplHandleUserEvent(ImplSVEvent*) () from /usr/local/OpenOffice.org1.1.0/program/libvcl645fi.so #61 0x282c481a in ImplWindowFrameProc(void*, SalFrame*, unsigned short, void con st*) () from /usr/local/OpenOffice.org1.1.0/program/libvcl645fi.so #62 0x2831f921 in SalFrameData::HandleClientMessage(XClientMessageEvent*) () from /usr/local/OpenOffice.org1.1.0/program/libvcl645fi.so #63 0x283203b5 in SalFrameData::Dispatch(_XEvent*) () from /usr/local/OpenOffice.org1.1.0/program/libvcl645fi.so #64 0x28348768 in SalDisplay::Dispatch(_XEvent*) () from /usr/local/OpenOffice.org1.1.0/program/libvcl645fi.so #65 0x283484bb in SalDisplay::Yield(unsigned char) () from /usr/local/OpenOffice.org1.1.0/program/libvcl645fi.so #66 0x28344d5c in DisplayYield(int, SalDisplay*) () from /usr/local/OpenOffice.org1.1.0/program/libvcl645fi.so #67 0x2834389e in SalXLib::Yield(unsigned char) () from /usr/local/OpenOffice.org1.1.0/program/libvcl645fi.so #68 0x2834b93d in SalInstance::Yield(unsigned char) () ---Type <return> to continue, or q <return> to quit--- from /usr/local/OpenOffice.org1.1.0/program/libvcl645fi.so #69 0x281900ac in Application::Yield() () from /usr/local/OpenOffice.org1.1.0/program/libvcl645fi.so #70 0x2818ffe5 in Application::Execute() () from /usr/local/OpenOffice.org1.1.0/program/libvcl645fi.so #71 0x0805e221 in desktop::Desktop::Main() () #72 0x28194b9c in SVMain() () from /usr/local/OpenOffice.org1.1.0/program/libvcl645fi.so #73 0x28342371 in main () from /usr/local/OpenOffice.org1.1.0/program/libvcl645fi.so #74 0x08057649 in _start () (gdb) (gdb)
Created attachment 12635 [details] File openable under Oo Windows and Linux but not FreeBSD
HI->CP: Could load it with Win & Unix.
I successfully opened it in OOo 1.1.1something-to-be-released from fix2. Could you please try FreeBSD version from ftp://ftp.linux.cz/pub/localization/OpenOffice.org/devel/1.1.1/build-8 ?
See http://tmp.janik.cz/OpenOffice.org/24657/snapshot001.png for screenshot.
Glad you were able to open it (or maybe you're using Linux..;) I'm just kidding). I couldn't see any English version at the ftp location you sent me. What should I do ? Thanks for your feedback. Dany
I'm using GNU/Linux on my desktop, but OOo was run from FreeBSD this time: FreeBSD leda.fi.muni.cz 4.9-STABLE FreeBSD 4.9-STABLE #0: Mon Jan 12 14:38:33 CET 2004 xbezdekatleda.fi.muni.cz:/usr/obj/usr/src/sys/LEDA i386 Please dry e.g. czech version. it is simple - soffice file.sxw ;-)
Hello, I've downloaded and extracted : ftp://ftp.linux.cz/pub/localization/OpenOffice.org/devel/1.1.1/build-8/OOo_1.1.1_czech_FreeBSD_install.tar.gz then hermes# ./install Installation starting, please be patient ... Initializing installation program.................... /usr/libexec/ld-elf.so.1: Shared object "libstdc++.so.5" not found /usr/libexec/ld-elf.so.1: Shared object "libstdc++.so.5" not found Installation Completed hermes# Anything I should install before installing this version ? Thanks Dany
Which version of FreeBSD do you use?
It's 5.2 RELEASE
I always installed it using a package form (pkg_add xxx) and not an install package like the one you sent.
cp->pjanik: Pavel, please take ownership of this issue since I cannot be of any help here. If you think this issue is fixed then please change the resolution to fixed.
Maho, could you confirm this issue? It works for me...
yes. I used 5.2-RELEASE and got same error. sorry I cannot state my screenshot since I use Japanese version :( Confirmed.
hmm, this seems to be 5.2 specific issue :-( I do not have access to such system. Maho, could you debug, please?
dnativel and pjanik, would you please tell me the version of Java? recent java (1.4.2-p6) seems to have some problems. mine is: % java -version java version "1.4.2-p6" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-p6-root_23_jan_2004_10_09) Java HotSpot(TM) Client VM (build 1.4.2-p6-root_23_jan_2004_10_09, mixed mode)
Mine is: pavel@leda:~> /usr/local/jdk1.4.1/bin/java -version java version "1.4.1-p4" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-p4-root_12_nov_2003_22_44) Java HotSpot(TM) Client VM (build 1.4.1-p4-root_12_nov_2003_22_44, mixed mode)
I don't have any JVM installed on my BSD box! Can that be the problem ? When I used the binary package it didn't complain during the installation so I thought it was not required. I'm able to open and save .sxw documents so I thought it was fine ! What Java version do you recommend me to install (pre-compiled, source?) ? Thanks Dany
Just installed a binary package of 1.1.1RC3 (the official 1.1.1) and opened my favorite "buggy" file... it worked this time ! This issue can be closed I guess. Thanks Dany
As a side note I wanted to add : - This time I properly installed the Sun JDK (This is the first time ever) - In the past the JVM may not have been installed - OOo install never complained about missing or wrong JVM --- > So it may have been related to a missing/wrong JVM !! Dany
Thanks. Marking this as fixed.
close issue.