Comment #2 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

It turns out disabling the test that triggered the issue just made the  
issue appear
in another test.

The stack as reported by purify:

     Error location
         _delayLoadHelper2 [f:\sp\vctools\delayimp\delayhlp.cpp:279]
         _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)
[e:\code\v0\src\base\singleton.h:129]
         net::EnsureWinsockInit(void)  
[e:\code\v0\src\net\base\winsock_init.cc:43]
         net::HostResolver::HostResolver(void)
[e:\code\v0\src\net\base\host_resolver.cc:170]

net::TestServerLauncher::WaitToStart(basic_string<char,char_traits<char>::std,allocat
or<char>::std>::std const&,int)  
[e:\code\v0\src\net\base\ssl_test_util.cc:249]
         net::TestServerLauncher::Start(enum  
net::TestServerLauncher::Protocol,class
std::basic_string<char,struct std::char_traits<char>,class  
std::allocator<char> >
const &,int,class FilePath const &,class FilePath const &,class
std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class
std::allocator<wchar_t> > const &)  
[e:\code\v0\src\net\base\ssl_test_util.cc:235]
         BaseTestServer::Start(enum net::TestServerLauncher::Protocol,class
std::basic_string<char,struct std::char_traits<char>,class  
std::allocator<char> >
const &,int,class FilePath const &,class FilePath const &,class
std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class
std::allocator<wchar_t> > const &,class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > const &,class
std::basic_string<char,struct std::char_traits<char>,class  
std::allocator<char> >
const &) [e:\code\v0\src\net\url_request\url_request_unittest.h:278]


--
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