Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 385573

Summary: www-client/epiphany-2.30.6 crashes on startup (or with any user interaction)
Product: Gentoo Linux Reporter: Mark Wickens <mark>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED NEEDINFO    
Severity: critical    
Priority: Normal    
Version: unspecified   
Hardware: IA64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: gdb backtrace log file on crash

Description Mark Wickens 2011-10-04 05:40:56 UTC
Note that whilst I'm using the x11 overlay to fix a mesa endian issue this problem occurred with the standard x11 build.

Crash signature:
msw@zx6000 ~ $ epiphany
epiphany(1590): unaligned access to 0x200000000d365c4e, ip=0x200000000134f530
epiphany(1590): unaligned access to 0x200000000d365cb6, ip=0x200000000134f430
epiphany(1590): unaligned access to 0x200000000d365d1e, ip=0x200000000134f530
epiphany(1590): unaligned access to 0x200000000d365d26, ip=0x200000000134f530
epiphany(1590): unaligned access to 0x200000000d365d2e, ip=0x200000000134f530
** Message: console message: undefined @0: 1.4450535577407298e-154

** Message: console message: undefined @0: 1.4450535577411538e-154

** Message: console message: undefined @0: 1.4450535577412174e-154

** Message: console message: undefined @0: 1.4450535577413234e-154

** Message: console message: undefined @0: 1.4450535577413976e-154

** Message: console message: undefined @0: 1.4450535577414718e-154

msw@zx6000 ~ $ sudo su -
zx6000 ~ # epiphany
epiphany(1654): unaligned access to 0x200000000d0bdc4e, ip=0x200000000134f530
epiphany(1654): unaligned access to 0x200000000d0bdcb6, ip=0x200000000134f430
epiphany(1654): unaligned access to 0x200000000d0bdd1e, ip=0x200000000134f530
epiphany(1654): unaligned access to 0x200000000d0bdd26, ip=0x200000000134f530
epiphany(1654): unaligned access to 0x200000000d0bdd2e, ip=0x200000000134f530
** Message: console message: undefined @0: 1.4450535572197708e-154

** Message: console message: undefined @0: 1.4450535572201947e-154

** Message: console message: undefined @0: 1.4450535572202583e-154

** Message: console message: undefined @0: 1.4450535572203643e-154

** Message: console message: undefined @0: 1.4450535572204385e-154

** Message: console message: undefined @0: 1.4450535572205127e-154

For reference regarding the build environment - firefox operates without issue.

msw@zx6000 ~ $ emerge --info       
Portage 2.1.10.11 (default/linux/ia64/10.0/desktop/gnome, gcc-4.4.5, glibc-2.12.2-r0, 2.6.39-gentoo-r3 ia64)
=================================================================
System uname: Linux-2.6.39-gentoo-r3-ia64-31-with-gentoo-2.0.3
Timestamp of tree: Sat, 01 Oct 2011 04:45:01 +0000
app-shells/bash:          4.1_p9
dev-lang/python:          2.7.1-r1
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.4
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.11.1
sys-devel/binutils:       2.20.1-r1
sys-devel/gcc:            4.4.5
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo x11
ACCEPT_KEYWORDS="ia64 ~ia64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="ia64-unknown-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="ia64-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/"
LANG="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
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="/var/lib/layman/x11"
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa berkdb branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvdr eds encode evo exif fam firefox flac fortran gdbm gdu gif git gnome gnome-keyring gpm gstreamer gtk ia64 iconv ipv6 jpeg lcms ldap libnotify mad mng modules mp3 mp4 mpeg mudflap nautilus ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd python qt3support qt4 readline sdl session spell ssl startup-notification subversion svg sysfs tcpd tiff truetype udev unicode usb vorbis xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Pacho Ramos gentoo-dev 2011-10-04 09:46:19 UTC
Try to get a proper backtrace:
http://www.gentoo.org/proj/en/qa/backtraces.xml

But maybe downgrading to net-libs/webkit-gtk-1.4.3-r200 "solves" this, please try it also
Comment 2 Mark Wickens 2011-10-04 18:46:37 UTC
Please see attached stack trace. If you would like me to enable debugging in any libraries I am happy to do so.

I will also see if your downgrade suggestion works.

Mark.

msw@zx6000 ~ $ gdb /usr/bin/epiphany 
GNU gdb (Gentoo 7.3.1 p1) 7.3.1
Copyright (C) 2011 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 "ia64-unknown-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.gentoo.org/>...
Reading symbols from /usr/bin/epiphany...done.
(gdb) run
Starting program: /usr/bin/epiphany 
[Thread debugging using libthread_db enabled]
[New Thread 0x2000000008482ff0 (LWP 10193)]
[New Thread 0x200000000d32eff0 (LWP 10194)]
[New Thread 0x200000000deb6ff0 (LWP 10195)]
epiphany(10190): unaligned access to 0x200000000d365c4e, ip=0x200000000134f530
epiphany(10190): unaligned access to 0x200000000d365cb6, ip=0x200000000134f430
epiphany(10190): unaligned access to 0x200000000d365d1e, ip=0x200000000134f530
epiphany(10190): unaligned access to 0x200000000d365d26, ip=0x200000000134f530
epiphany(10190): unaligned access to 0x200000000d365d2e, ip=0x200000000134f530
[New Thread 0x200000000e802ff0 (LWP 10196)]
** Message: console message: undefined @0: 1.4450535577407298e-154

