SuperTuxKart Crash Reporter

SuperTuxKart Crash Reporter

Postby SuperMat » 29 Oct 2013, 10:37

Hi all,

The server side code and the Submit-UI is already done (Submit-UI will be an dynamically generated HTML file, if the game UI crashes).

If someone wants to help, reply here.
Especially for the client side, I need help because I don't know C++!

Best regards,
SuperMAT

PS: I don't really know how to start or where I could upload the code. :think:
OS: Arch Linux/OS X Yosemite (10.10)
IRC: mt/mteufel @ freenode
SuperMat
 
Posts: 51
Joined: 20 Jan 2012, 19:19
Location: /home/mteufel

Re: SuperTuxKart Crash Reporter

Postby hiker » 09 Nov 2013, 12:05

Hi,

sorry for the long delay in answering - too busy with 0.8.1 and the GPL violations :(

SuperMat {l Wrote}:Hi all,

The server side code and the Submit-UI is already done (Submit-UI will be an dynamically generated HTML file, if the game UI crashes).

This was one of our suggested topics for GSoC. While your work is certainly very interesting, we would need someone with time to look at (portable) crash handlers.

And, the followup problem: finding a server which can store the data, but even more: handle the data. At release time we have >1000 downloads a day. If even 1% crashes, that's 10 bug reports a day. Besides the storage space (depending on size of the uploaded info of course - I think it might be only a few KB, not 100MB of core dumps ;) ) - we are just not enough people to even look at them :( That's one reason why this was never really high on our priority list :(

If someone wants to help, reply here.
Especially for the client side, I need help because I don't know C++!

Best regards,
SuperMAT

PS: I don't really know how to start or where I could upload the code. :think:


I would be happy to give you a hand to get started - but admittedly, you would need to do some programming.

Cheers,
Joerg
hiker
 
Posts: 1435
Joined: 07 Dec 2009, 12:15
Location: Melbourne, Australia

Re: SuperTuxKart Crash Reporter

Postby Funto » 09 Nov 2013, 13:06

Crash dumps are big - we could also just upload call stacks.
You can start simple by just doing one platform.
For Windows, use the StackWalk64 function from the Windows API
For Linux, I made some preliminary work here: viewtopic.php?f=18&t=1451
Funto
 
Posts: 459
Joined: 09 Dec 2009, 13:47
Location: Bordeaux, France

Re: SuperTuxKart Crash Reporter

Postby SuperMat » 09 Nov 2013, 13:58

Just did some research (OS X):
1. SuperTuxKart crashes
2. OS X saves a log to ~/Library/Logs/DiagnosticReports/[PROCESSNAME]_[YEAR]-[MONTH]-[DAY]-[HOUR][MINUTE][SECOND]_[HOSTNAME].crash

But [HOSTNAME] is OS X's "LocalHostName", you can get it with
{l Code}: {l Select All Code}
scutil --get LocalHostName
and not the result of
{l Code}: {l Select All Code}
hostname
OS: Arch Linux/OS X Yosemite (10.10)
IRC: mt/mteufel @ freenode
SuperMat
 
Posts: 51
Joined: 20 Jan 2012, 19:19
Location: /home/mteufel

Re: SuperTuxKart Crash Reporter

Postby Auria » 10 Nov 2013, 03:09

OSX is usually the platform where it is easiest to get a good crash report from users, yes
Image
User avatar
Auria
STK Moderator
 
Posts: 2976
Joined: 07 Dec 2009, 03:52

Re: SuperTuxKart Crash Reporter

Postby Arthur » 10 Nov 2013, 10:47

hiker {l Wrote}:And, the followup problem: finding a server which can store the data, but even more: handle the data.

Why not use the add-ons server as usual? Otherwise, I have been considering renting a VPS for a while, so server space for that is probably the least of our problems. ;)
Hey pal, I took an oath for justice! "In happy days or tightest tights..." or something like that.
User avatar
Arthur
 
Posts: 1073
Joined: 06 Dec 2009, 00:49

Who is online

Users browsing this forum: No registered users and 1 guest