Memory Leak in +[NSThemeFrame initialize]

Originator:dmaclach
Number:rdar://9782489 Date Originated:July 15, 2011
Status:Open Resolved:
Product:Mac OS X Product Version:10.6
Classification:Serious Bug Reproducible:Always
 
Summary:
We're seeing a memory leak running valgrind on Chromium

24 bytes in 1 blocks are definitely lost in loss record 6,181 of 14,983
  malloc (m_replacemalloc/vg_replace_malloc.c:236)
  CGSMapShmem
  CGSResolveShmemReference
  CGSScoreboard
  initCGDisplayState
  initCGDisplayMappings
  cgsInit
  pthread_once
  CGSInitialize
  CGSServerOperationState
  +[NSThemeFrame initialize]
  _class_initialize
  _class_initialize
  _class_lookupMethodAndLoadCache
  objc_msgSend
  call_load_methods
  load_images
  dyld::notifySingle(dyld_image_states, mach_header const*, char const*, long)
  ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int)
  ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int)
  ImageLoader::runInitializers(ImageLoader::LinkContext const&)
  dyld::initializeMainExecutable()
  dyld::_main(mach_header const*, unsigned long, int, char const**, char const**, char const**)
  dyldbootstrap::start(mach_header const*, int, char const**, long)
  _dyld_start
  0xFFF

More information here: http://www.crbug.com/86972

Steps to Reproduce:
1) Run valgrind tests on chromium without suppressions

Expected Results:
No leaks

Actual Results:
a Leak

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!