Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 365905 - when using emerge net-libs/webkit-1.2.7 it returns a segmentation fault
Summary: when using emerge net-libs/webkit-1.2.7 it returns a segmentation fault
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-04 05:49 UTC by Malik
Modified: 2011-05-06 17:06 UTC (History)
0 users

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


Attachments
output from running FEATURES="nostrip" emerge net-libs/webkit-gtk (test2.txt,25.22 KB, text/plain)
2011-05-04 18:18 UTC, Malik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Malik 2011-05-04 05:49:25 UTC
receive a segmentation fault partway through running emerge

Reproducible: Always

Steps to Reproduce:
1. execute emerge net-libs/webkit-gtk
2.
3.
Actual Results:  
  CXX    WebCore/bindings/js/libwebkit_1_0_la-JSHTMLIFrameElementCustom.lo
  CXX    WebCore/bindings/js/libwebkit_1_0_la-JSHTMLInputElementCustom.lo
  CXX    WebCore/bindings/js/libwebkit_1_0_la-JSHTMLObjectElementCustom.lo
  CXX    WebCore/bindings/js/libwebkit_1_0_la-JSHTMLOptionsCollectionCustom.lo
  CXX    WebCore/bindings/js/libwebkit_1_0_la-JSHTMLSelectElementCustom.lo
  CXX    WebCore/bindings/js/libwebkit_1_0_la-JSHistoryCustom.lo
  CXX    WebCore/bindings/js/libwebkit_1_0_la-JSImageConstructor.lo
  CXX    WebCore/bindings/js/libwebkit_1_0_la-JSImageDataCustom.lo
  CXX    WebCore/bindings/js/libwebkit_1_0_la-JSInjectedScriptHostCustom.lo
In file included from ./JavaScriptCore/wtf/HashSet.h:25,
                 from ./JavaScriptCore/runtime/ArgList.h:26,
                 from ./JavaScriptCore/runtime/JSObject.h:26,
                 from ./JavaScriptCore/runtime/JSArray.h:24,
                 from ./JavaScriptCore/runtime/JSGlobalObject.h:25,
                 from ./WebCore/bindings/js/JSDOMGlobalObject.h:30,
                 from ./WebCore/bindings/js/JSDOMBinding.h:25,
                 from ./DerivedSources/JSInjectedScriptHost.h:26,
                 from WebCore/bindings/js/JSInjectedScriptHostCustom.cpp:34:
./JavaScriptCore/wtf/HashTable.h: In instantiation of 'WTF::HashTable<WebCore::String, std::pair<WebCore::String, double>, WTF::PairFirstExtractor<std::pair<WebCore::String, double> >, WebCore::StringHash, WTF::PairHashTraits<WTF::HashTraits<WebCore::String>, WTF::HashTraits<double> >, WTF::HashTraits<WebCore::String> >':
./JavaScriptCore/wtf/HashMap.h:108:   instantiated from 'WTF::HashMap<WebCore::String, double, WebCore::StringHash, WTF::HashTraits<WebCore::String>, WTF::HashTraits<double> >'
./WebCore/inspector/InspectorController.h:327:   instantiated from here
./JavaScriptCore/wtf/HashTable.h:342: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugs.gentoo.org/> for instructions.
make[1]: *** [WebCore/bindings/js/libwebkit_1_0_la-JSInjectedScriptHostCustom.lo] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-libs/webkit-gtk-1.2.7/work/webkit-1.2.7'
make: *** [all] Error 2
emake failed
 * ERROR: net-libs/webkit-gtk-1.2.7 failed (compile phase):
 *   Compile failed
 * 
 * Call stack:
 *     ebuild.sh, line  56:  Called src_compile
 *   environment, line 3063:  Called die
 * The specific snippet of code:
 *       emake XDG_DATA_HOME="${T}/.local" || die "Compile failed"
 * 
 * If you need support, post the output of 'emerge --info =net-libs/webkit-gtk-1.2.7',
 * the complete build log and the output of 'emerge -pqv =net-libs/webkit-gtk-1.2.7'.
 * The complete build log is located at '/var/tmp/portage/net-libs/webkit-gtk-1.2.7/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-libs/webkit-gtk-1.2.7/temp/environment'.
 * S: '/var/tmp/portage/net-libs/webkit-gtk-1.2.7/work/webkit-1.2.7'

