Louis Feng | Out of Core

brain dump of things

  • Home
  • Blog
    • Tools
    • Algorithms
    • Design
    • Code
  • Projects
    • Shell Maps
    • Anisotropic Noise Samples
  • About
You are here: Home / Archives for GDB

Scripted Debug Using GDB To Find Memory Leak

June 29, 2011 by Louis Feng 4 Comments

I recently ran test into some hard to find memory leaks. The program only runs on Linux. The memory leaks are detected using a custom memory allocator (using an atomic counter for allocation/deallocation size). In single thread mode, the program terminated without leaking, but running in multithread mode resulted in 1.7 to 4 KB of […]

Filed Under: Blog, Code, Tools Tagged With: C++, diff, GDB, memory leak

Archives

  • February 2012
  • July 2011
  • June 2011
  • April 2011
  • March 2011

Tags

book C++ clang cocoa container diff GDB git iOS ipad iphone iterator list llvm map memory leak nib software engineering stl UITableViewController UIViewController vector vectorization view controller windows

Return to top of page

Copyright © 2026 Louis Feng | Out of Core