Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 415541 - chromium-19.0.1084.46 compile error: Segmentation fault
Summary: chromium-19.0.1084.46 compile error: Segmentation fault
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-12 07:31 UTC by Gao Xiang
Modified: 2012-05-12 16:40 UTC (History)
0 users

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 Gao Xiang 2012-05-12 07:31:24 UTC
This happened while upgrading chromium to 19.0.1084.46:
 x86_64-pc-linux-gnu-g++ '-D_FILE_OFFSET_BITS=64' '-DCHROMIUM_BUILD' '-DUSE_NSS=1' '-DTOOLKIT_USES_GTK=1' '-DGTK_DISABLE_SINGLE_INCLUDES=1' '-DENABLE_REMOTING=1' '-DENABLE_WEBRTC=1' '-DENABLE_P2P_APIS=1' '-DUSE_PROPRIETARY_CODECS' '-DENABLE_CONFIGURATION_POLICY' '-DENABLE_INPUT_SPEECH' '-DENABLE_NOTIFICATIONS' '-DENABLE_GPU=1' '-DENABLE_EGLIMAGE=1' '-DUSE_SKIA=1' '-DENABLE_REGISTER_PROTOCOL_HANDLER=1' '-DENABLE_WEB_INTENTS=1' '-DENABLE_PLUGIN_INSTALLATION=1' '-DENABLE_THEMES=1' '-DENABLE_AUTOMATION=1' '-DNACL_WINDOWS=0' '-DNACL_LINUX=1' '-DNACL_OSX=0' '-DNACL_TARGET_SUBARCH=64' '-DNACL_TARGET_ARCH=x86' '-DNACL_BUILD_SUBARCH=64' '-DNACL_BUILD_ARCH=x86' '-DENABLE_SAFE_BROWSING' '-DGL_GLEXT_PROTOTYPES' '-DGOOGLE_PROTOBUF_NO_RTTI' '-DSK_BUILD_NO_IMAGE_ENCODE' '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' '-DGR_AGGRESSIVE_SHADER_OPTS=1' '-DUSE_SYSTEM_LIBBZ2' '-DCLD_WINDOWS' '-DCOMPILER_GCC' '-DHUNSPELL_STATIC' '-DHUNSPELL_CHROME_CLIENT' '-DUSE_HUNSPELL' '-DU_USING_ICU_NAMESPACE=0' '-DUSE_SYSTEM_ICU' '-DFEATURE_ENABLE_SSL' '-DFEATURE_ENABLE_VOICEMAIL' '-DEXPAT_RELATIVE_PATH' '-DJSONCPP_RELATIVE_PATH' '-DWEBRTC_RELATIVE_PATH' '-DNO_SOUND_SYSTEM' '-DLINUX' '-DPOSIX' '-DUSE_SYSTEM_LIBXML' '-DUSE_CUPS' '-D__STDC_FORMAT_MACROS' '-DNDEBUG' '-DNVALGRIND' '-DDYNAMIC_ANNOTATIONS_ENABLED=0' -I. -Iout/Release/obj.target/browser/geni -Ithird_party/khronos -Iout/Release/obj/gen/policy -Iout/Release/obj/gen/protoc_out -Ithird_party/protobuf -Ithird_party/protobuf/src -Iout/Release/obj/gen/chrome -Ithird_party/sqlite -Iout/Release/obj/gen -Iskia/config -Ithird_party/skia/include/config -Ithird_party/skia/include/core -Ithird_party/skia/include/effects -Ithird_party/skia/include/pdf -Ithird_party/skia/include/gpu -Ithird_party/skia/include/gpu/gl -Ithird_party/skia/include/ports -Ithird_party/skia/include/utils -Iskia/ext -Ithird_party/cld -Ithird_party/leveldatabase/src/include -Ithird_party/leveldatabase/src -Ithird_party/libjingle/overrides -Ithird_party/libjingle/source -Ithird_party/jsoncpp/overrides/include -Ithird_party/jsoncpp/source/include -Iout/Release/obj/gen/protoc_out/third_party/libphonenumber -Ithird_party/npapi -Ithird_party/npapi/bindings -Iout/Release/obj/gen/ui/app_locale_settings -Iout/Release/obj/gen/ui/ui_strings -Iout/Release/obj/gen/ui/ui_resources -Iout/Release/obj/gen/ui/ui_resources_2x -Iout/Release/obj/gen/ui/ui_resources_standard -Iout/Release/obj/gen/webkit -Inet/third_party/nss/ssl  -pthread -fno-exceptions -fno-strict-aliasing -Wall -Wno-unused-parameter -Wno-missing-field-initializers -fvisibility=hidden -pipe -fPIC -fno-ipa-cp -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -pthread -I/usr/include/gtk-unix-print-2.0 -I/usr/include/gtk-2.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/nss -I/usr/include/nspr -O2 -fno-ident -fdata-sections -ffunction-sections -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden -Wsign-compare -MMD -MF out/Release/.deps/out/Release/obj.target/browser/chrome/browser/ui/panels/overflow_panel_strip.o.d.raw -march=native -O2 -pipe -O2 -c -o out/Release/obj.target/browser/chrome/browser/ui/panels/overflow_panel_strip.o chrome/browser/ui/panels/overflow_panel_strip.cc
