Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.152.234 Times

LMDBG for Linux 0.17.0

Company: Aleksey Cheusov
Date Added: June 22, 2013  |  Visits: 202

LMDBG for Linux

Report Broken Link
Printer Friendly Version


Product Homepage
Download (36 downloads)



LMDBG is an application that allows detecting memory leaksand double frees. However, unlike others, LMDBG generates *FULL* stacktracesand separates logging from analysis thusallowing to analyse an application on per-module basis.<br /><br />- lmdbg-run is a main lmdbg utility. It runs an application and creates a log file (or fifo) where all called malloc/calloc/realloc/free/memalign/posix_memalign invocations are registered with their input (bytes count, pointer), output (pointer) and (!!!uniques feature!!!) FULL STACKTRACE (pointers).<br /><br />Example:<br /><br /> $ cat tests/test2.c<br /> #include<br /><br /> int main ()<br /> {<br /> void *p1 = NULL;<br /> void *p2 = NULL;<br /><br /> p1 = malloc (555);<br /> p2 = realloc (p2, 666);<br /> p2 = realloc (p2, 777);<br /> p2 = realloc (p2, 888);<br /><br /> return 0;<br /> }<br /> $ gcc -O0 -g -o _test2 tests/test2.c<br /> $ lmdbg-run -o _log ./_test2<br /> $ cat _log<br /> malloc ( 555 ) --> 0xbb901400<br /> 0xbbbe58e8<br /> 0xbbbe5b03<br /> 0x8048738<br /> 0x8048584<br /> 0x80484e7<br /> realloc ( NULL , 666 ) --> 0xbb901800<br /> 0xbbbe58e8<br /> 0xbbbe5a37<br /> 0x804874e<br /> 0x8048584<br /> 0x80484e7<br /> realloc ( 0xbb901800 , 777 ) --> 0xbb901c00<br /> 0xbbbe58e8<br /> 0xbbbe5a37<br /> 0x8048764<br /> 0x8048584<br /> 0x80484e7<br /> realloc ( 0xbb901c00 , 888 ) --> 0xbb901800<br /> 0xbbbe58e8<br /> 0xbbbe5a37<br /> 0x804877a<br /> 0x8048584<br /> 0x80484e7<br /> $<br /><br />NOTE: Full stacktrace allows you to analyse your application, i.e. you can detect what blocks/components require more memory than others and why. lmdbg-sym is a very important tool for this, see below.<br /><br />- lmdbg-leaks analyses a log file generated by lmdbg-run and output all found memory leaks<br /><br />Example:<br /><br /> $ lmdbg-leaks _log <br /> realloc ( 0xbb901c00 , 888 ) --> 0xbb901800<br /> 0xbbbe58e8<br /> 0xbbbe5a37<br /> 0x804877a<br /> 0x8048584<br /> 0x80484e7<br /> malloc ( 555 ) --> 0xbb901400<br /> 0xbbbe58e8<br /> 0xbbbe5b03<br /> 0x8048738<br /> 0x8048584<br /> 0x80484e7<br /> $<br /><br />- lmdbg-sym converts addresses to source.c:999 if it is possible<br /><br />Example (gdb(1) is in action):<br /><br /> $ lmdbg-sym ./_test2 _log<br /> malloc ( 555 ) --> 0xbb901400<br /> 0xbbbe58e8<br /> 0xbbbe5b03<br /> 0x8048738 tests/test2.c:8 main<br /> 0x8048584<br /> 0x80484e7<br /> realloc ( NULL , 666 ) --> 0xbb901800<br /> 0xbbbe58e8<br /> 0xbbbe5a37<br /> 0x804874e tests/test2.c:9 main<br /> 0x8048584<br /> 0x80484e7<br /> realloc ( 0xbb901800 , 777 ) --> 0xbb901c00<br /> 0xbbbe58e8<br /> 0xbbbe5a37<br /> 0x8048764 tests/test2.c:10 main<br /> 0x8048584<br /> 0x80484e7<br /> realloc ( 0xbb901c00 , 888 ) --> 0xbb901800<br /> 0xbbbe58e8<br /> 0xbbbe5a37<br /> 0x804877a tests/test2.c:11 main<br /> 0x8048584<br /> 0x80484e7<br /> $<br /><br />Example (addr2line(1) works here):<br /><br /> $ lmdbg-sym -a ./_test2 _log<br /> malloc ( 555 ) --> 0xbb901400<br /> 0xbbbe58e8<br /> 0xbbbe5b03<br /> 0x8048738 tests/test2.c:8<br /> 0x8048584<br /> 0x80484e7<br /> realloc ( NULL , 666 ) --> 0xbb901800<br /> 0xbbbe58e8<br /> 0xbbbe5a37<br /> 0x804874e tests/test2.c:9<br /> 0x8048584<br /> 0x80484e7<br /> realloc ( 0xbb901800 , 777 ) --> 0xbb901c00<br /> 0xbbbe58e8<br /> 0xbbbe5a37<br /> 0x8048764 tests/test2.c:10<br /> 0x8048584<br /> 0x80484e7<br /> realloc ( 0xbb901c00 , 888 ) --> 0xbb901800<br /> 0xbbbe58e8<br /> 0xbbbe5a37<br /> 0x804877a tests/test2.c:11<br /> 0x8048584<br /> 0x80484e7<br /> $<br /><br />- lmdbg-sysleaks - greps or skips system memory leaks found in libc, libdl, C++ stl etc. See tests/lmdbg*.conf files. The default config files are: ~/.lmdbg.conf and /etc/lmdbg.conf<br /><br />- lmdbg = lmdbg-run + lmdbg-leaks + lmdbg-sym + lmdbg-sysleaks<br /><br />That is lmdbg is all-in-one higher level tool.<br /><br />Example:<br /><br /> $ lmdbg -v -o _log ./_test2<br /> Memory leaks were detected and saved to file '_log'<br /> $ cat _log<br /> realloc ( 0xbb901c00 , 888 ) --> 0xbb901800<br /> 0xbbbe58e8<br /> 0xbbbe5a37<br /> 0x804877a tests/test2.c:11 main<br /> 0x8048584<br /> 0x80484e7<br /> malloc ( 555 ) --> 0xbb901400<br /> 0xbbbe58e8<br /> 0xbbbe5b03<br /> 0x8048738 tests/test2.c:8 main<br /> 0x8048584<br /> 0x80484e7<br /> $

