Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 411749 - dev-lang/v8-3.10.0.5 fails test-debug ThreadedDebugging
Summary: dev-lang/v8-3.10.0.5 fails test-debug ThreadedDebugging
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Chromium Project
URL:
Whiteboard: ht-wanted
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2012-04-12 15:48 UTC by Mike Gilbert
Modified: 2012-04-26 07:31 UTC (History)
0 users

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


Attachments
Build log (dev-lang_v8-3.10.0.5_20120412-153747.log,179.93 KB, text/plain)
2012-04-12 15:50 UTC, Mike Gilbert
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Gilbert gentoo-dev 2012-04-12 15:48:12 UTC
=== release test-debug ThreadedDebugging ===
Path: cctest/test-debug/ThreadedDebugging
--- stderr ---
#
# Fatal error in ../test/cctest/test-debug.cc, line 5016
# CHECK(8 <= source_line && source_line <= 13) failed
#
--- stdout ---
BARRIER


==== Stack trace ============================================

Security context: 0x1cf91df6bea9 <JS Object>#0#
    1: foo(aka foo) [0x1cf91df04121 <undefined>:~7] (this=0)
    2: /* anonymous */ [0x1cf91df04121 <undefined>:17] (this=0x1cf91df6bfb9 <JS Global Object>#1#)

==== Details ================================================

[1]: foo(aka foo) [0x1cf91df04121 <undefined>:~7] (this=0) {
// optimized frame
}
[2]: /* anonymous */ [0x1cf91df04121 <undefined>:17] (this=0x1cf91df6bfb9 <JS Global Object>#1#) {
  // stack-allocated locals
  var .result = 0x1cf91df04121 <undefined>
  // expression stack (top to bottom)
  [01] : 0
--------- s o u r c e   c o d e ---------
flag = true;?function bar( new_value ) {?  flag = new_value;?  return "Return from bar(" + new_value + ")";?}??function foo() {?  var x = 1;?  while ( flag == true ) {?    if ( x == 1 ) {?      ThreadedAtBarrier1();?    }?    x = x + 1;?  }?}??foo();?
-----------------------------------------
}

==== Key         ============================================

 #0# 0x1cf91df6bea9: 0x1cf91df6bea9 <JS Object>
 #1# 0x1cf91df6bfb9: 0x1cf91df6bfb9 <JS Global Object>
=====================
Command: /tmp/portage/dev-lang/v8-3.10.0.5/work/v8-3.10.0.5/out/x64.release/cctest test-debug/ThreadedDebugging --testing_serialization_file=/tmp/portage/dev-lang/v8-3.10.0.5/work/v8-3.10.0.5/out/x64.release/obj/serdes_ThreadedDebugging --nobreak-on-abort --test

===
=== 1 tests failed
===
Comment 1 Mike Gilbert gentoo-dev 2012-04-12 15:50:50 UTC
Created attachment 308665 [details]
Build log

Portage 2.2.0_alpha100 (default/linux/amd64/10.0/desktop/kde, gcc-4.6.2, glibc-2.13-r4, 3.3.1 x86_64)
=================================================================
System uname: Linux-3.3.1-x86_64-AMD_Phenom-tm-_II_X6_1055T_Processor-with-gentoo-2.0.3
Timestamp of tree: Unknown
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.5.4-r4, 2.6.7-r2, 2.7.3, 3.1.4-r4, 3.2.2-r1
dev-util/cmake:           2.8.7-r5
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
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.22-r1
sys-devel/gcc:            4.4.7, 4.5.3-r2, 4.6.2
sys-devel/gcc-config:     1.5-r2
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.13-r4
Repositories: gentoo mgorny floppym local
Installed sets: 
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.0/conf /usr/share/openvpn/easy-rsa /usr/share/themes/oxygen-gtk/gtk-2.0 /usr/share/themes/oxygen-gtk/gtk-3.0 /var/bind /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/sandbox.d /etc/terminfo /usr/share/themes"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/var/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n --with-bdeps=y --quiet-build=n --jobs=7"
FEATURES="assume-digests binpkg-logs buildpkg clean-logs distlocks ebuild-locks fakeroot fixlafiles news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms sign strict unknown-features-warn unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=native"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US et_EE"
MAKEOPTS="-j7"
PKGDIR="/var/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--ipv4"
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="/tmp"
PORTDIR="/home/floppym/gentoo-x86"
PORTDIR_OVERLAY="/home/floppym/overlays/mgorny /home/floppym/overlays/floppym /home/floppym/overlays/local"
SYNC="cvs://floppym@cvs.gentoo.org:/var/cvsroot"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 ao bash-completion berkdb bluetooth branding bzip2 cairo caps cdda cdr cli consolekit cracklib crypt css cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam ffmpeg firefox flac fontconfig fortran gdbm gdu gif gles gpm gtk iconv imap ipv6 jpeg kde kipi lcms libnotify lzma mad mmx mmxext mng modules mono mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly nsplugin offensive ogg opengl openmp pam pango pcre pdf perl phonon plasma png policykit ppds pppd python qt3support qt4 readline samba sdl semantic-desktop session spell sse sse2 sse3 ssl startup-notification suid svg sysfs taglib tcpd theora threads tiff truetype udev unicode usb vaapi vdpau vim-syntax vorbis x264 xattr xcb xcomposite xinerama xml xorg xscreensaver xulrunner xv xvid zlib zsh-completion" 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="btrfs" 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" GRUB_PLATFORMS="pc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US et_EE" PHP_TARGETS="php5-3" PYTHON_TARGETS="python2_5 python2_6 python2_7 pypy1_8" QEMU_SOFTMMU_TARGETS="arm i386 x86_64" QEMU_USER_TARGETS="arm i386 x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nouveau 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"
USE_PYTHON="2.5 2.6 2.7 2.7-pypy-1.8 3.1 3.2"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 2 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2012-04-12 16:37:20 UTC
Interesting, I got this too, when emerging first time. Then I started some debugging to see what could cause it, unmerged dev-lang/v8 to make sure the system lib was not used, emerged this cleanly and couldn't reproduce.

I made additional checks to ensure the system lib doesn't get used for testing (which could cause such failures), but couldn't find anything suspicious.

What was your previous version of v8? Is this bug still reproducible on your system?
Comment 3 Mike Gilbert gentoo-dev 2012-04-12 17:20:40 UTC
I'm upgrading from v8-3.9.24.7. I can still reproduce it. Anything you would like me to try?
Comment 4 Mike Gilbert gentoo-dev 2012-04-12 23:43:26 UTC
I can also confirm that the test passes once the previous version has been *completely* removed.

The preserve-libs feature kept /usr/lib64/libv8.so.3.9.24; I had to manually remove this file before the test would pass.
Comment 5 Mike Gilbert gentoo-dev 2012-04-13 02:53:03 UTC
Now I am unable to reproduce this, even after downgrading v8 and attempting another upgrade.
Comment 6 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2012-04-26 07:31:58 UTC
I'm unable to repro with more recent v8. Maybe that was a one-time fluke, I couldn't find something obviously wrong with the build system.