2 Apr
2008
2 Apr
'08
12:02 p.m.
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