One trick specially for GCC. You should use "-g" on the command line, and set a suitable...
Ah, that sounds like a good idea, although I still think from a philosophical perspective...
Actually, there may be a solution. While the EXE and DLL do not share global variables,...
At first I thought - is it good practice to allocated in a DLL and deallocate in...
At first I thought - is it good practice to allocated in a DLL and deallocate in...
Thank you for your time to look into this! So the problem was that wxScopedCharTypeBuffer::m_data...
As I doubted before I went to bed yesterday, the reason was actually how the program...
I think the difference between our tests is that I am testing inside the main event...
I think the difference between our tests is that I am testing inside the main event...
Would you please share the complete code of a minimal test case. I have just installed...
Would you please share the complete code of a minimal test case. I have just installed...
Would you please share the complete code of a minimal test case. I have just installed...
Thank you for the fast response! It looks like this: new: allocated 024ac908 (size...
Can you manually change new_verbose_flag to true in debug_new.cpp and check the verbose...
Sorry, I should add that the program output looks like this: delete: invalid pointer...
Hello, thank you for your utility :) I have seen the old mailing list topic about...
Sorry for missing the patch for five years. I might have missed the e-mail notification....
I see now. It's a c++ language restriction. Thanks a lot for help!
I see the problem now. If the destructor is non-virtual, delete invokes the destructor...
I've confirmed the segment fault occurred only when ClassA(in the dll) contains a...
I'm using mingw64 gcc in windows7 as the compiler. In above code "delete pa;" the...
I've an exe project depends on a third-party dll which defines a class: ClassA. The...
I see, and am happy to apply your nice "debug_new" tool to my project. Thank you...
ok, thanks for explanation!
new_ptr_list is a plain struct, and it cannot be ‘destructed’ (I think you mean calling...
Ah, I forgot my own words. However, I did put down the notes in fc_queue.h and the...
But your README said " fc_queue is modelled closely on std::queue, and I optimize...
Is below an issue? Class "debug_new_counter" dtor depends on static instance "new_ptr_list"...
Is below an issue? Class "debug_new_counter" dtor depends on static instance "new_ptr_list"...
It is as thread-safe as STL containers are. Please check out the original STL documentation...
A case: The buffer reach max_size and one thread in the middle of calling push(between...