Comment 13 for bug 380075

Revision history for this message
Phillip Whelan (pwhelan) wrote :

This is due to mix matching between libraries and programs which use different windows C/C++ runtimes. The implementation of the stack as well as stdio are different in all of them and so are their structures.

The end result is if you create a FILE pointer inside your program then a library calls fprintf with it, or if you allocate memory and pass it to a library which frees it and vice versa your program hangs.

Yet another advantage to the win32 platform, hurray!

Solution: all dependencies that are linked at build time and runtime must use the same MS C/C++ runtime.