Page 1 of 1

Assertion `success' failed after Profiling with LynSyn

Posted: Thu Jan 03, 2019 1:26 pm
by Giacomo_Valente
Dear all,
I have a problem working on a project done with SDSoC, for what I would obtain only information about running time. For this, I did not connect current lines to current sensors, but I set the configuration for sampling as explained in the tutorial.
After downloading bitstream and executables on target, and sampling phase, I obtain a core dump with the following message:
section, .ARM.exidx: 0x001c8000 - 0x001cb87f
section, .init_array: 0x001cb880 - 0x001cb8a3
section, .fini_array: 0x001cb8a4 - 0x001cb8ab
section, .bss: 0x001cb8b0 - 0x001d7b8c
section, .heap: 0x001d7b8d - 0x301d7b8f
section, .stack: 0x301d7b90 - 0x3021938f
100% 0MB 0.1MB/s 00:12
Setting PC to Program Start Address 0x00100000
Successfully downloaded /home/dewsjoe/.tulipp/hhhhhhhh/hhhhhhhh.elf
Got 218 samples...
Sampling done
Processed 218 samples...
analysis_tool: ../src/project/project.cpp:1292: bool Project::runProfiler(): Assertion `success' failed.
Aborted (core dumped)



When re-open, there are no timing information related to my project, as the attached summary reports. Is there any issues?

Thanks,
Giacomo

Re: Assertion `success' failed after Profiling with LynSyn

Posted: Thu Jan 03, 2019 3:23 pm
by Asbjørn_Djupdal
This should of course not happen. Is there any chance that you have tried the analysis tool several versions ago? If so, there could be a problem with your measurement database having the wrong schema. If that is the case, please enter the following command:

$ rm -rf ~/.tulipp

Then try again.

Re: Assertion `success' failed after Profiling with LynSyn

Posted: Thu Jan 03, 2019 3:25 pm
by Asbjørn_Djupdal
If you do not want to recompile everything, it should be sufficient to just delete the profile.db3 file within the ~/.tulipp/<project_name>/ directory.

Re: Assertion `success' failed after Profiling with LynSyn

Posted: Thu Jan 03, 2019 4:37 pm
by Giacomo_Valente
Yes it was my case. Now, after applying suggested steps above, it works correctly. Thank you very much.

Giacomo