After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 561390 - Epiphany crashes (error on do_GetService (NS_PREFSERVICE_CONTRACTID))
Epiphany crashes (error on do_GetService (NS_PREFSERVICE_CONTRACTID))
Status: RESOLVED NOTGNOME
Product: epiphany
Classification: Core
Component: [obsolete] Backend:Mozilla
2.24.x
Other All
: Normal critical
: ---
Assigned To: Epiphany Maintainers
Epiphany Maintainers
: 563089 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-11-18 16:07 UTC by Maciej (Matthew) Piechotka
Modified: 2008-12-03 10:18 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24



Description Maciej (Matthew) Piechotka 2008-11-18 16:07:35 UTC
Steps to reproduce:
Open epiphany

Stack trace:
XULRunner 1.9:
% gdb epiphany
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"...
Really redefine built-in command "frame"? (y or n) [answered Y; input not from terminal]
Really redefine built-in command "thread"? (y or n) [answered Y; input not from terminal]
Really redefine built-in command "start"? (y or n) [answered Y; input not from terminal]
gdb> run
[Thread debugging using libthread_db enabled]
[New Thread 0xb72e1710 (LWP 13526)]

** (epiphany:13526): WARNING **: ephy_embed_shell_get_embed_single called while the single is being initialised!


** (epiphany:13526): WARNING **: ephy_embed_shell_get_embed_single called while the single is being initialised!


** (epiphany:13526): WARNING **: ephy_embed_shell_get_embed_single called while the single is being initialised!


** (epiphany:13526): WARNING **: ephy_embed_shell_get_embed_single called while the single is being initialised!


Program received signal SIGSEGV, Segmentation fault.

