From owner-freebsd-openoffice@FreeBSD.ORG Wed Dec 5 00:33:59 2007 Return-Path: Delivered-To: freebsd-openoffice@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A857016A419 for ; Wed, 5 Dec 2007 00:33:59 +0000 (UTC) (envelope-from gofdpo-freebsd-openoffice@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 2F68113C458 for ; Wed, 5 Dec 2007 00:33:57 +0000 (UTC) (envelope-from gofdpo-freebsd-openoffice@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1IziCw-0005wR-Im for freebsd-openoffice@freebsd.org; Wed, 05 Dec 2007 00:33:46 +0000 Received: from 81.210.227.230 ([81.210.227.230]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 05 Dec 2007 00:33:46 +0000 Received: from saper by 81.210.227.230 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 05 Dec 2007 00:33:46 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-openoffice@freebsd.org From: Marcin Cieslak Date: Wed, 05 Dec 2007 01:33:30 +0100 Lines: 66 Message-ID: <4755F1DA.9080307@system.pl> References: <20071122154449.GA67968@wep4017.physik.uni-wuerzburg.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 81.210.227.230 User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.8.1.9) Gecko/20071119 SeaMonkey/1.1.6 In-Reply-To: <20071122154449.GA67968@wep4017.physik.uni-wuerzburg.de> Sender: news Cc: freebsd-openoffice@freebsd.org, truckman@FreeBSD.org Subject: Re: GLib-GObject-CRITICAL / cannot initialize gtk_recent_manager X-BeenThere: freebsd-openoffice@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting OpenOffice to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Dec 2007 00:33:59 -0000 Alexey Shuvaev wrote: > (process:67964): GLib-GObject-CRITICAL **: gtype.c:2242: initialization assertion failed, use IA__g_type_init() prior to this function > > (process:67964): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed > > (process:67964): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed > > > I believe it is amd64 specific. One of the differences is that > amd64 build of OOo is always made WITHOUT_MOZILLA. > Can anyone on 7.0 or 8-CURRENT on i386 test OOo WITHOUT_MOZILLA? > In comparison with Marcin I have no problems (I hope) with JRE, but > I have compiled the native one, bootstrapping from native jdk too. > And I can save the newly created .odt file, OOo hangs with the error > messages above when I try to close (saved) document. Which version of GTK+ are you using? gtk-2.12.1_1 glib-2.14.2 I have recompiled everything with debug (hours....) and narrowed this down here: (gdb) list 676 */ 677 GtkRecentManager * 678 gtk_recent_manager_new (void) 679 { 680 return g_object_new (GTK_TYPE_RECENT_MANAGER, NULL); 681 } 682 683 /** 684 * gtk_recent_manager_get_default: 685 * (gdb) where #0 IA__gtk_recent_manager_new () at gtkrecentmanager.c:681 #1 0x000000080f11a136 in IA__gtk_recent_manager_get_default () at gtkrecentmanager.c:698 #2 0x000000080d51ab2c in SystemShell::AddToRecentDocumentList () from /usr/local/openoffice.org-OOG680_m7/program/libsfx680fx.so g_object_new fails: (process:78374): GLib-GObject-CRITICAL **: gtype.c:2242: initialization assertion failed, use IA__g_type_init() prior to this function (process:78374): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed (process:78374): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed probably because type 'GTK_TYPE_RECENT_MANAGER' is not registered. This happens only if SystemShell::AddToRecentDocumentList is able to to find gtk_recent_manager_get_default and gtk_recent_manager_add_item functions. Support for this has been introduced in rev 1.8 of shell/source/unix/sysshell/systemshell.cxx http://qa.openoffice.org/issues/show_bug.cgi?id=75190 I will try to fix this or turn this feature somehow off. --Marcin