Community
cancel
Showing results for 
Search instead for 
Did you mean: 
MBark9
Beginner
1,156 Views

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

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
551 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