From owner-freebsd-openoffice@FreeBSD.ORG Wed Dec 5 01:00:25 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 94E3216A419 for ; Wed, 5 Dec 2007 01:00:25 +0000 (UTC) (envelope-from saper@system.pl) Received: from system.pl (system.pl [87.98.232.30]) by mx1.freebsd.org (Postfix) with ESMTP id 044C613C465 for ; Wed, 5 Dec 2007 01:00:24 +0000 (UTC) (envelope-from saper@system.pl) Received: (qmail 31323 invoked from network); 5 Dec 2007 01:32:22 +0100 Received: from unknown (HELO radziecki.saper.info) (81.210.227.230) by system.pl with (DHE-RSA-AES256-SHA encrypted) SMTP; 5 Dec 2007 01:32:22 +0100 Received: from radziecki.saper.info (localhost [127.0.0.1]) by radziecki.saper.info (8.14.2/8.14.2) with ESMTP id lB50XVFs092502 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 5 Dec 2007 01:33:33 +0100 (CET) (envelope-from saper@system.pl) Message-ID: <4755F1DA.9080307@system.pl> Date: Wed, 05 Dec 2007 01:33:30 +0100 From: Marcin Cieslak User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.8.1.9) Gecko/20071119 SeaMonkey/1.1.6 MIME-Version: 1.0 Newsgroups: gmane.os.freebsd.devel.openoffice To: Alexey Shuvaev References: <20071122154449.GA67968@wep4017.physik.uni-wuerzburg.de> In-Reply-To: <20071122154449.GA67968@wep4017.physik.uni-wuerzburg.de> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit 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 01:00:25 -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