Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
Announcements
Need Forum Guidance? Click here

Search our FPGA Knowledge Articles here.
19345 Discussions

Quartus Prime Lite Edition 17.1 not running in Docker (Linux)

Altera_Forum
Honored Contributor II
2,066 Views

I can install the Software inside docker. 

But when i start the application, 

i get this error: 

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 

abc@xrdp_server:/opt/altera_lite/quartus/bin$ ./quartus 

*** Error in `quartus': double free or corruption (out): 0x00007fd76a176ee0 *** 

======= Backtrace: ========= 

/lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7fd771e157e5] 

/lib/x86_64-linux-gnu/libc.so.6(+0x8037a)[0x7fd771e1e37a] 

/lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7fd771e2253c] 

/lib/x86_64-linux-gnu/libudev.so.1(+0x10a60)[0x7fd7af8caa60] 

/lib/x86_64-linux-gnu/libudev.so.1(+0x90b1)[0x7fd7af8c30b1] 

/lib/x86_64-linux-gnu/libudev.so.1(+0x7dbb)[0x7fd7af8c1dbb] 

/lib/x86_64-linux-gnu/libudev.so.1(+0x10248)[0x7fd7af8ca248] 

/lib/x86_64-linux-gnu/libudev.so.1(+0x105e7)[0x7fd7af8ca5e7] 

/lib/x86_64-linux-gnu/libudev.so.1(udev_enumerate_scan_devices+0x26c)[0x7fd7af8c05ac] 

/opt/altera_lite/quartus/linux64/libsys_cpt.so(+0xe1037)[0x7fd77e347037] 

/opt/altera_lite/quartus/linux64/libsys_cpt.so(Ox3476f8750e1da711+0x9)[0x7fd77e347499] 

/opt/altera_lite/quartus/linux64/libsys_cpt.so(+0xb2d76)[0x7fd77e318d76] 

/opt/altera_lite/quartus/linux64/libsys_cpt.so(Ox3476f8367c6535b1+0xc8)[0x7fd77e3188a8] 

/opt/altera_lite/quartus/linux64/libsys_cpt.so(+0xa33d8)[0x7fd77e3093d8] 

/opt/altera_lite/quartus/linux64/libsys_cpt.so(lc_getid_type+0x57)[0x7fd77e309b47] 

/opt/altera_lite/quartus/linux64/libsys_cpt.so(+0x560d3)[0x7fd77e2bc0d3] 

/opt/altera_lite/quartus/linux64/libsys_cpt.so(+0x56224)[0x7fd77e2bc224] 

/opt/altera_lite/quartus/linux64/libsys_cpt.so(+0x395e1)[0x7fd77e29f5e1] 

/opt/altera_lite/quartus/linux64/libsys_cpt.so(_ZN11CPT_MANAGER16get_local_hostidE15CPT_HOSTID_TYPEPSt6vectorISsSaISsEE+0xa6)[0x7fd77e2a38be] 

/opt/altera_lite/quartus/linux64/libsys_cpt_guiq.so(+0x18507)[0x7fd7624e5507] 

/opt/altera_lite/quartus/linux64/libsys_cpt_guiq.so(+0x18dd5)[0x7fd7624e5dd5] 

/opt/altera_lite/quartus/linux64/libsys_cpt_guiq.so(cpt_guiq_dyn_init+0x1bb)[0x7fd7624d8a1b] 

/opt/altera_lite/quartus/linux64/libsys_qui.so(_ZN7QUI_APP13init_instanceEiPPKcP11QUI_CMDLINE+0x3ec)[0x7fd7aeec129e] 

/opt/altera_lite/quartus/linux64/libsys_qgq.so(_ZN7QGQ_APP13init_instanceEiPPKcP11QUI_CMDLINE+0xdf)[0x7fd7af44d02d] 

quartus[0x401e9f] 

/opt/altera_lite/quartus/linux64/libccl_msg.so(+0x40720)[0x7fd77d78d720] 

/opt/altera_lite/quartus/linux64/libccl_thr.so(+0x602c)[0x7fd77aae502c] 

/opt/altera_lite/quartus/linux64/libccl_msg.so(+0x407df)[0x7fd77d78d7df] 

/opt/altera_lite/quartus/linux64/libccl_mem.so(+0xa559)[0x7fd77b156559] 

/opt/altera_lite/quartus/linux64/libccl_err.so(+0x8f92)[0x7fd77af23f92] 

/opt/altera_lite/quartus/linux64/libccl_thr.so(thr_thread_wrapper+0x15)[0x7fd77aae53f2] 

/opt/altera_lite/quartus/linux64/libccl_msg.so(_Z12msg_exe_mainiPPKcPFiiS1_E+0xa3)[0x7fd77d78f7e2] 

quartus[0x401f7a] 

/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7fd771dbe830] 

quartus[0x401d59] 

======= Memory map: ======== 

00400000-00403000 r-xp 00000000 00:32 3539 /opt/altera_lite/quartus/linux64/quartus 

00602000-00604000 rw-p 00002000 00:32 3539 /opt/altera_lite/quartus/linux64/quartus 

0154d000-0156e000 rw-p 00000000 00:00 0 [heap] 

7fd7624cd000-7fd7624f0000 r-xp 00000000 00:32 4783 /opt/altera_lite/quartus/linux64/libsys_cpt_guiq.so 

7fd7624f0000-7fd7626f0000 ---p 00023000 00:32 4783 /opt/altera_lite/quartus/linux64/libsys_cpt_guiq.so 

7fd7626f0000-7fd7626f2000 rw-p 00023000 00:32 4783 /opt/altera_lite/quartus/linux64/libsys_cpt_guiq.so 

7fd7626f2000-7fd7626f6000 r-xp 00000000 00:32 4781 /opt/altera_lite/quartus/linux64/libsys_tb2_tcl.so 

7fd7626f6000-7fd7628f6000 ---p 00004000 00:32 4781 /opt/altera_lite/quartus/linux64/libsys_tb2_tcl.so 

7fd7628f6000-7fd7628f7000 rw-p 00004000 00:32 4781 /opt/altera_lite/quartus/linux64/libsys_tb2_tcl.so 

7fd7628f7000-7fd762963000 r-xp 00000000 00:32 4779 /opt/altera_lite/quartus/linux64/libmega_ipman.so 

7fd762963000-7fd762b63000 ---p 0006c000 00:32 4779 /opt/altera_lite/quartus/linux64/libmega_ipman.so 

7fd762b63000-7fd762b67000 rw-p 0006c000 00:32 4779 /opt/altera_lite/quartus/linux64/libmega_ipman.so 

7fd762b67000-7fd762b81000 r-xp 00000000 00:32 4741 /opt/altera_lite/quartus/linux64/libmega_ipdgen.so 

7fd762b81000-7fd762d81000 ---p 0001a000 00:32 4741 /opt/altera_lite/quartus/linux64/libmega_ipdgen.so 

7fd762d81000-7fd762d82000 rw-p 0001a000 00:32 4741 /opt/altera_lite/quartus/linux64/libmega_ipdgen.so 

7fd762d82000-7fd763730000 r-xp 00000000 00:32 4743 /opt/altera_lite/quartus/linux64/libsynth_vrfx2.so 

7fd763730000-7fd76392f000 ---p 009ae000 00:32 4743 /opt/altera_lite/quartus/linux64/libsynth_vrfx2.so 

7fd76392f000-7fd763a10000 rw-p 009ad000 00:32 4743 /opt/altera_lite/quartus/linux64/libsynth_vrfx2.so 

7fd763a10000-7fd763a13000 rw-p 00000000 00:00 0  

7fd763a13000-7fd763aeb000 r-xp 00000000 00:32 4769 /opt/altera_lite/quartus/linux64/libsynth_algs.so 

7fd763aeb000-7fd763cea000 ---p 000d8000 00:32 4769 /opt/altera_lite/quartus/linux64/libsynth_algs.so 

7fd763cea000-7fd763d2e000 rw-p 000d7000 00:32 4769 /opt/altera_lite/quartus/linux64/libsynth_algs.so 

7fd763d2e000-7fd763d6a000 rw-p 00000000 00:00 0  

7fd763d6a000-7fd763e84000 r-xp 00000000 00:32 4773 /opt/altera_lite/quartus/linux64/libsynth_map.so 

7fd763e84000-7fd764083000 ---p 0011a000 00:32 4773 /opt/altera_lite/quartus/linux64/libsynth_map.so 

7fd764083000-7fd764086000 rw-p 00119000 00:32 4773 /opt/altera_lite/quartus/linux64/libsynth_map.so 

7fd764086000-7fd7640b8000 rw-p 00000000 00:00 0  

7fd7640b8000-7fd765111000 r-xp 00000000 00:32 4775 /opt/altera_lite/quartus/linux64/libextlibs_abc.so 

7fd765111000-7fd765310000 ---p 01059000 00:32 4775 /opt/altera_lite/quartus/linux64/libextlibs_abc.so 

7fd76ee78000-7fd76f014000 r-xp 00000000 00:32 3797 /opt/altera_lite/quartus/linux64/libcrypto.so.1.0.0 

7fd76f014000-7fd76f214000 ---p 0019c000 00:32 3797 /opt/altera_lite/quartus/linux64/libcrypto.so.1.0.0 

7fd76f214000-7fd76f23a000 rw-p 0019c000 00:32 3797 /opt/altera_lite/quartus/linux64/libcrypto.so.1.0.0 

7fd76f23a000-7fd76f23d000 rw-p 00000000 00:00 0  

7fd76f23d000-7fd76f29b000 r-xp 00000000 00:32 3796 /opt/altera_lite/quartus/linux64/libssl.so.1.0.0 

7fd76f29b000-7fd76f49a000 ---p 0005e000 00:32 3796 /opt/altera_lite/quartus/linux64/libssl.so.1.0.0 

7fd76f49a000-7fd76f4a4000 rw-p 0005d000 00:32 3796 /opt/altera_lite/quartus/linux64/libssl.so.1.0.0 

7fd76f4a4000-7fd76f5d9000 r-xp 00000000 00:32 1745 /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0 

7fd76f5d9000-7fd76f7d9000 ---p 00135000 00:32 1745 /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0 

7fd76f7d9000-7fd76f7da000 r--p 00135000 00:32 1745 /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0Aborted (core dumped) 

 

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 

Can you please help me with this error ? 

Thank you very much. 

Yours sincerely 

guenther
0 Kudos
1 Solution
TFisc4
Novice
685 Views

I have followed the solution of https://forums.intel.com/s/question/0D50P00003yyTA4SAM/quartus-failed-to-run-inside-docker-linux?lan...

 

Installed the package libtcmalloc-minimal4:

apt-get install libtcmalloc-minimal4

Pre-load the corresponding library:

export LD_PRELOAD=/usr/lib/libtcmalloc_minimal.so.4

Now quartus seems to run smoothly 👍

 

 

View solution in original post

4 Replies
TFisc4
Novice
685 Views

Hello,

 

I have the same issue with quartus 17.0, 17.1 & 18.0

In my case it does not run on docker but on a virtual machine.

I have run valgrind (log file attached) on it and get a lot of "Invalid free() / delete / delete[] / realloc()" error messages, and apparently all from the flexlm.

 

I do not how if you managed to fix, I did not, and the altera support is not supportive.

 

regards,

--

Thierry

JosephC_Intel
Moderator
685 Views

Hi,

 

Please attach us below log file from yours system so that we can help further:

  1. dmesg log file extract from terminal
  2. #kernel version "uname -r"

 

Thanks,

Joseph

Intel Customer Support

TFisc4
Novice
685 Views
  1. All message in dmesg are older than the command executed.
  2. "uname -r " is '4.9.0-5-amd64'

 

However I made a mistake, I am not running on a virtual machine but on lxc.

It seems to come from the flexlm, other people suffered from flexlm issues with docker/lxc/virtual-machine and also on amazon cloud too.

TFisc4
Novice
686 Views

I have followed the solution of https://forums.intel.com/s/question/0D50P00003yyTA4SAM/quartus-failed-to-run-inside-docker-linux?lan...

 

Installed the package libtcmalloc-minimal4:

apt-get install libtcmalloc-minimal4

Pre-load the corresponding library:

export LD_PRELOAD=/usr/lib/libtcmalloc_minimal.so.4

Now quartus seems to run smoothly 👍

 

 

Reply