** Message: console message: undefined @0: 1.4450535577411538e-154

** Message: console message: undefined @0: 1.4450535577412174e-154

[New Thread 0x200000000f5beff0 (LWP 10197)]
[New Thread 0x200000000fdbeff0 (LWP 10198)]
[New Thread 0x20000000147feff0 (LWP 10199)]
[New Thread 0x2000000014ffeff0 (LWP 10200)]
[New Thread 0x20000000157feff0 (LWP 10201)]
[New Thread 0x2000000015ffeff0 (LWP 10202)]
[New Thread 0x20000000167feff0 (LWP 10203)]
[New Thread 0x2000000016ffeff0 (LWP 10204)]
[New Thread 0x200000001780eff0 (LWP 10205)]
[New Thread 0x200000001802eff0 (LWP 10206)]
[New Thread 0x200000001882eff0 (LWP 10207)]
[New Thread 0x200000001902eff0 (LWP 10208)]
** Message: console message: undefined @0: 1.4450535577413234e-154

** Message: console message: undefined @0: 1.4450535577413976e-154

** Message: console message: undefined @0: 1.4450535577414718e-154

** Message: console message: undefined @0: 1.445053557741546e-154

** Message: console message: undefined @0: 1.4450535577416096e-154

** Message: console message: undefined @0: 1.4450535577416731e-154

[Thread 0x200000001802eff0 (LWP 10206) exited]
[Thread 0x2000000014ffeff0 (LWP 10200) exited]
[Thread 0x20000000147feff0 (LWP 10199) exited]
[Thread 0x2000000015ffeff0 (LWP 10202) exited]
[Thread 0x2000000016ffeff0 (LWP 10204) exited]
[Thread 0x200000000e802ff0 (LWP 10196) exited]
[Thread 0x200000001780eff0 (LWP 10205) exited]
[Thread 0x20000000167feff0 (LWP 10203) exited]
[Thread 0x200000000fdbeff0 (LWP 10198) exited]
[Thread 0x200000001902eff0 (LWP 10208) exited]
[Thread 0x200000000f5beff0 (LWP 10197) exited]
[Thread 0x200000001882eff0 (LWP 10207) exited]
[Thread 0x20000000157feff0 (LWP 10201) exited]

Program received signal SIGSEGV, Segmentation fault.
0x2000000001ba57c0 in JSObjectCallAsFunction ()
   from /usr/lib/libwebkit-1.0.so.2
(gdb) bt
#0  0x2000000001ba57c0 in JSObjectCallAsFunction ()
   from /usr/lib/libwebkit-1.0.so.2
#1  0x4000000000153580 in js_get_all_links (js_context=0x200000000d363748)
    at ephy-web-view.c:706
#2  0x4000000000156c20 in do_hook_into_links (js_context=0x200000000d363748, 
    web_view=0x60000000000461f0) at ephy-web-view.c:1234
#3  0x4000000000157260 in _ephy_web_view_hook_into_links (
    web_view=0x60000000000461f0) at ephy-web-view.c:1285
#4  0x4000000000159bb0 in load_status_cb (web_view=0x60000000000461f0, 
    pspec=0x60000000001ba580, user_data=0x0) at ephy-web-view.c:1903
#5  0x20000000043926c0 in g_cclosure_marshal_VOID__PARAM ()
   from /usr/lib/libgobject-2.0.so.0
#6  0x200000000436dc70 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#7  0x20000000043a5c50 in ?? () from /usr/lib/libgobject-2.0.so.0
#8  0x0000000000000000 in ?? ()
(gdb)
Comment 3 Pacho Ramos gentoo-dev 2011-10-04 19:00:56 UTC
Please also rebuild dev-libs/glib with debugging symbols and follow "Code Listing 1.4" from:
http://www.gentoo.org/proj/en/qa/backtraces.xml

attaching backtrace.log here
Comment 4 Mark Wickens 2011-10-04 20:54:12 UTC
Created attachment 288799 [details]
gdb backtrace log file on crash

backtrace.log attached as requested
Comment 5 Pacho Ramos gentoo-dev 2011-10-04 21:04:37 UTC
The crash looks to occur in webkit-gtk, you will need to also rebuild net-libs/webkit-gtk-1.6.1-r200 with debugging symbols.

(Basically, each time you see things like:
0x2000000001abe550 in ?? () from /usr/lib/libwebkit-1.0.so.2

with "??", it indicates you need to recompile with debugging symbols package providing that lib)
Comment 6 Pacho Ramos gentoo-dev 2011-10-22 12:19:16 UTC
I have also tested now with webkit-1.6 and it works fine for me. Please also try to create a new user account