I'm using Arm DDT 20.0.1 ith gdb v8.1, and when I try to debug my program that uses a thread_safe std::vector DDT reports an invalid pointer error and exits the application. Running the same application outside DDT, and it appears to run correctly.
Is there any reason for DDT reporting errors when using the thread_safe keyword.
Would you be able to share the code with your thread_safe implementation.
This will be helpful in better investigation of the suspected error.
Hi Ewan,Would you be able to share the code with thread_safe implementation for us to be able to replicate the error
Are you looking for a code segment posted here in the forum?
Indeed. You can share it here if you are Ok with that. You can also write me on - firstname.lastname@example.org with the details.
Give me a bit of time to see if I can throw together a small demonstrater :)
Hi Ewan, I'm sorry about sharing incorrect email ID with you. Just in case you are yet to share the code segment, please do so at: email@example.comSorry about the mix-up!
View all questions in HPC forum