program runs fine on bare metal and in a vm but crashes in lx container

Mar 18, 2024
34
4
8
east of muc
hello,

we are facing the following issue:

we have a program which runs fine on bare metal and in a virtual machine but crashes in an lx container leaving the error message 'mremap_chunk(): invalid pointer'.

is there anything we can do to make the program run in an lx container?

thanks in advance for any hint.

gustav
 
Hi!

This could come from various places. Could you provide the debug output of the container (either the output of pct start <vmid> --debug or lxc-start -n <vmid> -F -l DEBUG -o <log-file>) and a coredump/backtrace of the executable?
 
even though i specified i specified

* soft core unlimited

in /etc/security/limits.conf of the container before restarting it using the suggested command i cannot find a core dump (named 'core') in the container after the questionable program had crashed.