Issue 76102 - ooffice crashes unusable
Summary: ooffice crashes unusable
Status: CLOSED IRREPRODUCIBLE
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: OOo 2.2 RC4
Hardware: PC Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: thorsten.martens
QA Contact: issues@framework
URL:
Keywords: needmoreinfo
Depends on:
Blocks:
 
Reported: 2007-04-04 20:39 UTC by techie564
Modified: 2007-04-06 20:29 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Crash dump (5.50 KB, text/plain)
2007-04-05 19:10 UTC, techie564
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description techie564 2007-04-04 20:39:19 UTC
after executing oofice, if you do one of the followign two things oofice crashes

1. Go to new txt file and try to type after first character results in a crash.

2. In writer, base, or any other if you try to open options window office crashes

(I)    x.org loaded video driver of...
(II) Loading /usr/X11R6/lib/modules/drivers/r128_drv.o
(II) Loading /usr/X11R6/lib/modules/drivers/ati_drv.o
(II) Reloading /usr/X11R6/lib/modules/drivers/r128_drv.o
(III)  Desktop is: not GNOME
(IV)   libgcj version is: libgcj-3.4.4-2.fc3-i386
(V)    kernel is: Linux 2.6.12-2.5.hbfc3 #1 Sat Dec 23 12:24:31 CET 2006 i686
athlon i386
(VI)   OpenOffice.org core rpm version is: openoffice.org-core-2.2.0-14.1-i386
(VII)    depth of root window:    24 planes
(VIII) accessibility is: false
(VIV)  fedora release is: Fedora Core release 3 (Heidelberg)
...start free space details ...
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/hdc5             24193508  15960088   7004452  70% /home
/dev/hdc3             12096756   7034080   4448192  62% /
...end free space details ...
...start sestatus details ...
SELinux status:		disabled
...end sestatus details ...
...start stackreport details ...
0xb72471c0: /usr/lib/openoffice.org2.0/program/libuno_sal.so.3 + 0x1f1c0
0xb7247a7e: /usr/lib/openoffice.org2.0/program/libuno_sal.so.3 + 0x1fa7e
0xb7f21420:  + 0x420 (__kernel_sigreturn + 0x0)
0xb7435b54: /usr/lib/openoffice.org2.0/program/libuno_cppuhelpergcc3.so.3 +
0x1eb54 (cppu::WeakImplHelper_query(com::sun::star::uno::Type const&,
cppu::class_data*, void*, cppu::OWeakObject*) + 0x182)
0xac6191b7: /usr/lib/openoffice.org2.0/program/liblng680li.so + 0x361b7
0xb62d0ebc: /usr/lib/openoffice.org2.0/program/libfwk680li.so + 0x3eebc
0xac63d4d4: /usr/lib/openoffice.org2.0/program/liblng680li.so + 0x5a4d4
(linguistic::AppExitListener::Activate() + 0x3c)
0xac624462: /usr/lib/openoffice.org2.0/program/liblng680li.so + 0x41462
(DicList::DicList() + 0x25a)
0xac62451b: /usr/lib/openoffice.org2.0/program/liblng680li.so + 0x4151b
(DicList_CreateInstance(com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory>
const&) + 0x25)
0xb7441164: /usr/lib/openoffice.org2.0/program/libuno_cppuhelpergcc3.so.3 + 0x2a164
0xb744091a: /usr/lib/openoffice.org2.0/program/libuno_cppuhelpergcc3.so.3 + 0x2991a
0xb7440b67: /usr/lib/openoffice.org2.0/program/libuno_cppuhelpergcc3.so.3 + 0x29b67
0xb7442a8e: /usr/lib/openoffice.org2.0/program/libuno_cppuhelpergcc3.so.3 + 0x2ba8e
0xb744091a: /usr/lib/openoffice.org2.0/program/libuno_cppuhelpergcc3.so.3 + 0x2991a
0xb7440bd9: /usr/lib/openoffice.org2.0/program/libuno_cppuhelpergcc3.so.3 + 0x29bd9
0xb290305e: /usr/lib/openoffice.org2.0/program/servicemgr.uno.so + 0xb05e
0xb28fed93: /usr/lib/openoffice.org2.0/program/servicemgr.uno.so + 0x6d93
0xac63d3a8: /usr/lib/openoffice.org2.0/program/liblng680li.so + 0x5a3a8
(linguistic::GetOneInstanceService(char const*) + 0x62)
0xac63d85c: /usr/lib/openoffice.org2.0/program/liblng680li.so + 0x5a85c
(linguistic::GetDictionaryList() + 0x24)
0xac6371b7: /usr/lib/openoffice.org2.0/program/liblng680li.so + 0x541b7
(LngSvcMgr::GetListenerHelper_Impl() + 0x47)
0xac6373a9: /usr/lib/openoffice.org2.0/program/liblng680li.so + 0x543a9
(LngSvcMgr::addLinguServiceManagerListener(com::sun::star::uno::Reference<com::sun::star::lang::XEventListener>
const&) + 0x43)
0xad8c5ae4: /usr/lib/openoffice.org2.0/program/libsw680li.so + 0x75eae4
0xad29e63c: /usr/lib/openoffice.org2.0/program/libsw680li.so + 0x13763c
0xad4a4eea: /usr/lib/openoffice.org2.0/program/libsw680li.so + 0x33deea
0xad3f8582: /usr/lib/openoffice.org2.0/program/libsw680li.so + 0x291582
0xad3f88ad: /usr/lib/openoffice.org2.0/program/libsw680li.so + 0x2918ad
0xad3f8eee: /usr/lib/openoffice.org2.0/program/libsw680li.so + 0x291eee
0xad31f320: /usr/lib/openoffice.org2.0/program/libsw680li.so + 0x1b8320
(ViewShell::LayoutIdle() + 0xae)
0xad4d3eb1: /usr/lib/openoffice.org2.0/program/libsw680li.so + 0x36ceb1
0xad4d3ff0: /usr/lib/openoffice.org2.0/program/libsw680li.so + 0x36cff0
0xb7c1b8c3: /usr/lib/openoffice.org2.0/program/libvcl680li.so + 0x908c3
(Timer::Timeout() + 0x13)
0xb7c1b4fb: /usr/lib/openoffice.org2.0/program/libvcl680li.so + 0x904fb
(Timer::ImplTimerCallbackProc() + 0x81)
0xb5253e57: /usr/lib/openoffice.org2.0/program/libvclplug_gen680li.so + 0x46e57
(X11SalData::Timeout() const + 0x27)
0xb53b890b: /usr/lib/openoffice.org2.0/program/libvclplug_gtk680li.so + 0x1190b
0xb53b8931: /usr/lib/openoffice.org2.0/program/libvclplug_gtk680li.so + 0x11931
0xb52aa368: /usr/lib/libglib-2.0.so.0 + 0x26368
0xb52a77bb: /usr/lib/libglib-2.0.so.0 + 0x237bb (g_main_context_dispatch + 0x1cb)
0xb52a9242: /usr/lib/libglib-2.0.so.0 + 0x25242
0xb52a9728: /usr/lib/libglib-2.0.so.0 + 0x25728 (g_main_context_iteration + 0x63)
0xb53b8b7a: /usr/lib/openoffice.org2.0/program/libvclplug_gtk680li.so + 0x11b7a
0xb525fcca: /usr/lib/openoffice.org2.0/program/libvclplug_gen680li.so + 0x52cca
(X11SalInstance::Yield(bool, bool) + 0x2c)
0xb7c159cf: /usr/lib/openoffice.org2.0/program/libvcl680li.so + 0x8a9cf
(Application::Yield(bool) + 0x55)
0xb7c15a23: /usr/lib/openoffice.org2.0/program/libvcl680li.so + 0x8aa23
(Application::Execute() + 0x2f)
0xb7ef9de9: /usr/lib/openoffice.org2.0/program/libsoffice.so + 0x28de9
(desktop::Desktop::Main() + 0x2813)
0xb7c1b088: /usr/lib/openoffice.org2.0/program/libvcl680li.so + 0x90088
0xb7c1b215: /usr/lib/openoffice.org2.0/program/libvcl680li.so + 0x90215
(SVMain() + 0x29)
0xb7eea229: /usr/lib/openoffice.org2.0/program/libsoffice.so + 0x19229 (main + 0x65)
0xb88e23: /lib/tls/libc.so.6 + 0x14e23 (__libc_start_main + 0xd3)
0x80484d9: /usr/lib/openoffice.org2.0/program/soffice.bin + 0x4d9 (main + 0x41)
...end stackreport details ...
...start sample ldd details ...
...end sample ldd details ...
Comment 1 Olaf Felka 2007-04-05 11:21:06 UTC
What Linux distibution are you using? Wher have you downloaded OOo from? It
looks like you are using an OOo version that is not distributed by OOo. Does a
'native' OOo version have the same problem
(http://download.openoffice.org/index.html)?
Comment 2 Joost Andrae 2007-04-05 11:54:22 UTC
Looks like a crash within the liguistic engine. As a workaround I would switch
off the automatic spellcheck option. If you use en_GB then this might be a
duplicate issue to issue 76100
Comment 3 techie564 2007-04-05 19:10:17 UTC
Created attachment 44237 [details]
Crash dump
Comment 4 techie564 2007-04-05 19:40:15 UTC
Ok disabling fixed 1 issue, I now can type more than 1 character. I use en_US

however second issue still remains when I go to options crashes instantly...

I tested official builds and would seem problem doesn't exist, not sure where to
start.  Is there somewhere you can get spec file that was used to build the
official RPMS...

I attached the dump in txt file, these are results right after trying to go to
options....
Comment 5 aziem 2007-04-06 03:17:01 UTC
Is the Linux distribution a custom Fedora Core 3?  

Is the OpenOffice.org provided by Fedora?  (Fedora heavily modifies 
OpenOffice.org.)  If not, does the official version from 
http://download.openoffice.org give you the same results?
Comment 6 techie564 2007-04-06 20:29:15 UTC
Problem solved apparently had nothing to do with openoffice code at all it in
fact was result of two RH patches.

1. This one was a problem at start because built without hunspell, later I built
hunspell and included this patch again.  Solved autospell check issue was able
to type more than one character with enabled
openoffice.org-2.1.0.oooXXXXX.lingucomponent.systemhunspell.patch

2. This one was a issue with cppuhelper I resorted back to a patch supplied with
2.0.4 package and the crash when going to options was solved
openoffice.org.2.0.3-ooo66018.cppuhelper.dangerousvisibility.patch

Working patch:
RCS file: /cvs/udk/cppuhelper/inc/cppuhelper/implbase_ex.hxx,v
retrieving revision 1.6
diff -u -r1.6 implbase_ex.hxx
--- openoffice.org.orig/cppuhelper/inc/cppuhelper/implbase_ex.hxx	5 Oct 2005
14:27:57 -0000	1.6
+++ openoffice.org/cppuhelper/inc/cppuhelper/implbase_ex.hxx	29 Jun 2006
11:50:48 -0000
@@ -53,6 +53,9 @@
 #include <com/sun/star/lang/XMultiServiceFactory.hpp>
 #endif
 
+#include <stdlib.h>
+#include <stdio.h>
+
 /* If you need to define implementation helper classes that deal with more than
    12 interfaces, then use macros as follows, e.g. for 3 interfaces:
    
@@ -117,6 +120,19 @@
     */
     type_entry m_typeEntries[ 1 ];
 };
