Crash when printing inside function

Could you show the code in logmacros.cpp around line 99? Seems like segmentation fault.