Thread 3073251088 (LWP 13526)

  • #0 EmbedPrivate::Realize
    at EmbedPrivate.cpp line 293
  • #1 gtk_moz_embed_realize
    at gtkmozembed2.cpp line 490
  • #2 g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #3 g_type_class_meta_marshal
    at gclosure.c line 878
  • #4 g_closure_invoke
    at gclosure.c line 767
  • #5 signal_emit_unlocked_R
    at gsignal.c line 3174
  • #6 g_signal_emit_valist
    at gsignal.c line 2977
  • #7 g_signal_emit
    at gsignal.c line 3034
  • #8 IA__gtk_widget_realize
    at gtkwidget.c line 3319
  • #9 mozilla_embed_realize
    at mozilla-embed.cpp line 169
  • #10 g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #11 g_type_class_meta_marshal
    at gclosure.c line 878
  • #12 g_closure_invoke
    at gclosure.c line 767
  • #13 signal_emit_unlocked_R
    at gsignal.c line 3174
  • #14 g_signal_emit_valist
    at gsignal.c line 2977
  • #15 g_signal_emit
    at gsignal.c line 3034
  • #16 IA__gtk_widget_realize
    at gtkwidget.c line 3319
  • #17 IA__gtk_widget_map
    at gtkwidget.c line 3193
  • #18 gtk_notebook_map
    at gtknotebook.c line 1700
  • #19 g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #20 g_type_class_meta_marshal
    at gclosure.c line 878
  • #21 g_closure_invoke
    at gclosure.c line 767
  • #22 signal_emit_unlocked_R
    at gsignal.c line 3174
  • #23 g_signal_emit_valist
    at gsignal.c line 2977
  • #24 g_signal_emit
    at gsignal.c line 3034
  • #25 IA__gtk_widget_map
    at gtkwidget.c line 3195
  • #26 gtk_box_forall
    at gtkbox.c line 783
  • #27 IA__gtk_container_forall
    at gtkcontainer.c line 1455
  • #28 gtk_container_map
    at gtkcontainer.c line 2621
  • #29 g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #30 g_type_class_meta_marshal
    at gclosure.c line 878
  • #31 g_closure_invoke
    at gclosure.c line 767
  • #32 signal_emit_unlocked_R
    at gsignal.c line 3174
  • #33 g_signal_emit_valist
    at gsignal.c line 2977
  • #34 g_signal_emit
    at gsignal.c line 3034
  • #35 IA__gtk_widget_map
    at gtkwidget.c line 3195
  • #36 gtk_window_map
    at gtkwindow.c line 4372
  • #37 g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #38 g_type_class_meta_marshal
    at gclosure.c line 878
  • #39 g_closure_invoke
    at gclosure.c line 767
  • #40 signal_emit_unlocked_R
    at gsignal.c line 3174
  • #41 g_signal_emit_valist
    at gsignal.c line 2977
  • #42 g_signal_emit
    at gsignal.c line 3034
  • #43 IA__gtk_widget_map
    at gtkwidget.c line 3195
  • #44 gtk_window_show
    at gtkwindow.c line 4337
  • #45 ephy_window_show
    at ephy-window.c line 3660
  • #46 g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #47 g_type_class_meta_marshal
    at gclosure.c line 878
  • #48 g_closure_invoke
    at gclosure.c line 767
  • #49 signal_emit_unlocked_R
    at gsignal.c line 3174
  • #50 g_signal_emit_valist
    at gsignal.c line 2977
  • #51 g_signal_emit
    at gsignal.c line 3034
  • #52 IA__gtk_widget_show
    at gtkwidget.c line 3003
  • #53 ephy_shell_new_tab_full
    at ephy-shell.c line 504
  • #54 session_command_dispatch
    at ephy-session.c line 663
  • #55 g_idle_dispatch
    at gmain.c line 4235
  • #56 g_main_context_dispatch
    at gmain.c line 2144
  • #57 g_main_context_iterate
    at gmain.c line 2778
  • #58 g_main_loop_run
    at gmain.c line 2986
  • #59 IA__gtk_dialog_run
    at gtkdialog.c line 1068
  • #60 impl_get_embed_single
    at ephy-embed-shell.c line 245
  • #61 impl_get_embed_single
    at ephy-shell.c line 214
  • #62 ephy_embed_shell_get_embed_single
    at ephy-embed-shell.c line 261
  • #63 ephy_livehttpheaders_extension_init
    at ephy-livehttpheaders-extension.c line 66
  • #64 g_type_create_instance
    at gtype.c line 1674
  • #65 g_object_constructor
    at gobject.c line 1334
  • #66 g_object_newv
    at gobject.c line 1211
  • #67 g_object_new_valist
    at gobject.c line 1274
  • #68 g_object_new
    at gobject.c line 1056
  • #69 ephy_module_new_object
    at ephy-module.c line 200
  • #70 impl_get_object
    at ephy-shlib-loader.c line 197
  • #71 ephy_loader_get_object
    at ephy-loader.c line 60
  • #72 sync_loaded_extensions
    at ephy-extensions-manager.c line 677
  • #73 ephy_extensions_manager_startup
    at ephy-extensions-manager.c line 1045
  • #74 ephy_shell_get_extensions_manager
    at ephy-shell.c line 715
  • #75 ephy_shell_get_session
    at ephy-shell.c line 610
  • #76 main
    at ephy-main.c line 344



