Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 274638 - x11-term/gnome-terminal fails to start (both 2.26.1 and 2.26.2)
Summary: x11-term/gnome-terminal fails to start (both 2.26.1 and 2.26.2)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: http://bugzilla.gnome.org/show_bug.cg...
Whiteboard:
Keywords:
Depends on:
Blocks: gnome2.26
  Show dependency tree
 
Reported: 2009-06-18 19:23 UTC by Rahul Jain
Modified: 2009-09-06 12:57 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rahul Jain 2009-06-18 19:23:26 UTC
rahul@googly ~ $ gnome-terminal
**
ERROR:terminal-app.c:1433:terminal_app_init: assertion failed: (app->system_font_desc != NULL)
Aborted



Reproducible: Always




rahul@googly ~ $ emerge --info                                                                                
Portage 2.2_rc33 (default/linux/x86/2008.0/desktop, gcc-4.3.3, glibc-2.10.1-r0, 2.6.30-zen1-31267-g06c0b82 i686)                                                                                                            
=================================================================                                             
System uname: Linux-2.6.30-zen1-31267-g06c0b82-i686-Genuine_Intel-R-_CPU_T2300_@_1.66GHz-with-gentoo-2.0.1    
Timestamp of tree: Thu, 18 Jun 2009 16:45:01 +0000                                                            
app-shells/bash:     4.0_p24                                                                                  
dev-java/java-config: 2.1.8-r1                                                                                
dev-lang/python:     2.6.2-r1                                                                                 
dev-util/cmake:      2.6.4                                                                                    
sys-apps/baselayout: 2.0.1                                                                                    
sys-apps/openrc:     0.4.3-r3                                                                                 
sys-apps/sandbox:    2.0                                                                                      
sys-devel/autoconf:  2.13, 2.63-r1                                                                            
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11                                          
sys-devel/binutils:  2.19.1-r1                                                                                
sys-devel/gcc-config: 1.4.1                                                                                   
sys-devel/libtool:   2.2.6a                                                                                   
virtual/os-headers:  2.6.29                                                                                   
ACCEPT_KEYWORDS="x86 ~x86"                                                                                    
CBUILD="i686-pc-linux-gnu"                                                                                    
CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"                                                         
CHOST="i686-pc-linux-gnu"                                                                                     
CONFIG_PROTECT="/etc /usr/share/config /var/lib/hsqldb"                                                       
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"                                              
CXXFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"                                                       
DISTDIR="/usr/portage/distfiles"                                                                              
FEATURES="distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"                                                                                                
GENTOO_MIRRORS="http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/"                                           
LANG="en_GB.utf8@euro"
LDFLAGS="-Wl,-O1"
LINGUAS="en hi en_GB"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/x11 /usr/local/portage/layman/x11 /usr/local/portage/layman/qting-edge /usr/local/portage/layman/kde-testing /usr/local/portage/layman/bugzilla"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa avahi bash-completion berkdb bluetooth branding bzip2 cairo cdparanoia cdr cli cracklib crypt css ctype cups curl curlwrappers cxx dbus dga directfb djvu dri dts dvd dvdr dvdread emboss encode evo exif fam fbcon ffmpeg firefox flac fontconfig fortran gd gdbm gif gimp gnutls gphoto2 gpm hal hddtemp htmlhandbook iconv ieee1394 imagemagick ipv6 isdnlog java java5 java6 javascript joystick jpeg jpeg2k ldap libnotify mad midi mikmod mmx mono motif mp3 mpeg mplayer mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcmcia pcre pdf perl png posix ppds pppd python qt3support qt4 quicktime readline reflection samba scanner sdl session smp sndfile spell spl sse sse2 ssl startup-notification svg svga sysfs syslog tcpd theora threads tiff truetype type1 unicode usb v4l2 vcd vim-syntax vorbis wavpack win32codecs wmf x86 xcomposite xine xinerama xml xorg xpm xulrunner xv xvid zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en hi en_GB" USERLAND="GNU" VIDEO_CARDS="intel fbdev v4l"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Rémi Cardona (RETIRED) gentoo-dev 2009-06-19 08:35:16 UTC
Please head over to http://www.gentoo.org/proj/en/qa/backtraces.xml and rebuild gnome-terminal (and probably a few other libs such as vte) to get a backtrace of some sort.

