Apache OpenOffice (AOO) Bugzilla – Issue 16872
Crash in i18npool component_getFactory() upon startup
Last modified: 2013-08-07 15:00:19 UTC
I installed OpenOffice from OOo_1.1rc_LinuxIntel_install.tar.gz. When I tryed launch soffice first time, I got: $ ./soffice Fatal exception: Signal 6 Stack: /media/0/opt/OpenOffice.org1.1/program/libsal.so.3[0x40bb1e2a] /media/0/opt/OpenOffice.org1.1/program/libsal.so.3[0x40bb1fb4] /media/0/opt/OpenOffice.org1.1/program/libsal.so.3[0x40bb207a] /lib/libpthread.so.0[0x4110e1ec] /lib/libc.so.6[0x412ca3a8] /lib/libpthread.so.0(raise+0x2b)[0x4110b83b] /lib/libc.so.6(gsignal+0x44)[0x412ca204] /lib/libc.so.6(abort+0x1c0)[0x412cb830] /media/0/opt/OpenOffice.org1.1/program/libstdc++.so.5[0x41283424] /media/0/opt/OpenOffice.org1.1/program/libstdc++.so.5[0x41283471] /media/0/opt/OpenOffice.org1.1/program/libstdc++.so.5[0x412835e5] /media/0/opt/OpenOffice.org1.1/program/libi18npool645li.so[0x43eef7c9] /media/0/opt/OpenOffice.org1.1/program/libi18npool645li.so[0x43ef02e9] /media/0/opt/OpenOffice.org1.1/program/libi18npool645li.so[0x43eeb1cd] /media/0/opt/OpenOffice.org1.1/program/libvcl645li.so(_ZNK12OutputDevice16ImplGetTextLinesER21ImplMultiTextLineInfolRK6Stringt+0x4fa)[0x401674be] /media/0/opt/OpenOffice.org1.1/program/libvcl645li.so(_ZN12OutputDevice8DrawTextERK9RectangleRK6StringtPN4_STL6vectorIS0_NS6_9allocatorIS0_EEEEPS3_+0x468)[0x4016a572] /media/0/opt/OpenOffice.org1.1/program/libvcl645li.so(_ZNK9FixedText8ImplDrawEP12OutputDevicemRK5PointRK4Sizeb+0x21b)[0x4025d13d] /media/0/opt/OpenOffice.org1.1/program/libvcl645li.so(_ZN9FixedText5PaintERK9Rectangle+0x5e)[0x4025d1ae] /media/0/opt/OpenOffice.org1.1/program/libvcl645li.so(_ZN6Window13ImplCallPaintEPK6Regiont+0x3d6)[0x40210950] /media/0/opt/OpenOffice.org1.1/program/libvcl645li.so(_ZN6Window13ImplCallPaintEPK6Regiont+0x49d)[0x40210a17] /media/0/opt/OpenOffice.org1.1/program/libvcl645li.so(_ZN6Window20ImplCallOverlapPaintEv+0x6a)[0x40210b46] /media/0/opt/OpenOffice.org1.1/program/libvcl645li.so(_ZN6Window18ImplHandlePaintHdlEPv+0x2c)[0x40210bda] /media/0/opt/OpenOffice.org1.1/program/libvcl645li.so(_ZN6Window26LinkStubImplHandlePaintHdlEPvS0_+0x26)[0x40210ba6] /media/0/opt/OpenOffice.org1.1/program/libvcl645li.so(_ZN5Timer7TimeoutEv+0x1f)[0x400e9f6b] /media/0/opt/OpenOffice.org1.1/program/libvcl645li.so(_Z21ImplTimerCallbackProcv+0x82)[0x400e9cba] /media/0/opt/OpenOffice.org1.1/program/libvcl645li.so(_ZNK7SalData7TimeoutEv+0x12)[0x402ae29a] /media/0/opt/OpenOffice.org1.1/program/libvcl645li.so(_ZN7SalXLib12CheckTimeoutEb+0xd6)[0x402adde6] /media/0/opt/OpenOffice.org1.1/program/libvcl645li.so(_ZN7SalXLib5YieldEh+0x2e7)[0x402ae0db] /media/0/opt/OpenOffice.org1.1/program/libvcl645li.so(_ZN11SalInstance5YieldEh+0x34)[0x402b6f70] /media/0/opt/OpenOffice.org1.1/program/libvcl645li.so(_ZN11Application5YieldEv+0x61)[0x400e43c9] /media/0/opt/OpenOffice.org1.1/program/libvcl645li.so(_ZN6Dialog7ExecuteEv+0x1dc)[0x401d5666] /media/0/opt/OpenOffice.org1.1/program/libsvt645li.so(_ZN3svt18RegistrationDialog7ExecuteEv+0x22)[0x4068223e] /media/0/opt/OpenOffice.org1.1/program/libsvt645li.so(_ZN3svt20OProductRegistration7executeERKN3com3sun4star3uno8SequenceINS3_5beans10NamedValueEEE+0x12c)[0x405b259a] /media/0/opt/OpenOffice.org1.1/program/libfwk645li.so[0x434f62b7] /media/0/opt/OpenOffice.org1.1/program/libfwk645li.so[0x43502db6] /media/0/opt/OpenOffice.org1.1/program/libfwk645li.so[0x434a348c] /media/0/opt/OpenOffice.org1.1/program/libtk645li.so(_ZN25WindowListenerMultiplexer11windowShownERKN3com3sun4star4lang11EventObjectE+0x7f)[0x40f7b3e5] /media/0/opt/OpenOffice.org1.1/program/libtk645li.so(_ZN10VCLXWindow18ProcessWindowEventERK14VclWindowEvent+0x375)[0x40ed11ef] /media/0/opt/OpenOffice.org1.1/program/libtk645li.so(_ZN10VCLXWindow19WindowEventListenerEP14VclSimpleEvent+0x4e)[0x40ed0e68] /media/0/opt/OpenOffice.org1.1/program/libtk645li.so(_ZN10VCLXWindow27LinkStubWindowEventListenerEPvS0_+0x26)[0x40ed0e12] /media/0/opt/OpenOffice.org1.1/program/libvcl645li.so(_ZNK17VclEventListeners4CallEP14VclSimpleEvent+0xa9)[0x400ec627] /media/0/opt/OpenOffice.org1.1/program/libvcl645li.so(_ZN6Window18CallEventListenersEmPv+0x7c)[0x4021850c] /media/0/opt/OpenOffice.org1.1/program/libvcl645li.so(_ZN6Window22ImplCallEventListenersEmPv+0x2d)[0x40218489] /media/0/opt/OpenOffice.org1.1/program/libvcl645li.so(_ZN6Window4ShowEht+0x534)[0x4021a500] /media/0/opt/OpenOffice.org1.1/program/libtk645li.so(_ZN10VCLXWindow10setVisibleEh+0x5c)[0x40ed3146] /media/0/opt/OpenOffice.org1.1/program/soffice.bin(_ZN7desktop7Desktop4MainEv+0xdb6)[0x8064196] /media/0/opt/OpenOffice.org1.1/program/libvcl645li.so(_Z6SVMainv+0x49)[0x400e9197] /media/0/opt/OpenOffice.org1.1/program/libvcl645li.so(main+0x1c)[0x402acb7c] /lib/libc.so.6(__libc_start_main+0xc7)[0x412b6857] /media/0/opt/OpenOffice.org1.1/program/soffice.bin(_ZN6Window11RequestHelpERK9HelpEvent+0x3d)[0x805e311] Aborted Distr: SuSE Linux 8.2 (i586) Kernel: Linux version 2.4.20-4GB (root@Pentium.suse.de) (gcc version 3.3 20030226 (prerelease) (SuSE Linux)) glibc-2.3.2-9
definitely not an API problem, i18n?
Don't think so. This also isn't a crash in libsal, it is libc (!) calling abort(), which only gets intercepted by libsal. No idea without further information about - how OOo was installed, with or without -net parameter - was it invoked as root or as a user? - was the user-setup completed for that user account? - which locale was active? - is the abort reproducible?
Same problem for me with SuSE 8.2 2.4.20-64GB-SMP (AMD mobo and CPU's). No problems with SuSE 8.2 2.4.20-4GB on my Intel P4/845 mobo). install --interactive as user: root (OK) soffice as user: me (first run OK) soffice as user: me (unrecoverable error, same stack trace), - main OOo window opens - OpenOffice.org Registration dialog opens with blank content - Unrecoverable error dialog
Me again... locale? is the same on both working and problem systems. Always aborts at the same point - registration dialog. > locale LANG=en_US LC_CTYPE="en_US" LC_NUMERIC="en_US" LC_TIME="en_US" LC_COLLATE=POSIX LC_MONETARY="en_US" LC_MESSAGES="en_US" LC_PAPER="en_US" LC_NAME="en_US" LC_ADDRESS="en_US" LC_TELEPHONE="en_US" LC_MEASUREMENT="en_US" LC_IDENTIFICATION="en_US" LC_ALL=
gdb stacktrace... Program received signal SIGABRT, Aborted. [Switching to Thread 16384 (LWP 2548)] 0x412df471 in kill () from /lib/libc.so.6 (gdb) bt #0 0x412df471 in kill () from /lib/libc.so.6 #1 0x41121521 in pthread_kill () from /lib/libpthread.so.0 #2 0x4112183b in raise () from /lib/libpthread.so.0 #3 0x412df204 in raise () from /lib/libc.so.6 #4 0x412e0830 in abort () from /lib/libc.so.6 #5 0x41299424 in __cxa_call_unexpected () from /usr/local/OpenOffice.org1.1/program/libstdc++.so.5 #6 0x41299471 in std::terminate() () from /usr/local/OpenOffice.org1.1/program/libstdc++.so.5 #7 0x412995e5 in __cxa_throw () from /usr/local/OpenOffice.org1.1/program/libstdc++.so.5 #8 0x44fa47c9 in component_getFactory () from /usr/local/OpenOffice.org1.1/program/libi18npool645li.so #9 0x44fa52e9 in component_getFactory () from /usr/local/OpenOffice.org1.1/program/libi18npool645li.so #10 0x44fa01cd in component_getFactory () from /usr/local/OpenOffice.org1.1/program/libi18npool645li.so #11 0x401674be in OutputDevice::ImplGetTextLines(ImplMultiTextLineInfo&, long, String const&, unsigned short) const () from /usr/local/OpenOffice.org1.1/program/libvcl645li.so #12 0x4016a572 in OutputDevice::DrawText(Rectangle const&, String const&, unsigned short, _STL::vector<Rectangle, _STL::allocator<Rectangle> >*, String*) () from /usr/local/OpenOffice.org1.1/program/libvcl645li.so #13 0x4025d13d in FixedText::ImplDraw(OutputDevice*, unsigned long, Point const&, Size const&, bool) const () from /usr/local/OpenOffice.org1.1/program/libvcl645li.so #14 0x4025d1ae in FixedText::Paint(Rectangle const&) () from /usr/local/OpenOffice.org1.1/program/libvcl645li.so #15 0x40210950 in Window::ImplCallPaint(Region const*, unsigned short) () from /usr/local/OpenOffice.org1.1/program/libvcl645li.so #16 0x40210a17 in Window::ImplCallPaint(Region const*, unsigned short) () ---Type <return> to continue, or q <return> to quit--- from /usr/local/OpenOffice.org1.1/program/libvcl645li.so #17 0x40210b46 in Window::ImplCallOverlapPaint() () from /usr/local/OpenOffice.org1.1/program/libvcl645li.so #18 0x40210bda in Window::ImplHandlePaintHdl(void*) () from /usr/local/OpenOffice.org1.1/program/libvcl645li.so #19 0x40210ba6 in Window::LinkStubImplHandlePaintHdl(void*, void*) () from /usr/local/OpenOffice.org1.1/program/libvcl645li.so #20 0x400e9f6b in Timer::Timeout() () from /usr/local/OpenOffice.org1.1/program/libvcl645li.so #21 0x400e9cba in ImplTimerCallbackProc() () from /usr/local/OpenOffice.org1.1/program/libvcl645li.so #22 0x402ae29a in SalData::Timeout() const () from /usr/local/OpenOffice.org1.1/program/libvcl645li.so #23 0x402adde6 in SalXLib::CheckTimeout(bool) () from /usr/local/OpenOffice.org1.1/program/libvcl645li.so #24 0x402ae0db in SalXLib::Yield(unsigned char) () from /usr/local/OpenOffice.org1.1/program/libvcl645li.so #25 0x402b6f70 in SalInstance::Yield(unsigned char) () from /usr/local/OpenOffice.org1.1/program/libvcl645li.so #26 0x400e43c9 in Application::Yield() () from /usr/local/OpenOffice.org1.1/program/libvcl645li.so #27 0x401d5666 in Dialog::Execute() () from /usr/local/OpenOffice.org1.1/program/libvcl645li.so #28 0x4068223e in svt::RegistrationDialog::Execute() () from /usr/local/OpenOffice.org1.1/program/libsvt645li.so #29 0x405b259a in svt::OProductRegistration::execute(com::sun::star::uno::Sequence<com::sun::star::beans::NamedValue> const&) () from /usr/local/OpenOffice.org1.1/program/libsvt645li.so ---Type <return> to continue, or q <return> to quit--- #30 0x434ef2b7 in component_getFactory () from /usr/local/OpenOffice.org1.1/program/libfwk645li.so #31 0x434fbdb6 in component_getFactory () from /usr/local/OpenOffice.org1.1/program/libfwk645li.so #32 0x4349c48c in typeinfo for com::sun::star::ucb::InteractiveIOException () from /usr/local/OpenOffice.org1.1/program/libfwk645li.so #33 0x40f7b3e5 in WindowListenerMultiplexer::windowShown(com::sun::star::lang::EventObject const&) () from /usr/local/OpenOffice.org1.1/program/libtk645li.so #34 0x40ed11ef in VCLXWindow::ProcessWindowEvent(VclWindowEvent const&) () from /usr/local/OpenOffice.org1.1/program/libtk645li.so #35 0x40ed0e68 in VCLXWindow::WindowEventListener(VclSimpleEvent*) () from /usr/local/OpenOffice.org1.1/program/libtk645li.so #36 0x40ed0e12 in VCLXWindow::LinkStubWindowEventListener(void*, void*) () from /usr/local/OpenOffice.org1.1/program/libtk645li.so #37 0x400ec627 in VclEventListeners::Call(VclSimpleEvent*) const () from /usr/local/OpenOffice.org1.1/program/libvcl645li.so #38 0x4021850c in Window::CallEventListeners(unsigned long, void*) () from /usr/local/OpenOffice.org1.1/program/libvcl645li.so #39 0x40218489 in Window::ImplCallEventListeners(unsigned long, void*) () from /usr/local/OpenOffice.org1.1/program/libvcl645li.so #40 0x4021a500 in Window::Show(unsigned char, unsigned short) () from /usr/local/OpenOffice.org1.1/program/libvcl645li.so #41 0x40ed3146 in VCLXWindow::setVisible(unsigned char) () from /usr/local/OpenOffice.org1.1/program/libtk645li.so #42 0x08064196 in desktop::Desktop::Main() () #43 0x400e9197 in SVMain() () from /usr/local/OpenOffice.org1.1/program/libvcl645li.so #44 0x402acb7c in main () from /usr/local/OpenOffice.org1.1/program/libvcl645li.so #45 0x412cb857 in __libc_start_main () from /lib/libc.so.6
I installed and registered OOo 1.1Beta, then copied ~/OpenOffice.org1.1Beta/ to ~/OpenOffice.org1.1/ OOo 1.1rc now starts with no abort. Click on Tools->Options -> General (OK) -> Memory (OK) -> View (OK) -> Security (ABORT) gdb stacktrace (first few lines)... Program received signal SIGABRT, Aborted. [Switching to Thread 16384 (LWP 2724)] 0x412df471 in kill () from /lib/libc.so.6 (gdb) bt #0 0x412df471 in kill () from /lib/libc.so.6 #1 0x41121521 in pthread_kill () from /lib/libpthread.so.0 #2 0x4112183b in raise () from /lib/libpthread.so.0 #3 0x412df204 in raise () from /lib/libc.so.6 #4 0x412e0830 in abort () from /lib/libc.so.6 #5 0x41299424 in __cxa_call_unexpected () from /usr/local/OpenOffice.org1.1/program/libstdc++.so.5 #6 0x41299471 in std::terminate() () from /usr/local/OpenOffice.org1.1/program/libstdc++.so.5 #7 0x412995e5 in __cxa_throw () from /usr/local/OpenOffice.org1.1/program/libstdc++.so.5 #8 0x4673af9c in component_getFactory () from /usr/local/OpenOffice.org1.1/program/libi18npool645li.so #9 0x46736e89 in component_getFactory () from /usr/local/OpenOffice.org1.1/program/libi18npool645li.so #10 0x467369cd in component_getFactory () from /usr/local/OpenOffice.org1.1/program/libi18npool645li.so #11 0x402615de in ImplGetCollator(com::sun::star::lang::Locale&) () from /usr/local/OpenOffice.org1.1/program/libvcl645li.so #12 0x402616b7 in ImplEntryList::InsertEntry(unsigned short, ImplEntryType*, unsigned char) () from /usr/local/OpenOffice.org1.1/program/libvcl645li.so #13 0x40262dc0 in ImplListBoxWindow::InsertEntry(unsigned short, ImplEntryType*) () from /usr/local/OpenOffice.org1.1/program/libvcl645li.so #14 0x40266598 in ImplListBox::InsertEntry(unsigned short, String const&) () from /usr/local/OpenOffice.org1.1/program/libvcl645li.so #15 0x4026ed26 in ListBox::InsertEntry(String const&, unsigned short) () from /usr/local/OpenOffice.org1.1/program/libvcl645li.so #16 0x45751e57 in SvxScriptingTabPage::Reset(SfxItemSet const&) () from /usr/local/OpenOffice.org1.1/program/libsvx645li.so #17 0x451a110c in OfaTreeOptionsDialog::SelectHdl_Impl(Timer*) () from /usr/local/OpenOffice.org1.1/program/libofa645li.so #18 0x451a0656 in OfaTreeOptionsDialog::LinkStubSelectHdl_Impl(void*, void*) () from /usr/local/OpenOffice.org1.1/program/libofa645li.so #19 0x400e9f6b in Timer::Timeout() () from /usr/local/OpenOffice.org1.1/program/libvcl645li.so #20 0x400e9cba in ImplTimerCallbackProc() () from /usr/local/OpenOffice.org1.1/program/libvcl645li.so #21 0x402ae29a in SalData::Timeout() const () from /usr/local/OpenOffice.org1.1/program/libvcl645li.so #22 0x402adde6 in SalXLib::CheckTimeout(bool) () from /usr/local/OpenOffice.org1.1/program/libvcl645li.so
Looks like Tom reproduced it, and it's a crash in component_getFactory. I can't reproduce this on Red Hat 8 with ooo1.1rc. Odd that Tom only sees it on one of his two machines with identical software. Tom, can you reproduce this when booted nosmp?
The component_getFactory() together with the description Tom gave, that after successfully installing 1.1beta and copying the user directory to the 1.1rc user directory (btw: I wouldn't bet that anything related to configuration would work after that step) things work better but only to a certain degree, makes me think that either the component registration wasn't successfully in the 1.1rc installation and/or the user configuration was badly initialized. Tom, are you sure the 1.1rc root installation completed successfully and didn't just stop in the middle of nowhere without telling you? At the very end you should have seen the last dialog box with the "Complete" button to confirm, else there was something wrong.
See also issue 16931, which looks like a dup of this one.
Indeed, issue 16931 looks very similar and is probably a dupe. However, we tried to reproduce this on a SuSE 8.2 (using glibc 2.3.2 as well), with root install and user install and user only install, and with KDE and with Gnome, but to no avail, everything is just fine. Btw: this all looks like an unhandled exception, so the real cause isn't i18n (it just may be guilty for not catching it) but something underneath.
How about giving Tom a debug build of libi18npool645li.so? That way he can give you a stack trace with line numbers.
*** Issue 16931 has been marked as a duplicate of this issue. ***
Tom, perhaps if you provide us with step by step instructions on how you installed OOo 1.1 RC, we can make sure we are doing exactly the same things you are doing. During the root interactive install, there are choices to be made, such as the install path, type of installation ( standard, custom, minimum ) and Java settings. During the user install, there are choices to be made, such as the install path, type of installation ( workstation or local ) and Java settings. It would also be nice to know if you have any other version of OOo installed on your system ( SuSE's distribution or OOo binary ).
*** Issue 16985 has been marked as a duplicate of this issue. ***
*** Issue 16886 has been marked as a duplicate of this issue. ***
I just got the same crash again, again from trying to recover a file. When I shutdown my computer a few hours ago, using the "poweroff" command, I had a modified document open in OOo1.1rc. When I started it back up, it said I had a file to recover (you know the message). I hit yes, and boom -> OOo crashes (see stack below). My system: Debian GNU/Linux sid (unstable) Downloaded tarball, untarred, and installed using "./install --single --prefix=/home/vance/src/prefix/openoffice.org1.1rc/" Fatal exception: Signal 11 Stack: /home/vance/src/prefix/openoffice.org1.1rc/OpenOffice.org1.1RC/program/libsal.so.3[0x4d301e2a] /home/vance/src/prefix/openoffice.org1.1rc/OpenOffice.org1.1RC/program/libsal.so.3[0x4d301fb4] /home/vance/src/prefix/openoffice.org1.1rc/OpenOffice.org1.1RC/program/libsal.so.3[0x4d30207a] /lib/libpthread.so.0[0x4d84175a] /lib/libc.so.6[0x4d9f79c8] /home/vance/src/prefix/openoffice.org1.1rc/OpenOffice.org1.1RC/program/soffice.bin(_ZN7desktop7Desktop9ExceptionEt+0x7b)[0x8062f55] /home/vance/src/prefix/openoffice.org1.1rc/OpenOffice.org1.1RC/program/libvcl645li.so(_ZN23ImplVCLExceptionHandler6signalEP13oslSignalInfo+0xb2)[0x4c83912a] /home/vance/src/prefix/openoffice.org1.1rc/OpenOffice.org1.1RC/program/libvos3gcc3.so(_ZN3vos28_cpp_OSignalHandler_FunctionEPvP13oslSignalInfo+0x18)[0x4d269a9e] /home/vance/src/prefix/openoffice.org1.1rc/OpenOffice.org1.1RC/program/libvos3gcc3.so(_Z24_OSignalHandler_FunctionPvP13oslSignalInfo+0x26)[0x4d269a7e] /home/vance/src/prefix/openoffice.org1.1rc/OpenOffice.org1.1RC/program/libsal.so.3[0x4d301ed4] /home/vance/src/prefix/openoffice.org1.1rc/OpenOffice.org1.1RC/program/libsal.so.3[0x4d30205b] /lib/libpthread.so.0[0x4d84175a] /lib/libc.so.6[0x4d9f79c8] /home/vance/src/prefix/openoffice.org1.1rc/OpenOffice.org1.1RC/program/libcppu.so.3(uno_type_any_assign+0x2f)[0x4d2cbb5b] /home/vance/src/prefix/openoffice.org1.1rc/OpenOffice.org1.1RC/program/soffice.bin(_ZN7desktop7Desktop11OpenClientsEv+0xa01)[0x8066735] /home/vance/src/prefix/openoffice.org1.1rc/OpenOffice.org1.1RC/program/soffice.bin(_ZN7desktop7Desktop16OpenClients_ImplEPv+0x11)[0x8065949] /home/vance/src/prefix/openoffice.org1.1rc/OpenOffice.org1.1RC/program/soffice.bin(_ZN7desktop7Desktop24LinkStubOpenClients_ImplEPvS1_+0x18)[0x8065934] /home/vance/src/prefix/openoffice.org1.1rc/OpenOffice.org1.1RC/program/libvcl645li.so[0x4c9771a2] /home/vance/src/prefix/openoffice.org1.1rc/OpenOffice.org1.1RC/program/libvcl645li.so(_Z19ImplWindowFrameProcPvP8SalFrametPKv+0x437)[0x4c97798d] /home/vance/src/prefix/openoffice.org1.1rc/OpenOffice.org1.1RC/program/libvcl645li.so(_ZN12SalFrameData19HandleClientMessageEP19XClientMessageEvent+0xb3)[0x4c9d766f] /home/vance/src/prefix/openoffice.org1.1rc/OpenOffice.org1.1RC/program/libvcl645li.so(_ZN12SalFrameData8DispatchEP7_XEvent+0x4f2)[0x4c9d80b8] /home/vance/src/prefix/openoffice.org1.1rc/OpenOffice.org1.1RC/program/libvcl645li.so(_ZN10SalDisplay8DispatchEP7_XEvent+0x28f)[0x4ca03919] /home/vance/src/prefix/openoffice.org1.1rc/OpenOffice.org1.1RC/program/libvcl645li.so(_ZN10SalDisplay5YieldEh+0xf1)[0x4ca03667] /home/vance/src/prefix/openoffice.org1.1rc/OpenOffice.org1.1RC/program/libvcl645li.so[0x4c9ff647] /home/vance/src/prefix/openoffice.org1.1rc/OpenOffice.org1.1RC/program/libvcl645li.so(_ZN7SalXLib5YieldEh+0x39a)[0x4c9fe18e] /home/vance/src/prefix/openoffice.org1.1rc/OpenOffice.org1.1RC/program/libvcl645li.so(_ZN11SalInstance5YieldEh+0x34)[0x4ca06f70] /home/vance/src/prefix/openoffice.org1.1rc/OpenOffice.org1.1RC/program/libvcl645li.so(_ZN11Application5YieldEv+0x61)[0x4c8343c9] /home/vance/src/prefix/openoffice.org1.1rc/OpenOffice.org1.1RC/program/libvcl645li.so(_ZN11Application7ExecuteEv+0x35)[0x4c8342db] /home/vance/src/prefix/openoffice.org1.1rc/OpenOffice.org1.1RC/program/soffice.bin(_ZN7desktop7Desktop4MainEv+0x1acc)[0x8064eac] /home/vance/src/prefix/openoffice.org1.1rc/OpenOffice.org1.1RC/program/libvcl645li.so(_Z6SVMainv+0x49)[0x4c839197] /home/vance/src/prefix/openoffice.org1.1rc/OpenOffice.org1.1RC/program/libvcl645li.so(main+0x1c)[0x4c9fcb7c] /lib/libc.so.6(__libc_start_main+0xdd)[0x4d9e6a51] /home/vance/src/prefix/openoffice.org1.1rc/OpenOffice.org1.1RC/program/soffice.bin(_ZN6Window11RequestHelpERK9HelpEvent+0x3d)[0x805e311] Aborted (core dumped)
Removed and reinstalled 1.1rc: - replaced SuSE 8.2 2.4.20-64GB-SMP kernel with 2.4.20-4GB: - still get SIGABRT - root install of 1.1rc completes OK - first time uset run (both workstation, local) complete OK (get the Installation Comleted Dialog) - compared user setup.log using diff: - same on both broken and working hosts - install setup.log same for both hosts Installation steps: - tried with both install and setup -n - tried with and without JDK 1.4.1_02, Python-UNO - install to /usr/local/OpenOffice.org1.1/ 1.1Beta from OOo and 1.0.2 from SuSE 8.2 both work OK. Can try with debug libs if you want.
Vance, Note that your trace is not related the thing this issue is about, you simply got mislead by libsal.so, which intercepts all signals, being on top of the trace. Please file another issue for your problem. To avoid further mismatches I change the summary of this issue from "libsal.so crash when start" to "Crash in i18npool component_getFactory() upon startup"
Tom, Doesn't the crash reporter pop up after the crash? If so, please save it's data to a file and attach it to this issue. If crashrep doesn't work (or wasn't installed) for some reason, I'll attach a libi18npool with a debug version of i18npool/source/registerservices/registerservices.cxx
I don't get the crash reporter popup... Maybe I should try the debug lib?
Created attachment 7794 [details] registerservices.cxx (component_getFactory()) with debug
Tom, I attached a debug version of libi18npool created from ooo11rc branch, hopefully it matches the one of your installed version.. I'm somehow baffled that the crashrep didn't come up, AFAIK the three main installation sets (Linux Intel, Windows, Solaris Sparc) provided by Sun should have the crashrep enabled. Anyways, please try the debug lib, so we'll get at least the line number. Thanks.
Created attachment 7814 [details] gdb backtrace with line numbers...
Additional gdb info... (gdb) print status $5 = U_FILE_ACCESS_ERROR (gdb) print rLocale $6 = (const Locale &) @0x810d8c8: {Language = {pData = 0x40d34834}, Country = {pData = 0x0}, Variant = {pData = 0x60}}
missed a couple of vars... (gdb) print status $5 = U_FILE_ACCESS_ERROR (gdb) print rLocale $6 = (const Locale &) @0x810d8c8: {Language = {pData = 0x40d34834}, Country = {pData = 0x0}, Variant = {pData = 0x60}} (gdb) print icuLocale $13 = {Language = {pData = 0x415859d8}, Country = {pData = 0x0}, Variant = {pData = 0x5}} (gdb) print which $14 = 3 (gdb) print rulesName $15 = (const sal_Char *) 0x0
Fixed! - I see that icu is external to OOo. I removed the SuSE8.2 packages for icu-locales, libicu* (2.2) which were installed on the problem system, but were not installed on the box where 1.1rc was running OK. I did not have to reinstall 1.1rc, nor redo the workstation install for users. I don't know why this affects 1.1rc but not 1.1Beta on the same system?
Excellent work! So to reproduce the crash, which packages exactly must one install?
Dan, libicu22-2.2-63 from SuSE8.2: - makes OOo1.1rc crash on BOTH my systems - same if icu-i18ndata and icu-locales additionally installed. Note, OOo1.1rc now doesn't crash when I start because the Register dialog has gone away. I do something like Tools->Options->Fonts to crash it, amongst other things.
Tom, Thank you very much for the good analysis! I narrowed down the cause to a call we initiate, icu::BreakIterator::createLineInstance(), that somehow fails if the SuSE lib is installed. It seems that the SuSE lib (or parts of that package) is called instead of the one we provide. This is bad, because we have a modified version of ICU. Will have to clarify why our own library is not called, and how to fix.
Identified the root cause: in vcl/util/makefile.mk # search for freetype in systems dir at runtime .IF "$(OS)"=="LINUX" LINKFLAGSRUNPATH!:="-Wl,-rpath,/usr/lib" $(LINKFLAGSRUNPATH) .ENDIF of course does not only search for libfreetype in the system dir, but pulls every library with identical names as those of our installation from there. Ouch. As this was introduced at end of May it explains perfectly why 1.1beta didn't crash but 1.1rc does.
@Christof: vcl is your construction site.. IMHO the problem should be reproducible with any /usr/lib/libicu* being installed, regardless of distro. Though it may be that it only occurs on SuSE because of modified versions, didn't investigate.
cp->is: please install libfreetype.so* to "program/filter" (as discussed with MHU) and create softlinks into program directory if /usr/lib/libfreetype.so.6 does not exist.
I will fix this in cws freelibs
To be verified.
tested in cws freelibs
Verified in cws freelibs
*** Issue 17243 has been marked as a duplicate of this issue. ***
The fix for cws freelibs hasn't reached srx645m14s1. libfreetype is still in program folder, no link created.
Please have a look.
There was a conflict in the update. Therefore my changes in the setupzip.scp were not included into the srx645 m14. I fixed this with VG directly on the master. Therefore this is fixed in the next version.
Finally it looks good in a srx645_m14s2-5_49.8666
Is ok in srx645m14s2-5
Fixed incurrent build.
*** Issue 17372 has been marked as a duplicate of this issue. ***
*** Issue 17193 has been marked as a duplicate of this issue. ***
*** Issue 17443 has been marked as a duplicate of this issue. ***
*** Issue 17448 has been marked as a duplicate of this issue. ***
*** Issue 17395 has been marked as a duplicate of this issue. ***
*** Issue 17737 has been marked as a duplicate of this issue. ***
*** Issue 17934 has been marked as a duplicate of this issue. ***
*** Issue 17879 has been marked as a duplicate of this issue. ***