Status: Untriaged Owner: ---- Labels: Type-Bug Pri-2 OS-Linux Area-BrowserBackend Size-Medium Valgrind
New issue 20616 by [email protected]: Memory leak in SafeBrowsingService::OnDBInitialize() http://code.google.com/p/chromium/issues/detail?id=20616 This is the most common unsuppressed valgrind warning in the linux ui tests on my main workstation at the moment (though not on other boxes). Happens in e.g. ChromeMainTest.SecondLaunch 2,827 (216 direct, 2,611 indirect) bytes in 1 blocks are definitely lost in loss record 10,010 of 10,114 operator new(unsigned int) (.../vg_replace_malloc.c:214) SafeBrowsingDatabase::Create() (chrome/browser/safe_browsing/safe_browsing_database.cc:22) SafeBrowsingService::GetDatabase() (chrome/browser/safe_browsing/safe_browsing_service.cc:374) SafeBrowsingService::OnDBInitialize() (chrome/browser/safe_browsing/safe_browsing_service.cc:117) and the related leak 91 bytes in 1 blocks are definitely lost in loss record 8,925 of 10,114 operator new(unsigned int) (.../vg_replace_malloc.c:214) std::basic_string<...>::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (/usr/lib32/libstdc++.so.6.0.9) std::basic_string<...>::_Rep::_M_clone(std::allocator<char> const&, unsigned int) (/usr/lib32/libstdc++.so.6.0.9) std::basic_string<...>::reserve(unsigned int) (/usr/lib32/libstdc++.so.6.0.9) std::basic_string<...>::append(unsigned int, char) (/usr/lib32/libstdc++.so.6.0.9) FilePath::Append(std::basic_string<...> const&) const (base/file_path.cc:387) SafeBrowsingService::GetDatabase() (chrome/browser/safe_browsing/safe_browsing_service.cc:371) SafeBrowsingService::OnDBInitialize() (chrome/browser/safe_browsing/safe_browsing_service.cc:117) -- 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 -~----------~----~----~----~------~----~------~--~---
