The problem appears in the guest system while compiling app-emulation/virtualbox-guest-additions-4.2.18. Tried 2 times and got the same error. Buildlog attached. Host system: Gentoo amd64. Guest system: Gentoo amd64. Guest configuration: 1024 MB memory, 2048 MB swap, VT-x/AMD-V enabled, Nested Paging disabled (it was very slow with Nested Paging enabled). I've got no problem with memory on the host system and on another (x86) guest systems. This case could be related: http://forums-lb.gentoo.org/viewtopic-p-7395278.html?sid=7904ea3cfe04367039bcd09a5845edb1 Reproducible: Always Steps to Reproduce: 1. emerge -v virtualbox-guest-additions
Created attachment 364288 [details] buildlog
Created attachment 364290 [details] message_in_shell
Created attachment 364292 [details] emerge --info
Created attachment 364294 [details] screenshot
Unpacked sources of sandbox, looked at memory.c. The error that I get is coded here: if (munmap(SB_MALLOC_TO_MMAP(ptr), SB_MALLOC_TO_SIZE(ptr))) sb_ebort("sandbox memory corruption with free(%p): %s\n", ptr, strerror(errno)); Is there a way to debug it, to understand why munmap fail? My knowledge of C is minimal. (I don't beleive the memory of my machine is broken. Could it be an error in software?)
Time to close this (RESOLVED WON'T FIX). The oldest version in the tree is 4.2.24.
does this issue still happen with sandbox-2.8 ? i happened across a bad strdup call in the code and i wonder if this might impact you.