Assertion `success' failed after Profiling with LynSyn

Available to be read by all.
Giacomo_Valente
Posts: 12
Joined: Fri Nov 17, 2017 8:28 pm

Assertion `success' failed after Profiling with LynSyn

Postby Giacomo_Valente » Thu Jan 03, 2019 1:26 pm

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
Attachments
screenshot.png
screenshot.png (19.64 KiB) Viewed 944 times

Asbjørn_Djupdal
Posts: 32
Joined: Wed Feb 01, 2017 4:15 pm

Re: Assertion `success' failed after Profiling with LynSyn

Postby Asbjørn_Djupdal » Thu Jan 03, 2019 3:23 pm

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.

Asbjørn_Djupdal
Posts: 32
Joined: Wed Feb 01, 2017 4:15 pm

Re: Assertion `success' failed after Profiling with LynSyn

Postby Asbjørn_Djupdal » Thu Jan 03, 2019 3:25 pm

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.

Giacomo_Valente
Posts: 12
Joined: Fri Nov 17, 2017 8:28 pm

Re: Assertion `success' failed after Profiling with LynSyn

Postby Giacomo_Valente » Thu Jan 03, 2019 4:37 pm

Yes it was my case. Now, after applying suggested steps above, it works correctly. Thank you very much.

Giacomo


Return to “FAQ about Tulipp Development Platform”

Who is online

Users browsing this forum: No registered users and 1 guest