|
From: | Vijay Bellur |
Subject: | Re: [Gluster-devel] catching unitialized structures |
Date: | Mon, 29 Apr 2013 23:05:54 +0530 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130311 Thunderbird/17.0.4 |
On 04/29/2013 10:31 PM, Emmanuel Dreyfus wrote:
Hi I found an uninitialized mutex and I am tracking another one. This is not the first time I hit this kind of problem, which is invisible to Linux developpers since Linux allows using an uninitialized mutex. I suggest chaning GF_CALLOC and friends so that it fills memory with 0xdeadbeef during developement cycles. That would help people catching that kind og issues earlier.
Maybe with -DDEBUG? -Vijay
[Prev in Thread] | Current Thread | [Next in Thread] |