Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Jan 2004 23:35:11 -0500
From:      Dany <dany_list@natzo.com>
To:        freebsd-openoffice@freebsd.org
Subject:   Re: Unrecoverable error when opening a specific document
Message-ID:  <400CAFFF.6020605@natzo.com>
In-Reply-To: <1073952739.400337e369004@natzo.com>
References:  <4002E3E0.40505@natzo.com> <1073952739.400337e369004@natzo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
dany_list@natzo.com wrote:

>Martin,
>
>This is the first time I use gdb. I hope I did the right thing. Please let me
>know if anything else is required. I'll wait until you get all the information
>you need before upgrading to 5.2 Release (hard to resist).
>
>Anyway, I used the 2 commands you sent followed by "run". Then I open the file
>and the progress bar went to about 80% before getting the "segmentation fault"
>thing. I then used "bt" to get the trace.
>
>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)
>
>
>
>
>
>
>Quoting Dany <dany_list@natzo.com>:
>
>  
>
>>Hello,
>>
>>Following Martin Blapp recommendation, I'm re-posting about this problem 
>>(was in freebsd-current).  Some people have been able to open it some 
>>other haven't (using a similar configuration).
>>For information, I got my OpenOffice as a binary package (compiled by a 
>>gentleman from the mailing-list for the 5.2RC2).
>>
>>I'm going to send a backtrace to Martin using :
>>
>>export LD_LIBRARY_PATH=/usr/local/OpenOffice.org1.1.0/program
>>gdb /usr/local/OpenOffice.org1.1.0/program/soffice.bin
>>
>>=====================================
>>
>>The openoffice document is available at http://natzo.com/tips52-bug.tar 
>>. It has been created under OpenOffice 1.1 on a Windows platform. I used 
>>to be able to open it under FreeBSD 5.2RC2 but not anymore.
>>
>>Just to make sure I rebooted with a Knoppix LiveCD and this time I was 
>>able to open this file.
>>
>>So to summarize :
>>- OpenOffice 1.1 / Win2K -> OK
>>- OpenOffice 1.1 / Knoppix 3.2 -> OK
>>- OpenOffice 1.1 / FreeBSD 5.2RC2 ->  ERROR
>>
>>I thought it was a font problem (Arial and other M$ fonts) so I copied 
>>the font directory from the windows machine into a new TrueType dir and 
>>issued mkfontdir command from there.
>>
>>As described on the Handbook I used the following to temporally enable 
>>this new font dir.
>>% xset fp+ /usr/X11R6/lib/X11/fonts/TrueType
>>% xset fp rehash
>>
>>Now when I start OpenOffice and  create a blank document I can see the 
>>new fonts.
>>
>>So when I do :
>>
>>cd /home/alpha/OpenOffice
>>./soffice
>>
>>and open my tips52-bug.sxw file, the progress bar goes up to 100% and 
>>then a popup window displays : "An unrecoverable error has occurred.  
>>All modified files have been saved and can probably be recovered at 
>>program restarts."
>>
>>The console window shows :
>>crash_report : not found
>>Fatal exception : Signal 11
>>Stack:
>>Abort trap (core dumped)
>>
>>
>>I tried to load a previous version of this document and it worked under 
>>FreeBSD. Only this one doesn't work !
>>
>>PS: When I rebooted the first time using "shutdown -r now" I received a 
>>: FATAL TRAP 9: general protection fault ... don't know if this is related.
>>
>>
>>_______________________________________________
>>freebsd-openoffice@freebsd.org mailing list
>>http://lists.freebsd.org/mailman/listinfo/freebsd-openoffice
>>To unsubscribe, send any mail to
>>"freebsd-openoffice-unsubscribe@freebsd.org"
>>
>>    
>>
>
>
>
>_______________________________________________
>freebsd-openoffice@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-openoffice
>To unsubscribe, send any mail to "freebsd-openoffice-unsubscribe@freebsd.org"
>  
>
Haven't seen any activity on this thread for quite some time... should I 
post on OpenOffice website ?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?400CAFFF.6020605>