malloc() ../../sandbox-2.5/libsandbox/libsandbox.c:resolve_path():263: malloc(8192) failed: Cannot allocate memory
/var/tmp/portage/._portage_reinstall_.z60n5n/bin/ebuild-helpers/emake: line 25: 25820 Segmentation fault      ${MAKE:-make} ${MAKEOPTS} ${EXTRA_EMAKE} "$@"
 * ERROR: www-client/chromium-19.0.1084.46 failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=www-client/chromium-19.0.1084.46'`,
 * the complete build log and the output of `emerge -pqv '=www-client/chromium-19.0.1084.46'`.
 * The complete build log is located at '/var/tmp/portage/www-client/chromium-19.0.1084.46/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/www-client/chromium-19.0.1084.46/temp/environment'.
 * Working directory: '/var/tmp/portage/www-client/chromium-19.0.1084.46/work/chromium-19.0.1084.46'
 * S: '/var/tmp/portage/www-client/chromium-19.0.1084.46/work/chromium-19.0.1084.46'


Reproducible: Always

Steps to Reproduce:
with ~amd64 in my make.conf
do the upgrade: emerge -uDav world
will get this error.



# emerge --info '=www-client/chromium-19.0.1084.46'
Portage 2.1.10.59 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.3, glibc-2.15-r1, 3.3.4-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.3.4-gentoo-x86_64-Intel-R-_Core-TM-_i5_CPU_M_480_@_2.67GHz-with-gentoo-2.1
Timestamp of tree: Sat, 12 May 2012 02:30:01 +0000
app-shells/bash:          4.2_p28
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.3-r2, 3.2.3-r1
dev-util/cmake:           2.8.8-r2
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.9.3
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.5
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.3-r2, 4.7.0::hardened-dev
sys-devel/gcc-config:     1.7
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.3 (virtual/os-headers)
sys-libs/glibc:           2.15-r1
Repositories: gentoo sage-on-gentoo roslin gentoo-zh bumblebee sunrise hardened-dev
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /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/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"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://mirrors.ustc.edu.cn/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/sage-on-gentoo /var/lib/layman/roslin /var/lib/layman/gentoo-zh /var/lib/layman/bumblebee /var/lib/layman/sunrise /var/lib/layman/hardened-development"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gdu gif gpm gtk iconv ipv6 jpeg kde kipi lcms ldap libnotify mad mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds pppd pulseaudio qt3support qt4 readline sdl semantic-desktop session spell sse sse2 ssl startup-notification svg symlink tcpd tiff truetype udev unicode usb vim vim-syntax vorbis wxwidgets x264 xcb xcomposite xinerama xml xorg xscreensaver 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 sheets 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 synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel nouveau" 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, USE_PYTHON
Comment 1 Markos Chandras (RETIRED) gentoo-dev 2012-05-12 08:33:04 UTC
Are you sure you don't run out of memory when you compile it? Segmentation faults are usually a hardware problem
Comment 2 Gao Xiang 2012-05-12 10:17:01 UTC
It seems not, I recompile chromium again the same error happened. My total memory is 6G, but when the error happen, the memory used is only about 2G
Comment 3 Gao Xiang 2012-05-12 14:27:40 UTC
It seems to be a bug of my kernel's patch.  I switched to the official kernel, it works well now.
Comment 4 Markos Chandras (RETIRED) gentoo-dev 2012-05-12 16:40:21 UTC
Closing as invalid then