Handle null modules correctly.
Use libunwind.
Test realloc too.
Get the first frame of the stack trace right.