From owner-freebsd-bugs@FreeBSD.ORG Sat Mar 22 05:00:04 2008 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DF3D71065670 for ; Sat, 22 Mar 2008 05:00:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id CB2328FC1A for ; Sat, 22 Mar 2008 05:00:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m2M5034E044897 for ; Sat, 22 Mar 2008 05:00:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m2M503OL044896; Sat, 22 Mar 2008 05:00:03 GMT (envelope-from gnats) Resent-Date: Sat, 22 Mar 2008 05:00:03 GMT Resent-Message-Id: <200803220500.m2M503OL044896@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Dwayne MacKinnon Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E5B8C1065672 for ; Sat, 22 Mar 2008 04:59:47 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id E38378FC1A for ; Sat, 22 Mar 2008 04:59:47 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m2M4xgYa000664 for ; Sat, 22 Mar 2008 04:59:42 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m2M4xgAQ000663; Sat, 22 Mar 2008 04:59:42 GMT (envelope-from nobody) Message-Id: <200803220459.m2M4xgAQ000663@www.freebsd.org> Date: Sat, 22 Mar 2008 04:59:42 GMT From: Dwayne MacKinnon To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/121953: (workaround) openoffice.org-2.3.1 hangs with Glib errors X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Mar 2008 05:00:04 -0000 >Number: 121953 >Category: misc >Synopsis: (workaround) openoffice.org-2.3.1 hangs with Glib errors >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Mar 22 05:00:03 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Dwayne MacKinnon >Release: FreeBSD 7.0-RELEASE >Organization: >Environment: FreeBSD chiron.lan 7.0-RELEASE FreeBSD 7.0-RELEASE #2: Tue Mar 4 10:35:40 EST 2008 root@chiron.lan:/usr/obj/usr/src/sys/CHIRON i386 >Description: I recently set up my FreeBSD machine with multiple user accounts for the first time to accomodate some house guests. When I did so, I discovered that openoffice.org-2.3.1 would hang when it attempted to open a document of any kind. Running it from the console produced these glib errors: (process:82983): GLib-GObject-CRITICAL **: gtype.c:2242: initialization assertion failed, use IA__g_type_init() prior to this function (process:82983): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed (process:82983): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed This occured for my new users only; my own account was unaffected, So, I attempted to track down the problem. I soon discovered that it was my .openoffice.org-2 directory with its config information that was the key. I tracked the problem down to .openoffice.org2/user/config/soffice.cfg/modules directory. In my original account, there were subdirectories for scalc and swriter as well as the StartModule directory. In the new account, neither of those subdirectories (scalc or swriter) existed. Copying either directory to .openoffice.org2/user/config/soffice.cfg/modules solved the problem. >How-To-Repeat: Install openoffice.org-2.3.1. In a new user account, open the program, and after filling out the initial information, try to open a document. >Fix: I only have the workaround I mentioned above; I will be happy to provide the contents of either directory if people believe it would be useful. >Release-Note: >Audit-Trail: >Unformatted: