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

Bug 527120

Summary: dev-lang/rakudo-2014.10 - src/gc/gc_gms.c:1132: failed assertion 'PObj_constant_TEST(pmc) || (int)POBJ2GEN(pmc) == i'
Product: Gentoo Linux Reporter: Juergen Rose <rose>
Component: [OLD] DevelopmentAssignee: Patrick Lauer <patrick>
Status: RESOLVED FIXED    
Severity: normal CC: perl
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
script to check ram and swap usage

Description Juergen Rose 2014-10-27 18:40:12 UTC
Created attachment 387578 [details]
build.log

'emerge rakudo' fails with:
...
./perl6-p --setting=NULL --ll-exception --optimize=3 --target=pir --stagestats --output=src/gen/p-CORE.setting.pir gen/parrot/CORE.setting
Stage start      :   0.000
Stage parse      : 245.031
Stage syntaxcheck:   0.000
Stage ast        :   0.001
Stage optimize   :  21.937
Stage jast       :  52.965
Stage classfile  :  16.427
Stage jar        :   0.000
./perl6-j --target=jar --output=lib/Test.pm.jar lib/Test.pm
./perl6-j --target=jar --output=lib/lib.pm6.jar lib/lib.pm6
./perl6-j --target=jar --output=lib/Pod/To/Text.pm.jar lib/Pod/To/Text.pm
355.763
Stage syntaxcheck:   0.000
Stage ast        :   0.000
Stage optimize   :  20.118
Stage post       :  80.704
Stage pir        :   6.417
/usr/bin/parrot  -o CORE.setting.pbc src/gen/p-CORE.setting.pir
./perl6-p --target=pir  --output=src/gen/RESTRICTED.setting.pir src/RESTRICTED.setting
./perl6-p --target=pir --output=lib/Test.pm.pir lib/Test.pm
./perl6-p --target=pir --output=lib/lib.pm6.pir lib/lib.pm6
./perl6-p --target=pir --output=lib/Pod/To/Text.pm.pir lib/Pod/To/Text.pm
src/gc/gc_gms.c:1132: failed assertion 'PObj_constant_TEST(pmc) || (int)POBJ2GEN(pmc) == i'
Backtrace - Obtained 23 stack frames (max trace depth is 32).
/usr/lib64/libparrot.so.6.9.0(+0x82156) [0x7f853438a156]
/usr/lib64/libparrot.so.6.9.0(Parrot_confess+0x2f) [0x7f853435985b]
...
called from Sub '<mainline>' pc 317 (src/gen/perl6.pir:111) (gen/parrot/main.nqp:31)
called from Sub '' pc 1222 (src/gen/perl6.pir:438) (gen/parrot/main.nqp:55)
src/gc/gc_gms.c:1132: failed assertion 'PObj_constant_TEST(pmc) || (int)POBJ2GEN(pmc) == i'
Backtrace - Obtained 24 stack frames (max trace depth is 32).
/usr/lib64/libparrot.so.6.9.0(+0x82156) [0x7f9ebf89a156]
...
Attempting to get PIR backtrace.  No guarantees.  Here goes...
Makefile:557: recipe for target 'lib/Pod/To/Text.pm.pir' failed
make: *** [lib/Pod/To/Text.pm.pir] Aborted
...
Makefile:551: recipe for target 'lib/Test.pm.pir' failed
make: *** [lib/Test.pm.pir] Aborted
 * ERROR: dev-lang/rakudo-2014.10::gentoo failed (compile phase):