Other information:
Portage 2.2_rc14 (default/linux/x86/2008.0/developer, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.27-zen3 i686)
=================================================================
System uname: Linux-2.6.27-zen3-i686-Intel-R-_Celeron-R-_M_processor_1.50GHz-with-gentoo-2.0.0
Timestamp of tree: Tue, 18 Nov 2008 03:02:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.5.2-r8, 2.6-r5
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.2
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.3.0-r1
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.19
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -mtune=pentium-m -march=pentium-m -mfpmath=sse -pipe -momit-leaf-frame-pointer -ggdb -w -ftree-vectorize -ftree-loop-optimize -freorder-blocks-and-partition -fgcse-sm -fgcse-las -fgcse-after-reload -ftracer -maccumulate-outgoing-args"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-Os -mtune=pentium-m -march=pentium-m -mfpmath=sse -pipe -momit-leaf-frame-pointer -ggdb -w -ftree-vectorize -ftree-loop-optimize -freorder-blocks-and-partition -fgcse-sm -fgcse-las -fgcse-after-reload -ftracer -maccumulate-outgoing-args -fvisibility-inlines-hidden"
DISTDIR="/var/tmp/distfiles"
FEATURES="ccache collision-protect cvs digest distlocks multilib-strict parallel-fetch prelink preserve-libs protect-owned sandbox sfperms sign splitdebug stricter unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--add-needed -Wl,--as-needed -Wl,--hash-style=both -Wl,--sort-common"
LINGUAS="en_GB en_US pl"
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-crossdev /usr/local/portage /usr/portage/local/layman/zen-overlay /usr/portage/local/layman/rbu /usr/portage/local/layman/java-overlay /usr/portage/local/layman/x11 /usr/portage/local/layman/my-gnome"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac acl acpi alsa applet attr avahi avalon bash-completion berkdb bittorrent boo browseplugin bzip2 c++ cairo calendar caps cddb cdparanoia cdr cli clisp context cracklib crypt cups curl curlwrappers cxx d daap dbus deskbar detex devhelp disk-partition djvu docbook dri dvd dvdnav dvdr dvdread eclipse eds emacs emboss encode eog epiphany esd evo evolution exif expat extra fam ffmpeg flac flash fortran fuse galago gconf gd gdbm gdl gedit gif gimp git glib glut gmail gmp gnome gnome-keyring gnutls gpm gsf gstreamer gtk guile hal iconv idle imap inherit-graph inotify ipod iproute2 ipv6 isdnlog jabber java java5 java6 jingle jpeg jpeg2k jython keyring kpathsea kqemu laptop latex libburn libffi libgda libnotify libsexy logrotate lucene mad maildir mailwrapper mhash midi mikmod mmap mmx mono moonlight mozilla mp3 mpeg mudflap mule musicbrainz nautilus ncurses network networkmanager nls nntp no-old-linux nptl nptlonly nsplugin nss ntpl ogg oggvorbis openal opengl openmp pam pango pbm pccts pch pcre pda pdf perl png policykit pop postgres ppds pppd pulseaudio python qt3support quicktime raw readline reflection regex reiserfs resolvconf rhino ruby samba scanner science sdl session snmp soap soup sourceview spell spl sqlite sqlite3 sse sse2 ssh ssl startup-notification subversion svg symlink sysfs syslog tcpd tetex theora threads threadsafe tiff timidity totem tracker trayicon truetype unicode usb valgrind vim vorbis vte webkit wifi win32codecs wxwindows x86 xattr xcb xforms xhtml xml xml2 xorg xsl xslt xulrunner xv zeroconf zlib" ALSA_CARDS="atiixp" ALSA_PCM_PLUGINS="null empty dmix dshare ioplug" 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" CAMERAS="panasonic" ELIBC="glibc" INPUT_DEVICES="evdev mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en_US pl" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Maciej (Matthew) Piechotka 2008-11-18 16:20:09 UTC
Also message box with:
"Epiphany can't be used now. Mozilla initialisation failed."
Comment 2 Reinout van Schouwen 2008-11-18 17:12:43 UTC
*** Bug 561391 has been marked as a duplicate of this bug. ***
Comment 3 Maciej (Matthew) Piechotka 2008-11-19 11:35:27 UTC
Recently it does not crash (only show message that engine cannot be initialized).

