Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Oct 2007 23:47:07 +0200
From:      "Kai S." <bsd.lists@roughneck.org>
To:        Sascha Blank <blank.sascha@googlemail.com>, freebsd-ports@freebsd.org <freebsd-ports@freebsd.org>
Subject:   Re: OpenOffice.org trouble
Message-ID:  <20071027234707.0a6d4ef3@Floc>
In-Reply-To: <20071027150651.GA42809@lefteye.localdomain>
References:  <20071027141506.17dad196@Floc> <20071027150651.GA42809@lefteye.localdomain>

next in thread | previous in thread | raw e-mail | index | archive | help
--MP_/C0U_AeKwIPOot8+MgObTTQV
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Am Sat, 27 Oct 2007 17:06:51 +0200
schrieb Sascha Blank <blank.sascha@googlemail.com>:

> Hello Kai,

Hello,
> 
> > Since the update to Gnome2.20/Gtk2.12 OpenOffice.org2.3 denied me
> > the service. When attempting to load/save a document freezes OOo
> > and on the console I get the following Glib error messages: 
> > 
> > kgs@~: openoffice.org-2.3.0 libGL warning: 3D driver claims to not
> > support visual 0x4c
> > 
> > (process:25832): GLib-GObject-CRITICAL **: gtype.c:2242:
> > initialization assertion failed, use IA__g_type_init() prior to this
> > function
> > 
> > (process:25832): GLib-CRITICAL **: g_once_init_leave: assertion
> > `initialization_value != 0' failed
> > 
> > (process:25832): GLib-GObject-CRITICAL **: g_object_new: assertion
> > `G_TYPE_IS_OBJECT (object_type)' failed
> > 
> > OOo is so far the only program where I get this Glib error, the
> > libGl warning I get even with wine.
> > 
> > [root@Floc] ~/> uname -a FreeBSD Floc.home 6.2-STABLE-200709 FreeBSD
> > 6.2-STABLE-200709 #0: Sun Sep 30 17:27:02 CEST 2007
> > root@Floc.home:/usr/obj/usr/src/sys/FLOCK62S  i386
> 
> I'm facing the same problem since I have upgraded my system to
> 7.0-BETA1/i386, Glib-2.14 and Gtk+-2.12 a few days ago.  I first
> thought it was a problem with the 7.0-BETA1 itself but I'm somewhat
> "relieved" to see that it's happening apparently on 6.2-STABLE too,
> so it's unlikely that it's a problem with FreeBSD itself.
> 
> After rummaging through various mailing lists for more than two hours
> it seems the real reason for this problem is the fact that GCC 4.2 is
> a bit to eager about certain compiler optimizations in Glib-2.14 - I
> admit that I have not understood all the details.
> 
> The proposed fixes that I found on these lists didn't help except for
> the following one: it's more a kind of a kludge in my humble opinion
> but it makes OpenOffice 2.3 usuable again for me.
> 
> Apply it this way:
> 
>     1st) Save the patch under the name "soffice.diff"
>     2nd) cd /usr/local/openoffice.org-2.3.0/program/
>     3rd) sudo patch -p0 < ~/soffice.diff
> 
> The next time you start OpenOffice you'll notice that it will look
> different - that's because it now adheres to whatever Gtk/Gnome theme
> you have configured.  But what's more important: loading, importing
> and saving documents works again.
> 
> But there's still one problem left: OpenOffice still hangs on exit, I
> have to terminate it with CTRL-C.  Do you see the same problem on your
> 6.2-STABLE system?
> 
> Bye.

Thanks,
it seems with your patch OOo runs without problems, it can also exit
normal.

Kai

-- 
Please avoid  sending me  Word or  PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html

()  ascii ribbon campaign - against html e-mail 
/\  www.asciiribbon.org   - against proprietary attachments

--MP_/C0U_AeKwIPOot8+MgObTTQV
Content-Type: text/x-patch; name=soffice.diff
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=soffice.diff

*** soffice.orig	2007-10-27 16:40:34.000000000 +0200
--- soffice	2007-10-27 16:41:14.000000000 +0200
***************
*** 34,39 ****
--- 34,44 ----
  #
  #*************************************************************************
  
+ if [ -z $SAL_USE_VCLPLUGIN ]; then
+         export SAL_USE_VCLPLUGIN=gtk
+ fi
+ export SAL_ENABLE_NATIVE_XFONTS=0
+ 
  #
  # STAR_PROFILE_LOCKING_DISABLED=1
  # export STAR_PROFILE_LOCKING_DISABLED

--MP_/C0U_AeKwIPOot8+MgObTTQV--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071027234707.0a6d4ef3>