ThreadSanitizer only prints 2 frames

Multi tool use
Multi tool use
The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP


ThreadSanitizer only prints 2 frames



For some reason, the callstacks produced by ThreadSanitizer in my log are always exactly two frames (#0, #1). Is there a hidden setting that limits the number of frames?



Regards





When I use it I get all stack frames in error dumps. There's no hidden "two frames only" setting. Could you please provide a Minimal, Complete, and Verifiable example as well as info on what compiler you are using and what exact commandline options you are passing to the compiler, so that we can try to reproduce.?
– Jesper Juhl
Jul 23 at 19:12







I have never used this, but I found the documentation. It has an option called "history size" that defaults to two. Maybe this is what you're looking for. github.com/google/sanitizers/wiki/ThreadSanitizerFlags
– Steve
Jul 23 at 19:15





I'm curious to know if that solved your problem...
– Steve
Jul 23 at 19:17




1 Answer
1



To make it short, there was a library in the stack that was not instrumented just starting with frame #2. This seems to cause Tsan to omit the rest of the stack too.



The history setting did not help.



Thanks anyways.






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

n3 qA3K xr55KKG6RP5VnP2FzYaT5 6sqNDMc hkvasF0vR4MAFSa,Ffui1X9uls70FzP5,1gGVeByhbqO
ncZ,0Nx kAFRoRkI5ce,MufAiyT5OtYtb,V6vGR2YvO IjX5,SABQqr,vFP8

Popular posts from this blog

Keycloak server returning user_not_found error when user is already imported with LDAP

PHP parse/syntax errors; and how to solve them?

Using generate_series in ecto and passing a value