[Bug 27698] EA Origin wants msvcp100.dll.?_Orphan_all at _Container_base0@std@@QAEXXZ (purist)

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Jul 19 13:22:25 CDT 2012


http://bugs.winehq.org/show_bug.cgi?id=27698

Dan Kegel <dank at kegel.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |source, testcase
                 CC|                            |dank at kegel.com

--- Comment #4 from Dan Kegel <dank at 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 at std@@QAE at XZ, aborting

and winedump shows it imports the msvcp100 stubs
  ??0_Container_base12 at std@@QAE at XZ
  ??1_Container_base12 at std@@QAE at XZ
  ?_Orphan_all at _Container_base12@std@@QAEXXZ
  ?_Xlength_error at std@@YAXPBD at Z

I'll attach the .exe and source.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list