Ticket #457 (new defect)

Opened 3 years ago

Last modified 2 years ago

Default crashlog location is bad

Reported by: Philip Owned by:
Priority: If Time Permits Milestone: Backlog
Component: Core engine Keywords:
Cc: jan

Description

By default (before it has called psSetLogDir), the game tries to write crashlog.txt into the current directory, which is typically the system directory. When the game is installed in a read-only directory, and an error occurs during the startup process, that causes obvious problems. The original error report is lost and replaced by the can't-write-crashlog.txt error report, which isn't very helpful.

On Linux, maybe it'd be best to detect any errors writing crashlog.txt and then just dump the original error to stdout instead, because people are likely to see it there. On Windows maybe it should ignore crashlog-writing-errors and just display the normal dialog box for the original error. Or something else.

Change History

comment:1 Changed 3 years ago by anonymous

  • Milestone Unclassified deleted

Milestone Unclassified deleted

comment:2 Changed 3 years ago by wacko

  • Owner set to wacko
  • Milestone set to OS Alpha 2

comment:3 Changed 3 years ago by k776

  • Milestone changed from OS Alpha 2 to OS Alpha 3

comment:4 Changed 3 years ago by k776

  • Priority changed from minor to trivial

comment:5 Changed 3 years ago by k776

  • Owner wacko deleted

comment:6 Changed 3 years ago by k776

  • Milestone changed from Alpha 3 to Alpha 4

comment:7 Changed 2 years ago by k776

  • Milestone changed from Alpha 4 to Alpha 5

comment:8 Changed 2 years ago by k776

  • Milestone changed from Alpha 5 to Backlog
Note: See TracTickets for help on using tickets.