Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)
5253 讨论

Assertion Failed -- thread_state.runtime_level == tpss_le_out_of_runtime

Lawson__Brett
初学者
1,422 次查看

When attempting to use VTune to do software profiling of my application, I receive the following error and the application freezes (though does not appear to crash).  It seems that the assertion is coming from inside vtunes sampler somewhere?

Assertion Failed: runtime_gen_2:165: thread_state.runtime_level == tpss_le_out_of_runtime : thread_state.runtime_level == 2 . Please contact the technical support.

0 项奖励
3 回复数
Vladimir_R_Intel
1,422 次查看

Hi Brett,

please specify VTune version and the system you are working on. 

Do you see this error analyzing all applications or some particular application? Do EBS collections work (Hotspots with Hardware Event-Based Sampling or advanced-hotspots analyses depending on the VTune version)?

BR,

Vladimir

0 项奖励
Lawson__Brett
初学者
1,422 次查看

Hey Vladimir,

I am using Intel VTune Amplifier 2019.  EBS collection works (although enabling Stack's causes it to collect essentially no information).  It appears to affect all forms of analysis.  The project is performing dynamic code generation; is it possible there is some bad interactions between the sampler and our JIT?

Cheers, Brett

0 项奖励
Vladimir_R_Intel
1,422 次查看

Hi Brett,

Yes, the bad interaction is a possible root cause. Could you please say a little more how your application works with JIT? 

Also please try to use --mtre-mode=native for the software profiling case. If the assertion is still there we will ask you to provide a reproducer or a core file (probably with some logs) but if it disappears then we can focus only on the interaction with JIT.

BR,

Vladimir

0 项奖励
回复