Date: Tue, 13 Jan 2004 09:33:24 +1030 From: "Daniel O'Connor" <doconnor@gsoft.com.au> To: Martin Blapp <mb@imp.ch>, Dany <dany_list@natzo.com> Cc: openoffice@freebsd.org Subject: Re: Can you open this OpenOffice document ? Windows can, Knoppix can but not FBSD! Message-ID: <200401130933.24271.doconnor@gsoft.com.au> In-Reply-To: <20040112143753.R99377@cvs.imp.ch> References: <20040112143753.R99377@cvs.imp.ch>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 13 January 2004 00:19, Martin Blapp wrote: > Please move the discussion to openoffice@freebsd.org. OK! > I can open your document successfully. How do you start openoffice > btw ? Do you use the wrapper ? Err.. yes? <end user mode>I just run 'openoffice-1.1' :) > Try the following: > > export LD_LIBRARY_PATH=/usr/local/OpenOffice.org1.1.0/program > gdb /usr/local/OpenOffice.org1.1.0/program/soffice.bin > > And send me the backtrace ... I can also offer you librarys with debug > symbols compiled in after I got your reeport. Hmm, well I get this -> [chowder 9:22] ~ >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-undermydesk-freebsd"... (no debugging symbols found)... (gdb) run tips52-bug.sxw Starting program: /usr/local/OpenOffice.org1.1.0/program/soffice.bin tips52-bug.sx w Program terminated with signal SIGTRAP, Trace/breakpoint trap. The program no longer exists. <sigh> I can gdb the core file though -> (gdb) bt #0 0x2927647b in pthread_testcancel () from /usr/lib/libkse.so.1 #1 0x29267757 in sigaction () from /usr/lib/libkse.so.1 #2 0x29261104 in pthread_kill () from /usr/lib/libkse.so.1 #3 0x29260981 in raise () from /usr/lib/libkse.so.1 #4 0x2949b592 in abort () from /lib/libc.so.5 #5 0x28c86b96 in CallSystemHandler () from /usr/local/OpenOffice.org1.1.0/program/libsal.so.3 #6 0x28c86c65 in SignalHandlerFunction () from /usr/local/OpenOffice.org1.1.0/program/libsal.so.3 #7 0x292661ec in sigaction () from /usr/lib/libkse.so.1 #8 0x29266039 in sigaction () from /usr/lib/libkse.so.1 #9 0x29266c47 in sigaction () from /usr/lib/libkse.so.1 #10 0x2926ef80 in pthread_mutexattr_init () from /usr/lib/libkse.so.1 #11 0x2926eea7 in pthread_mutexattr_init () from /usr/lib/libkse.so.1 #12 0x294861d3 in _ctx_start () from /lib/libc.so.5 #13 0x080aa000 in ?? () If I go back to libc_r the symptoms are the same but the crash dump is more interesting -> (gdb) bt #0 0x2942fdaf in kill () from /lib/libc.so.5 #1 0x29424838 in raise () from /lib/libc.so.5 #2 0x2949a592 in abort () from /lib/libc.so.5 #3 0x28c86b96 in CallSystemHandler () from /usr/local/OpenOffice.org1.1.0/program/libsal.so.3 #4 0x28c86c65 in SignalHandlerFunction () from /usr/local/OpenOffice.org1.1.0/program/libsal.so.3 #5 0x29265f34 in _thread_sig_handler () from /usr/lib/libc_r.so.5 #6 0x29265d9d in _thread_sig_handler () from /usr/lib/libc_r.so.5 #7 <signal handler called> #8 0x2927024b in _pthread_cond_timedwait () from /usr/lib/libc_r.so.5 #9 0x29270375 in pthread_cond_timedwait () from /usr/lib/libc_r.so.5 #10 0x28c7af4d in osl_waitCondition () from /usr/local/OpenOffice.org1.1.0/program/libsal.so.3 #11 0x28b0fd30 in comphelper::ConditionWaiter::ConditionWaiter(comphelper::Condition&, unsigned long) () from /usr/local/OpenOffice.org1.1.0/program/libcomphelp3gcc3.so #12 0x289a66e9 in utl::Moderator::getResult(unsigned long) () from /usr/local/OpenOffice.org1.1.0/program/libutl645fi.so #13 0x289a7871 in utl::UCBOpenContentSync(utl::UcbLockBytesRef, com::sun::star::uno::Reference<com::sun::star::ucb::XContent>, com::sun::star::ucb::Command const&, com::sun::star::uno::Reference<com::sun::star::uno::XInterface>, com::sun::star::uno::Reference<com::sun::star::task::XInteractionHandler>, com::sun::star::uno::Reference<com::sun::star::ucb::XProgressHandler>, utl::UcbLockBytesHandlerRef) () from /usr/local/OpenOffice.org1.1.0/program/libutl645fi.so #14 0x289ad233 in utl::UcbLockBytes::CreateLockBytes(com::sun::star::uno::Reference<com::sun::star::ucb::XContent> const&, com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&, unsigned short, com::sun::star::uno::Reference<com::sun::star::task::XInteractionHandler> const&, utl::UcbLockBytesHandler*) () from /usr/local/OpenOffice.org1.1.0/program/libutl645fi.so #15 0x2b9bd8fb in SfxMedium::GetMedium_Impl() () from /usr/local/OpenOffice.org1.1.0/program/libsfx645fi.so #16 0x2b9b7cd9 in SfxMedium::GetInStream() () from /usr/local/OpenOffice.org1.1.0/program/libsfx645fi.so #17 0x2b9be2a2 in SfxMedium::DownLoad(Link const&) () from /usr/local/OpenOffice.org1.1.0/program/libsfx645fi.so #18 0x2b03b30f in SvFileObject::LoadFile_Impl() () from /usr/local/OpenOffice.org1.1.0/program/libsvx645fi.so #19 0x2b03ac57 in SvFileObject::GetData(com::sun::star::uno::Any&, String const&, unsigned char) () from /usr/local/OpenOffice.org1.1.0/program/libsvx645fi.so #20 0x2abcfda8 in so3::SvBaseLink::Update() () from /usr/local/OpenOffice.org1.1.0/program/libso645fi.so #21 0x2ce3ffd5 in SwBaseLink::SwapIn(unsigned char, unsigned char) () from /usr/local/OpenOffice.org1.1.0/program/libsw645fi.so #22 0x2cb86a97 in SwGrfNode::ReRead(String const&, String const&, Graphic const*, GraphicObject const*, unsigned char) () from /usr/local/OpenOffice.org1.1.0/program/libsw645fi.so #23 0x2cb85fcf in SwGrfNode::SwGrfNode(SwNodeIndex const&, String const&, String const&, Graphic const*, SwGrfFmtColl*, SwAttrSet*) () from /usr/local/OpenOffice.org1.1.0/program/libsw645fi.so #24 0x2cb86f1c 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 #25 0x2cda4578 in SwDoc::Insert(SwPaM const&, String const&, String const&, Graphic const*, SfxItemSet const*, SfxItemSet const*, SwFrmFmt*) () from /usr/local/OpenOffice.org1.1.0/program/libsw645fi.so #26 0x2ce98d27 in SwXFrame::attachToRange(com::sun::star::uno::Reference<com::sun::star::text::XTextRange> const&) () from /usr/local/OpenOffice.org1.1.0/program/libsw645fi.so #27 0x2cf16380 in SwXText::insertTextContent(com::sun::star::uno::Reference<com::sun::star::text::XTextRange> const&, com::sun::star::uno::Reference<com::sun::star::text::XTextContent> const&, unsigned char) () from /usr/local/OpenOffice.org1.1.0/program/libsw645fi.so #28 0x2bf6aeee in XMLTextImportHelper::InsertTextContent(com::sun::star::uno::Reference<com::sun::star::text::XTextContent>&) () from /usr/local/OpenOffice.org1.1.0/program/libxo645fi.so #29 0x2bfd24b6 in XMLTextFrameContext::Create(unsigned char) () from /usr/local/OpenOffice.org1.1.0/program/libxo645fi.so #30 0x2bfd49a7 in XMLTextFrameContext::XMLTextFrameContext(SvXMLImport&, unsigned short, rtl::OUString const&, com::sun::star::uno::Reference<com::sun::star::xml::sax::XAttributeList> const&, com::sun::star::text::TextContentAnchorType, unsigned short) () from /usr/local/OpenOffice.org1.1.0/program/libxo645fi.so #31 0x2bfd7e6d in XMLTextFrameHyperlinkContext::CreateChildContext(unsigned short, 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 #32 0x2bec9093 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 #33 0x2a8b3c6a in sax_expatwrap::SaxExpatParser_Impl::callbackStartElement(void*, unsigned short const*, unsigned short const**) () from /usr/local/OpenOffice.org1.1.0/program/sax.uno.so #34 0x2a8be2ca in doContent () from /usr/local/OpenOffice.org1.1.0/program/sax.uno.so #35 0x2a8bdb31 in contentProcessor () from /usr/local/OpenOffice.org1.1.0/program/sax.uno.so #36 0x2a8bd83f in XML_ParseBuffer () from /usr/local/OpenOffice.org1.1.0/program/sax.uno.so #37 0x2a8bd7ec in XML_Parse () from /usr/local/OpenOffice.org1.1.0/program/sax.uno.so #38 0x2a8b35b8 in sax_expatwrap::SaxExpatParser_Impl::parse() () from /usr/local/OpenOffice.org1.1.0/program/sax.uno.so #39 0x2a8b22e2 in sax_expatwrap::SaxExpatParser::parseStream(com::sun::star::xml::sax::InputSource const&) () from /usr/local/OpenOffice.org1.1.0/program/sax.uno.so #40 0x2d0696ed in ReadThroughComponent(com::sun::star::uno::Reference<com::sun::star::io::XInputStream>, com::sun::star::uno::Reference<com::sun::star::lang::XComponent>, String const&, com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory>&, 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 short, unsigned char, unsigned char, unsigned char) () from /usr/local/OpenOffice.org1.1.0/program/libsw645fi.so #41 0x2d06a134 in ReadThroughComponent(SvStorage*, com::sun::star::uno::Reference<com::sun::star::lang::XComponent>, char const*, char const*, com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory>&, 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 short, unsigned char, unsigned char) () from /usr/local/OpenOffice.org1.1.0/program/libsw645fi.so #42 0x2d06b797 in XMLReader::Read(SwDoc&, SwPaM&, String const&) () from /usr/local/OpenOffice.org1.1.0/program/libsw645fi.so #43 0x2cf25d43 in SwReader::Read(Reader const&) () from /usr/local/OpenOffice.org1.1.0/program/libsw645fi.so #44 0x2d0b9dbc in SwDocShell::Load(SvStorage*) () from /usr/local/OpenOffice.org1.1.0/program/libsw645fi.so #45 0x2b9ef000 in SfxObjectShell::LoadOwnFormat(SfxMedium&) () from /usr/local/OpenOffice.org1.1.0/program/libsfx645fi.so #46 0x2b9e64d4 in SfxObjectShell::DoLoad(SfxMedium*) () from /usr/local/OpenOffice.org1.1.0/program/libsfx645fi.so #47 0x2b96a79c in LoadEnvironment_Impl::Load(SfxObjectFactory const*) () from /usr/local/OpenOffice.org1.1.0/program/libsfx645fi.so #48 0x2b96c0b9 in LoadEnvironment_Impl::LoadDataAvailable() () from /usr/local/OpenOffice.org1.1.0/program/libsfx645fi.so #49 0x2b96c269 in LoadEnvironment_Impl::LoadDataAvailable() () from /usr/local/OpenOffice.org1.1.0/program/libsfx645fi.so #50 0x2b969d35 in LoadEnvironment_Impl::Start() () from /usr/local/OpenOffice.org1.1.0/program/libsfx645fi.so #51 0x2ba4372e in SfxFrameLoader_Impl::load(com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&, com::su---Type <return> to continue, or q <return> to quit--- n::star::uno::Reference<com::sun::star::frame::XFrame> const&) () from /usr/local/OpenOffice.org1.1.0/program/libsfx645fi.so #52 0x2c606dae 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::XFrame> const&, com::sun::star::uno::Any const&) () from /usr/local/OpenOffice.org1.1.0/program/libfwk645fi.so #53 0x2c60d19a in framework::BlankDispatcher::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/libfwk645fi.so #54 0x2c6008a4 in framework::BaseDispatcher::dispatchWithNotification(com::sun::star::util::URL const&, com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&, com::sun::star::uno::Reference<com::sun::star::frame::XDispatchResultListener> const&) () from /usr/local/OpenOffice.org1.1.0/program/libfwk645fi.so #55 0x2c61b1d8 in framework::Desktop::loadComponentFromURL(rtl::OUString const&, rtl::OUString const&, long, com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&) () from /usr/local/OpenOffice.org1.1.0/program/libfwk645fi.so #56 0x08074078 in desktop::DispatchWatcher::executeDispatchRequests(_STL::vector<desktop::DispatchWatcher::DispatchRequest, _STL::allocator<desktop::DispatchWatcher::DispatchRequest> > const&) () #57 0x0806a4f7 in desktop::OfficeIPCThread::ExecuteCmdLineRequests(desktop::ProcessDocumentsRequest&) () #58 0x08060e4d in desktop::Desktop::OpenClients() () #59 0x0805ed15 in desktop::Desktop::OpenClients_Impl(void*) () #60 0x0805ecf6 in desktop::Desktop::LinkStubOpenClients_Impl(void*, void*) () #61 0x282ce137 in ImplHandleUserEvent(ImplSVEvent*) () from /usr/local/OpenOffice.org1.1.0/program/libvcl645fi.so #62 0x282ce816 in ImplWindowFrameProc(void*, SalFrame*, unsigned short, void const*) () from /usr/local/OpenOffice.org1.1.0/program/libvcl645fi.so #63 0x2832991d in SalFrameData::HandleClientMessage(XClientMessageEvent*) () from /usr/local/OpenOffice.org1.1.0/program/libvcl645fi.so #64 0x2832a3b1 in SalFrameData::Dispatch(_XEvent*) () from /usr/local/OpenOffice.org1.1.0/program/libvcl645fi.so #65 0x28352764 in SalDisplay::Dispatch(_XEvent*) () from /usr/local/OpenOffice.org1.1.0/program/libvcl645fi.so #66 0x283524b7 in SalDisplay::Yield(unsigned char) () from /usr/local/OpenOffice.org1.1.0/program/libvcl645fi.so #67 0x2834ed58 in DisplayYield(int, SalDisplay*) () from /usr/local/OpenOffice.org1.1.0/program/libvcl645fi.so #68 0x2834d89a in SalXLib::Yield(unsigned char) () from /usr/local/OpenOffice.org1.1.0/program/libvcl645fi.so #69 0x28355939 in SalInstance::Yield(unsigned char) () from /usr/local/OpenOffice.org1.1.0/program/libvcl645fi.so #70 0x2819a0a8 in Application::Yield() () from /usr/local/OpenOffice.org1.1.0/program/libvcl645fi.so #71 0x28199fe1 in Application::Execute() () from /usr/local/OpenOffice.org1.1.0/program/libvcl645fi.so #72 0x0805e241 in desktop::Desktop::Main() () #73 0x2819eb98 in SVMain() () from /usr/local/OpenOffice.org1.1.0/program/libvcl645fi.so #74 0x2834c36d in main () from /usr/local/OpenOffice.org1.1.0/program/libvcl645fi.so #75 0x08057662 in _start () *thud* Ahh, GDB doesn't cry if I run soffice in it with libc_r -> [chowder 9:28] ~ >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-undermydesk-freebsd"...(no debugging symbols found)... (gdb) run tips52-bug.sxw Starting program: /usr/local/OpenOffice.org1.1.0/program/soffice.bin tips52-bug.sxw /usr/sbin/lpc: not found Program received signal SIGBUS, Bus error. 0x2927024b in _pthread_cond_timedwait () from /usr/lib/libc_r.so.5 (gdb) bt #0 0x2927024b in _pthread_cond_timedwait () from /usr/lib/libc_r.so.5 #1 0x29270375 in pthread_cond_timedwait () from /usr/lib/libc_r.so.5 #2 0x28c7af4d in osl_waitCondition () from /usr/local/OpenOffice.org1.1.0/program/libsal.so.3 #3 0x28b0fd30 in comphelper::ConditionWaiter::ConditionWaiter(comphelper::Condition&, unsigned long) () from /usr/local/OpenOffice.org1.1.0/program/libcomphelp3gcc3.so [snip, looks identical to the core one] Now, about those debugging libs.. -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 9A8C 569F 685A D928 5140 AE4B 319B 41F4 5D17 FDD5
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401130933.24271.doconnor>