Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
15539 Discussions

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

MBark9
Beginner
1,421 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
816 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/

Reply