Requirements: No special requirements
Platforms: *nix, Linux
Keyword: 0x80484e7 0x8048584 0x8048738 0x804877a Application Lmdbg Lmdbgrun Lmdbgsym Malloc Memory Realloc Test Teststest Xbb Xbbbe
Users rating: 0/10

License: Freeware Size: 51.2 KB
USER REVIEWS
More Reviews or Write Review


LMDBG FOR LINUX RELATED
Programming  -  JChav 1.1.0
JChav is a way to see the change in performance of your Web application over time by running a benchmark test for each build you produce. JChav project is an Ant task that, when used in conjunction with the JMeter ant task, produces historic views...
1.7 MB  
Specialized Tools  -  BMDFM 5.9.9 revision:10-Mar-2006
BMDFM (Binary Modular DataFlow Machine) is software, which enables running an application in parallel on shared memory symmetric multiprocessors (SMP) using the multiple processors to speed up the execution of single applications.BMDFM...
82.11 KB  
Development Editors  -  Random number generators tester 1.00
This application is a tool designed to statistically test the quality of random numbers generators by performing various statistical tests on generated random numbers series. Currently only tests with fixed series length are included. Get Random...
 
Utilities  -  aMirrorVault Performance 1. 1. 2004
aMirrorVault Performance is a 64-Bit Snow Leopard Application that performs: - Single-Threaded Sequential Read Test - Single-Threaded Random Read Test - Dual-Threaded Sequential Read Test - Eight-Threaded Random Read Test aMirrorVault Performance...
7 MB  
Programming  -  Lightweight malloc debugger 0.16.0
As most other malloc debuggers LMDBG allows detecting memory leaks and double frees. However, unlike others, LMDBG generates *FULL* stacktraces and separates logging from analysis thus allowing to analyse an application on per-module basis.
40.96 KB  
Development Editors  -  PowerEdit Pcap 1.0 Beta
PowerEdit Pcap is a small, simple, Java based application specially designed to offer you a libpcap-based protocol testing tool. This allows modification to your payload and increase/decrease/delete/add any content to any part of the pcap...
 
Programming  -  BMDFM 5.9.9
BMDFM (Binary Modular DataFlow Machine) is software, which enables running an application in parallel on shared memory symmetric multiprocessors (SMP) using the multiple processors to speed up the execution of single applications. BMDFM...
47.68 MB  
Utilities  -  Remote Monitoring Agent 1.25
Remote Monitoring Agent (RMA in short) is an auxiliary application for HostMonitor. Enterprise license for Advanced Host Monitor already includes license for 10 installations of the agent. Holders of a Lite, Standard or Professional licenses may...
90.11 KB  
Networking Tools  -  OpenPlay 2.2r2
OpenPlay is a cross-platform network abstraction layer. OpenPlay is designed to simplify the task of creating programs which communicate across multiple computers and has been used in dozens of commercial products. Includes NetSprocket API...
3.7 MB  
Benchmark Tools  -  NovaBench 1.0
Test the speed of your computer with NovaBench. NovaBench is a free computer benchmark program available for windows. NovaBench is handy software application that will allow you to easily test many aspects of your computer's speed, such as CPU...
1.43 KB  
NEW DOWNLOADS IN LINUX SOFTWARE, PROGRAMMING
Linux Software  -  EasyEDA PCB Designer for Linux 2.0.0
EasyEDA, a great web based EDA(Electronics Design Automation) tool, online PCB tool, online PCB software for electronics engineers, educators, students, makers and enthusiasts. Theres no need to install any software. Just open EasyEDA in any...
34.4 MB  
Linux Software  -  wpCache® WordPress HTTP Cache 1.9
wpCache® is a high-performance, distributed object, caching system application, generic in nature, but intended for use in speeding up dynamic web applications, by decreasing database load time. wpCache® decreases dramatically the page...
3.51 MB  
Linux Software  -  Polling Autodialer Software 3.4
ICTBroadcast Auto Dialer software has a survey campaign for telephone surveys and polls. This auto dialer software automatically dials a list of numbers and asks them a set of questions that they can respond to, by using their telephone keypad....
488 B  
Linux Software  -  Total Video Converter Mac Free 3.5.5
Total Video Converter Mac Free developed by EffectMatrix Ltd is the official legal version of Total Video Converter which was a globally recognized brand since 2006. Total Video Converter Mac Free is a free but powerful all-in-one video...
17.7 MB  
Linux Software  -  Skeith mod_log_sql Analyzer 2.10beta2
Skeith is a php based front end for analyzing logs for Apache using mod_log_sql.
47.5 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB