System Information
Blender Version
Broken: (example: 2.78.5 bbce6ce249)
Worked: (unknown)
Short description of error
Upon a crash, blender seems to write to *filename*.crash.txt like it is supposed to from creator_signals.c
but the file doesn't seem to exist.
Exact steps for others to reproduce the error
On crash, search for crash.txt
This is the code where it is supposed to write the file.
FILE *fp;
char header[512];
wmWindowManager *wm = G.main->wm.first;
char fname[FILE_MAX];
if (!G.main->name[0]) {
BLI_join_dirfile(fname, sizeof(fname), BKE_tempdir_base(), "blender.crash.txt");
}
else {
BLI_join_dirfile(fname, sizeof(fname), BKE_tempdir_base(), BLI_path_basename(G.main->name));
BLI_replace_extension(fname, sizeof(fname), ".crash.txt");
}

