http://bugs.winehq.org/show_bug.cgi?id=27698
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |source, testcase CC| |dank@kegel.com
--- Comment #4 from Dan Kegel dank@kegel.com 2012-07-19 13:22:25 CDT --- I gather that Orphan_all is called from the destructor of Container_base, and is a no-op unless doing iterator debugging. I thought iterator debugging was only enabled for debug builds, but I guess you can turn it on in VS2010 with /D_ITERATOR_DEBUG_LEVEL=1
Compiling the program z.cc,
#include <stdio.h> #include <list> using namespace std; int main() { list<int> foo; foo.push_back(1); printf("top of foo is %d\n", foo.back()); return 0; }
with Visual C++ 2010 with the command cl /MD /D_ITERATOR_DEBUG_LEVEL=1 /EHsc z.cc produces an executable which crashes on current wine with
wine: Call from 0x7ecac7e2 to unimplemented function msvcp100.dll.??0_Container_base12@std@@QAE@XZ, aborting
and winedump shows it imports the msvcp100 stubs ??0_Container_base12@std@@QAE@XZ ??1_Container_base12@std@@QAE@XZ ?_Orphan_all@_Container_base12@std@@QAEXXZ ?_Xlength_error@std@@YAXPBD@Z
I'll attach the .exe and source.