Bug 194437

Summary: editors/openoffice-4 (apache-openoffioce-4.1.1_1) crashes on save, document recovery
Product: Ports & Packages Reporter: David Mackay <davidjx8p>
Component: Individual Port(s)Assignee: Don Lewis <truckman>
Status: Closed FIXED    
Severity: Affects Only Me CC: mrT1188123, truckman
Priority: --- Flags: davidjx8p: maintainer-feedback? (office)
Version: Latest   
Hardware: amd64   
OS: Any   

Description David Mackay 2014-10-17 21:44:17 UTC
I've installed Apache OpenOffice 4.1.1 from the package repository, but it crashes a lot of the time when I try to save a file, and when the document recovery wizard comes up, it crashes again.

Deleting my .openoffice directory does not help. And if I remember right, this same issue plagued me with older versions of AOO on another computer with a different installation of FreeBSD.

All of these times it crashes with "Due to an unexpected error"[...] and when it crashes during document recovery wizard, it deposits a core-file in my home directory. 

Below is a backtrace retrieved from GDB using `thread apply bt all' (this provides a trace of all threads):

Thread 8 (Thread 80c406400 (LWP 101884/soffice.bin)):
#0  0x0000000800854fc2 in sal_detail_deinitialize () from /usr/local/openoffice-4.1.1/openoffice4/program/libuno_sal.so.3
#1  0x000000080084e842 in osl_getGlobalTimer () from /usr/local/openoffice-4.1.1/openoffice4/program/libuno_sal.so.3
#2  0x000000080084ebdb in osl_getGlobalTimer () from /usr/local/openoffice-4.1.1/openoffice4/program/libuno_sal.so.3
#3  0x000000080084ecc8 in osl_getGlobalTimer () from /usr/local/openoffice-4.1.1/openoffice4/program/libuno_sal.so.3
#4  0x00000008015e347a in swapcontext () from /lib/libthr.so.3
#5  0x00000008015e3062 in sigaction () from /lib/libthr.so.3
#6  <signal handler called>
#7  0x000000080186a30a in thr_kill () from /lib/libc.so.7
#8  0x000000080192d2d9 in abort () from /lib/libc.so.7
#9  0x0000000800eee095 in ?? () from /usr/local/lib/gcc48/libstdc++.so.6
#10 <signal handler called>
#11 0x0000000000000000 in ?? ()
Previous frame inner to this frame (corrupt stack?)

Thread 7 (Thread 80c406800 (LWP 100573/soffice.bin)):
#0  0x00000008015e98cc in __error () from /lib/libthr.so.3
#1  0x00000008015e7d8e in _pthread_cond_wait () from /lib/libthr.so.3
#2  0x000000080086d331 in rtl_cache_destroy () from /usr/local/openoffice-4.1.1/openoffice4/program/libuno_sal.so.3
#3  0x00000008015de4f5 in pthread_create () from /lib/libthr.so.3
#4  0x0000000000000000 in ?? ()

Thread 6 (Thread 80c40b000 (LWP 100645/soffice.bin)):
#0  0x00000008018b8a08 in accept () from /lib/libc.so.7
#1  0x00000008015e0286 in accept () from /lib/libthr.so.3
#2  0x000000080084f466 in osl_acceptPipe () from /usr/local/openoffice-4.1.1/openoffice4/program/libuno_sal.so.3
#3  0x0000000805066922 in vos::OPipe::accept () from /usr/local/openoffice-4.1.1/openoffice4/program/libvos3gcc3.so
#4  0x0000000800c59c8d in ?? () from /usr/local/openoffice-4.1.1/openoffice4/program/libsofficeapp.so
#5  0x000000080506342a in vos::threadWorkerFunction_impl () from /usr/local/openoffice-4.1.1/openoffice4/program/libvos3gcc3.so
#6  0x00000008008496da in osl_getTextEncodingFromLocale () from /usr/local/openoffice-4.1.1/openoffice4/program/libuno_sal.so.3
#7  0x0000000000000000 in ?? ()

Thread 5 (Thread 80c584c00 (LWP 100649/soffice.bin)):
#0  0x00000008018d054a in poll () from /lib/libc.so.7
#1  0x00000008015e08a6 in poll () from /lib/libthr.so.3
#2  0x000000080ca8d441 in SessionManagerClient::getSessionID ()
   from /usr/local/openoffice-4.1.1/openoffice4/program/libvclplug_gen.so
#3  0x00000008008496da in osl_getTextEncodingFromLocale () from /usr/local/openoffice-4.1.1/openoffice4/program/libuno_sal.so.3
#4  0x0000000000000000 in ?? ()

Thread 4 (Thread 80c586800 (LWP 100658/soffice.bin)):
#0  0x00000008018d054a in poll () from /lib/libc.so.7
---Type <return> to continue, or q <return> to quit---
#1  0x00000008015e08a6 in poll () from /lib/libthr.so.3
#2  0x000000080dd8748c in g_main_context_pending () from /usr/local/lib/libglib-2.0.so.0
#3  0x000000080dd8780f in g_main_loop_run () from /usr/local/lib/libglib-2.0.so.0
#4  0x000000080f528fcb in _g_signal_accumulator_false_handled () from /usr/local/lib/libgio-2.0.so.0
#5  0x000000080ddabcaa in g_thread_proxy () from /usr/local/lib/libglib-2.0.so.0
#6  0x00000008015de4f5 in pthread_create () from /lib/libthr.so.3
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 80c592400 (LWP 100686/soffice.bin)):
#0  0x00000008018d054a in poll () from /lib/libc.so.7
#1  0x00000008015e08a6 in poll () from /lib/libthr.so.3
#2  0x000000080ca9eaa9 in vcl_sal::WMAdaptor::createWMAdaptor ()
   from /usr/local/openoffice-4.1.1/openoffice4/program/libvclplug_gen.so
#3  0x000000080ca9ec81 in vcl_sal::WMAdaptor::createWMAdaptor ()
   from /usr/local/openoffice-4.1.1/openoffice4/program/libvclplug_gen.so
#4  0x00000008008496da in osl_getTextEncodingFromLocale () from /usr/local/openoffice-4.1.1/openoffice4/program/libuno_sal.so.3
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 80c6e7400 (LWP 100621/soffice.bin)):
#0  0x00000008015e98cc in __error () from /lib/libthr.so.3
#1  0x00000008015e7d8e in _pthread_cond_wait () from /lib/libthr.so.3
#2  0x0000000800846af3 in osl_waitCondition () from /usr/local/openoffice-4.1.1/openoffice4/program/libuno_sal.so.3
#3  0x0000000054418d1c in ?? ()
#4  0x00000000000e4359 in ?? ()
#5  0x0000000054418d1c in ?? ()
#6  0x0000000039348be8 in ?? ()
#7  0x000000081a3c93d0 in ?? ()
#8  0x000000081b40e060 in ?? ()
#9  0x00007ffffebf5e98 in ?? ()
#10 0x00000008093f49e0 in std::vector<short, std::allocator<short> >::_M_insert_aux ()
   from /usr/local/openoffice-4.1.1/openoffice4/program/libfwk.so
#11 0x00000008093ede74 in std::vector<short, std::allocator<short> >::_M_insert_aux ()
   from /usr/local/openoffice-4.1.1/openoffice4/program/libfwk.so
#12 0x00000008008496da in osl_getTextEncodingFromLocale () from /usr/local/openoffice-4.1.1/openoffice4/program/libuno_sal.so.3
#13 0x0000000000000000 in ?? ()

Thread 1 (Thread 80c6e9000 (LWP 100625/soffice.bin)):
#0  0x00000008015e98cc in __error () from /lib/libthr.so.3
#1  0x00000008015e7d8e in _pthread_cond_wait () from /lib/libthr.so.3
#2  0x0000000800846af3 in osl_waitCondition () from /usr/local/openoffice-4.1.1/openoffice4/program/libuno_sal.so.3
#3  0x0000000054418d1c in ?? ()
#4  0x00000000000e97e4 in ?? ()
---Type <return> to continue, or q <return> to quit---
#5  0x0000000054418d1d in ?? ()
#6  0x00000000390152a0 in ?? ()
#7  0x000000081b33fdd0 in ?? ()
#8  0x0000000000000000 in ?? ()
#0  0x0000000800854fc2 in sal_detail_deinitialize () from /usr/local/openoffice-4.1.1/openoffice4/program/libuno_sal.so.3
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2014-10-17 21:44:17 UTC
Auto-assigned to maintainer office@FreeBSD.org
Comment 2 mrT 2015-01-25 16:28:26 UTC
freebsd-version 10.1-RELEASE-p15
Desktop: KDE
Both: Ports: fetch http://www.apache.org/dist/openoffice/4.1.1/source/apache-openoffice-4.1.1-r1617669-src.tar.bz2

and PC-BSD package openoffice-4.1.1

01/25/2015
This same issue has essentially prevented me from using OpenOffice-4.1.1
in any way. It appears this to be the status since 2014-10-17.

Is this being maintained?

Mark
Comment 3 Don Lewis freebsd_committer freebsd_triage 2015-03-07 01:15:27 UTC
I see a different stack trace when I try to save a document on FreeBSD 10.

See bug #188088.
Comment 4 Don Lewis freebsd_committer freebsd_triage 2015-03-17 15:34:10 UTC
I believe this problem should be fixed with the update to
apache-openoffice-4.1.1_7.
Comment 5 Don Lewis freebsd_committer freebsd_triage 2015-03-31 07:59:23 UTC
Appears to be fixed with apache-openoffice-4.1.1_7.