DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New] Link: http://www.fltk.org/str.php?L2848 Version: 1.3-current I'm making this STR on behalf of Peeter Vois' post on fltk.general on May 8 2012, Subject: "DataReadyThread leak hunting .." He apparently was using Fl::add_fd() on OSX, and was getting a leak in Fl_Cocoa.mm's DataReady::DataReadyThread(). The leak: ==297== 222,260 bytes in 11,113 blocks are definitely lost in loss record 4,244 of 4,245 ==297== at 0x13CF47: calloc (vg_replace_malloc.c:569) ==297== by 0x5CFC7E: _class_createInstanceFromZone (in /usr/lib/libobjc.A.dylib) ==297== by 0x5CFCC4: _class_createInstance (in /usr/lib/libobjc.A.dylib) ==297== by 0x5C62C7: _objc_rootAllocWithZone (in /usr/lib/libobjc.A.dylib) ==297== by 0x25AD70: +[NSObject allocWithZone:] (in /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation) ==297== by 0x6BE88D: +[NSAutoreleasePool allocWithZone:] (in /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation) ==297== by 0x5C61BB: _objc_rootAlloc (in /usr/lib/libobjc.A.dylib) ==297== by 0x73361: DataReady::DataReadyThread(void*) (in XXXXXXXXX) ==297== by 0x1BB3ED8: _pthread_start (in /usr/lib/system/libsystem_c.dylib) ==297== by 0x1BB76DD: thread_start (in /usr/lib/system/libsystem_c.dylib) ==297== ==297== LEAK SUMMARY: ==297== definitely lost: 235,225 bytes in 11,357 blocks ==297== indirectly lost: 6,440 bytes in 17 blocks ==297== possibly lost: 3,883 bytes in 39 blocks ==297== still reachable: 1,403,803 bytes in 10,153 blocks ==297== suppressed: 0 bytes in 0 blocks ==297== Reachable blocks (those to which a pointer was found) are not shown. ==297== To see them, rerun with: --leak-check=full --show-reachable=yes ==297== ==297== For counts of detected and suppressed errors, rerun with: -v ==297== Use --track-origins=yes to see where uninitialised values come from ==297== ERROR SUMMARY: 28937 errors from 55 contexts (suppressed: 722 from 39) Link: http://www.fltk.org/str.php?L2848 Version: 1.3-current _______________________________________________ fltk-bugs mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-bugs