Thanks
Comment 2 Rahul Jain 2009-06-19 09:23:58 UTC
Rebuilt these packages:

x11-terms/gnome-terminal debug
x11-libs/vte debug
gnome-base/gconf debug
dev-libs/dbus-glib debug
x11-libs/libSM debug

This is the backtrace that I obtained:

(gdb) bt
#0  0xb8053424 in __kernel_vsyscall ()
#1  0xb711e980 in raise () from /lib/libc.so.6
#2  0xb71201c8 in abort () from /lib/libc.so.6
#3  0xb742a6ed in g_assertion_message () from /usr/lib/libglib-2.0.so.0
#4  0x085ed9a0 in ?? ()
#5  0x00000000 in ?? ()


Comment 3 Rémi Cardona (RETIRED) gentoo-dev 2009-06-19 10:02:37 UTC
USE=debug doesn't enable debugging symbols (we're working on getting rid of USE=debug...).

Please read again the link I posted earlier. You need to change your CFLAGS and FEATURES env vars for debugging symbols to work.

Thanks
Comment 4 Rahul Jain 2009-06-19 12:18:43 UTC
Well, changing the use flags and rebuilding gnome-terminal and vte produced exactly the same backtrace (maybe the debug use flag does work). Anyway, since the last bt message concerned glib, I rebuilt that and here is the complete backtrace from gdb after that.

rahul@googly ~ $ gdb /usr/bin/gnome-terminal
GNU gdb 6.8                                 
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...
(gdb) run
Starting program: /usr/bin/gnome-terminal
[Thread debugging using libthread_db enabled]
[New Thread 0xb7142930 (LWP 12785)]
**
ERROR:terminal-app.c:1433:terminal_app_init: assertion failed: (app->system_font_desc != NULL)

Program received signal SIGABRT, Aborted.
[Switching to Thread 0xb7142930 (LWP 12785)]
0xb80a5424 in __kernel_vsyscall ()
(gdb) bt
#0  0xb80a5424 in __kernel_vsyscall ()
#1  0xb71c2980 in raise () from /lib/libc.so.6
#2  0xb71c41c8 in abort () from /lib/libc.so.6
#3  0xb74986ec in IA__g_assertion_message (domain=0xb74f27de "", file=0x807c568 "terminal-app.c", line=1433,
    func=0x807ca94 "terminal_app_init", message=<value optimized out>) at gtestutils.c:1301
#4  0xb7498c3d in IA__g_assertion_message_expr (domain=0x0, file=0x807c568 "terminal-app.c", line=1433,
    func=0x807ca94 "terminal_app_init", expr=0x807c6b5 "app->system_font_desc != NULL") at gtestutils.c:1312
#5  0x0805de74 in terminal_app_init (app=0x8404078) at terminal-app.c:1433
#6  0xb753abe5 in IA__g_type_create_instance (type=138376416) at gtype.c:1674
#7  0xb751f3a5 in g_object_constructor (type=138376416, n_construct_properties=0, construct_params=0x0)
    at gobject.c:1338
#8  0xb751fbd4 in IA__g_object_newv (object_type=138376416, n_parameters=0, parameters=0x0) at gobject.c:1215
#9  0xb752078f in IA__g_object_new_valist (object_type=138376416, first_property_name=0x0,
    var_args=0xbfe48588 "") at gobject.c:1278
#10 0xb752090e in IA__g_object_new (object_type=138376416, first_property_name=0x0) at gobject.c:1060
#11 0x0805d3e5 in terminal_app_initialize (use_factory=1) at terminal-app.c:1625
#12 0x0805a90c in main (argc=Cannot access memory at address 0x1e
) at terminal.c:475
(gdb)
Comment 5 Arun Raghavan (RETIRED) gentoo-dev 2009-08-09 17:06:53 UTC
Found a bug upstream that should explain this (see URL field). Rahul, could you emerge libgnome and see if the problem goes away?
Comment 6 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-09-06 12:57:54 UTC
+  06 Sep 2009; Gilles Dartiguelongue <eva@gentoo.org>
+  -gnome-terminal-2.26.1.ebuild, gnome-terminal-2.26.2.ebuild,
+  gnome-terminal-2.26.3.1-r1.ebuild:
+  Add libgnome to RDEPEND, bug #274638.

Added without a bump, thanks for reporting.