The valgrind show that (with ext. uninstalled):
% valgrind epiphany 
==11188== Memcheck, a memory error detector.
==11188== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al.
==11188== Using LibVEX rev 1854, a library for dynamic binary translation.
==11188== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP.
==11188== Using valgrind-3.3.1, a dynamic binary instrumentation framework.
==11188== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al.
==11188== For more details, rerun with: -v
==11188== 
==11188== Conditional jump or move depends on uninitialised value(s)
==11188==    at 0x42A0892A: _dl_relocate_object (do-rel.h:65)
==11188==    by 0x42A00CC4: dl_main (rtld.c:2234)
==11188==    by 0x42A1285F: _dl_sysdep_start (dl-sysdep.c:239)
==11188==    by 0x429FE367: _dl_start (rtld.c:330)
==11188==    by 0x429FD986: (within /lib/ld-2.8.so)
==11188== 
==11188== Conditional jump or move depends on uninitialised value(s)
==11188==    at 0x42A08932: _dl_relocate_object (do-rel.h:68)
==11188==    by 0x42A00CC4: dl_main (rtld.c:2234)
==11188==    by 0x42A1285F: _dl_sysdep_start (dl-sysdep.c:239)
==11188==    by 0x429FE367: _dl_start (rtld.c:330)
==11188==    by 0x429FD986: (within /lib/ld-2.8.so)
==11188== 
==11188== Conditional jump or move depends on uninitialised value(s)
==11188==    at 0x42A08ACB: _dl_relocate_object (do-rel.h:117)
==11188==    by 0x42A00CC4: dl_main (rtld.c:2234)
==11188==    by 0x42A1285F: _dl_sysdep_start (dl-sysdep.c:239)
==11188==    by 0x429FE367: _dl_start (rtld.c:330)
==11188==    by 0x429FD986: (within /lib/ld-2.8.so)
==11188== 
==11188== Conditional jump or move depends on uninitialised value(s)
==11188==    at 0x42A0892A: _dl_relocate_object (do-rel.h:65)
==11188==    by 0x42A00E06: dl_main (rtld.c:2304)
==11188==    by 0x42A1285F: _dl_sysdep_start (dl-sysdep.c:239)
==11188==    by 0x429FE367: _dl_start (rtld.c:330)
==11188==    by 0x429FD986: (within /lib/ld-2.8.so)
==11188== 
==11188== Conditional jump or move depends on uninitialised value(s)
==11188==    at 0x42A08932: _dl_relocate_object (do-rel.h:68)
==11188==    by 0x42A00E06: dl_main (rtld.c:2304)
==11188==    by 0x42A1285F: _dl_sysdep_start (dl-sysdep.c:239)
==11188==    by 0x429FE367: _dl_start (rtld.c:330)
==11188==    by 0x429FD986: (within /lib/ld-2.8.so)
==11188== 
==11188== Conditional jump or move depends on uninitialised value(s)
==11188==    at 0x42A08ACB: _dl_relocate_object (do-rel.h:117)
==11188==    by 0x42A00E06: dl_main (rtld.c:2304)
==11188==    by 0x42A1285F: _dl_sysdep_start (dl-sysdep.c:239)
==11188==    by 0x429FE367: _dl_start (rtld.c:330)
==11188==    by 0x429FD986: (within /lib/ld-2.8.so)
==11188== 
==11188== Invalid read of size 4
==11188==    at 0x42A0FDC9: _dl_open (dl-open.c:636)
==11188==    by 0x43669C4E: dlopen_doit (dlopen.c:66)
==11188==    by 0x42A0BCD1: _dl_catch_error (dl-error.c:178)
==11188==    by 0x4366A11B: _dlerror_run (dlerror.c:164)
==11188==    by 0x43669B6B: dlopen@@GLIBC_2.1 (dlopen.c:87)
==11188==    by 0x8119799: _ZL15ReadDependentCBPKc (in /usr/bin/epiphany)
==11188==    by 0x81194C4: XPCOMGlueLoadDependentLibs(char const*, void (*)(char const*)) (in /usr/bin/epiphany)
==11188==    by 0x81196C4: XPCOMGlueLoad(char const*) (in /usr/bin/epiphany)
==11188==    by 0x811952C: XPCOMGlueStartup (in /usr/bin/epiphany)
==11188==    by 0x80BE80B: _ZL9impl_initP16_EphyEmbedSingle (mozilla-embed-single.cpp:604)
==11188==    by 0x80EF8B3: ephy_embed_single_init (ephy-embed-single.c:176)
==11188==    by 0x80F052A: impl_get_embed_single (ephy-embed-shell.c:234)
==11188==  Address 0x79562a8 is 64 bytes inside a block of size 66 alloc'd
==11188==    at 0x4007E31: malloc (vg_replace_malloc.c:207)
==11188==    by 0x42A0BDF2: _dl_signal_error (dl-error.c:90)
==11188==    by 0x42A063FB: _dl_map_object (dl-load.c:2243)
==11188==    by 0x42A10214: dl_open_worker (dl-open.c:293)
==11188==    by 0x42A0BCD1: _dl_catch_error (dl-error.c:178)
==11188==    by 0x42A0FB6E: _dl_open (dl-open.c:596)
==11188==    by 0x43669C4E: dlopen_doit (dlopen.c:66)
==11188==    by 0x42A0BCD1: _dl_catch_error (dl-error.c:178)
==11188==    by 0x4366A11B: _dlerror_run (dlerror.c:164)
==11188==    by 0x43669B6B: dlopen@@GLIBC_2.1 (dlopen.c:87)
==11188==    by 0x8119799: _ZL15ReadDependentCBPKc (in /usr/bin/epiphany)
==11188==    by 0x81194C4: XPCOMGlueLoadDependentLibs(char const*, void (*)(char const*)) (in /usr/bin/epiphany)
==11188== 
==11188== ERROR SUMMARY: 10 errors from 7 contexts (suppressed: 36 from 2)
==11188== malloc/free: in use at exit: 3,741,110 bytes in 41,441 blocks.
==11188== malloc/free: 144,211 allocs, 102,770 frees, 15,301,292 bytes allocated.
==11188== For counts of detected errors, rerun with: -v
==11188== searching for pointers to 41,441 not-freed blocks.
==11188== checked 3,630,464 bytes.
==11188== 
==11188== LEAK SUMMARY:
==11188==    definitely lost: 85,033 bytes in 3,016 blocks.
==11188==      possibly lost: 238,780 bytes in 464 blocks.
==11188==    still reachable: 3,417,297 bytes in 37,961 blocks.
==11188==         suppressed: 0 bytes in 0 blocks.
==11188== Rerun with --leak-check=full to see details of leaked memory.
Comment 4 Maciej (Matthew) Piechotka 2008-11-19 23:55:39 UTC
I managed to find out that the error occure in embed/mozilla/mozilla-embed-single.cpp:661. I'll try to find out more.

