Apache OpenOffice (AOO) Bugzilla – Issue 18439
lockup while trying to open a 500 page document with java beans
Last modified: 2013-07-30 02:38:52 UTC
When I open a 100 page document with the Java Bean for OOo OpenOffice is able to handle it. However when I try exactly the same with a 500 page document OpenOffice locks up! The following is the stack trace as reported by gdb: Thread 10 (Thread 1123618096 (LWP 3215)): #0 0xffffe002 in ?? () #1 0x40b2e5ba in vos::OPipe::accept(vos::OStreamPipe&) () from /home/con/OpenOffice.org1.1rc3/program/libvos3gcc3.so #2 0x0806e9dd in desktop::OfficeIPCThread::run() () #3 0x40b27f66 in vos::_cpp_OThread_WorkerFunction(void*) () from /home/con/OpenOffice.org1.1rc3/program/libvos3gcc3.so #4 0x40b27f4b in _OThread_WorkerFunction(void*) () from /home/con/OpenOffice.org1.1rc3/program/libvos3gcc3.so #5 0x40bba53d in osl_getTextEncodingFromLocale () from /home/con/OpenOffice.org1.1rc3/program/libsal.so.3 #6 0x41132332 in start_thread () from /lib/tls/libpthread.so.0 Thread 9 (Thread 1135660336 (LWP 3217)): #0 0xffffe002 in ?? () Thread 8 (Thread 1144188208 (LWP 3218)): #0 0xffffe002 in ?? () #1 0x402c0d9b in ICEConnectionWorker () from /home/con/OpenOffice.org1.1rc3/program/libvcl645li.so #2 0x40bba53d in osl_getTextEncodingFromLocale () from /home/con/OpenOffice.org1.1rc3/program/libsal.so.3 #3 0x41132332 in start_thread () from /lib/tls/libpthread.so.0 Thread 7 (Thread 1152687408 (LWP 3219)): #0 0xffffe002 in ?? () #1 0x44337e81 in component_getFactory () from /home/con/OpenOffice.org1.1rc3/program/acceptor.uno.so #2 0x4433375a in component_getDescriptionFunc () from /home/con/OpenOffice.org1.1rc3/program/acceptor.uno.so #3 0x41f0ff42 in component_getDescriptionFunc () from /home/con/OpenOffice.org1.1rc3/program/liboffacc645li.so #4 0x41f0f07b in component_getDescriptionFunc () from /home/con/OpenOffice.org1.1rc3/program/liboffacc645li.so #5 0x40bba53d in osl_getTextEncodingFromLocale () from /home/con/OpenOffice.org1.1rc3/program/libsal.so.3 #6 0x41132332 in start_thread () from /lib/tls/libpthread.so.0 Thread 6 (Thread 1195851056 (LWP 3222)): #0 0xffffe002 in ?? () #1 0x46c5f871 in guard variable for cppu::WeakImplHelper1<com::sun::star::frame::XStatusListener>::s_cd () from /home/con/OpenOffice.org1.1rc3/program/libdtransX11645li.so #2 0x46c5f9d4 in guard variable for cppu::WeakImplHelper1<com::sun::star::frame::XStatusListener>::s_cd () from /home/con/OpenOffice.org1.1rc3/program/libdtransX11645li.so #3 0x40bba53d in osl_getTextEncodingFromLocale () from /home/con/OpenOffice.org1.1rc3/program/libsal.so.3 #4 0x41132332 in start_thread () from /lib/tls/libpthread.so.0 Thread 5 (Thread 1215315248 (LWP 3272)): #0 0xffffe002 in ?? () #1 0x40bb6fde in osl_waitCondition () from /home/con/OpenOffice.org1.1rc3/program/libsal.so.3 #2 0x48cc5587 in component_canUnload () from /home/con/OpenOffice.org1.1rc3/program/liburp_uno.so #3 0x48cb8700 in component_canUnload () from /home/con/OpenOffice.org1.1rc3/program/liburp_uno.so #4 0x40bba53d in osl_getTextEncodingFromLocale () from /home/con/OpenOffice.org1.1rc3/program/libsal.so.3 #5 0x41132332 in start_thread () from /lib/tls/libpthread.so.0 Thread 4 (Thread 1229798704 (LWP 3273)): #0 0xffffe002 in ?? () #1 0x40bb9339 in osl_readSocket () from /home/con/OpenOffice.org1.1rc3/program/libsal.so.3 #2 0x443368ed in component_getFactory () from /home/con/OpenOffice.org1.1rc3/program/acceptor.uno.so #3 0x48ca0843 in component_getFactory () from /home/con/OpenOffice.org1.1rc3/program/remotebridge.uno.so #4 0x48cc433b in component_canUnload () from /home/con/OpenOffice.org1.1rc3/program/liburp_uno.so #5 0x48cc2871 in component_canUnload () from /home/con/OpenOffice.org1.1rc3/program/liburp_uno.so #6 0x48cb8700 in component_canUnload () from /home/con/OpenOffice.org1.1rc3/program/liburp_uno.so #7 0x40bba53d in osl_getTextEncodingFromLocale () from /home/con/OpenOffice.org1.1rc3/program/libsal.so.3 #8 0x41132332 in start_thread () from /lib/tls/libpthread.so.0 Thread 3 (Thread 1255488816 (LWP 3279)): #0 0xffffe002 in ?? () #1 0x40bb6fde in osl_waitCondition () from /home/con/OpenOffice.org1.1rc3/program/libsal.so.3 #2 0x40a4da88 in comphelper::ConditionWaiter::ConditionWaiter(comphelper::Condition&) () from /home/con/OpenOffice.org1.1rc3/program/libcomphelp3gcc3.so #3 0x40af5798 in ucb_impl::DownloadThread_Impl::onTerminated() () from /home/con/OpenOffice.org1.1rc3/program/libucbhelper2gcc3.so #4 0x408ed95a in threadFunc () from /home/con/OpenOffice.org1.1rc3/program/libutl645li.so #5 0x40bba53d in osl_getTextEncodingFromLocale () from /home/con/OpenOffice.org1.1rc3/program/libsal.so.3 #6 0x41132332 in start_thread () from /lib/tls/libpthread.so.0 Thread 2 (Thread 1246584112 (LWP 3298)): #0 0xffffe002 in ?? () #1 0x402b5137 in SalDisplay::SendEvent(unsigned long, unsigned long*, unsigned long) const () from /home/con/OpenOffice.org1.1rc3/program/libvcl645li.so #2 0x402b503e in SalDisplay::SendEvent(unsigned long, void*, unsigned long) const () from /home/con/OpenOffice.org1.1rc3/program/libvcl645li.so #3 0x40287036 in SalFrame::PostEvent(void*) () from /home/con/OpenOffice.org1.1rc3/program/libvcl645li.so #4 0x400e657d in Application::PostUserEvent(unsigned long&, Link const&, void*) () from /home/con/OpenOffice.org1.1rc3/program/libvcl645li.so #5 0x400e6467 in Application::PostUserEvent(Link const&, void*) () from /home/con/OpenOffice.org1.1rc3/program/libvcl645li.so #6 0x4790de87 in typeinfo for com::sun::star::registry::InvalidRegistryException () from /home/con/OpenOffice.org1.1rc3/program/libsw645li.so #7 0x475aac74 in typeinfo for com::sun::star::registry::InvalidRegistryException () from /home/con/OpenOffice.org1.1rc3/program/libsw645li.so #8 0x477e75bc in typeinfo for com::sun::star::registry::InvalidRegistryException () from /home/con/OpenOffice.org1.1rc3/program/libsw645li.so #9 0x477e76ea in typeinfo for com::sun::star::registry::InvalidRegistryException () from /home/con/OpenOffice.org1.1rc3/program/libsw645li.so #10 0x477f50c6 in typeinfo for com::sun::star::registry::InvalidRegistryException () from /home/con/OpenOffice.org1.1rc3/program/libsw645li.so #11 0x4791d086 in typeinfo for com::sun::star::registry::InvalidRegistryException () from /home/con/OpenOffice.org1.1rc3/program/libsw645li.so #12 0x460fd6cd in XMLTextImportHelper::DeleteParagraph() () from /home/con/OpenOffice.org1.1rc3/program/libxo645li.so #13 0x47ae69a0 in typeinfo for com::sun::star::registry::InvalidRegistryException () from /home/con/OpenOffice.org1.1rc3/program/libsw645li.so #14 0x46054381 in SvXMLImport::endElement(rtl::OUString const&) () from /home/con/OpenOffice.org1.1rc3/program/libxo645li.so #15 0x431c12e6 in component_getDescriptionFunc () from /home/con/OpenOffice.org1.1rc3/program/sax.uno.so 16 0x431cc4b2 in component_getFactory () from /home/con/OpenOffice.org1.1rc3/program/sax.uno.so #17 0x431cb984 in component_getFactory () from /home/con/OpenOffice.org1.1rc3/program/sax.uno.so #18 0x431cb65d in component_getFactory () from /home/con/OpenOffice.org1.1rc3/program/sax.uno.so #19 0x431cb5f4 in component_getFactory () from /home/con/OpenOffice.org1.1rc3/program/sax.uno.so #20 0x431c08b2 in component_getDescriptionFunc () from /home/con/OpenOffice.org1.1rc3/program/sax.uno.so #21 0x431bf8c3 in component_getDescriptionFunc () from /home/con/OpenOffice.org1.1rc3/program/sax.uno.so #22 0x47acedb0 in typeinfo for com::sun::star::registry::InvalidRegistryException () from /home/con/OpenOffice.org1.1rc3/program/libsw645li.so #23 0x47acf736 in typeinfo for com::sun::star::registry::InvalidRegistryException () from /home/con/OpenOffice.org1.1rc3/program/libsw645li.so #24 0x47ad101b in typeinfo for com::sun::star::registry::InvalidRegistryException () from /home/con/OpenOffice.org1.1rc3/program/libsw645li.so #25 0x479776f6 in typeinfo for com::sun::star::registry::InvalidRegistryException () from /home/con/OpenOffice.org1.1rc3/program/libsw645li.so #26 0x47b22751 in CreateObjSwDocShellDll () from /home/con/OpenOffice.org1.1rc3/program/libsw645li.so #27 0x47b23691 in CreateObjSwDocShellDll () from /home/con/OpenOffice.org1.1rc3/program/libsw645li.so #28 0x45b6fd02 in SfxObjectShell::LoadOwnFormat(SfxMedium&) () from /home/con/OpenOffice.org1.1rc3/program/libsfx645li.so #29 0x45b669d1 in SfxObjectShell::DoLoad(SfxMedium*) () from /home/con/OpenOffice.org1.1rc3/program/libsfx645li.so #30 0x45aea8a0 in LoadEnvironment_Impl::Load(SfxObjectFactory const*) () from /home/con/OpenOffice.org1.1rc3/program/libsfx645li.so #31 0x45aec1a4 in LoadEnvironment_Impl::LoadDataAvailable() () from /home/con/OpenOffice.org1.1rc3/program/libsfx645li.so #32 0x45aec354 in LoadEnvironment_Impl::LoadDataAvailable() () from /home/con/OpenOffice.org1.1rc3/program/libsfx645li.so #33 0x45ae9d34 in LoadEnvironment_Impl::Start() () from /home/con/OpenOffice.org1.1rc3/program/libsfx645li.so #34 0x45bc68b4 in SfxFrameLoader_Impl::load(com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&, com::sun::s tar::uno::Reference<com::sun::star::frame::XFrame> const&) () from /home/con/OpenOffice.org1.1rc3/program/libsfx645li.so #35 0x467f3d28 in component_getFactory () from /home/con/OpenOffice.org1.1rc3/program/libfwk645li.so #36 0x467f2480 in component_getFactory () from /home/con/OpenOffice.org1.1rc3/program/libfwk645li.so #37 0x4677a2c3 in typeinfo for com::sun::star::registry::InvalidRegistryException () from /home/con/OpenOffice.org1.1rc3/program/libsfx645li.so #35 0x467f3d28 in component_getFactory () from /home/con/OpenOffice.org1.1rc3/program/libfwk645li.so #36 0x467f2480 in component_getFactory () from /home/con/OpenOffice.org1.1rc3/program/libfwk645li.so #37 0x4677a2c3 in typeinfo for com::sun::star::registry::InvalidRegistryException () ---Type <return> to continue, or q <return> to quit--- from /home/con/OpenOffice.org1.1rc3/program/libfwk645li.so #38 0x466d6899 in uno_ext_getMapping () from /home/con/OpenOffice.org1.1rc3/program/libgcc3_uno.so #39 0x466d6c34 in uno_ext_getMapping () from /home/con/OpenOffice.org1.1rc3/program/libgcc3_uno.so #40 0x466d70f6 in uno_ext_getMapping () from /home/con/OpenOffice.org1.1rc3/program/libgcc3_uno.so #41 0x48ccce8b in component_canUnload () from /home/con/OpenOffice.org1.1rc3/program/liburp_uno.so #42 0x48cc0b3c in component_canUnload () from /home/con/OpenOffice.org1.1rc3/program/liburp_uno.so #43 0x48cc097c in component_canUnload () from /home/con/OpenOffice.org1.1rc3/program/liburp_uno.so #44 0x40b9ae6c in uno_threadpool_destroy () from /home/con/OpenOffice.org1.1rc3/program/libcppu.so.3 #45 0x40b9b844 in uno_threadpool_destroy () from /home/con/OpenOffice.org1.1rc3/program/libcppu.so.3 #46 0x40b9b212 in uno_threadpool_destroy () from /home/con/OpenOffice.org1.1rc3/program/libcppu.so.3 #47 0x40bba53d in osl_getTextEncodingFromLocale () from /home/con/OpenOffice.org1.1rc3/program/libsal.so.3 #48 0x41132332 in start_thread () from /lib/tls/libpthread.so.0 Thread 1 (Thread 1104015840 (LWP 3195)): #0 0xffffe002 in ?? () #1 0x40bb9bde in osl_acquireMutex () from /home/con/OpenOffice.org1.1rc3/program/libsal.so.3 #2 0x40b22906 in vos::OMutex::acquire() () from /home/con/OpenOffice.org1.1rc3/program/libvos3gcc3.so #3 0x402b85e4 in SalYieldMutex::acquire() () from /home/con/OpenOffice.org1.1rc3/program/libvcl645li.so #4 0x402afcdc in SalXLib::Yield(unsigned char) () from /home/con/OpenOffice.org1.1rc3/program/libvcl645li.so #5 0x402b8b94 in SalInstance::Yield(unsigned char) () from /home/con/OpenOffice.org1.1rc3/program/libvcl645li.so tar::uno::Reference<com::sun::star::frame::XFrame> const&) () from /home/con/OpenOffice.org1.1rc3/program/libsfx645li.so #35 0x467f3d28 in component_getFactory () from /home/con/OpenOffice.org1.1rc3/program/libfwk645li.so #36 0x467f2480 in component_getFactory () from /home/con/OpenOffice.org1.1rc3/program/libfwk645li.so #37 0x4677a2c3 in typeinfo for com::sun::star::registry::InvalidRegistryException () from /home/con/OpenOffice.org1.1rc3/program/libsfx645li.so #35 0x467f3d28 in component_getFactory () from /home/con/OpenOffice.org1.1rc3/program/libfwk645li.so #36 0x467f2480 in component_getFactory () from /home/con/OpenOffice.org1.1rc3/program/libfwk645li.so #37 0x4677a2c3 in typeinfo for com::sun::star::registry::InvalidRegistryException () ---Type <return> to continue, or q <return> to quit--- from /home/con/OpenOffice.org1.1rc3/program/libfwk645li.so #38 0x466d6899 in uno_ext_getMapping () from /home/con/OpenOffice.org1.1rc3/program/libgcc3_uno.so #39 0x466d6c34 in uno_ext_getMapping () from /home/con/OpenOffice.org1.1rc3/program/libgcc3_uno.so #40 0x466d70f6 in uno_ext_getMapping () from /home/con/OpenOffice.org1.1rc3/program/libgcc3_uno.so #41 0x48ccce8b in component_canUnload () from /home/con/OpenOffice.org1.1rc3/program/liburp_uno.so #42 0x48cc0b3c in component_canUnload () from /home/con/OpenOffice.org1.1rc3/program/liburp_uno.so #43 0x48cc097c in component_canUnload () from /home/con/OpenOffice.org1.1rc3/program/liburp_uno.so #44 0x40b9ae6c in uno_threadpool_destroy () from /home/con/OpenOffice.org1.1rc3/program/libcppu.so.3 #45 0x40b9b844 in uno_threadpool_destroy () from /home/con/OpenOffice.org1.1rc3/program/libcppu.so.3 #46 0x40b9b212 in uno_threadpool_destroy () from /home/con/OpenOffice.org1.1rc3/program/libcppu.so.3 #47 0x40bba53d in osl_getTextEncodingFromLocale () from /home/con/OpenOffice.org1.1rc3/program/libsal.so.3 #48 0x41132332 in start_thread () from /lib/tls/libpthread.so.0 Thread 1 (Thread 1104015840 (LWP 3195)): #0 0xffffe002 in ?? () #1 0x40bb9bde in osl_acquireMutex () from /home/con/OpenOffice.org1.1rc3/program/libsal.so.3 #2 0x40b22906 in vos::OMutex::acquire() () from /home/con/OpenOffice.org1.1rc3/program/libvos3gcc3.so #3 0x402b85e4 in SalYieldMutex::acquire() () from /home/con/OpenOffice.org1.1rc3/program/libvcl645li.so #4 0x402afcdc in SalXLib::Yield(unsigned char) () from /home/con/OpenOffice.org1.1rc3/program/libvcl645li.so #5 0x402b8b94 in SalInstance::Yield(unsigned char) () from /home/con/OpenOffice.org1.1rc3/program/libvcl645li.so #6 0x400e58b9 in Application::Yield() () from /home/con/OpenOffice.org1.1rc3/program/libvcl645li.so #7 0x400e57cb in Application::Execute() () from /home/con/OpenOffice.org1.1rc3/program/libvcl645li.so #8 0x08065228 in desktop::Desktop::Main() () #9 0x400ea687 in SVMain() () from /home/con/OpenOffice.org1.1rc3/program/libvcl645li.so #10 0x402ae7d4 in main () from /home/con/OpenOffice.org1.1rc3/program/libvcl645li.so #11 0x420156a4 in __libc_start_main () from /lib/tls/libc.so.6 #0 0xffffe002 in ?? ()
Michael, please take care of this.
Add me as CC
Not enough information, please specify: - Which protocol was used to access the document? (file/http/ftp/webdav/..., it does not look like file) - Can you reproduce it with OOo1.1RC4? (There were fixes in some parts on your stacks.) - Can you reproduce it with a document which you could attach? - Do you have any listeners registered?
Why are there two "Tread 1"? Back to reporter until questions answered.
> Not enough information, please specify: > > - Which protocol was used to access the document? > (file/http/ftp/webdav/..., it does not look like file) The protocol was "file:/" > - Can you reproduce it with OOo1.1RC4? > (There were fixes in some parts on your stacks.) When it is out I will test it but I guess that will be a few days yet. >- Can you reproduce it with a document which you could attach? It is a 500 page document. I think it's probably a bit too big to attach to an issue ? I should eb able to email it to you though. It's about 80K in size. I'll also attach the java program I used to access it. > - Do you have any listeners registered? None for the document itself ( only I for the popup menu request ). > Why are there two "Tread 1"? Not too sure, maybe there is a small issue with gdb and it should be labelled Thread 11 ?
Hi, please attach the document, I think 80k is handable :-). If possible, please strip it down as much as possible. Andreas, according to MI you are in the game with this one, so I assign it to you.
I will start investigation into this bug ASAP ...
AS->CPH: Hi; can you please attach the special test document?
Such threading/corruption issues (where some of them are not realy reproducable) cant be fixed in a time frame of OOo 2.0. => I will set it to OOLater.
Changes summary
is this issue still exist on OOo 2.X ? and there is No Bug Doc. Maybe we should close this issue as WFM ?
Changed component from udk to framework.
@ cphennessy Can you please attach the documents or sent it to the developer. so it can be investigate it more. I just curious that the 500 pages documents size is only 80K ? is that correct ?
Reset assignee on issues not touched by assignee in more than 1000 days.