>>> Failed to emerge net-libs/webkit-gtk-1.2.7, Log file:

>>>  '/var/tmp/portage/net-libs/webkit-gtk-1.2.7/temp/build.log'

 * Messages for package dev-libs/glib-2.28.6:

 * If you experience a breakage after updating dev-libs/glib try
 * rebuilding dev-libs/dbus-glib

 * Messages for package net-libs/webkit-gtk-1.2.7:

 * ERROR: net-libs/webkit-gtk-1.2.7 failed (compile phase):
 *   Compile failed
 * 
 * Call stack:
 *     ebuild.sh, line  56:  Called src_compile
 *   environment, line 3063:  Called die
 * The specific snippet of code:
 *       emake XDG_DATA_HOME="${T}/.local" || die "Compile failed"
 * 
 * If you need support, post the output of 'emerge --info =net-libs/webkit-gtk-1.2.7',
 * the complete build log and the output of 'emerge -pqv =net-libs/webkit-gtk-1.2.7'.
 * The complete build log is located at '/var/tmp/portage/net-libs/webkit-gtk-1.2.7/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-libs/webkit-gtk-1.2.7/temp/environment'.
 * S: '/var/tmp/portage/net-libs/webkit-gtk-1.2.7/work/webkit-1.2.7'

 * GNU info directory index is up-to-date.

 * IMPORTANT: 5 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

Expected Results:  
installed net-libs/webkit-gtk

system was just installed. originally received error as part of emerge gnome and from what i have seen from many searches on this type of issue it appears that you must have it installed to use gnome
Comment 1 Malik 2011-05-04 18:18:05 UTC
Created attachment 272111 [details]
output from running FEATURES="nostrip" emerge net-libs/webkit-gtk
Comment 2 Pacho Ramos gentoo-dev 2011-05-06 13:21:34 UTC
Is that exact segfault always reproducible? Also post emerge --info
Comment 3 Malik 2011-05-06 16:04:19 UTC
no, the location of the segmentation fault seems to be different each time I run it. Here's the output of the last time I ran it:

 CXX    WebCore/loader/appcache/libwebkit_1_0_la-ApplicationCacheHost.lo
  CXX    WebCore/loader/appcache/libwebkit_1_0_la-ApplicationCacheResource.lo
  CXX    WebCore/loader/appcache/libwebkit_1_0_la-ApplicationCacheStorage.lo
  CXX    WebCore/loader/appcache/libwebkit_1_0_la-DOMApplicationCache.lo
  CXX    WebCore/loader/appcache/libwebkit_1_0_la-ManifestParser.lo
  CXX    WebCore/bindings/js/libwebkit_1_0_la-JSCustomSQLStatementCallback.lo
  CXX    WebCore/bindings/js/libwebkit_1_0_la-JSCustomSQLStatementErrorCallback.lo
  CXX    WebCore/bindings/js/libwebkit_1_0_la-JSCustomSQLTransactionCallback.lo
  CXX    WebCore/bindings/js/libwebkit_1_0_la-JSCustomSQLTransactionErrorCallback.lo
In file included from ./JavaScriptCore/interpreter/Register.h:32,
                 from ./JavaScriptCore/runtime/ArgList.h:25,
                 from ./JavaScriptCore/runtime/JSObject.h:26,
                 from ./JavaScriptCore/runtime/JSArray.h:24,
                 from ./JavaScriptCore/runtime/JSGlobalObject.h:25,
                 from WebCore/bindings/js/JSDOMGlobalObject.h:30,
                 from WebCore/bindings/js/JSCustomSQLTransactionErrorCallback.h:35,
                 from WebCore/bindings/js/JSCustomSQLTransactionErrorCallback.cpp:30:
