UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Explorer
Explorer
535 Views
Registered: ‎06-14-2018

SDAccel 2018.2, hardware emulation, sysmalloc: Assertion failed

Jump to solution

Hi,

I installed SDAccel 2018.2 on a fresh Ubuntu 16.04.5.

I installed the dependencies.

I can run software emulation, but when I try the hardware emulation, I got this error:

 

Loading: '../vadd.xclbin'
INFO: [SDx-EM 01] Hardware emulation runs simulation underneath. Using a large data set will result in long simulation times. It is recommended that a small dataset is used for faster execution. This flow does not use cycle accurate models and hence the performance data generated is approximate.
test_simple.exe: malloc.c:2394: sysmalloc: Assertion `(old_top == initial_top (av) && old_size == 0) || ((unsigned long) (old_size) >= MINSIZE && prev_inuse (old_top) && ((unsigned long) old_end & (pagesize - 1)) == 0)' failed.

I tried with the C hello world, and simple burst read and write examples.

 

SDAccel 2017.4 is working fine.

0 Kudos
1 Solution

Accepted Solutions
Explorer
Explorer
443 Views
Registered: ‎06-14-2018

Re: SDAccel 2018.2, hardware emulation, sysmalloc: Assertion failed

Jump to solution

I nailed down something, my xilinx_aws-vu9p-f1_dynamic_5_0 platform compiled on a previous installation doesn't work anymore. Choosing kcu1500 works.

4 Replies
Moderator
Moderator
487 Views
Registered: ‎11-04-2010

Re: SDAccel 2018.2, hardware emulation, sysmalloc: Assertion failed

Jump to solution

Hi, @xil_tour ,

Did you install the correct package for Ubantu as the below thread discussed:

https://forums.xilinx.com/t5/SDAccel/Do-I-have-to-install-all-the-Linux-packages-listed-in-ug1238/m-p/877400

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Explorer
Explorer
471 Views
Registered: ‎06-14-2018

Re: SDAccel 2018.2, hardware emulation, sysmalloc: Assertion failed

Jump to solution

Yes I followed the recommendations from ug1238, trying the big apt from your link gave me:

The following additional packages will be installed:
libjpeg-turbo8-dev libjpeg8-dev libopencv-core2.4v5 libtbb2
The following packages will be REMOVED:
libjpeg62-dev
The following NEW packages will be installed:
libjpeg-dev libjpeg-turbo8-dev libjpeg8-dev libopencv-core-dev libopencv-core2.4v5 libtbb2 libtiff5-dev
0 upgraded, 7 newly installed, 1 to remove and 0 not upgraded.

But the crash is still here.

Ubuntu calls it

bash crashed with SIGABRT in __GI___waitpid()

 

0 Kudos
Explorer
Explorer
449 Views
Registered: ‎06-14-2018

Re: SDAccel 2018.2, hardware emulation, sysmalloc: Assertion failed

Jump to solution

If I uncheck host debug and kernel debug, I got this error:

*** invalid %N$ use detected ***
0 Kudos
Explorer
Explorer
444 Views
Registered: ‎06-14-2018

Re: SDAccel 2018.2, hardware emulation, sysmalloc: Assertion failed

Jump to solution

I nailed down something, my xilinx_aws-vu9p-f1_dynamic_5_0 platform compiled on a previous installation doesn't work anymore. Choosing kcu1500 works.