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

Bug 424561

Summary: www-client/chromium-20.0.1132.43 - mystery segfault
Product: Gentoo Linux Reporter: Paul McDermott <pmcdermott98>
Component: Current packagesAssignee: Chromium Project <chromium>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Output from strace

Description Paul McDermott 2012-07-02 19:58:12 UTC
Above version of chromium seg faults immediately

Reproducible: Always

Steps to Reproduce:
1.chromium
2.
3.
Actual Results:  
[5024:~]$ chromium
Segmentation fault


Expected Results:  
Chromium runs normally

System is recently up to date

[5025:~]$ emerge --info
Portage 2.1.10.65 (default/linux/x86/10.0/desktop/gnome, gcc-4.5.3, glibc-2.14.1-r3, 3.2.12-gentoo i686)
=================================================================
System uname: Linux-3.2.12-gentoo-i686-Intel-R-_Core-TM-_i7_CPU_950_@_3.07GHz-with-gentoo-2.1
Timestamp of tree: Mon, 02 Jul 2012 01:45:01 +0000
ccache version 3.1.7 [enabled]
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/ccache:          3.1.7
dev-util/cmake:           2.8.7-r5
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.10.3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.6
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r3
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA dlj-1.1 Oracle-BCLA-JavaSE AdobeFlash-10.3"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/maven-bin-2.2/conf /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified 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="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://mirror.bih.net.ba/gentoo/ http://128.61.111.9/pub/gentoo rsync://212.219.56.133/www.ibiblio.org/gentoo/ ftp://gentoo.imj.fr/pub/gentoo/"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_GB en"
MAKEOPTS="-j9"
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="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa bash-completion bluetooth branding bzip2 bzlib cairo cdda cdr cli colord consolekit cracklib crypt ctype cups cxx dba dbus dovecot-sasl dri dts dvd dvdr eds emboss encode evo exif fam firefox flac fortran gif gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk iconv imap java5 jpeg lcms libnotify libwww logrotate mad maildir mmx mng modules mp3 mp4 mpeg mudflap mysql nautilus ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pppd pulseaudio qt3support qt4 readline sasl scanner sdl session socialweb spell ssl startup-notification svg syslog tcpd threads tiff truetype udev udisks unicode upower usb userlocales vim vim-syntax vorbis wxwidgets x264 x86 xcb xml xmlrpc xorg xulrunner 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" 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_GB en" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Mike Gilbert gentoo-dev 2012-07-02 21:12:06 UTC
Please get a back trace.
Comment 2 Agostino Sarubbo gentoo-dev 2012-07-02 21:14:03 UTC
(In reply to comment #1)
> Please get a back trace.

http://www.gentoo.org/proj/en/qa/backtraces.xml
http://code.google.com/p/chromium/wiki/LinuxDebugging
Comment 3 Paul McDermott 2012-07-02 22:46:41 UTC
Build fails at the linking stage due to exhausted memory when trying to do a back trace:

flock out/Release/linker.lock i686-pc-linux-gnu-g++ -pthread -Wl,-z,noexecstack -fPIC -pie -Lout/Release -lpthread -ldl -lm -L/usr/lib -licui18n -licuuc -licudata -lpthread -ldl -lm -m32 -Wl,-O1 -Wl,--as-needed -Wl,--gc-sections -Wl,-O1 -Wl,--as-needed -o out/Release/chrome -Wl,--start-group out/Release/obj.target/chrome/chrome/app/chrome_exe_main_gtk.o out/Release/obj.target/chrome/chrome/app/chrome_main.o out/Release/obj.target/chrome/chrome/app/chrome_main_delegate.o out/Release/obj.target/chrome/libcommon.a out/Release/obj.target/chrome/libbrowser.a out/Release/obj.target/chrome/libdebugger.a out/Release/obj.target/chrome/libplugin.a out/Release/obj.target/chrome/librenderer.a out/Release/obj.target/chrome/libutility.a out/Release/obj.target/content/libcontent_app.a out/Release/obj.target/content/libcontent_gpu.a out/Release/obj.target/content/libcontent_ppapi_plugin.a out/Release/obj.target/content/libcontent_worker.a out/Release/obj.target/sync/libsyncapi_core.a out/Release/obj.target/printing/libprinting.a out/Release/obj.target/chrome/libservice.a out/Release/obj.target/chrome/libinstaller_util.a out/Release/obj.target/chrome/libcommon_constants.a out/Release/obj.target/base/libbase.a out/Release/obj.target/base/libbase_static.a out/Release/obj.target/base/allocator/liballocator_extension_thunks.a out/Release/obj.target/third_party/modp_b64/libmodp_b64.a out/Release/obj.target/base/third_party/dynamic_annotations/libdynamic_annotations.a out/Release/obj.target/base/libsymbolize.a out/Release/obj.target/base/libxdg_mime.a out/Release/obj.target/chrome/libcommon_net.a out/Release/obj.target/crypto/libcrcrypto.a out/Release/obj.target/net/third_party/nss/libssl.a out/Release/obj.target/third_party/zlib/libzlib.a out/Release/obj.target/gpu/libgpu_ipc.a out/Release/obj.target/gpu/libcommand_buffer_common.a out/Release/obj.target/gpu/command_buffer/libgles2_utils.a out/Release/obj.target/ipc/libipc.a out/Release/obj.target/net/libnet.a out/Release/obj.target/base/libbase_i18n.a out/Release/obj.target/build/temp_gyp/libgoogleurl.a out/Release/obj.target/sdch/libsdch.a out/Release/obj.target/dbus/libdbus.a out/Release/obj.target/third_party/protobuf/libprotobuf_lite.a out/Release/obj.target/chrome/libmetrics_proto.a out/Release/obj.target/chrome/app/policy/libpolicy.a out/Release/obj.target/chrome/app/policy/libcloud_policy_proto_compile.a out/Release/obj.target/chrome/app/policy/libcloud_policy_backend_header_compile.a out/Release/obj.target/chrome/common/extensions/api/libapi.a out/Release/obj.target/tools/json_schema_compiler/libapi_gen_util.a out/Release/obj.target/content/libcontent_common.a out/Release/obj.target/gpu/libgles2_implementation.a out/Release/obj.target/ui/gfx/gl/libgl_wrapper.a out/Release/obj.target/skia/libskia.a out/Release/obj.target/skia/libskia_opts.a out/Release/obj.target/skia/libskia_opts_ssse3.a out/Release/obj.target/skia/libskia_libtess.a out/Release/obj.target/third_party/sfntly/libsfntly.a out/Release/obj.target/third_party/harfbuzz/libharfbuzz.a out/Release/obj.target/ui/libui.a out/Release/obj.target/gpu/libgles2_cmd_helper.a out/Release/obj.target/gpu/libcommand_buffer_client.a out/Release/obj.target/media/libmedia.a out/Release/obj.target/media/libyuv_convert.a out/Release/obj.target/media/libcpu_features.a out/Release/obj.target/media/libyuv_convert_simd_x86.a out/Release/obj.target/third_party/openmax/libil.a out/Release/obj.target/third_party/ffmpeg/libffmpeg.a out/Release/obj.target/third_party/WebKit/Source/WebKit/chromium/libwebkit.a out/Release/obj.target/third_party/WebKit/Source/WebCore/WebCore.gyp/libwebcore_dom.a out/Release/obj.target/third_party/WebKit/Source/ThirdParty/glu/libtess.a out/Release/obj.target/third_party/WebKit/Source/JavaScriptCore/JavaScriptCore.gyp/libyarr.a out/Release/obj.target/third_party/WebKit/Source/WTF/WTF.gyp/libwtf.a out/Release/obj.target/third_party/iccjpeg/libiccjpeg.a out/Release/obj.target/third_party/libxml/libxml.a out/Release/obj.target/third_party/ots/libots.a out/Release/obj.target/third_party/sqlite/libsqlite3.a out/Release/obj.target/third_party/angle/src/libtranslator_glsl.a out/Release/obj.target/third_party/angle/src/libtranslator_common.a out/Release/obj.target/third_party/angle/src/libpreprocessor.a out/Release/obj.target/gpu/libgles2_c_lib.a out/Release/obj.target/third_party/leveldatabase/libleveldatabase.a out/Release/obj.target/third_party/WebKit/Source/WebCore/WebCore.gyp/libwebcore_html.a out/Release/obj.target/third_party/WebKit/Source/WebCore/WebCore.gyp/libwebcore_platform.a out/Release/obj.target/third_party/WebKit/Source/Platform/Platform.gyp/libwebkit_platform.a out/Release/obj.target/third_party/WebKit/Source/WebCore/WebCore.gyp/libwebcore_remaining.a out/Release/obj.target/third_party/v8-i18n/build/libv8-i18n.a out/Release/obj.target/third_party/WebKit/Source/WebCore/WebCore.gyp/libwebcore_rendering.a out/Release/obj.target/third_party/WebKit/Source/WebCore/WebCore.gyp/libwebcore_bindings.a out/Release/obj.target/third_party/WebKit/Source/WebCore/WebCore.gyp/libwebcore_svg.a out/Release/obj.target/webkit/support/libappcache.a out/Release/obj.target/webkit/support/libquota.a out/Release/obj.target/sql/libsql.a out/Release/obj.target/webkit/support/libblob.a out/Release/obj.target/webkit/support/libdatabase.a out/Release/obj.target/webkit/support/libfileapi.a out/Release/obj.target/gpu/libcommand_buffer_service.a out/Release/obj.target/ui/surface/libsurface.a out/Release/obj.target/webkit/support/libglue.a out/Release/obj.target/ppapi/libppapi_shared.a out/Release/obj.target/webkit/support/libwebkit_media.a out/Release/obj.target/webkit/support/libwebkit_user_agent.a out/Release/obj.target/remoting/libremoting_client_plugin.a out/Release/obj.target/remoting/libremoting_base.a out/Release/obj.target/third_party/libvpx/libvpx.a out/Release/obj.target/remoting/libremoting_jingle_glue.a out/Release/obj.target/jingle/libjingle_glue.a out/Release/obj.target/third_party/libjingle/libjingle.a out/Release/obj.target/third_party/jsoncpp/libjsoncpp.a out/Release/obj.target/third_party/libjingle/libjingle_p2p.a out/Release/obj.target/jingle/libnotifier.a out/Release/obj.target/remoting/proto/libchromotocol_proto_lib.a out/Release/obj.target/remoting/libremoting_client.a out/Release/obj.target/remoting/libremoting_protocol.a out/Release/obj.target/ppapi/libppapi_cpp_objects.a out/Release/obj.target/chrome/libbrowser_extensions.a out/Release/obj.target/sync/protocol/libsync_proto.a out/Release/obj.target/content/libcontent_browser.a out/Release/obj.target/net/libhttp_server.a out/Release/obj.target/ppapi/libppapi_proxy.a out/Release/obj.target/webkit/support/libdom_storage.a out/Release/obj.target/seccompsandbox/libseccomp_sandbox.a out/Release/obj.target/chrome/libin_memory_url_index_cache_proto.a out/Release/obj.target/third_party/undoview/libundoview.a out/Release/obj.target/chrome/libcert_logger_proto.a out/Release/obj.target/chrome/libsafe_browsing_proto.a out/Release/obj.target/chrome/libsafe_browsing_report_proto.a out/Release/obj.target/chrome/libsyncapi_service.a out/Release/obj.target/sync/libsync.a out/Release/obj.target/chrome/libfeedback_proto.a out/Release/obj.target/chrome/libgdata_proto.a out/Release/obj.target/sync/libsync_notifier.a out/Release/obj.target/third_party/cacheinvalidation/libcacheinvalidation.a out/Release/obj.target/third_party/cacheinvalidation/libcacheinvalidation_proto_cpp.a out/Release/obj.target/third_party/cld/libcld.a out/Release/obj.target/third_party/hunspell/libhunspell.a out/Release/obj.target/third_party/libphonenumber/libphonenumber.a out/Release/obj.target/native_client/src/trusted/service_runtime/libsel.a out/Release/obj.target/native_client/src/trusted/service_runtime/libenv_cleanser.a out/Release/obj.target/native_client/src/trusted/service_runtime/libnacl_error_code.a out/Release/obj.target/native_client/src/shared/gio/libgio.a out/Release/obj.target/native_client/src/shared/platform/libplatform.a out/Release/obj.target/native_client/src/shared/srpc/libnonnacl_srpc.a out/Release/obj.target/native_client/src/trusted/debug_stub/libdebug_stub.a out/Release/obj.target/native_client/src/trusted/gdb_rsp/libgdb_rsp.a out/Release/obj.target/native_client/src/trusted/desc/libnrd_xfer.a out/Release/obj.target/native_client/src/trusted/desc/libdesc_wrapper.a out/Release/obj.target/native_client/src/shared/imc/libimc.a out/Release/obj.target/native_client/src/trusted/nacl_base/libnacl_base.a out/Release/obj.target/native_client/src/trusted/fault_injection/libnacl_fault_inject.a out/Release/obj.target/native_client/src/trusted/gio/libgio_wrapped_desc.a out/Release/obj.target/native_client/src/trusted/interval_multiset/libnacl_interval.a out/Release/obj.target/native_client/src/trusted/perf_counter/libnacl_perf_counter.a out/Release/obj.target/native_client/src/trusted/manifest_name_service_proxy/libmanifest_proxy.a out/Release/obj.target/native_client/src/trusted/threading/libthread_interface.a out/Release/obj.target/native_client/src/trusted/simple_service/libsimple_service.a out/Release/obj.target/native_client/src/trusted/service_runtime/arch/x86/libservice_runtime_x86_common.a out/Release/obj.target/native_client/src/trusted/validator/x86/32/libncvalidate_x86_32.a out/Release/obj.target/native_client/src/trusted/validator/x86/ncval_seg_sfi/libncval_seg_sfi_x86_32.a out/Release/obj.target/native_client/src/trusted/validator/x86/ncval_seg_sfi/libncdis_seg_sfi_x86_32.a out/Release/obj.target/native_client/src/trusted/validator_x86/libnccopy_x86_32.a out/Release/obj.target/native_client/src/trusted/validator/x86/libncval_base_x86_32.a out/Release/obj.target/native_client/src/trusted/service_runtime/arch/x86_32/libservice_runtime_x86_32.a out/Release/obj.target/third_party/libusb/libusb.a out/Release/obj.target/content/libcontent_plugin.a out/Release/obj.target/content/libcontent_renderer.a out/Release/obj.target/webkit/support/libwebkit_gpu.a out/Release/obj.target/third_party/libjingle/libjingle_peerconnection.a out/Release/obj.target/third_party/libsrtp/libsrtp.a out/Release/obj.target/third_party/webrtc/modules/libvideo_capture_module.a out/Release/obj.target/third_party/webrtc/modules/libwebrtc_utility.a out/Release/obj.target/third_party/webrtc/modules/libaudio_coding_module.a out/Release/obj.target/third_party/webrtc/modules/libCNG.a out/Release/obj.target/third_party/webrtc/common_audio/libsignal_processing.a out/Release/obj.target/third_party/webrtc/modules/libG711.a out/Release/obj.target/third_party/webrtc/modules/libG722.a out/Release/obj.target/third_party/webrtc/modules/libiLBC.a out/Release/obj.target/third_party/webrtc/modules/libiSAC.a out/Release/obj.target/third_party/webrtc/modules/libiSACFix.a out/Release/obj.target/third_party/webrtc/modules/libPCM16B.a out/Release/obj.target/third_party/webrtc/modules/libNetEq.a out/Release/obj.target/third_party/webrtc/common_audio/libresampler.a out/Release/obj.target/third_party/webrtc/common_audio/libvad.a out/Release/obj.target/third_party/webrtc/system_wrappers/source/libsystem_wrappers.a out/Release/obj.target/third_party/webrtc/modules/libwebrtc_video_coding.a out/Release/obj.target/third_party/webrtc/modules/libwebrtc_i420.a out/Release/obj.target/third_party/webrtc/modules/libwebrtc_vp8.a out/Release/obj.target/third_party/webrtc/common_video/libwebrtc_libyuv.a out/Release/obj.target/third_party/libyuv/libyuv.a out/Release/obj.target/third_party/webrtc/modules/libvideo_render_module.a out/Release/obj.target/third_party/webrtc/video_engine/libvideo_engine_core.a out/Release/obj.target/third_party/webrtc/common_video/libwebrtc_jpeg.a out/Release/obj.target/third_party/webrtc/modules/libmedia_file.a out/Release/obj.target/third_party/webrtc/modules/librtp_rtcp.a out/Release/obj.target/third_party/webrtc/modules/libudp_transport.a out/Release/obj.target/third_party/webrtc/modules/libvideo_processing.a out/Release/obj.target/third_party/webrtc/modules/libvideo_processing_sse2.a out/Release/obj.target/third_party/webrtc/voice_engine/libvoice_engine_core.a out/Release/obj.target/third_party/webrtc/modules/libaudio_conference_mixer.a out/Release/obj.target/third_party/webrtc/modules/libaudio_processing.a out/Release/obj.target/third_party/webrtc/modules/libaec.a out/Release/obj.target/third_party/webrtc/modules/libapm_util.a out/Release/obj.target/third_party/webrtc/modules/libaec_sse2.a out/Release/obj.target/third_party/webrtc/modules/libaecm.a out/Release/obj.target/third_party/webrtc/modules/libagc.a out/Release/obj.target/third_party/webrtc/modules/libns.a out/Release/obj.target/third_party/webrtc/modules/libaudio_device.a out/Release/obj.target/third_party/smhasher/libmurmurhash3.a out/Release/obj.target/chrome/libnacl.a out/Release/obj.target/native_client/src/trusted/platform_qualify/libplatform_qual_lib.a out/Release/obj.target/content/libcontent_utility.a -Wl,--end-group -lX11 -lXcursor -lX11 -lXrender -lXss -lXext -lrt -ldl -lgmodule-2.0 -lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lXi -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -levent -lsmime3 -lnssutil3 -lnss3 -lplds4 -lplc4 -lnspr4 -lz -licui18n -licuuc -licudata -lv8 -lgconf-2 -lresolv -ldbus-1 -lpthread -lXcomposite -lpng15 -ljpeg -lXfixes -lasound -lwebp -lxml2 -lxslt -lm -lcups -lssl -lcrypto -lcrypt -lgcrypt -lgpg-error -lbz2 -lexpat -lFLAC -lspeex -ludev -lgnome-keyring
/usr/lib/gcc/i686-pc-linux-gnu/4.5.3/../../../../i686-pc-linux-gnu/bin/ld: failed to set dynamic section sizes: Memory exhausted
collect2: ld returned 1 exit status
make: *** [out/Release/chrome] Error 1
 * ERROR: www-client/chromium-20.0.1132.43 failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=www-client/chromium-20.0.1132.43'`,
 * the complete build log and the output of `emerge -pqv '=www-client/chromium-20.0.1132.43'`.
 * The complete build log is located at '/var/tmp/portage/www-client/chromium-20.0.1132.43/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/www-client/chromium-20.0.1132.43/temp/environment'.
 * Working directory: '/var/tmp/portage/www-client/chromium-20.0.1132.43/work/chromium-20.0.1132.43'
 * S: '/var/tmp/portage/www-client/chromium-20.0.1132.43/work/chromium-20.0.1132.43'

>>> Failed to emerge www-client/chromium-20.0.1132.43, Log file:

>>>  '/var/tmp/portage/www-client/chromium-20.0.1132.43/temp/build.log'
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2012-07-06 04:21:29 UTC
So, get more RAM?
Comment 5 Mike Gilbert gentoo-dev 2012-07-09 02:21:47 UTC
Maybe try getting a back trace without debug symbols. It won't be as useful, but it should cut down on the memory usage for linking.

Just perform the same procedure, but leave -g and -ggdb out of your CFLAGS.
Comment 6 Paul McDermott 2012-07-09 22:19:23 UTC
OK, so I have removed -ggdb from my CFLAGS, leaving -O1 as the only change. I have added 'nostrip' to FEATURES (although now I have removed -ggdb I am not convinced this is required).

I have successfully recompiled.

Which executable should I run from gdb?

Trying /usr/bin/chromium and /usr/bin/chromium-browser gave 
"/usr/bin/chromium": not in executable format: File format not recognized

and 

"/usr/bin/chromium-browser": not in executable format: File format not recognized
Comment 7 Mike Gilbert gentoo-dev 2012-07-09 23:06:57 UTC
(In reply to comment #6)
> Which executable should I run from gdb?

/usr/lib/chromium-browser/chrome
Comment 8 Paul McDermott 2012-07-10 00:23:44 UTC
[5011:~]$ gdb /usr/lib/chromium-browser/chrome
GNU gdb (Gentoo 7.3.1 p2) 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 "i686-pc-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.gentoo.org/>...
Reading symbols from /usr/lib/chromium-browser/chrome...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/lib/chromium-browser/chrome 

Program received signal SIGSEGV, Segmentation fault.
0xb7fec2ba in ?? () from /lib/ld-linux.so.2
(gdb)
Comment 9 Mike Gilbert gentoo-dev 2012-07-10 00:29:31 UTC
Repeat that, but run "bt full" after the segfault happens.
Comment 10 Paul McDermott 2012-07-10 00:31:50 UTC
[5014:~]$ gdb /usr/lib/chromium-browser/chrome
GNU gdb (Gentoo 7.3.1 p2) 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 "i686-pc-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.gentoo.org/>...
Reading symbols from /usr/lib/chromium-browser/chrome...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/lib/chromium-browser/chrome 

Program received signal SIGSEGV, Segmentation fault.
0xb7fec2ba in ?? () from /lib/ld-linux.so.2
(gdb) bt full
#0  0xb7fec2ba in ?? () from /lib/ld-linux.so.2
No symbol table info available.
#1  0xb7fe3f13 in ?? () from /lib/ld-linux.so.2
No symbol table info available.
#2  0xb7ff53b8 in ?? () from /lib/ld-linux.so.2
No symbol table info available.
#3  0xb7fe5988 in ?? () from /lib/ld-linux.so.2
No symbol table info available.
#4  0xb7fe18f7 in ?? () from /lib/ld-linux.so.2
No symbol table info available.
Backtrace stopped: Not enough registers or memory available to unwind further
(gdb)
Comment 11 Mike Gilbert gentoo-dev 2012-07-10 00:37:16 UTC
Well, that doesn't tell me a whole lot.

It does lead me to guess that chromium is crashing when some shared library is being loaded. Perhaps one of them is corrupt.

If you have the time and patience, you could get a list of shared libraries using ldd /usr/lib/chromium-browser/chrome, and map those to packages using the qfile command. Then you could rebuild each library until chromium stops segfaulting (hopefully).
Comment 12 Mike Gilbert gentoo-dev 2012-07-10 01:04:32 UTC
Another idea would be to run strace /usr/lib/chromium-browser/chrome to see if we can determine which library is being loaded when the segfault happens.
Comment 13 Paul McDermott 2012-07-10 01:33:17 UTC
Created attachment 317746 [details]
Output from strace
Comment 14 Mike Gilbert gentoo-dev 2012-07-10 02:05:41 UTC
I'm out of ideas for now.
Comment 15 Paul McDermott 2012-07-15 21:10:05 UTC
Chromium now working again after a recent emerge -auvD world followed by revdep-rebuild. No idea what the root cause was.