Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 257050 - net-news/liferea with xulrunner-1.9.0.5: mozembed_init: assertion failed: (mozsupport_xpcom_init ())
Summary: net-news/liferea with xulrunner-1.9.0.5: mozembed_init: assertion failed: (mo...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Daniel Gryniewicz (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-31 08:35 UTC by Matteo 'The Peach' Pescarin
Modified: 2009-02-19 13:43 UTC (History)
1 user (show)

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


Attachments
gdb thread backtrace (backtrace-liferea.log,3.37 KB, text/plain)
2009-02-13 07:52 UTC, Matteo 'The Peach' Pescarin
Details
liferea-1.4.24-r1.ebuild (liferea-1.4.24-r1.ebuild,2.76 KB, text/plain)
2009-02-16 05:45 UTC, Justin C
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matteo 'The Peach' Pescarin 2009-01-31 08:35:39 UTC
to get rid of xulrunner-1.8, I had to upgrade liferea to version >=1.4.20, but
$ liferea
**
ERROR:mozembed.c:343:mozembed_init: assertion failed: (mozsupport_xpcom_init ())
Aborted

# emerge --info
Portage 2.1.6.4 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.27-gentoo-r7 i686)
=================================================================
System uname: Linux-2.6.27-gentoo-r7-i686-Intel-R-_Pentium-R-_M_processor_1.60GHz-with-glibc2.0
Timestamp of tree: Thu, 29 Jan 2009 18:15:01 +0000
distcc 3.0 i686-pc-linux-gnu [disabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.4.8
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.2
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe -m32"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/init.d /etc/php/apache2-php4/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php4/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php4/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sound /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium-m -pipe -m32"
DISTDIR="/usr/portage/distfiles"
FEATURES="candy ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://213.186.33.37/gentoo-distfiles/ http://213.186.33.37/gentoo-distfiles/ http://gd.tuwien.ac.at/opsys/linux/gentoo/"
LANG="it_IT.UTF-8"
LC_ALL="it_IT.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="it"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
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/gechi /usr/local/portage/layman/dottout /usr/local/portage/layman/enlightenment /usr/local/portage/layman/php-4 /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="7zip X Xaw3d a52 aac acpi alsa amrnb amrwb apache2 asf audacious audiofile bash-completion bluetooth bundled-libs bzip2 bzlib cairo calendar cdda cdio cdparanoia chardet cli cracklib crypt cups dbus directfb divx4linux dri dts dv dvd dvdr dvdread dynamic effects escreen ethereal exif fb fbcon fbsplash ffmpeg flac flash font-server foomaticdb freetype ftp fuse gecko-sdk geoip gif gimp gimpprint glitz gphoto2 gpm graphviz gtk hal iconv icq id3 imagemagick imlib inkjar ipv6 isdnlog jabber java javascript jbig jikes jpeg jpeg2k lame libnotify libsamplerate lm_sensors lzw-tiff matroska midi mjpeg mmx mng motif mozsvg mp3 mpeg mpeg2 mpeg4 mudflap mysql mysqli ncurses nls nodrm nptl nptlonly nsplugin nvidia offensive ogg opengl openmp pam pcmcia pcre pdf perl php plugin pmu png pnp posix ppds pppd pulseaudio python radiotap rar readline reflection reiser4 reiserfs rtc samba session slang sockets spamassassin spl sse sse2 ssl startup-notification stroke svg sysfs tcpd theora threads thumbnail tiff tokenizer tordns truetype unicode usb userlocales utf8 v4l v4l2 vcd vorbis wifi win32codecs wma wmf wxgtk1 wxwindows x11vnc x86 xchatdccserver xface xfce xforms xine xinerama xml xorg xosd xpm xscreensaver xv xvid xvmc yv12 zlib" ALSA_CARDS="hda-intel usb-audio" 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" APACHE2_MPMS="itk" CAMERAS="*" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics wacom joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" USERLAND="GNU" VIDEO_CARDS="nvidia fbdev v4l"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Daniel Gryniewicz (RETIRED) gentoo-dev 2009-01-31 20:16:47 UTC
Works fine here.  You're going to have to provide a backtrace of the problem.  See this page for more info:

http://www.gentoo.org/proj/en/qa/backtraces.xml
Comment 2 Matteo 'The Peach' Pescarin 2009-02-13 07:52:37 UTC
Created attachment 181845 [details]
gdb thread backtrace

I've tried to get a backtrace of liferea, as you suggested following the indications on the link.
Hope this helps.
For anything else just ask.
Regards,
Matteo
Comment 3 Daniel Gryniewicz (RETIRED) gentoo-dev 2009-02-13 17:10:09 UTC
Something is seriously wrong with your system, it would seem.  The failure is an assertion that GLib threads have been initialized, but liferea initializes them very early in main(), so they *should* be fine.  Could you post what flags your liferea, xulrunner, and glib were built with (note: glib, not glibc)
Comment 4 Matteo 'The Peach' Pescarin 2009-02-13 18:12:28 UTC
here they are:
net-news/liferea-1.4.23 dbus debug libnotify webkit xulrunner -gnutls -gtkhtml -lua -networkmanager

net-libs/xulrunner-1.9.0.5 dbus ipv6 java startup-notification -custom-optimization -elibc_FreeBSD -gnome

dev-libs/glib-2.18.2 -debug -doc -fam -hardened -selinux -xattr
Comment 5 Daniel Gryniewicz (RETIRED) gentoo-dev 2009-02-13 19:46:53 UTC
Could you try re-emerging xulrunner with the gnome USE flag?
Comment 6 Matteo 'The Peach' Pescarin 2009-02-14 08:36:30 UTC
recompiling xulrunner with gnome USE flag enabled made liferea working again.
What's the magic trick?
Comment 7 Daniel Gryniewicz (RETIRED) gentoo-dev 2009-02-14 14:42:04 UTC
Presumably, the gnome USE flag enables all the gnome library initialization in xulrunner, including glib.  I've added a built_with_use check for now, until the gnome2 eclass is eapi 2 ready.  Thanks.
Comment 8 Justin C 2009-02-15 19:47:36 UTC
(In reply to comment #7)
> Presumably, the gnome USE flag enables all the gnome library initialization in
> xulrunner, including glib.  I've added a built_with_use check for now, until
> the gnome2 eclass is eapi 2 ready.  Thanks.

My concern with the built_with_use check is that in order to upgrade liferea-1.4.23, I have to reinstall xulrunner with USE="gnome", which requires many unwanted gnome libraries (see list below).

I currently have liferea-1.4.23 and ~xulrunner-1.9.0.6-r1 installed with USE="-gnome" (see list below for use flags) and liferea runs fine.  I should note that I don't view webpages in liferea and use firefox instead; if this is relevant.

I recently emerged system and world to update everything in order to get certain upgraded packages to work, namely xorg-7.4.  Perhaps that's why liferea works for me and not Matteo.  I do notice that Matteo has webkit and xulrunner flags enabled in http://bugs.gentoo.org/show_bug.cgi?id=257050#c4, maybe there's a conflict.

I will use a local overlay with the liferea-1.4.24 ebuild without built_with_use gnome to verify liferea-1.4.24 will run with -gnome, and post those results.

==== Undesired Xulrunner+gnome library requirements ============================
    $ USE='gnome' emerge -vp xulrunner

    These are the packages that would be merged, in order:

    Calculating dependencies... done!
    [ebuild  N    ] gnome-base/libbonobo-2.24.0  USE="-debug -doc" 1,422 kB
    [ebuild  N    ] x11-themes/gnome-icon-theme-2.22.0  USE="-debug" 0 kB
    [ebuild  N    ] gnome-base/gail-1.22.3  USE="-debug -doc" 659 kB
    [ebuild  N    ] gnome-base/gnome-common-2.20.0  USE="-debug" 0 kB
    [ebuild  N    ] gnome-base/gnome-mime-data-2.18.0  USE="-debug" 0 kB
    [ebuild  N    ] gnome-base/gnome-mount-0.8  USE="-debug -nautilus" 494 kB
    [ebuild  N    ] gnome-base/gnome-vfs-2.22.0  USE="acl avahi fam hal ipv6 samba ssl -debug -doc -gnutls -kerberos" 0 kB
    [ebuild  N    ] gnome-base/libgnomecanvas-2.20.1.1  USE="X -debug -doc" 0 kB
    [ebuild  N    ] gnome-base/libgnome-2.22.0  USE="esd -debug -doc" 0 kB
    [ebuild  N    ] gnome-base/libbonoboui-2.22.0  USE="X -debug -doc" 0 kB
    [ebuild  N    ] gnome-base/libgnomeui-2.22.1  USE="jpeg -debug -doc" 0 kB
    [ebuild   R   ] net-libs/xulrunner-1.9.0.6-r1  USE="dbus gnome* ipv6 java startup-notification -custom-optimization" 0 kB

    Total: 12 packages (11 new, 1 reinstall), Size of downloads: 2,574 kB


==== Installed packaged and use flags ==========================================
    net-libs/xulrunner-1.8.1.19(1.8)(05:08:22 AM 01/20/2009)(ipv6 java -debug -elibc_FreeBSD -gnome -xinerama -xprint)

    net-libs/xulrunner-1.9.0.6-r1(1.9)(07:00:34 PM 02/14/2009)(dbus ipv6 java startup-notification -custom-optimization -elibc_FreeBSD -gnome)

    net-news/liferea-1.4.23(08:28:24 PM 02/14/2009)(dbus gnutls libnotify lua xulrunner -debug -gtkhtml -networkmanager -webkit)

    dev-libs/glib-1.2.10-r5(1)(01:26:54 AM 01/18/2009)(-hardened)

    dev-libs/glib-2.18.4(2)(11:57:59 AM 01/18/2009)(fam -debug -doc -hardened -selinux -xattr)

====$ emerge --info [edited] ===================================================
    Portage 2.1.6.7 (default/linux/x86/2008.0/desktop, gcc-4.2.4, glibc-2.6.1-r0, 2.6.28-gentoo i686)
    =================================================================
    System uname: Linux-2.6.28-gentoo-i686-AMD_Athlon-tm-_64_Processor_3500+-with-glibc2.0
    Timestamp of tree: Sun, 15 Feb 2009 00:10:01 +0000
    app-shells/bash:     3.2_p39
    dev-java/java-config: 1.3.7-r1, 2.1.7
    dev-lang/python:     2.4.4-r5, 2.5.4-r2
    dev-python/pycrypto: 2.0.1-r6
    dev-util/cmake:      2.6.2-r1
    sys-apps/baselayout: 1.12.11.1
    sys-apps/sandbox:    1.2.18.1-r2
    sys-devel/autoconf:  2.13, 2.63
    sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
    sys-devel/binutils:  2.18-r3
    sys-devel/gcc-config: 1.4.0-r4
    sys-devel/libtool:   1.5.26
    virtual/os-headers:  2.6.28-r1
    ACCEPT_KEYWORDS="x86"
    CBUILD="i686-pc-linux-gnu"
    CFLAGS="-O2 -march=k8 -pipe -fomit-frame-pointer"
    CHOST="i686-pc-linux-gnu"
    CONFIG_PROTECT="/etc"
    CONFIG_PROTECT_MASK=[removed]
    CXXFLAGS="-O2 -march=k8 -pipe -fomit-frame-pointer"
    DISTDIR="/usr/portage/distfiles"
    FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
    LC_ALL="en_US.UTF-8"
    LDFLAGS="-Wl,-O1"
    PKGDIR="/usr/portage/packages"
    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=[removed]
    SYNC="rsync://rsync.gentoo.org/gentoo-portage"
    USE="3dnow 3dnowext X aac accessibility acl acpi alsa avahi bash-completion beagle berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus dnd dri dvd dvdr dvdread eds emboss encode esd evo fam fbcon firefox flac fortran gdbm gif glitz gpm gstreamer gtk hal inkjar ipv6 isdnlog jpeg ldap libnotify lua mad midi mikmod mmx mmxext mozilla mp3 mpeg mudflap ncurses nls nptl nptlonly nsplugin ogg openal opengl openmp pam pcre pdf perl png ppds pppd python quicktime readline reflection samba sdl session spell spl sse sse2 ssl startup-notification svg sysfs tcpd theora threads tiff truetype unicode usb vorbis wifi win32codecs x86 xcb xine xml xorg xulrunner xv zlib"
    ELIBC="glibc"
    INPUT_DEVICES="keyboard mouse evdev joystick"
    KERNEL="linux"
    USERLAND="GNU"
    VIDEO_CARDS="dummy fbdev nv nvidia vesa vga"
    Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 9 Matteo 'The Peach' Pescarin 2009-02-15 21:47:29 UTC
(In reply to comment #8)
> I do notice that Matteo has webkit and xulrunner
> flags enabled in http://bugs.gentoo.org/show_bug.cgi?id=257050#c4, maybe
> there's a conflict.

actually if you enable both, xulrunner will prevail over webkit, at least this is what configure said
Comment 10 Justin C 2009-02-16 05:45:48 UTC
Created attachment 182200 [details]
liferea-1.4.24-r1.ebuild

Liferea-1.4.24 does run with 'xulrunner-1.9.0.6-r1 -gnome'
gnome flag doesn't appear to affect glib initialization in liferea.
Comment 11 Daniel Gryniewicz (RETIRED) gentoo-dev 2009-02-16 17:07:43 UTC
(It doesn't matter what configure does; we force ordering.  xulrunner trumps webkit trumps gtkhtml, in the ebuild.)

re-opening per above.
Comment 12 Daniel Gryniewicz (RETIRED) gentoo-dev 2009-02-16 17:14:35 UTC
Okay, I've backed out the gnome use flag requirement.  Matteo: If you're willing, it would be nice if you could re-emerge xulrunner again without the gnome flag, and see if it goes back to breaking.  It may be that just re-emerging xulrunner was enough to fix it.
Comment 13 Matteo 'The Peach' Pescarin 2009-02-19 09:33:30 UTC
ok, yesterday I've recompiled xulrunner-1.9.0.6 without gnome USE flag enabled, and it seems that nothing is wrong with it, as long as liferea works and the internal browser too.

thanks for your help
Comment 14 Daniel Gryniewicz (RETIRED) gentoo-dev 2009-02-19 13:43:03 UTC
Thanks for verifying.  It must have been some transient error.