Comment #3 on issue 10012 by [email protected]: Purify failure: Invalid  
pointer read [IPR]   in WinsockInitSingleton in tests_shell_tests
http://code.google.com/p/chromium/issues/detail?id=10012

Here is a better look at the top of the stack as reported by purify:

[E] IPR: Invalid pointer read in _delayLoadHelper2 {1 occurrence}
         Reading 4 bytes from 0x80400075 (4 bytes at 0x80400075 illegal)
         Address 0x80400075 points into invalid memory
         Thread ID: 0x1404
         Error location
             _delayLoadHelper2 [f:\sp\vctools\delayimp\delayhlp.cpp:279]
                     dli.dlp.fImportByName  
= !IMAGE_SNAP_BY_ORDINAL(pitd->u1.Ordinal);

                     if (dli.dlp.fImportByName) {
              =>         dli.dlp.szProcName =
LPCSTR(PFromRva<PIMAGE_IMPORT_BY_NAME>(RVA(UINT_PTR(pitd->u1.AddressOfData)))->Name);
                         }
                     else {
                         dli.dlp.dwOrdinal =  
DWORD(IMAGE_ORDINAL(pitd->u1.Ordinal));
             _tailMerge_WS2_32_dll  
[E:\code\v0\src\chrome\Debug\test_shell_tests.exe]
             ?A0xd4bd6c4c::WinsockInitSingleton::WinsockInitSingleton(void)
[e:\code\v0\src\net\base\winsock_init.cc:18]
                   WinsockInitSingleton() : did_init_(false) {
                     WORD winsock_ver = MAKEWORD(2,2);
                     WSAData wsa_data = {0};
              =>     did_init_ = (WSAStartup(winsock_ver, &wsa_data) == 0);

                     // The first time WSAGetLastError is called, the delay  
load
helper will
                     // resolve the address with GetProcAddress and fixup  
the import.
If a third
              
DefaultSingletonTraits<WinsockInitSingleton::?A0xd4bd6c4c>::New(void)
[e:\code\v0\src\base\singleton.h:21]
                   static Type* New() {
                     // The parenthesis is very important here; it forces  
POD type
                     // initialization.
              =>     return new Type();
                   }

                   // Destroys the object.
             Singleton<WinsockInitSingleton::?
A0xd4bd6c4c,DefaultSingletonTraits<WinsockInitSingleton::?
A0xd4bd6c4c>,WinsockInitSingleton::?A0xd4bd6c4c>::get(void)

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---

Reply via email to