+
+template<typename Impl> class_data* class_data_fixup(class_data *s_cd)
+{
+    if (!s_cd->m_typeEntries[s_cd->m_nTypes-1].m_type.getCppuType)
+    {
+        fprintf(stderr, "Avert a fatal crash\n");
+        s_cd->m_typeEntries[s_cd->m_nTypes-1].m_type.getCppuType =
+                ::com::sun::star::lang::XTypeProvider::static_type;
+        s_cd->m_typeEntries[s_cd->m_nTypes-1].m_offset =
+                ((sal_IntPtr)(::com::sun::star::lang::XTypeProvider *) (Impl *)
16) - 16;
+    }
+    return s_cd;
+}
 
 /** ImplHelper
     @internal


###########################################

Not Working:

RCS file: /cvs/udk/cppuhelper/inc/cppuhelper/implbase_ex.hxx,v
retrieving revision 1.6
diff -u -r1.6 implbase_ex.hxx
--- openoffice.org.orig/cppuhelper/inc/cppuhelper/implbase_ex.hxx	5 Oct 2005
14:27:57 -0000	1.6
+++ openoffice.org/cppuhelper/inc/cppuhelper/implbase_ex.hxx	26 Feb 2007
10:08:08 -0000
@@ -64,7 +64,7 @@
 __DEF_IMPLHELPER_EX( 3 )
 */
 
-
+#pragma GCC visibility push(default)
 namespace cppu
 {
 
@@ -187,5 +187,5 @@
     SAL_THROW( (::com::sun::star::uno::RuntimeException) );
 
 }
-
+#pragma GCC visibility pop
 #endif