Project

General

Profile

Actions

Emulator Issues #3150

closed

Add detailed exception report

Added by 3Xistence.studio over 13 years ago. Updated over 1 year ago.

Status:
Won't fix
Priority:
Normal
Assignee:
% Done:

0%

Operating system:
N/A
Issue type:
Feature request
Milestone:
Regression:
No
Relates to usability:
Yes
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

Can be helpfull maybe add some informations inside the exception report txt file.

For example (i don't know if it's usefull for developers) dolphin can add automatically also the international code of the game or the title. The revision used, some configuration or settings which are essentials to be knowed by developers. Also the OS or some system details.

This will be, maybe, helpfull if there are new user which wants to help developers.

Just an idea.

Actions #1

Updated by BhaaL over 13 years ago

  • Status changed from New to Accepted
  • Issue type set to Feature request
  • Relates to usability set to Yes

Sounds like a good idea.

Glenn, soren: That exception handler is windows only for now - know any facilities that let us know when we crash, and write some additional info?

Actions #2

Updated by 3Xistence.studio over 13 years ago

When the exceptioninfo.txt will add automatically the code of the game/app and the most usefull info people can submit only their expection info for general code errors without write i line i think.
For most serious problem (like CTD without any expceptioninfo.txt generated...it happends some times with some games) the people will continue to compile the issues forms. I think it will give a "speedup" for ones which resolves code errors

Actions #3

Updated by 3Xistence.studio over 13 years ago

Maybe the most fast way is to create a custom folder for logs whit a subfolder with the game/app ID.
for example "Dolphin/Logs/RP06E/exceptioninfo.txt"
In this way the logs and errors will be automatically splitted and organized by the game/apps used.

Actions #4

Updated by BhaaL over 13 years ago

exceptioninfo.txt is for the whole application, not a particular game. I'd rather include game-specific info (when present) in that one, since the log will always be in the same location (less confusing for the end-user).

Actions #5

Updated by glennricster over 13 years ago

j4ck.fr0st: We could always use signal handlers, and when a segmentation fault or other such issue occurs do something. There is probably a way to write a backtrace or something. Is that what you are getting at?

Actions #6

Updated by BhaaL over 13 years ago

glenn: main question is probably the signal handler, so we get some sort of notification when we crash.
Getting a backtrace or something is optional IMO, since it wont really be of any use (no symbols for most things, especially Jit). Still, if you have a way, bring it on :)

Actions #8

Updated by sktsqrl almost 12 years ago

This looks pretty interesting; the current windows exception handling code can be improved greatly.

For example, the current stack overflow handler will itself cause a crash since it will alloc things on the stack as well, causing a fatal access violation (which then causes people to think dolphin is failing on the wrong type of exception - masking the root cause).

This is by-the-book fail:
http://msdn.microsoft.com/en-us/library/89f73td2(v=vs.110).aspx

Actions #9

Updated by JMC4789 over 1 year ago

  • Status changed from Accepted to Won't fix

This was removed long ago for not being useful. Nowadays, Dolphin uses panic alerts to alert users and developers of what's going on. Very rarely does Dolphin just suddenly die, and usually if something like that happens it's pretty easy to track down the module at fault.

See: https://github.com/dolphin-emu/dolphin/commit/78be0ab9ad3c53b6a0a3b301d5b086a089ef1db1

Actions

Also available in: Atom PDF