Status: Untriaged
Owner: ----
Labels: Type-Bug Pri-2 OS-Mac Area-Misc Size-Medium

New issue 18219 by [email protected]: Memory leak in  
TabStripModelObserverBridge::TabChangedAt() in ui tests on mac
http://code.google.com/p/chromium/issues/detail?id=18219

To reproduce, try
   sh tools/valgrind/chrome_tests.sh -t ui
--gtest_filter=SessionHistoryTest.*

Valgrind complaineth

96 bytes in 1 blocks are definitely lost in loss record 5,688 of 7,525
   malloc_zone_malloc (vg_replace_malloc.c:198)
   _CFRuntimeCreateInstance
(/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation)
   CGTypeCreateInstanceWithAllocator
(/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics)
   CGTypeCreateInstance
(/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics)
   CGImageCreate
(/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics)
   _NSCreateImageRef2
(/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit)
   -[CIImage(NSAppKitAdditions) initWithBitmapImageRep:]
(/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit)
   -[ThrobberFilmstripDelegate initWithImage:]
(chrome/browser/cocoa/throbber_view.mm:69)
   +[ThrobberView filmstripThrobberViewWithFrame:image:]
(chrome/browser/cocoa/throbber_view.mm:194)
   -[TabStripController tabChangedWithContents:atIndex:loadingOnly:]
(chrome/browser/cocoa/tab_strip_controller.mm:606)
   TabStripModelObserverBridge::TabChangedAt(TabContents*, int, bool)
(chrome/browser/cocoa/tab_strip_model_observer_bridge.mm:81)
   TabStripModel::UpdateTabContentsStateAt(int, bool)
(chrome/browser/tabs/tab_strip_model.cc:202)
   Browser::ScheduleUIUpdate(TabContents const*, unsigned int)
(chrome/browser/browser.cc:2306)
   Browser::NavigationStateChanged(TabContents const*, unsigned int)
(chrome/browser/browser.cc:1739)
   TabContents::NotifyNavigationStateChanged(unsigned int)
(chrome/browser/tab_contents/tab_contents.cc:597)
   TabContents::SetIsLoading(bool, LoadNotificationDetails*)
(chrome/browser/tab_contents/tab_contents.cc:1087)
   TabContents::DidStartLoading(RenderViewHost*)
(chrome/browser/tab_contents/tab_contents.cc:1956)
   RenderViewHost::Navigate(ViewMsg_Navigate_Params const&)
(chrome/browser/renderer_host/render_view_host.cc:272)
   TabContents::NavigateToPendingEntry(bool)
(chrome/browser/tab_contents/tab_contents.cc:678)
   NavigationController::NavigateToPendingEntry(bool)
(chrome/browser/tab_contents/navigation_controller.cc:926)
   NavigationController::GoForward()
(chrome/browser/tab_contents/navigation_controller.cc:293)
   Browser::GoForward(WindowOpenDisposition) (chrome/browser/browser.cc:721)


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