Boost logo

Boost Users :

From: Stephen Jackson (spjackson42_at_[hidden])
Date: 2008-04-02 08:02:02


On 2008-04-01, Sharad Mittal wrote:
>
> 2) couldn't get dmalloc to run properly. Error "dmalloc library has gone
> recursive".
>

I haven't used dmalloc with mingw or boost, but I have used dmalloc.
This message normally means that you are running a multi-threaded
progam without taking the necessary steps that dmalloc requires for
multi-threading. You need to set the lockon parameter in the
DMALLOC_OPTIONS environment variable, e.g.
DMALLOC_OPTIONS="debug=0xe40303,lockon=20"

http://dmalloc.com/docs/latest/online/dmalloc_14.html

I have successfully found bugs by using dmalloc with C++ code but, in
my opinion, it is more suitable for C.

Hope this helps,

Stephen Jackson


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net