Re: [Valgrind-users] failed in UME with error 22

2017-12-07 Thread Silva João
> If you have 39 tasks in Runnable state, I guess that they are not all > blocked in libc read ? > So, you might investigate which task(s) are really still doing something > by doing e.g. >thread apply all bt > and/or put breakpoints at places that you know should be soon > encountered > by the

Re: [Valgrind-users] failed in UME with error 22

2017-12-07 Thread Philippe Waroquiers
On Thu, 2017-12-07 at 12:39 +, Silva João wrote: > > If you have 39 tasks in Runnable state, I guess that they are not all > > blocked in libc read ? > > So, you might investigate which task(s) are really still doing something > > by doing e.g. > >thread apply all bt > > and/or put breakpoi

[Valgrind-users] Bug or feature - reported memory leak

2017-12-07 Thread Yusuf Pisan
valgrind report memory as being reachable when I think it has been properly freed in the below program. Is this a bug, a feature, a misunderstanding of how to use delete by me? Thanks Yusuf === #include using namespace std; int test() { int* p = new int[5]; delete []