When I am trying to run a program that uses transactions with STM Statistics turned on (ITM_STATISTICS=verbose) I get a segmentation fault in the _ITM_initializeThread function which seems to be called through the commitTransaction. When running it without statistics turned on the program runs fine. Unfortunately, the size of the program is not trivial so I cannot post it. I tried to reproduce the seg fault in a smaller program but I couldn't.
Any help appreciated.
Seg fault when STM Statistics turned on