Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 673784 - dev-lang/ruby-2.6.0-r1 - src_compile(): miniruby: .../work/ruby-2.6.0/lib/fileutils.rb:1734: [BUG] Stack consistency error (sp: 14418, bp: 159)
Summary: dev-lang/ruby-2.6.0-r1 - src_compile(): miniruby: .../work/ruby-2.6.0/lib/fil...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: HPPA Linux
: Normal normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-26 23:40 UTC by Jeroen Roovers (RETIRED)
Modified: 2020-03-30 14:44 UTC (History)
1 user (show)

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


Attachments
dev-lang:ruby-2.6.0:20181226-221356.log (dev-lang:ruby-2.6.0:20181226-221356.log,89.23 KB, text/plain)
2018-12-26 23:40 UTC, Jeroen Roovers (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeroen Roovers (RETIRED) gentoo-dev 2018-12-26 23:40:35 UTC
Created attachment 558534 [details]
dev-lang:ruby-2.6.0:20181226-221356.log

hppa2.0-unknown-linux-gnu-gcc -mschedule=8000 -march=2.0 -ggdb -Wall -O2 -pipe -Wno-comment -fno-strict-aliasing -fPIC  -L. -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,--no-keep-memory -rdynamic -Wl,-export-dynamic -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,--no-keep-memory main.o dmydln.o miniinit.o dmyext.o miniprelude.o array.o ast.o bignum.o class.o compar.o compile.o complex.o cont.o debug.o debug_counter.o dir.o dln_find.o encoding.o enum.o enumerator.o error.o eval.o file.o gc.o hash.o inits.o io.o iseq.o load.o marshal.o math.o mjit.o mjit_compile.o node.o numeric.o object.o pack.o parse.o proc.o process.o random.o range.o rational.o re.o regcomp.o regenc.o regerror.o regexec.o regparse.o regsyntax.o ruby.o safe.o signal.o sprintf.o st.o strftime.o string.o struct.o symbol.o thread.o time.o transcode.o transient_heap.o util.o variable.o version.o vm.o vm_backtrace.o vm_dump.o vm_trace.o  probes.o enc/ascii.o enc/us_ascii.o enc/unicode.o enc/utf_8.o enc/trans/newline.o setproctitle.o strlcat.o strlcpy.o addr2line.o  -lz -lpthread -lrt -lrt -lgmp -ldl -lcrypt -lm  -lm   -o miniruby
:
./miniruby -I./lib -I. -I.ext/common  -n \
-e 'BEGIN{version=ARGV.shift;mis=ARGV.dup}' \
-e 'END{abort "UNICODE version mismatch: #{mis}" unless mis.empty?}' \
-e '(mis.delete(ARGF.path); ARGF.close) if /ONIG_UNICODE_VERSION_STRING +"#{Regexp.quote(version)}"/o' \
11.0.0 ./enc/unicode/11.0.0/casefold.h ./enc/unicode/11.0.0/name2ctype.h
./miniruby -I./lib -I. -I.ext/common  ./tool/generic_erb.rb -c -o encdb.h ./template/encdb.h.tmpl ./enc enc
./miniruby -I./lib -I. -I.ext/common  ./tool/transform_mjit_header.rb "hppa2.0-unknown-linux-gnu-gcc " rb_mjit_header.h .ext/include/hppa2.0-linux/rb_mjit_min_header-2.6.0.h
/var/tmp/portage/dev-lang/ruby-2.6.0/work/ruby-2.6.0/lib/cgi/util.rb:223: [BUG] Stack consistency error (sp: 556, bp: 37)
ruby 2.6.0p0 (2018-12-25 revision 66547) [hppa2.0-linux]

-- Control frame information -----------------------------------------------
c:0007 p:0177 s:0556 e:000036 CLASS  /var/tmp/portage/dev-lang/ruby-2.6.0/work/ruby-2.6.0/lib/cgi/util.rb:223
c:0006 p:0020 s:0034 e:000033 TOP    /var/tmp/portage/dev-lang/ruby-2.6.0/work/ruby-2.6.0/lib/cgi/util.rb:7 [FINISH]
c:0005 p:---- s:0031 e:000030 CFUNC  :require
c:0004 p:0006 s:0026 e:000025 TOP    /var/tmp/portage/dev-lang/ruby-2.6.0/work/ruby-2.6.0/lib/erb.rb:15 [FINISH]
c:0003 p:---- s:0023 e:000022 CFUNC  :require
c:0002 p:0006 s:0018 E:002538 EVAL   ./tool/generic_erb.rb:6 [FINISH]
c:0001 p:0000 s:0003 E:000020 (none) [FINISH]

-- Ruby level backtrace information ----------------------------------------
./tool/generic_erb.rb:6:in `<main>'
./tool/generic_erb.rb:6:in `require'
/var/tmp/portage/dev-lang/ruby-2.6.0/work/ruby-2.6.0/lib/erb.rb:15:in `<top (required)>'
/var/tmp/portage/dev-lang/ruby-2.6.0/work/ruby-2.6.0/lib/erb.rb:15:in `require'
/var/tmp/portage/dev-lang/ruby-2.6.0/work/ruby-2.6.0/lib/cgi/util.rb:7:in `<top (required)>'
/var/tmp/portage/dev-lang/ruby-2.6.0/work/ruby-2.6.0/lib/cgi/util.rb:223:in `<module:Util>'

-- C level backtrace information -------------------------------------------
/var/tmp/portage/dev-lang/ruby-2.6.0/work/ruby-2.6.0/lib/fileutils.rb:1734: [BUG] Stack consistency error (sp: 14418, bp: 159)
ruby 2.6.0p0 (2018-12-25 revision 66547) [hppa2.0-linux]

-- Control frame information -----------------------------------------------
c:0005 p:1311 s:14418 e:000158 CLASS  /var/tmp/portage/dev-lang/ruby-2.6.0/work/ruby-2.6.0/lib/fileutils.rb:1734
c:0004 p:0022 s:0156 e:000026 TOP    /var/tmp/portage/dev-lang/ruby-2.6.0/work/ruby-2.6.0/lib/fileutils.rb:96 [FINISH]
c:0003 p:---- s:0024 e:000023 CFUNC  :require
c:0002 p:0006 s:0019 E:00018c EVAL   ./tool/transform_mjit_header.rb:5 [FINISH]
c:0001 p:0000 s:0003 E:0024b0 (none) [FINISH]

-- Ruby level backtrace information ----------------------------------------
./tool/transform_mjit_header.rb:5:in `<main>'
./tool/transform_mjit_header.rb:5:in `require'
/var/tmp/portage/dev-lang/ruby-2.6.0/work/ruby-2.6.0/lib/fileutils.rb:96:in `<top (required)>'
/var/tmp/portage/dev-lang/ruby-2.6.0/work/ruby-2.6.0/lib/fileutils.rb:1734:in `<module:FileUtils>'

-- C level backtrace information -------------------------------------------
/var/tmp/portage/dev-lang/ruby-2.6.0/work/ruby-2.6.0/miniruby(rb_print_backtrace+0x28) [0x4267d178] vm_dump.c:715

-- Other runtime information -----------------------------------------------

* Loaded script: ./tool/generic_erb.rb

* Loaded features:

    0 enumerator.so
    1 thread.rb
    2 rational.so
    3 complex.so

* Process memory map:

4240d000-42732000 r-xp 00000000 103:20000 296933                         /var/tmp/portage/dev-lang/ruby-2.6.0/work/ruby-2.6.0/miniruby
42732000-42737000 r--p 00325000 103:20000 296933                         /var/tmp/portage/dev-lang/ruby-2.6.0/work/ruby-2.6.0/miniruby
42737000-42748000 rwxp 0032a000 103:20000 296933                         /var/tmp/portage/dev-lang/ruby-2.6.0/work/ruby-2.6.0/miniruby
42748000-4274f000 rwxp 00000000 00:00 0
429bd000-42acb000 rwxp 00000000 00:00 0                                  [heap]
f4764000-f4778000 r-xp 00000000 103:20000 438207                         /usr/lib/gcc/hppa2.0-unknown-linux-gnu/8.2.0/libgcc_s.so.4
f4778000-f4779000 r--p 00014000 103:20000 438207                         /usr/lib/gcc/hppa2.0-unknown-linux-gnu/8.2.0/libgcc_s.so.4
f4779000-f477a000 rwxp 00015000 103:20000 438207                         /usr/lib/gcc/hppa2.0-unknown-linux-gnu/8.2.0/libgcc_s.so.4
f4b0d000-f6b16000 rw-p 00000000 00:00 0
f6b16000-f6d8f000 r--p 00231000 103:20000 3760135                        /usr/lib/locale/locale-archive
f70e5000-f72e5000 r--p 00000000 103:20000 3760135                        /usr/lib/locale/locale-archive
f7458000-f75ce000 r-xp 00000000 103:20000 141759                         /lib/libc-2.28.so
f75ce000-f75d0000 r--p 00176000 103:20000 141759                         /lib/libc-2.28.so
f75d0000-f75d5000 rwxp 00178000 103:20000 141759                         /lib/libc-2.28.so
f75d5000-f75d7000 rwxp 00000000 00:00 0
f7757000-f77d9000 r-xp 00000000 103:20000 141685                         /lib/libm-2.28.so
f77d9000-f77da000 r--p 00082000 103:20000 141685                         /lib/libm-2.28.so
f77da000-f77dd000 rwxp 00083000 103:20000 141685                         /lib/libm-2.28.so
f7ac8000-f7ad1000 r-xp 00000000 103:20000 141701                         /lib/libcrypt-2.28.so
f7ad1000-f7ad2000 r--p 00009000 103:20000 141701                         /lib/libcrypt-2.28.so
f7ad2000-f7ad3000 rwxp 0000a000 103:20000 141701                         /lib/libcrypt-2.28.so
f7ad3000-f7afa000 rwxp 00000000 00:00 0
f7b57000-f7b5a000 r-xp 00000000 103:20000 141688                         /lib/libdl-2.28.so
f7b5a000-f7b5b000 r--p 00003000 103:20000 141688                         /lib/libdl-2.28.so
f7b5b000-f7b5c000 rwxp 00004000 103:20000 141688                         /lib/libdl-2.28.so
f7cb8000-f7d31000 r-xp 00000000 103:20000 4268453                        /usr/lib/libgmp.so.10.3.2
f7d31000-f7d32000 r--p 00079000 103:20000 4268453                        /usr/lib/libgmp.so.10.3.2
f7d32000-f7d33000 rwxp 0007a000 103:20000 4268453                        /usr/lib/libgmp.so.10.3.2
f7ec8000-f7ecf000 r-xp 00000000 103:20000 141699                         /lib/librt-2.28.so
f7ecf000-f7ed0000 r--p 00007000 103:20000 141699                         /lib/librt-2.28.so
f7ed0000-f7ed1000 rwxp 00008000 103:20000 141699                         /lib/librt-2.28.so
f82c8000-f82e5000 r-xp 00000000 103:20000 141668                         /lib/libpthread-2.28.so
f82e5000-f82e6000 r--p 0001d000 103:20000 141668                         /lib/libpthread-2.28.so
f82e6000-f82e7000 rwxp 0001e000 103:20000 141668                         /lib/libpthread-2.28.so
f82e7000-f82e9000 rwxp 00000000 00:00 0
f83fb000-f8412000 r-xp 00000000 103:20000 2555996                        /lib/libz.so.1.2.11
f8412000-f8413000 r--p 00017000 103:20000 2555996                        /lib/libz.so.1.2.11
f8413000-f8414000 rwxp 00018000 103:20000 2555996                        /lib/libz.so.1.2.11
f858b000-f85a1000 r-xp 00000000 103:20000 102289                         /usr/lib/libsandbox.so
f85a1000-f85a2000 r--p 00016000 103:20000 102289                         /usr/lib/libsandbox.so
f85a2000-f85a3000 rwxp 00017000 103:20000 102289                         /usr/lib/libsandbox.so
f85a3000-f85ab000 rwxp 00000000 00:00 0
f871a000-f8721000 r--s 00000000 103:20000 3752073                        /usr/lib/gconv/gconv-modules.cache
f89dd000-f89df000 r--p 004f8000 103:20000 3760135                        /usr/lib/locale/locale-archive
f8b18000-f8b3d000 r-xp 00000000 103:20000 141752                         /lib/ld-2.28.so
f8b3d000-f8b3e000 r--p 00025000 103:20000 141752                         /lib/ld-2.28.so
f8b3e000-f8b42000 rwxp 00026000 103:20000 141752                         /lib/ld-2.28.so
f8e08000-f8f01000 rw-p 00000000 00:00 0
fa217000-fa23d000 rwxp 00000000 00:00 0                                  [stack]


[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: https://www.ruby-lang.org/bugreport.html

make: *** [uncommon.mk:1033: encdb.h] Aborted
make: *** Waiting for unfinished jobs....
/var/tmp/portage/dev-lang/ruby-2.6.0/work/ruby-2.6.0/miniruby(rb_print_backtrace+0x28) [0x4214b178] vm_dump.c:715
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2018-12-26 23:40:43 UTC
Thu 27 Dec 00:39:21 CET 2018
emerge --info =dev-lang/ruby-2.6.0
Portage 2.3.52 (python 3.5.5-final-0, default/linux/hppa/17.0, gcc-7.3.0, glibc-2.28-r4, 4.20.0-JeR parisc64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.20.0-JeR-parisc64-PA8800_-Mako-with-gentoo-2.6
KiB Mem:     8233160 total,   5048788 free
KiB Swap:    2101676 total,   2101676 free
Timestamp of repository gentoo: Wed, 26 Dec 2018 15:15:01 +0000
Head commit of repository gentoo: ba8f2834352d58bdaefbaedd391de36819b55f12
sh bash 4.4_p23
ld GNU ld (Gentoo 2.31.1 p5) 2.31.1
distcc 3.3.2 hppa2.0-unknown-linux-gnu [enabled]
ccache version 3.5 [disabled]
app-shells/bash:          4.4_p23::gentoo
dev-lang/perl:            5.26.2::gentoo
dev-lang/python:          2.7.15::gentoo, 3.4.8-r1::gentoo, 3.5.5-r1::gentoo, 3.6.6::gentoo, 3.7.0::gentoo
dev-util/ccache:          3.5-r1::gentoo
dev-util/cmake:           3.13.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.40.3::gentoo
sys-apps/sandbox:         2.14::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.9.6-r3::gentoo, 1.11.6-r3::gentoo, 1.12.6::gentoo, 1.13.4-r2::gentoo, 1.14.1::gentoo, 1.15.1-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo, 2.26.1::gentoo, 2.29::gentoo, 2.29.1-r1::gentoo, 2.30-r3::gentoo, 2.31.1-r3::gentoo
sys-devel/gcc:            6.4.0-r1::gentoo, 7.3.0-r6::gentoo, 8.2.0-r5::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.20::gentoo (virtual/os-headers)
sys-libs/glibc:           2.28-r4::gentoo
Repositories:

gentoo
    location: /aches/gentoo/portage
    sync-type: rsync
    sync-uri: rsync://rsync.nl.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts: 
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1

JeR
    location: /aches/gentoo/local
    masters: gentoo
    priority: -100

ACCEPT_KEYWORDS="hppa ~hppa"
ACCEPT_LICENSE="*"
CBUILD="hppa2.0-unknown-linux-gnu"
CFLAGS="-mschedule=8000 -march=2.0 -ggdb -Wall -O2 -pipe -Wno-comment"
CHOST="hppa2.0-unknown-linux-gnu"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/lib/distcc/bin /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /var/bind /var/www/localhost/htdocs/wordpress/wp-config.php"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/apache2-php7.0/ext-active/ /etc/php/apache2-php7.1/ext-active/ /etc/php/apache2-php7.2/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cgi-php7.1/ext-active/ /etc/php/cgi-php7.2/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/php/cli-php7.1/ext-active/ /etc/php/cli-php7.2/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-mschedule=8000 -march=2.0 -ggdb -Wall -O2 -pipe"
DISTDIR="/aches/gentoo/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n --autounmask=n --keep-going --ignore-built-slot-operator-deps=y"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS=""
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg compressdebug config-protect-if-modified distcc distlocks ebuild-locks fixlafiles merge-sync metadata-transfer multilib-strict news notitles parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-mschedule=8000 -march=2.0 -ggdb -Wall -O2 -pipe"
GENTOO_MIRRORS=" 	http://ftp.snt.utwente.nl/pub/os/linux/gentoo 	http://mirror.leaseweb.com/gentoo/ 	http://mirror.netcologne.de/gentoo/ "
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,--no-keep-memory"
LINGUAS="en nl he"
MAKEOPTS="-j3"
PKGDIR="/aches/gentoo/packages/karsten"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="256-color X acl alsa amr anacron apng argyllcms audit bash-completion beautifulsoup3 berkdb bfio big-endian bittorrent botan bzip2 cairo canberra cli consolekit coverage crossdev crypt cups custom-cflags cxx dane dbus declarative dirac directfb distinct-l dlz dot dri emacs exceptions exif expat fbcon ffmpeg filecaps firefox firmware foomaticdb fortran frontend-optional g-sorcery gbm gdbm geoip geoloc glep gles1 gles2 gost gpg gpm gsm gstreamer gtk gudev guile hddtemp hppa hwdb iconv idn imlib inotify ipv6 jadetex javascript jingle jit jpeg jpeg2k json kdrive kmod ladspa lasi launch-frontend lensfun libcaca libcanberra libevent libidn2 libopts libsoxr libusb libwww lua lzma lzo mad mng mod modplug mp3 mtp multislot multitarget munge nagios nas natspec ncurses netlink nfs nls nptl objc objc++ objc-gc offensive ofono-headset openexr opengl openmp openrc openvg opus oqgraph osmesa oss pam pcre pcre16 php pic pkcs11 png pnm policykit python qt qt3support qt4 raw readline realtime regression-test rtmp rubytests samba sbc schroedinger sctp smi snappy socks5 speex spell spidermonkey sqlite ssl svg tcl tcpd tga theora threads tiff tk tokyocabinet truetype unicode unwind v4l vim-syntax vorbis vpx wcwidth x264 x265 xattr xcb xft xhtml xkb xvfb xvid zlib" ALSA_CARDS="ad1889 usb-audio" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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="karbon plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CURL_SSL="nss" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev joystick keyboard mouse acecad aiptek calcomp citron digitaledge dmc dynapro elo2300 elographics fpit hyperpen jamstudio magellan microtouch mutouch palmax penmount spaceorb summa tek4957 tslib ur98 virtualbox libinput void" KERNEL="linux" L10N="en nl he" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_4 python3_5" RUBY_TARGETS="ruby23 ruby24 ruby25 ruby26" USERLAND="GNU" VIDEO_CARDS="stifb dummy" 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:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2019-05-16 10:00:17 UTC
Same with 2.6.3.
Comment 3 Michael 'veremitz' Everitt 2020-03-30 14:43:26 UTC
(In reply to Jeroen Roovers from comment #2)
> Same with 2.6.3.

Does this [still] occur with 2.6.5 ?