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.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!