gdb> bt
  • #0 impl_init
    at mozilla-embed-single.cpp line 663
  • #1 ephy_embed_single_init
    at ephy-embed-single.c line 176
  • #2 impl_get_embed_single
    at ephy-embed-shell.c line 234
  • #3 impl_get_embed_single
    at ephy-shell.c line 214
  • #4 ephy_embed_shell_get_embed_single
    at ephy-embed-shell.c line 261
  • #5 ephy_window_constructor
    at ephy-window.c line 3420
  • #6 g_object_newv
    at gobject.c line 1211
  • #7 g_object_new_valist
    at gobject.c line 1315
  • #8 g_object_new
    at gobject.c line 1056
  • #9 ephy_window_new_with_chrome
    at ephy-window.c line 3498
  • #10 ephy_shell_new_tab_full
    at ephy-shell.c line 457
  • #11 session_command_dispatch
    at ephy-session.c line 708
  • #12 g_idle_dispatch
    at gmain.c line 4235
  • #13 g_main_context_dispatch
    at gmain.c line 2144
  • #14 g_main_context_iterate
    at gmain.c line 2778
  • #15 g_main_loop_run
    at gmain.c line 2986
  • #16 IA__gtk_main
    at gtkmain.c line 1200
  • #17 main
    at ephy-main.c line 749

Comment 5 Maciej (Matthew) Piechotka 2008-11-20 00:08:30 UTC
embed/mozilla/mozilla-embed-single.cpp:153 is currently found to be deepest level of problems.
Comment 6 Maciej (Matthew) Piechotka 2008-11-20 09:49:32 UTC
When I build epiphany from sources it worked. I'm searching for errors in ebuild and/or local env.
Comment 7 Reinout van Schouwen 2008-12-03 10:18:42 UTC
*** Bug 563089 has been marked as a duplicate of this bug. ***