- ==495== 5,081,600 bytes in 1 blocks are still reachable in loss record 8,735 of 8,735
- ==495== at 0x2C724C5: malloc (vg_replace_malloc.c:266)
- ==495== by 0x2CDA7D0: SDL_SoftStretch (in /Users/cd/Wesnoth-1.9_svn/projectfiles/Xcode/build/Debug/Wesnoth.app/Contents/Frameworks/SDL.framework/Versions/A/SDL)
- ==495== by 0x2CCDFCE: SDL_SetVideoMode (in /Users/cd/Wesnoth-1.9_svn/projectfiles/Xcode/build/Debug/Wesnoth.app/Contents/Frameworks/SDL.framework/Versions/A/SDL)
- ==495== by 0x4DBCB: CVideo::setMode(int, int, int, int) (in ./wesnoth)
- ==495== by 0xE5944F: game_controller_abstract::init_video() (in ./wesnoth)
- ==495== by 0x5BACC7: do_gameloop(int, char**) (in ./wesnoth)
- ==495== by 0x5BA120: SDL_main (in ./wesnoth)
- ==495== by 0x3385: -[SDLMain applicationDidFinishLaunching:] (in ./wesnoth)
- ==495== by 0x37F4F48: __-[NSNotificationCenter addObserver:selector:name:object:]_block_invoke_1 (in /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation)
- ==495== by 0x3563FF2: ___CFXNotificationPost_block_invoke_1 (in /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation)
- ==495== by 0x352ED77: _CFXNotificationPost (in /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation)
- ==495== by 0x37E0135: -[NSNotificationCenter postNotificationName:object:userInfo:] (in /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation)
- ==495==
- ==495== LEAK SUMMARY:
- ==495== definitely lost: 228 bytes in 7 blocks
- ==495== indirectly lost: 0 bytes in 0 blocks
- ==495== possibly lost: 3,303,229 bytes in 90,097 blocks
- ==495== still reachable: 11,866,531 bytes in 133,084 blocks
- ==495== suppressed: 0 bytes in 0 blocks
- ==495==
- ==495== Use --track-origins=yes to see where uninitialised values come from
- ==495== ERROR SUMMARY: 711007 errors from 1159 contexts (suppressed: 553324 from 87)
- ==495==
- ==495== 1 errors in context 1 of 1159:
- ==495== Invalid read of size 4
- ==495== at 0x332CF20: std::string::_Rep::_M_dispose(std::allocator<char> const&) (in /usr/lib/libstdc++.6.0.9.dylib)
- ==495== by 0x332DBAA: std::string::assign(std::string const&) (in /usr/lib/libstdc++.6.0.9.dylib)
- ==495== by 0x85518F: gui2::twidget::set_id(std::string const&) (in ./wesnoth)
- ==495== by 0xBAA7A9: gui2::(anonymous namespace)::swap_grid(gui2::tgrid*, gui2::tgrid*, gui2::twidget*, std::string const&) (in ./wesnoth)
- ==495== by 0xBAA62F: gui2::tmulti_page::finalize(std::vector<std::map<std::string, t_string, std::less<std::string>, std::allocator<std::pair<std::string const, t_string> > >, std::allocator<std::map<std::string, t_string, std::less<std::string>, std::allocator<std::pair<std::string const, t_string> > > > > const&) (in ./wesnoth)
- ==495== by 0xBBAA90: gui2::implementation::tbuilder_multi_page::build() const (in ./wesnoth)
- ==495== by 0xA09FBC: gui2::tbuilder_grid::build(gui2::tgrid*) const (in ./wesnoth)
- ==495== by 0x7D916A: gui2::tcontainer_::init_grid(boost::intrusive_ptr<gui2::tbuilder_grid> const&) (in ./wesnoth)
- ==495== by 0xBAEAAA: gui2::implementation::tbuilder_panel::build() const (in ./wesnoth)
- ==495== by 0xA09FBC: gui2::tbuilder_grid::build(gui2::tgrid*) const (in ./wesnoth)
- ==495== by 0x89D3E9: gui2::tgenerator<gui2::policy::minimum_selection::tnone, gui2::policy::maximum_selection::tinfinite, gui2::policy::placement::tindependent, gui2::policy::select_action::tshow>::create_item(int, boost::intrusive_ptr<gui2::tbuilder_grid const>, std::map<std::string, std::map<std::string, t_string, std::less<std::string>, std::allocator<std::pair<std::string const, t_string> > >, std::less<std::string>, std::allocator<std::pair<std::string const, std::map<std::string, t_string, std::less<std::string>, std::allocator<std::pair<std::string const, t_string> > > > > > const&, void (*)(gui2::twidget*)) (in ./wesnoth)
- ==495== by 0x89D162: gui2::tgenerator<gui2::policy::minimum_selection::tnone, gui2::policy::maximum_selection::tinfinite, gui2::policy::placement::tindependent, gui2::policy::select_action::tshow>::create_item(int, boost::intrusive_ptr<gui2::tbuilder_grid const>, std::map<std::string, t_string, std::less<std::string>, std::allocator<std::pair<std::string const, t_string> > > const&, void (*)(gui2::twidget*)) (in ./wesnoth)
- ==495== Address 0xfffffffc is not stack'd, malloc'd or (recently) free'd
- ==495==
- ==495==
- ==495== 1 errors in context 2 of 1159:
- ==495== Thread 3:
- ==495== Use of uninitialised value of size 4
- ==495== at 0x4C8C38F: aes_encrypt_xmm_no_save (in /usr/lib/system/libcommonCrypto.dylib)
- ==495==
- ==495==
- ==495== 1 errors in context 3 of 1159:
- ==495== Conditional jump or move depends on uninitialised value(s)
- ==495== at 0x4525D0F: -[NSPersistentUIManager writeWindowSnapshot:length:width:height:bytesPerRow:toFile:inDirectory:encryptingWithKey:uuid:checksum:isUserWaitingImpatientlyForThisThingToFinish:] (in /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit)
- ==495== by 0x45249AC: __-[NSPersistentUIManager _updateSnapshotForWindowNumber:forWindowID:encryptionUUID:encryptionKey:encryptionKeyGeneration:waitUntilDone:]_block_invoke_3 (in /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit)
- ==495== by 0x4CCDE10: _dispatch_call_block_and_release (in /usr/lib/system/libdispatch.dylib)
- ==495== by 0x4CCF796: _dispatch_queue_drain (in /usr/lib/system/libdispatch.dylib)
- ==495== by 0x4CCF63B: _dispatch_queue_invoke (in /usr/lib/system/libdispatch.dylib)
- ==495== by 0x4CCEE43: _dispatch_worker_thread2 (in /usr/lib/system/libdispatch.dylib)
- ==495== by 0x4D87B23: _pthread_wqthread (in /usr/lib/system/libsystem_c.dylib)
- ==495== by 0x4D896FD: start_wqthread (in /usr/lib/system/libsystem_c.dylib)
- ==495==
- ==495==
- ==495== 1 errors in context 4 of 1159:
- ==495== Thread 1:
- ==495== Conditional jump or move depends on uninitialised value(s)
- ==495== at 0x33CDC17: floorf$fenv_access_off (in /usr/lib/libSystem.B.dylib)
- ==495== by 0x6386535: CUIRenderer::CreateImage(long, CUIDescriptor const*, CGRect*, float*, unsigned short*, unsigned char*) (in /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI)
- ==495== by 0x6367241: CUIRenderer::DrawMenuBar(CUIDescriptor const*) (in /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI)
- ==495== by 0x635F281: CUIRenderer::Draw(CGRect, CGContext*, __CFDictionary const*, __CFDictionary const**) (in /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI)
- ==495== by 0x637E4C8: CUIDraw (in /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI)
- ==495== by 0x55DECFE: _HIThemeCUIDraw (in /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox)
- ==495== by 0x55E6C2A: HIThemeDrawMenuBarBackground (in /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox)
- ==495== by 0x55B0FD7: SetMenuBarBounds() (in /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox)
- ==495== by 0x559D4AB: FlushWindowObject(WindowData*, void**, unsigned char) (in /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox)
- ==495== by 0x55AD33E: _FlushWindow (in /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox)
- ==495== by 0x55AD2E9: HIWindowFlush (in /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox)
- ==495== by 0x55AD24D: MBarDraw() (in /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Vers