GNU bug report logs - #12332
24.2.50; forgetting --without-gconf leads to crash at launch

Previous Next

Package: emacs;

Reported by: Peter Dyballa <Peter_Dyballa <at> Freenet.DE>

Date: Sun, 2 Sep 2012 09:51:01 UTC

Severity: normal

Found in version 24.2.50

Done: Jan Djärv <jan.h.d <at> swipnet.se>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 12332 in the body.
You can then email your comments to 12332 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#12332; Package emacs. (Sun, 02 Sep 2012 09:51:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Peter Dyballa <Peter_Dyballa <at> Freenet.DE>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 02 Sep 2012 09:51:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Peter Dyballa <Peter_Dyballa <at> Freenet.DE>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.2.50; forgetting --without-gconf leads to crash at launch
Date: Sun, 2 Sep 2012 11:46:51 +0200
Hello!

Having configured as

In GNU Emacs 24.2.50.1 (i386-apple-darwin10.8.0, X toolkit, Xaw3d scroll bars)
 of 2012-09-02 on Sumac.local
Bzr revision: 109853 eggert <at> cs.ucla.edu-20120902071010-fd19rvrjk5hqaro2
Configured using:
 `configure '--build=x86_64-apple-darwin10.8.0'
 '--host=i386-apple-darwin10.8.0' '--target=i386-apple-darwin10.8.0'
 '--with-wide-int' '--without-pop' '--without-sound' '--without-gpm'
 '--without-dbus' '--without-selinux' '--with-x-toolkit=athena'
 '--disable-ns-self-contained' '--without-xpm' '--without-jpeg'
 '--without-tiff' '--without-gif' '--without-png' '--without-rsvg'
 '--x-libraries=/usr/X11/lib' '--x-includes=/usr/X11/include'
 '--enable-locallisppath=/Library/Application
 Support/Emacs/calendar24:/Library/Application Support/Emacs' 'CFLAGS=-g
 -H -pipe -fPIC -fno-common -O0 -march=prescott -mtune=prescott -m32
 -fomit-frame-pointer -msse3 -foptimize-register-move -ftree-vectorize'
 'CPPFLAGS=-I/sw/include' 'LDFLAGS=-L/sw/lib -m32 -Wl,-dead_strip_dylibs
 -Wl,-bind_at_load -Wl,-t' 'CC=gcc-4.2' 'CXX=g++-4.2'
 'PKG_CONFIG_PATH=/sw/lib/xft2/lib/pkgconfig:/sw/share/pkgconfig:/sw/lib/pkgconfig:/usr/X11/lib\
/pkgconfig:/usr/X11/share/pkgconfig:/usr/lib/pkgconfig'
 'build_alias=x86_64-apple-darwin10.8.0'
 'host_alias=i386-apple-darwin10.8.0'
 'target_alias=i386-apple-darwin10.8.0''

GNU Emacs uses

	/sw/lib/fontconfig2/lib/libfontconfig.1.dylib (compatibility version 8.0.0, current version 8.2.0)
	/sw/lib/freetype219/lib/libfreetype.6.dylib (compatibility version 16.0.0, current version 16.0.0)
	/sw/lib/gnutls28/libgnutls.28.dylib (compatibility version 36.0.0, current version 36.1.0)
	/sw/lib/libMagickCore.5.dylib (compatibility version 6.0.0, current version 6.0.0)
	/sw/lib/libMagickWand.5.dylib (compatibility version 6.0.0, current version 6.0.0)
	/sw/lib/libXaw3d.8.dylib (compatibility version 9.0.0, current version 9.1.0)
	•/sw/lib/libgconf-2.4.dylib (compatibility version 6.0.0, current version 6.5.0)
	•/sw/lib/libglib-2.0.0.dylib (compatibility version 2201.0.0, current version 2201.4.0)
	/sw/lib/libm17n-core.0.dylib (compatibility version 5.0.0, current version 5.0.0)
	/sw/lib/libm17n-flt.0.dylib (compatibility version 5.0.0, current version 5.0.0)
	/sw/lib/libotf.0.dylib (compatibility version 1.0.0, current version 1.0.0)
	/sw/lib/libxml2.2.dylib (compatibility version 11.0.0, current version 11.0.0)
	/sw/lib/ncurses/libncurses.5.dylib (compatibility version 5.0.0, current version 5.0.0)
	/sw/lib/xft2/lib/libXft.2.dylib (compatibility version 5.0.0, current version 5.0.0)
	/usr/X11/lib/libICE.6.dylib (compatibility version 10.0.0, current version 10.0.0)
	/usr/X11/lib/libSM.6.dylib (compatibility version 7.0.0, current version 7.0.0)
	/usr/X11/lib/libX11.6.dylib (compatibility version 9.0.0, current version 9.0.0)
	/usr/X11/lib/libXmu.6.dylib (compatibility version 9.0.0, current version 9.0.0)
	/usr/X11/lib/libXrender.1.dylib (compatibility version 5.0.0, current version 5.0.0)
	/usr/X11/lib/libXt.6.dylib (compatibility version 7.0.0, current version 7.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.11)

but fails to launch:

 src/emacs

(process:83853): GLib-GObject-CRITICAL **: gtype.c:2458: initialization assertion failed, use g_type_init() prior to this function

(process:83853): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed

(process:83853): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed
Fatal error (10)Bus error (core dumped)
Exit 138


On Mac OS X 10.6.8. Using --without-gconf a working GNU Emacs is built:

	/sw/lib/fontconfig2/lib/libfontconfig.1.dylib (compatibility version 8.0.0, current version 8.2.0)
	/sw/lib/freetype219/lib/libfreetype.6.dylib (compatibility version 16.0.0, current version 16.0.0)
	/sw/lib/gnutls28/libgnutls.28.dylib (compatibility version 36.0.0, current version 36.1.0)
	/sw/lib/libMagickCore.5.dylib (compatibility version 6.0.0, current version 6.0.0)
	/sw/lib/libMagickWand.5.dylib (compatibility version 6.0.0, current version 6.0.0)
	/sw/lib/libXaw3d.8.dylib (compatibility version 9.0.0, current version 9.1.0)
	/sw/lib/libm17n-core.0.dylib (compatibility version 5.0.0, current version 5.0.0)
	/sw/lib/libm17n-flt.0.dylib (compatibility version 5.0.0, current version 5.0.0)
	/sw/lib/libotf.0.dylib (compatibility version 1.0.0, current version 1.0.0)
	/sw/lib/libxml2.2.dylib (compatibility version 11.0.0, current version 11.0.0)
	/sw/lib/ncurses/libncurses.5.dylib (compatibility version 5.0.0, current version 5.0.0)
	/sw/lib/xft2/lib/libXft.2.dylib (compatibility version 5.0.0, current version 5.0.0)
	/usr/X11/lib/libICE.6.dylib (compatibility version 10.0.0, current version 10.0.0)
	/usr/X11/lib/libSM.6.dylib (compatibility version 7.0.0, current version 7.0.0)
	/usr/X11/lib/libX11.6.dylib (compatibility version 9.0.0, current version 9.0.0)
	/usr/X11/lib/libXmu.6.dylib (compatibility version 9.0.0, current version 9.0.0)
	/usr/X11/lib/libXrender.1.dylib (compatibility version 5.0.0, current version 5.0.0)
	/usr/X11/lib/libXt.6.dylib (compatibility version 7.0.0, current version 7.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.11)


--
Greetings

  Pete

"Debugging? Klingons do not debug. Our software does not coddle the weak."





Reply sent to Jan Djärv <jan.h.d <at> swipnet.se>:
You have taken responsibility. (Sun, 02 Sep 2012 11:19:02 GMT) Full text and rfc822 format available.

Notification sent to Peter Dyballa <Peter_Dyballa <at> Freenet.DE>:
bug acknowledged by developer. (Sun, 02 Sep 2012 11:19:02 GMT) Full text and rfc822 format available.

Message #10 received at 12332-done <at> debbugs.gnu.org (full text, mbox):

From: Jan Djärv <jan.h.d <at> swipnet.se>
To: Peter Dyballa <Peter_Dyballa <at> Freenet.DE>
Cc: 12332-done <at> debbugs.gnu.org
Subject: Re: bug#12332: 24.2.50; forgetting --without-gconf leads to crash
	at launch
Date: Sun, 02 Sep 2012 13:17:04 +0200
Hello.

2012-09-02 11:46, Peter Dyballa skrev:

>   src/emacs
>
> (process:83853): GLib-GObject-CRITICAL **: gtype.c:2458: initialization assertion failed, use g_type_init() prior to this function
>
> (process:83853): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed
>
> (process:83853): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed
> Fatal error (10)Bus error (core dumped)
> Exit 138
>
>

Fixed in trunk.  GConf uses Gobject (where g_type_init is), but does not list 
it as a link time dependency, it apparently is linked in at runtime.  Thus, 
configure for Emacs does not find g_type_init and does not call it.

	Jan D.






Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12332; Package emacs. (Sun, 02 Sep 2012 17:55:01 GMT) Full text and rfc822 format available.

Message #13 received at 12332-done <at> debbugs.gnu.org (full text, mbox):

From: Peter Dyballa <Peter_Dyballa <at> Freenet.DE>
To: Jan Djärv <jan.h.d <at> swipnet.se>
Cc: 12332-done <at> debbugs.gnu.org
Subject: Re: bug#12332: 24.2.50;
	forgetting --without-gconf leads to crash at launch
Date: Sun, 2 Sep 2012 19:50:43 +0200
Am 02.09.2012 um 13:17 schrieb Jan Djärv:

> GConf uses Gobject (where g_type_init is), but does not list it as a link time dependency, it apparently is linked in at runtime.  Thus, configure for Emacs does not find g_type_init and does not call it.

I simply thought: Why is configure checking something really not related with Athena?

--
Greetings

  Pete


"Evolution"            o           __o                     _o _
          °\___o      /0~         -\<,              ^\___ /=\\_/-%
oo~_______ /\ /\______/ \_________O/ O_______________o===>-->O--o____





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12332; Package emacs. (Sun, 02 Sep 2012 18:51:01 GMT) Full text and rfc822 format available.

Message #16 received at 12332-done <at> debbugs.gnu.org (full text, mbox):

From: "Jan D." <jan.h.d <at> swipnet.se>
To: Peter Dyballa <Peter_Dyballa <at> Freenet.DE>
Cc: 12332-done <at> debbugs.gnu.org
Subject: Re: bug#12332: 24.2.50; forgetting --without-gconf leads to crash
	at launch
Date: Sun, 02 Sep 2012 20:48:39 +0200
Peter Dyballa skrev 2012-09-02 19:50:
>
> Am 02.09.2012 um 13:17 schrieb Jan Djärv:
>
>> GConf uses Gobject (where g_type_init is), but does not list it as a link time dependency, it apparently is linked in at runtime.  Thus, configure for Emacs does not find g_type_init and does not call it.
>
> I simply thought: Why is configure checking something really not related with Athena?
>

I don't understand the question.  You can link in for example dbus or 
libxml, both which doesn't have anything to do with Athena.  But in both 
cases we must check for them.
The text font for Emacs is taken from GConf if available (but Xsettings 
is preferred), so we must check for that.  Not all optional libraries in 
Emacs are related to the toolkit used.

	Jan D.





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12332; Package emacs. (Sun, 02 Sep 2012 19:21:01 GMT) Full text and rfc822 format available.

Message #19 received at 12332-done <at> debbugs.gnu.org (full text, mbox):

From: Peter Dyballa <Peter_Dyballa <at> Freenet.DE>
To: "Jan D." <jan.h.d <at> swipnet.se>
Cc: 12332-done <at> debbugs.gnu.org
Subject: Re: bug#12332: 24.2.50;
	forgetting --without-gconf leads to crash at launch
Date: Sun, 2 Sep 2012 21:16:08 +0200
Am 02.09.2012 um 20:48 schrieb Jan D.:

> I don't understand the question.  You can link in for example dbus or libxml, both which doesn't have anything to do with Athena.  But in both cases we must check for them.
> The text font for Emacs is taken from GConf if available (but Xsettings is preferred), so we must check for that.  Not all optional libraries in Emacs are related to the toolkit used.

For me GConf is related to GTK ("Gnome configuration database system" is the working title Fink gives it), so I don't understand why it's not being left out by configure since it knows that I'm not wanting to use GNOME/GTK. 

--
Greetings

  Pete

Clovis' Consideration of an Atmospheric Anomaly:
        The perversity of nature is nowhere better demonstrated than by the fact that, when exposed to the same atmosphere, bread becomes hard while crackers become soft





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12332; Package emacs. (Sun, 02 Sep 2012 20:12:01 GMT) Full text and rfc822 format available.

Message #22 received at 12332-done <at> debbugs.gnu.org (full text, mbox):

From: Jan Djärv <jan.h.d <at> swipnet.se>
To: Peter Dyballa <Peter_Dyballa <at> Freenet.DE>
Cc: 12332-done <at> debbugs.gnu.org
Subject: Re: bug#12332: 24.2.50;
	forgetting --without-gconf leads to crash at launch
Date: Sun, 2 Sep 2012 22:09:37 +0200
Hello.

> 
> For me GConf is related to GTK ("Gnome configuration database system" is the working title Fink gives it), so I don't understand why it's not being left out by configure since it knows that I'm not wanting to use GNOME/GTK. 

Configure can't read minds, it can not possiby know that you not now or in the future will use Gnome.  Gnome is a desktop and you don't need Gtk+ ti interact with it.

	Jan D.






bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 01 Oct 2012 11:24:02 GMT) Full text and rfc822 format available.

This bug report was last modified 11 years and 211 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.