From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.bugs Subject: bug#10230: 24.0.92; Warnings on emacs startup Date: Tue, 06 Dec 2011 14:26:57 +0100 Message-ID: <87obvlal0e.fsf@gmail.com> References: <87obvm59sr.fsf@gmail.com> <4EDDFBE1.7090305@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1323178062 23405 80.91.229.12 (6 Dec 2011 13:27:42 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 6 Dec 2011 13:27:42 +0000 (UTC) Cc: 10230@debbugs.gnu.org To: "Jan D." Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Dec 06 14:27:35 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RXv3W-0001ry-7r for geb-bug-gnu-emacs@m.gmane.org; Tue, 06 Dec 2011 14:27:34 +0100 Original-Received: from localhost ([::1]:55002 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RXv3V-0003eu-In for geb-bug-gnu-emacs@m.gmane.org; Tue, 06 Dec 2011 08:27:33 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:53598) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RXv3S-0003ef-RM for bug-gnu-emacs@gnu.org; Tue, 06 Dec 2011 08:27:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RXv3M-000819-R7 for bug-gnu-emacs@gnu.org; Tue, 06 Dec 2011 08:27:30 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55111) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RXv3M-000813-Lq for bug-gnu-emacs@gnu.org; Tue, 06 Dec 2011 08:27:24 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RXv3x-0005Gt-Q6 for bug-gnu-emacs@gnu.org; Tue, 06 Dec 2011 08:28:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Thierry Volpiatto Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 06 Dec 2011 13:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10230 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 10230-submit@debbugs.gnu.org id=B10230.132317806520238 (code B ref 10230); Tue, 06 Dec 2011 13:28:01 +0000 Original-Received: (at 10230) by debbugs.gnu.org; 6 Dec 2011 13:27:45 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RXv3g-0005GM-SK for submit@debbugs.gnu.org; Tue, 06 Dec 2011 08:27:45 -0500 Original-Received: from mail-lpp01m010-f44.google.com ([209.85.215.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RXv3d-0005GE-O9 for 10230@debbugs.gnu.org; Tue, 06 Dec 2011 08:27:42 -0500 Original-Received: by laap9 with SMTP id p9so214292laa.3 for <10230@debbugs.gnu.org>; Tue, 06 Dec 2011 05:27:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=DinS++vNBT/IIM0Aso6AuTng0khbMbXnTwPuL8zUumQ=; b=JUsTSqF+OPcvEX7kzXTR60+Tyh/VBCZLSA7flOIbAM4c7bEt43oTOFNBKA8jgBpogM zz7hXp5ovPSkbDbEXze1m04qDkA8YUx9a9x0da3P8fvi2EJCxnUfcu/LWduZNwXGvA9o kPh2oZR//4fVGyqsfsEHwcoFg1moH7FVClRI4= Original-Received: by 10.152.105.132 with SMTP id gm4mr8868860lab.39.1323178022871; Tue, 06 Dec 2011 05:27:02 -0800 (PST) Original-Received: from thierry-MM061 (109.78.88.79.rev.sfr.net. [79.88.78.109]) by mx.google.com with ESMTPS id op2sm21031400lab.6.2011.12.06.05.26.59 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 06 Dec 2011 05:27:00 -0800 (PST) In-Reply-To: <4EDDFBE1.7090305@swipnet.se> (Jan D.'s message of "Tue, 06 Dec 2011 12:26:25 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 06 Dec 2011 08:28:01 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:54749 Archived-At: "Jan D." writes: > thierry skrev 2011-12-06 10:28: >> Hi all, >> I have tried building emacs like this: >> >> "./configure --with-x-toolkit=lucid --without-rsvg --without-gconf --with-wide-int" >> >> Emacs works fine except I have these warning messages on startup when >> starting from command line: >> >> --8<---------------cut here---------------start------------->8--- >> (process:22974): GLib-GObject-CRITICAL **: /build/buildd/glib2.0-2.30.0/./gobject/gtype.c:2708: You forgot to call g_type_init() >> >> (process:22974): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed >> >> (process:22974): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed >> --8<---------------cut here---------------end--------------->8--- >> > > What libraries are linked to your Emacs? Can you send the output of ldd? > Also if you can start the debugger and put breakpoints for g_log and > g_logv and then post the backtrace when the breakpoint is hit, that > would be nice. We can then see exactly what library is causing these > messages. Previously Emacs tried to call g_type_init as needed but as > new libraryes that use glib was added (like dbus for example), this > wasn't kept up to date. I have rebuilded with: configure --with-x-toolkit=lucid --with-wide-int And the warnings disapear. I will rebuild again with precedents settings to reproduce bug and send you ldd output and a better backtrace. -- Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997