tracy icon indicating copy to clipboard operation
tracy copied to clipboard

bogus connection history means that tracy mysteriously won't boot

Open gedalia opened this issue 1 year ago • 1 comments

https://github.com/wolfpld/tracy/blob/dcc7c241329e13339e32b8091a759bcc8ae3bad7/profiler/src/ConnectionHistory.cpp#L23 I wound up with an empty connection history and tracy stopped booting up with a hard crash, and had to rebuild in debug to figure out what was going on. maybe

if( ssz > 1024 ){
  printf("Error in connection.history %s.\n", tracy::GetSavePath( "connection.history" ));
  fclose( f );
  Rebuild();
  return;
}

would be more robust.

gedalia avatar Jun 22 '23 20:06 gedalia

Should be handled by 6c6ec002.

wolfpld avatar Jun 29 '23 22:06 wolfpld