Re: [Valgrind-users] POSIX pthread counter (integer) overflow in valgrind drd_vc.c

2019-06-08 Thread John Reiser
|drd: drd_vc.c:96 (vgDrd_vc_increment): Assertion 'oldcount < vc->vc[i].count' failed. My program was running a quite large volume of data (millions of records). How many millions, and how long does the program run, both with an without drd? It's quite possible to overflow the 'count', which is

[Valgrind-users] POSIX pthread counter (integer) overflow in valgrind drd_vc.c

2019-06-08 Thread Kevin Xu
Hi, I used "valgrind --tool=drd …" to debug my POSIX pthread based program in C. Valgrind detected an error and terminated a thread with the following error message: drd: drd_vc.c:96 (vgDrd_vc_increment): Assertion 'oldcount < vc->vc[i].count' failed. host stacktrace: ==27993==at 0x38025C68: