On Wed, 2013-07-24 at 22:08 +0200, Philippe Waroquiers wrote:

> At this moment, the hypothesis is that if the stack memory is
> managed by the user, then when the thread terminates, the stack memory
> is not marked by memcheck as addressible again.
> I need to investigate more in depth to confirm this hypothesis.
Investigations have confirmed the hyposthesis and have lead to
https://bugs.kde.org/show_bug.cgi?id=323020
which summarises/collects several strange aspects of thread stack
handling.

At this point, the only possible fix I see is to add a valgrind client
request in your code to mark the released stack as accessible.

No clear way how this can be done automatically by valgrind, without
introducing the risk of more false positive and/or false negative.

Philippe



------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to