root@gepard:/root(10)# emerge --info '=dev-lang/rakudo-2014.10::gentoo'
Portage 2.2.14 (python 2.7.8-final-0, default/linux/amd64/13.0/desktop/gnome/systemd, gcc-4.8.3, glibc-2.19-r1, 3.17.1-gentoo-r1 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.17.1-gentoo-r1-x86_64-Intel-R-_Core-TM-_i7_CPU_M_620_@_2.67GHz-with-gentoo-2.2
KiB Mem:     3903236 total,   2575208 free
KiB Swap:   12582908 total,  12041028 free
Timestamp of tree: Mon, 27 Oct 2014 16:00:01 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.3_p30
dev-java/java-config:     2.2.0
dev-lang/perl:            5.20.1-r2
dev-lang/python:          2.7.8, 3.3.5-r1, 3.4.2
dev-util/cmake:           3.0.2
dev-util/pkgconfig:       0.28-r2
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13.2
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.6, 1.12.6, 1.14.1
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.8.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           4.1-r1
sys-kernel/linux-headers: 3.17 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo sage-on-gentoo science sunrise x11 ago tlp local g-cpan g-octave
Installed sets: @system
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA PUEL Intel-SDP dlj-1.1 skype-eula skype-4.0.0.7-copyright googleearth AdobeFlash-11.x cadsoft Oracle-BCLA-JavaSE MakeMKV-EULA NVIDIA-CUDA Nero-AAC-EULA GIMPS"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -mtune=generic -Os -pipe -msse3 -msse4 -mcx16 -msahf -mpopcnt -mpreferred-stack-boundary=6"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
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/cgi-php5.6/ext-active/ /etc/php/cli-php5.6/ext-active/ /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=core2 -mtune=generic -Os -pipe -msse3 -msse4 -mcx16 -msahf -mpopcnt -mpreferred-stack-boundary=6"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=core2 -mtune=generic -Os -pipe -msse3 -msse4 -mcx16 -msahf -mpopcnt -mpreferred-stack-boundary=6"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo ftp://ftp.easynet.nl/mirror/gentoo/ "
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage_gepard"
PORTDIR_OVERLAY="/var/lib/layman/sage-on-gentoo /var/lib/layman/science /var/lib/layman/sunrise /var/lib/layman/x11 /var/lib/layman/ago /var/lib/layman/tlp /usr/local/portage /var/lib/cpan /var/lib/g-octave"
USE="64bit R X Xaw3d a52 aac acl acpi admin afs alsa amd64 ao apache2 apng applet archive armadillo arpack asf aspell atlas audacious audiofile automap automount bash-completion berkdb blas blast bluetooth bluray boost branding bzip2 cairo cdda cddb cdf cdio cdparanoia cdr cg cgi chm cli cmake colord cracklib crypt css cups curl cxx daap db dbi dbm dbus declarative designer devhelp device-mapper dga dia dirac djvu doc dot dri ds2490 ds9097 ds9097u dts dv dvb dvd dvdr dvi dynamicplugin eds egl elf emacs emboss emf encode epiphany evo examples exif expat extensions extra extras faac faad fam ffmpeg fftw firefox fits flac fltk fontconfig foomaticdb fortran fortran95 fpm fpx fuse g3dvl garmin gcj gd gdal gdbm gdu gedit geoip geolocation geos gfortran gif gimp git glade glamor glib glpk gml gmp gnome gnome-keyring gnome-online-accounts gnome-print gnuplot gnutls gold gphoto2 gpm grammar graphics graphtft graphviz grass gsl gsm gstreamer gtk gtk3 gudev guile hdaps hddtemp hdf hdf5 hdri html http httpd hvm hwdb iconv icq icu id3tag ide imagemagick imap inotify introspection ipod ipv6 irda ithreads jabber jadetex java java6 jbig jit john jpeg jpeg2k kate kdepim kdrive kerberos keymap kpathsea kvm ladspa lame lapack laptop latex lcms ldap lensfun libffi libkms libnotify libsamplerate libsecret lirc live lm_sensors lua lzma lzo mad mail maildir mapnik math matroska media-library mercurial mikmod mkl mmx mmxext mng mod modules mono motif mozilla mp3 mp4 mpeg mpi mplayer mtp multilib multimedia musepack musicbrainz mysql mysqli nautilus ncurses neXt netcdf netpbm network networking nfs nls nntp nptl nsplugin ntfs ntp numpy obex objc ocaml ocr octave odbc ofa ogdi ogg openexr opengl openmp openvg pam pango pcre pda pdf pdl2 perl plasma plotutils plugins png podcast policykit portaudio posix postgres postscript ppds preview-latex proj projectm pstricks pulseaudio python python-bindings q16 q32 qemu qhull qt3support qt4 quicktime raw readline reiserfs reports rle romio rpc rrdcgi rrdtool sage samba sasl schroedinger science sdk sdl secure-delete semantic-desktop server session shout sip slang slp smart smbclient smp sms sndfile snmp soap socialweb sockets sound soup sox speex spell sql sqlite sse sse2 sse4 sse4_1 sse4_2 ssl ssse3 startup-notification stlport subtitles subversion sudo suexec svg svm swig systemd szip t1lib tcl tcpd tex tex4ht texmacs theora thesaurus thinkpad threads thunderbird tidy tiff tk tools truetype udev udisks unicode upower usb utempter v4l vaapi vala valgrind vdpau video virt-network virtualbox visio vorbis vpx vtk wav webdav webdav-serf webkit wifi wmf wxwidgets x264 xa xattr xcb xetex xext xft xine xml xmlreader xmlrpc xpm xv xvid xvmc yaml youtube zlib zvbi" ABI_X86="64" ALSA_CARDS="intel8x0" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_core authn_dbm authn_default authn_file authz_core authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgid dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info lbmethod_byrequests log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif slotmem_shm so socache_shmcb speling status unique_id unixd userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="canon fuji ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CURL_SSL="nss" DRACUT_MODULES="caps lvm syslog" DVB_CARDS="usb-wt220u" 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 ublox ubx" INPUT_DEVICES="keyboard mouse evdev synaptics void" KERNEL="linux" LCD_DEVICES="cfontz hd44780 mtxorb ncurses X lcd2usb lcdlinux png usblcd" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de fr ru" NETBEANS_MODULES="apisupport cnd dlight enterprise ergonomics groovy gsf harness ide identity j2ee java mobility nb php profiler websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="arm i386 x86_64" QEMU_USER_TARGETS="arm i386 x86_64" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="nouveau displaylink" 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, SYNC, USE_PYTHON



root@gepard:/root(11)# emerge -pqv '=dev-lang/rakudo-2014.10::gentoo'
[ebuild     U ] dev-lang/rakudo-2014.10 [2014.09-r1] USE="doc java parrot -moar"
Comment 1 Patrick Lauer gentoo-dev 2014-10-28 06:09:14 UTC
Cannot reproduce
Comment 2 Juergen Rose 2014-10-28 08:32:46 UTC
(In reply to Patrick Lauer from comment #1)
> Cannot reproduce

I have five systems, where the error happens and five systems, where I can emerge rakudo-2014.10. The systems, where 'emerge rakudo' fails, have only 4GB RAM.
The system, where it works, have 7GB or more. Could there be any relation?
Comment 3 Patrick Lauer gentoo-dev 2014-10-29 02:31:32 UTC
(In reply to Juergen Rose from comment #2)
> (In reply to Patrick Lauer from comment #1)
> > Cannot reproduce
> 
> I have five systems, where the error happens and five systems, where I can
> emerge rakudo-2014.10. The systems, where 'emerge rakudo' fails, have only
> 4GB RAM.
> The system, where it works, have 7GB or more. Could there be any relation?

Haha. That does sound a little bit like an out of memory condition triggering - I've noticed rakudo taking a lot to build, but that failure mode is quite strange. Can you try enabling (more) swap and see if that 'fixes' this issue?
Comment 4 Juergen Rose 2014-10-29 16:25:50 UTC
(In reply to Patrick Lauer from comment #3)
> (In reply to Juergen Rose from comment #2)
> > (In reply to Patrick Lauer from comment #1)
> > > Cannot reproduce
> > 
> > I have five systems, where the error happens and five systems, where I can
> > emerge rakudo-2014.10. The systems, where 'emerge rakudo' fails, have only
> > 4GB RAM.
> > The system, where it works, have 7GB or more. Could there be any relation?
> 
> Haha. That does sound a little bit like an out of memory condition
> triggering - I've noticed rakudo taking a lot to build, but that failure
> mode is quite strange. Can you try enabling (more) swap and see if that
> 'fixes' this issue?

I have already 12GB swap. And I have the there is not so much swapping. Parallel to 'emerge rakudo' I run a script, which performes every 500 us:

  free | tail -n2
  ps waux | grep "gnome-shell\|emerge\|java\|perl" | grep -v grep | grep -v check_mem_swap_perl6 


The output on a failing system is:
Mem:        3986448     1048216     2248628         188      689604     2885592
Swap:      12582908      285348    12297560
                                                                                  root      6974 13.4 18.0 836968 720280 pts/1   S+   16:55   2:42 /usr/bin/python2.7 -b /usr/lib/python-exec/python2.7/emerge -v1 rakudo
                                                                                  portage  26208 29.0  3.3 237788 133328 pts/1   Rl+  17:15   0:00 ./perl6-p --target=pir --output=lib/Pod/To/Text.pm.pir lib/Pod/To/Text.pm
Mem:        3986448     1032584     2264276         188      689588     2901304
Swap:      12582908      285348    12297560
                                                                                  root      6974 13.4 18.0 836968 720280 pts/1   S+   16:55   2:42 /usr/bin/python2.7 -b /usr/lib/python-exec/python2.7/emerge -v1 rakudo
                                                                                  portage  26208 81.0  5.4 313340 215812 pts/1   Rl+  17:15   0:00 ./perl6-p --target=pir --output=lib/Pod/To/Text.pm.pir lib/Pod/To/Text.pm
Mem:        3986448      821916     2474648         188      689884     3111976
Swap:      12582908      285348    12297560
                                                                                  root      6974 13.4 18.0 836968 720280 pts/1   S+   16:55   2:42 /usr/bin/python2.7 -b /usr/lib/python-exec/python2.7/emerge -v1 rakudo
Mem:        3986448      815768     2480088         188      690592     3118080
Swap:      12582908      285348    12297560
                                                                                  root      6974 13.4 18.0 836968 720284 pts/1   S+   16:55   2:42 /usr/bin/python2.7 -b /usr/lib/python-exec/python2.7/emerge -v1 rakudo



On a system with 16GB RAM I see:

Mem:       16177732     1144096     2546532        1036    12487104    14630464
Swap:     100663280       29272   100634008
                                                                                  root     20558  2.0  1.7 400796 283948 pts/1   S+   15:30   0:12 /usr/bin/python2.7 -b /usr/lib/python-exec/python2.7/emerge -v1 rakudo
Mem:       16177732     1645632     2045400        1036    12486700    14129332
Swap:     100663280       29272   100634008
                                                                                  root     20558  2.0  1.7 400796 283948 pts/1   S+   15:30   0:12 /usr/bin/python2.7 -b /usr/lib/python-exec/python2.7/emerge -v1 rakudo
                                                                                  portage  30126  0.0  1.2 306568 208912 pts/1   Rl+  15:39   0:00 ./perl6-p --target=pir --output=src/gen/RESTRICTED.setting.pir src/RESTRICTED.setting
                                                                                  portage  30127  0.0  1.2 307484 209492 pts/1   Rl+  15:39   0:00 ./perl6-p --target=pir --output=lib/Test.pm.pir lib/Test.pm
                                                                                  portage  30128  0.0  1.2 303036 205292 pts/1   Rl+  15:39   0:00 ./perl6-p --target=pir --output=lib/lib.pm6.pir lib/lib.pm6
                                                                                  portage  30129  0.0  1.2 307616 209724 pts/1   Rl+  15:39   0:00 ./perl6-p --target=pir --output=lib/Pod/To/Text.pm.pir lib/Pod/To/Text.pm
Mem:       16177732     1835544     1855236        1036    12486952    13939172
Swap:     100663280       29272   100634008
                                                                                  root     20558  2.0  1.7 400796 283948 pts/1   S+   15:30   0:12 /usr/bin/python2.7 -b /usr/lib/python-exec/python2.7/emerge -v1 rakudo
                                                                                  portage  30126  102  2.1 439232 340940 pts/1   Rl+  15:39   0:01 ./perl6-p --target=pir --output=src/gen/RESTRICTED.setting.pir src/RESTRICTED.setting
                                                                                  portage  30127  103  2.0 434624 336672 pts/1   Rl+  15:39   0:01 ./perl6-p --target=pir --output=lib/Test.pm.pir lib/Test.pm
                                                                                  portage  30129  102  2.0 436540 338724 pts/1   Rl+  15:39   0:01 ./perl6-p --target=pir --output=lib/Pod/To/Text.pm.pir lib/Pod/To/Text.pm
Mem:       16177732     1774080     1916420        1036    12487232    14000728
Swap:     100663280       29272   100634008
                                                                                  root     20558  2.0  1.7 400796 283948 pts/1   S+   15:30   0:12 /usr/bin/python2.7 -b /usr/lib/python-exec/python2.7/emerge -v1 rakudo
                                                                                  portage  30127  155  2.8 565768 467456 pts/1   Rl+  15:39   0:01 ./perl6-p --target=pir --output=lib/Test.pm.pir lib/Test.pm
                                                                                  portage  30129  155  2.9 570468 472572 pts/1   Rl+  15:39   0:01 ./perl6-p --target=pir --output=lib/Pod/To/Text.pm.pir lib/Pod/To/Text.pm
Mem:       16177732     1850004     1840432        1036    12487296    13924844
Swap:     100663280       29272   100634008
                                                                                  root     20558  2.0  1.7 400796 283948 pts/1   S+   15:30   0:12 /usr/bin/python2.7 -b /usr/lib/python-exec/python2.7/emerge -v1 rakudo
                                                                                  portage  30127  104  3.1 603560 505364 pts/1   Rl+  15:39   0:02 ./perl6-p --target=pir --output=lib/Test.pm.pir lib/Test.pm
                                                                                  portage  30129  104  3.1 603092 504780 pts/1   Rl+  15:39   0:02 ./perl6-p --target=pir --output=lib/Pod/To/Text.pm.pir lib/Pod/To/Text.pm
Mem:       16177732     1352596     2337940        1036    12487196    14422616
Swap:     100663280       29272   100634008
                                                                                  root     20558  2.0  1.7 400796 283948 pts/1   S+   15:30   0:12 /usr/bin/python2.7 -b /usr/lib/python-exec/python2.7/emerge -v1 rakudo
                                                                                  portage  30127  130  3.1 603560 506104 pts/1   Rl+  15:39   0:02 ./perl6-p --target=pir --output=lib/Test.pm.pir lib/Test.pm
Mem:       16177732     1396480     2294660        1036    12486592    14379336
Swap:     100663280       29272   100634008
                                                                                  root     20558  2.0  1.7 400796 283948 pts/1   S+   15:30   0:12 /usr/bin/python2.7 -b /usr/lib/python-exec/python2.7/emerge -v1 rakudo
                                                                                  portage  30127  105  3.4 660996 563504 pts/1   Rl+  15:39   0:03 ./perl6-p --target=pir --output=lib/Test.pm.pir lib/Test.pm
Comment 5 Juergen Rose 2014-10-29 16:28:54 UTC
Created attachment 387746 [details]
script to check ram and swap usage
Comment 6 Juergen Rose 2014-11-03 17:39:29 UTC
Is there anybody, who is able to emerge rakudo-2014.10 with 4GB or less RAM?
I modified my script and can now monitor ca. every 50 ms the memory usage. I see that

perl6-p --target=pir --output=src/gen/RESTRICTED.setting.pir src/RESTRICTED.setting

It seems, that the VSZ and RSS values of perl6-p is increased every 10 ms about 15 MB until VZZ=372 MB and RSZ=274 MB without error. If VSZ is increased to 379 MB and RSS to 282 MB I get the error

src/gc/gc_gms.c:1132: failed assertion 'PObj_constant_TEST(pmc) || (int)POBJ2GEN(pmc) == i'

on systems with 4GB RAM:

Mem:        3986448     1062308     2157428         152      766712     2868316
Swap:      12582908      254260    12328648
                                                                                  portage  26431 92.0  6.0 339156 241652 pts/2   Rl+  15:50   0:00 ./perl6-p --target=pir --output=src/gen/RESTRICTED.setting.pir src/RESTRICTED.setting          
                                                                                  root     29529 11.6 17.0 791216 678588 pts/2   S+   15:27   2:41 /usr/bin/python2.7 -b /usr/lib/python-exec/python2.7/emerge -v1u rakudo                        
                                                                                  portage  29799  0.0  0.0   4220  1528 pts/2    S+   15:29   0:00 [dev-lang/rakudo-2014.10] sandbox /usr/lib/portage/python2.7/ebuild.sh compile                 
                                                                                  portage  29801  0.0  0.1  31432  6480 pts/2    S+   15:29   0:00 /bin/bash /usr/lib/portage/python2.7/ebuild.sh compile                                         
                                                                                  portage  29818  0.0  0.1  31432  5508 pts/2    S+   15:29   0:00 /bin/bash /usr/lib/portage/python2.7/ebuild.sh compile                                         
                                                                                  portage  29823  0.0  0.0  20748  3780 pts/2    S+   15:29   0:00 /bin/bash /usr/lib/portage/python2.7/ebuild-helpers/emake                                      
                                                                                  portage  29825  0.0  0.1  33108  6332 pts/2    S+   15:29   0:00 make -j1                                                                                       

2014-11-01 15:50:10,56
Mem:        3986448     1078220     2141516         152      766712     2852404
Swap:      12582908      254260    12328648
                                                                                  portage  26431 99.0  6.4 355996 257924 pts/2   Rl+  15:50   0:00 ./perl6-p --target=pir --output=src/gen/RESTRICTED.setting.pir src/RESTRICTED.setting          
                                                                                  root     29529 11.6 17.0 791216 678588 pts/2   S+   15:27   2:41 /usr/bin/python2.7 -b /usr/lib/python-exec/python2.7/emerge -v1u rakudo                        
                                                                                  portage  29799  0.0  0.0   4220  1528 pts/2    S+   15:29   0:00 [dev-lang/rakudo-2014.10] sandbox /usr/lib/portage/python2.7/ebuild.sh compile                 
                                                                                  portage  29801  0.0  0.1  31432  6480 pts/2    S+   15:29   0:00 /bin/bash /usr/lib/portage/python2.7/ebuild.sh compile                                         
                                                                                  portage  29818  0.0  0.1  31432  5508 pts/2    S+   15:29   0:00 /bin/bash /usr/lib/portage/python2.7/ebuild.sh compile                                         
                                                                                  portage  29823  0.0  0.0  20748  3780 pts/2    S+   15:29   0:00 /bin/bash /usr/lib/portage/python2.7/ebuild-helpers/emake                                      
                                                                                  portage  29825  0.0  0.1  33108  6332 pts/2    S+   15:29   0:00 make -j1                                                                                       

2014-11-01 15:50:10,63
Mem:        3986448     1094048     2125688         152      766712     2836576
Swap:      12582908      254260    12328648
                                                                                  portage  26431  106  6.8 371696 273928 pts/2   Rl+  15:50   0:01 ./perl6-p --target=pir --output=src/gen/RESTRICTED.setting.pir src/RESTRICTED.setting          
                                                                                  root     29529 11.6 17.0 791216 678588 pts/2   S+   15:27   2:41 /usr/bin/python2.7 -b /usr/lib/python-exec/python2.7/emerge -v1u rakudo                        
                                                                                  portage  29799  0.0  0.0   4220  1528 pts/2    S+   15:29   0:00 [dev-lang/rakudo-2014.10] sandbox /usr/lib/portage/python2.7/ebuild.sh compile                 
                                                                                  portage  29801  0.0  0.1  31432  6480 pts/2    S+   15:29   0:00 /bin/bash /usr/lib/portage/python2.7/ebuild.sh compile                                         
                                                                                  portage  29818  0.0  0.1  31432  5508 pts/2    S+   15:29   0:00 /bin/bash /usr/lib/portage/python2.7/ebuild.sh compile                                         
                                                                                  portage  29823  0.0  0.0  20748  3780 pts/2    S+   15:29   0:00 /bin/bash /usr/lib/portage/python2.7/ebuild-helpers/emake                                      
                                                                                  portage  29825  0.0  0.1  33108  6332 pts/2    S+   15:29   0:00 make -j1                                                                                       

2014-11-01 15:50:10,70
Mem:        3986448     1104580     2115140         152      766728     2825948
Swap:      12582908      254260    12328648
src/gc/gc_gms.c:1132: failed assertion 'PObj_constant_TEST(pmc) || (int)POBJ2GEN(pmc) == i'
Backtrace - Obtained 24 stack frames (max trace depth is 32).
/usr/lib64/libparrot.so.6.9.0(+0x88654) [0x7fc91ddb8654]
...
/usr/lib64/libparrot.so.6.9.0(Parrot_pf_execute_bytecode_program+0x9e) [0x7fc91ddece2e]
                                                                                  portage  26431  114  7.0 379416 281544 pts/2   Rl+  15:50   0:01 ./perl6-p --target=pir --output=src/gen/RESTRICTED.setting.pir src/RESTRICTED.setting          
                                                                                  root     29529 11.6 17.0 791216 678588 pts/2   R+   15:27   2:41 /usr/bin/python2.7 -b /usr/lib/python-exec/python2.7/emerge -v1u rakudo                        



On a systems with 16GB I see, that the VSZ increases further upto 399 MB and RSS to 287 MB:


2014-11-02 17:34:09,49
Mem:       16177732     1133760    13916904        1076     1127068    14793356
Swap:     100663280           0   100663280
                                                                                  root      3699  2.2  1.7 399192 286564 pts/0   S+   17:16   0:23 /usr/bin/python2.7 -b /usr/lib/python-exec/python2.7/emerge -v1 rakudo                         
                                                                                  portage   4724  0.0  0.0   4240  1416 pts/0    S+   17:19   0:00 [dev-lang/rakudo-2014.10] sandbox /usr/lib/portage/python2.7/ebuild.sh compile                 
                                                                                  portage   4726  0.0  0.0  31480  6324 pts/0    S+   17:19   0:00 /bin/bash /usr/lib/portage/python2.7/ebuild.sh compile                                         
                                                                                  portage   4743  0.0  0.0  31480  5440 pts/0    S+   17:19   0:00 /bin/bash /usr/lib/portage/python2.7/ebuild.sh compile                                         
                                                                                  portage   4748  0.0  0.0  20784  3680 pts/0    S+   17:19   0:00 /bin/bash /usr/lib/portage/python2.7/ebuild-helpers/emake                                      
                                                                                  portage   4750  0.0  0.0  33100  6136 pts/0    S+   17:19   0:00 make -j1                                                                                       
                                                                                  portage  31416 94.0  2.2 457964 359936 pts/0   Rl+  17:34   0:00 ./perl6-p --target=pir --output=src/gen/RESTRICTED.setting.pir src/RESTRICTED.setting          

2014-11-02 17:34:09,59
Mem:       16177732     1155092    13895572        1076     1127068    14772024
Swap:     100663280           0   100663280
                                                                                  root      3699  2.2  1.7 399192 286564 pts/0   S+   17:16   0:23 /usr/bin/python2.7 -b /usr/lib/python-exec/python2.7/emerge -v1 rakudo                         
                                                                                  portage   4724  0.0  0.0   4240  1416 pts/0    S+   17:19   0:00 [dev-lang/rakudo-2014.10] sandbox /usr/lib/portage/python2.7/ebuild.sh compile                 
                                                                                  portage   4726  0.0  0.0  31480  6324 pts/0    S+   17:19   0:00 /bin/bash /usr/lib/portage/python2.7/ebuild.sh compile                                         
                                                                                  portage   4743  0.0  0.0  31480  5440 pts/0    S+   17:19   0:00 /bin/bash /usr/lib/portage/python2.7/ebuild.sh compile                                         
                                                                                  portage   4748  0.0  0.0  20784  3680 pts/0    S+   17:19   0:00 /bin/bash /usr/lib/portage/python2.7/ebuild-helpers/emake                                      
                                                                                  portage   4750  0.0  0.0  33100  6136 pts/0    S+   17:19   0:00 make -j1                                                                                       
                                                                                  portage  31416 96.0  2.2 465340 367464 pts/0   Dl+  17:34   0:00 ./perl6-p --target=pir --output=src/gen/RESTRICTED.setting.pir src/RESTRICTED.setting          

2014-11-02 17:34:09,67
Mem:       16177732      943120    14107544        1076     1127068    14983996
Swap:     100663280           0   100663280
                                                                                  root      3699  2.2  1.7 399192 286564 pts/0   S+   17:16   0:23 /usr/bin/python2.7 -b /usr/lib/python-exec/python2.7/emerge -v1 rakudo                         
                                                                                  portage   4724  0.0  0.0   4240  1416 pts/0    S+   17:19   0:00 [dev-lang/rakudo-2014.10] sandbox /usr/lib/portage/python2.7/ebuild.sh compile                 
                                                                                  portage   4726  0.0  0.0  31480  6324 pts/0    S+   17:19   0:00 /bin/bash /usr/lib/portage/python2.7/ebuild.sh compile                                         
                                                                                  portage   4743  0.0  0.0  31480  5440 pts/0    S+   17:19   0:00 /bin/bash /usr/lib/portage/python2.7/ebuild.sh compile                                         
                                                                                  portage   4748  0.0  0.0  20784  3680 pts/0    S+   17:19   0:00 /bin/bash /usr/lib/portage/python2.7/ebuild-helpers/emake                                      
                                                                                  portage   4750  0.0  0.0  33100  6136 pts/0    S+   17:19   0:00 make -j1                                                                                       
                                                                                  portage  31416  102  0.0      0     0 pts/0    Zl+  17:34   0:01 [perl6-p] <defunct>                                                                            


Is there any idea, how to solve this issue?
Comment 7 Juergen Rose 2014-11-12 00:25:02 UTC
I could remove the issue on one of the failing systems by enlarging the RAM from 2 to 4 GB.
Comment 8 Juergen Rose 2014-12-01 07:16:43 UTC
The issue disappeared rakudo-2014.11.
Comment 9 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2015-01-31 15:57:12 UTC
Old versions dropped.