segfault with heap profiling.