Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
All support for Intel NUC 7 - 13 systems has transitioned to ASUS. Read latest update.
16507 Discussions

Why Quartus 18.1 Lite can not run inside an LXD container?

MBark9
Beginner
1,919 Views

I've installed Quartus 18.1 Lite in an LXD container (on Ubuntu 18.04). Unfortunately, it can not run, always crashes with one of the following errors:

fpgabuild@fpgabuild:~$ quartus

quartus: malloc.c:2868: mremap_chunk: Assertion `((size + offset) & (GLRO (dl_pagesize) - 1)) == 0' failed.

Aborted (core dumped)

 

fpgabuild@fpgabuild:~$ quartus

realloc(): invalid pointer

Aborted (core dumped)

 

Is there any solution or workaround allowing Quartus to run inside an LXD container?

 

The same Quartus install kit applied to the base system works without any problem. (The base system hosts the container.)

 

By using container the intention is to preserve the whole building environment for later recover-ability.

 

0 Kudos
1 Reply
RichardTanSY_Intel
1,314 Views

I found a discussion about malloc failing. Could be memory allocation failed when data segment is invalid or the system is low on memory?

https://stackoverflow.com/questions/12433947/why-does-malloc-not-work-sometimes

 

You can use the valgrind memory error detector to help you find these kind of errors.

http://valgrind.org/

0 Kudos
Reply