Altera_Forum
Honored Contributor
8 years agoQuartus failed to run inside Docker (Linux)
Hello!
I'm trying to implement our small automated testing & build system inside company. To do so, we decided to use Docker and Debian 8.x as base image. I'm able to build my simple demo project completely from command line (without X11) in pure Debian 8.x in virtual machine. However Quartus 17.x (free edition) inside "Docker version 17.06.2-ce, build cec0b72" fails in quartus_map:Info (290000): Processing of the Quartus Prime software Version 17.0.0 Build 595 04/25/2017 SJ Lite Edition started at time 09/06/2017 09:35:47
Info: *******************************************************************
Info: Running Quartus Prime Analysis & Synthesis
Info: Version 17.0.0 Build 595 04/25/2017 SJ Lite Edition
Info: Processing started: Wed Sep 6 09:35:48 2017
Info: Command: quartus_map --read_settings_files=on --write_settings_files=off test_autobuild -c test_autobuild
*** Error in `quartus_map': free(): invalid pointer: 0x00007f50beec49a0 ***
Error (293007): Current module quartus_map ended unexpectedly. Verify that you have sufficient memory available to compile your design. You can view disk space and physical RAM requirements on the System and Software Requirements page of the Intel FPGA website (http://dl.altera.com/requirements/). GDB says it crash here (please, take a look into quartus_map_gdb_failed.txt attached). Also tried Ubuntu 14.04.5 LTS as base image for Docker with same result. It looks like fail in udev subsystem when license manager attempts to check host id (network card is presented inside Docker as eth0). Or should I directly tell to Quartus that I'm using free version and license check is not needed? I understand that these distributions is not supported and using them at my own risk, anyway Quartus runs fine on top, unfortunately not inside Docker versions. Installation of Quartus itself in text mode inside Docker runs fine.