Should look something like this:
$ lldb /Applications/Safari.app/Contents/MacOS/Safari (lldb) env DYLD_INSERT_LIBRARIES=/usr/lib/libgmalloc.dylib (lldb) process launch
Should look something like this:
Assuming this is a heap buffer overflow, this should cause it to crash at the point of memory corruption, as it hits an adjacent guard page.