./JavaScriptCore/runtime/JSValue.h:86: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugs.gentoo.org/> for instructions.
make[1]: *** [WebCore/bindings/js/libwebkit_1_0_la-JSCustomSQLTransactionErrorCallback.lo] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-libs/webkit-gtk-1.2.7/work/webkit-1.2.7'
make: *** [all] Error 2
emake failed
 * ERROR: net-libs/webkit-gtk-1.2.7 failed (compile phase):
 *   Compile failed
 * 
 * Call stack:
 *     ebuild.sh, line  56:  Called src_compile
 *   environment, line 3063:  Called die
 * The specific snippet of code:
 *       emake XDG_DATA_HOME="${T}/.local" || die "Compile failed"
 * 
 * If you need support, post the output of 'emerge --info =net-libs/webkit-gtk-1.2.7',
 * the complete build log and the output of 'emerge -pqv =net-libs/webkit-gtk-1.2.7'.
 * The complete build log is located at '/var/tmp/portage/net-libs/webkit-gtk-1.2.7/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-libs/webkit-gtk-1.2.7/temp/environment'.
 * S: '/var/tmp/portage/net-libs/webkit-gtk-1.2.7/work/webkit-1.2.7'

>>> Failed to emerge net-libs/webkit-gtk-1.2.7, Log file:

>>>  '/var/tmp/portage/net-libs/webkit-gtk-1.2.7/temp/build.log'

 * Messages for package net-libs/webkit-gtk-1.2.7:

 * ERROR: net-libs/webkit-gtk-1.2.7 failed (compile phase):
 *   Compile failed
 * 
 * Call stack:
 *     ebuild.sh, line  56:  Called src_compile
 *   environment, line 3063:  Called die
 * The specific snippet of code:
 *       emake XDG_DATA_HOME="${T}/.local" || die "Compile failed"
 * 
 * If you need support, post the output of 'emerge --info =net-libs/webkit-gtk-1.2.7',
 * the complete build log and the output of 'emerge -pqv =net-libs/webkit-gtk-1.2.7'.
 * The complete build log is located at '/var/tmp/portage/net-libs/webkit-gtk-1.2.7/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-libs/webkit-gtk-1.2.7/temp/environment'.
 * S: '/var/tmp/portage/net-libs/webkit-gtk-1.2.7/work/webkit-1.2.7'

 * IMPORTANT: 5 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.
Comment 4 Malik 2011-05-06 16:06:07 UTC
emerge --info


Portage 2.1.9.42 (default/linux/x86/10.0, gcc-4.4.5, glibc-2.11.3-r0, 2.6.36-gentoo-r8 i686)
=================================================================
System uname: Linux-2.6.36-gentoo-r8-i686-Pentium_II_-Deschutes-with-gentoo-1.12.14
Timestamp of tree: Thu, 05 May 2011 04:00:01 +0000
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.7.1-r1, 3.1.3-r1
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.5
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
sys-kernel/linux-headers: 2.6.36.1
sys-libs/glibc:      2.11.3
virtual/os-headers:  0
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac acl aiglx alsa aoss asf berkdb bzip2 cairo cli cracklib crypt cups cxx dbus device-mapper dri dvd extras fam firefox fortran gdbm gdu gif glitz gnome gpm gstreamer gtk iconv java jpeg mad modules mp3 mp4 mudflap ncurses new-login nls nptl nptlonly nsplugin opengl openmp pam pcre pdf perl png policykit pppd python readline samba session spell sqlite ssl svg symlink sysfs tcpd threads tiff truetype unicode vidix win32codecs x264 x86 xcomposite xinerama xml xorg xscreensaver xv xvid 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 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" 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="keyboard mouse 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="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" 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, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2011-05-06 17:06:33 UTC
Judging from the ancient processor type and that MAKEOPTS is unset, I gather the system simply ran out of memory. Try building packages for this system on another ("staging") system instead.