Embedded Linux Conference 2013 has ended

The Embedded Linux Conference (ELC) is the premier vendor-neutral technical conference for companies and developers using Linux in embedded products. This conference, now in its 9th year, has the largest collection of sessions dedicated exclusively to embedded Linux and embedded Linux developers. ELC is embedded Linux experts talking about solutions to your embedded Linux problems. ELC consists of 3 days of presentations, tutorials and Bird-of-a-Feather sessions. There are over 50 sessions to choose from, on a wide variety of topics.

Register Here

More Information

Back To Schedule
Friday, February 22 • 12:15pm - 1:05pm
Tips of Malloc and Free - Tetsuyuki Kobayashi, Kyoto Microcomputer

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!

Sometimes you may encounter segmentation fault at malloc or free. It looks a bug of malloc library, but at most case it is not. Some other part destroys heap management area. It is very hard to tell which program actually destroys the heap if the process is very large and uses so many libraries and threads.
In this session I will show you some tips to trouble shoot heap problem.
(1) tips of malloc library in glibc
(2) how to hook and replace malloc
(3) use mspace in dlmalloc to separete memory space

Expected audience is developers who writes code in C/C++ language and want to solve problems related heap memory.

avatar for Tetsuyuki Kobayashi

Tetsuyuki Kobayashi

Kyoto Microcomputer
Tetsuyuki Kobayashi is 20+ years experienced engineer working on embedded system development. Now he belongs Kyoto Microcomputer, which is Japanese development tool vendor. He is working in gcc, linux, QEMU, Android and so on. Especially, he studies Android source code since it released... Read More →

Friday February 22, 2013 12:15pm - 1:05pm PST
Cyril Magnin III Parc 55 Wyndham Hotel 55 Cyril Magnin Street, San Francisco, CA 94102

Attendees (0)