New sticky HOW TO REPORT BUGS topic needed
Posted: 04 Jun 2012, 17:19
Hi to all!
We currently have "How to report bugs" topic. But it contains lots of messages and does not have some useful information.
I propose to unlock that thread and create new clear and locked post (withoout any replays) about "how to report bugs".
For example: I know that linux users should use debug info to report crashes correctly. But I allways forgot how to do that and I need to search forum for that and read many posts. So this info should be locaten in one place.
//////////////////////////////////////////////
example of such post
/////////////////////////////////////////////
Before reporting a bug, it's usually a good idea to check the FAQ and this forum to see if anyone else has already encountered something similar.
If you are unsure whether or not something is a bug, you can always create a thread in this forum to discuss it.
If the problem indeed seems to be a genuine bug, the best way to get developer attention is to post detailed information about it in the Spring bugtracker. We have recently switched over to the Mantis bugtracker, and it can be found here(http://springrts.com/mantis/)
When reporting a crashbug always include:
1. detailed instructions on how to reproduce the bug (give as much information as you can)
2. attach infolog.txt from your spring directory to forum thread or mantis bugreport
-----------------------------------------
If your spring crashed under linux, you need to gather additional information to help developers to fix this bug.
You need to install the debug-symbols for spring "spring-dbg" (ubuntu-package) or "spring-debuginfo" (fedora package).
The debug-symbols are only useful if you use gdb (linu console debugger). So, to get a more useful stacktrace when it crashed: don't press ok on the "Spring has crashed" dialog box.
To attach gdb to the running spring, you've to first get the pid:
Code:
ps aux|grep spring
abma 2586 10.6 6.9 1058856 282028 ? Sl 13:13 10:49 /usr/lib/firefox-10.0.2/firefox http://springrts.com/phpbb/viewtopic.ph ... 8&e=516598
abma 4439 14.8 6.0 480956 245584 pts/0 S+ 14:54 0:09 spring
abma 4455 0.4 0.5 278152 20932 pts/0 S+ 14:54 0:00 zenity --title Spring crashed? --error --text Spring has crashed:?Segmentation fault (SIGSEGV).??A stacktrace has been written to:? /var/tmp/home/.spring/infolog.txt?
abma 4482 0.0 0.0 10764 872 pts/1 S+ 14:55 0:00 grep spring
here it is 4439, then attach gdb to the running process:
Code:
sudo gdb -p 4439
then with "bt" or "bt full" you get a similar (but much more useful) output like in infolog.txt. without the debug symbols, no line info is shown.
We currently have "How to report bugs" topic. But it contains lots of messages and does not have some useful information.
I propose to unlock that thread and create new clear and locked post (withoout any replays) about "how to report bugs".
For example: I know that linux users should use debug info to report crashes correctly. But I allways forgot how to do that and I need to search forum for that and read many posts. So this info should be locaten in one place.
//////////////////////////////////////////////
example of such post
/////////////////////////////////////////////
Before reporting a bug, it's usually a good idea to check the FAQ and this forum to see if anyone else has already encountered something similar.
If you are unsure whether or not something is a bug, you can always create a thread in this forum to discuss it.
If the problem indeed seems to be a genuine bug, the best way to get developer attention is to post detailed information about it in the Spring bugtracker. We have recently switched over to the Mantis bugtracker, and it can be found here(http://springrts.com/mantis/)
When reporting a crashbug always include:
1. detailed instructions on how to reproduce the bug (give as much information as you can)
2. attach infolog.txt from your spring directory to forum thread or mantis bugreport
-----------------------------------------
If your spring crashed under linux, you need to gather additional information to help developers to fix this bug.
You need to install the debug-symbols for spring "spring-dbg" (ubuntu-package) or "spring-debuginfo" (fedora package).
The debug-symbols are only useful if you use gdb (linu console debugger). So, to get a more useful stacktrace when it crashed: don't press ok on the "Spring has crashed" dialog box.
To attach gdb to the running spring, you've to first get the pid:
Code:
ps aux|grep spring
abma 2586 10.6 6.9 1058856 282028 ? Sl 13:13 10:49 /usr/lib/firefox-10.0.2/firefox http://springrts.com/phpbb/viewtopic.ph ... 8&e=516598
abma 4439 14.8 6.0 480956 245584 pts/0 S+ 14:54 0:09 spring
abma 4455 0.4 0.5 278152 20932 pts/0 S+ 14:54 0:00 zenity --title Spring crashed? --error --text Spring has crashed:?Segmentation fault (SIGSEGV).??A stacktrace has been written to:? /var/tmp/home/.spring/infolog.txt?
abma 4482 0.0 0.0 10764 872 pts/1 S+ 14:55 0:00 grep spring
here it is 4439, then attach gdb to the running process:
Code:
sudo gdb -p 4439
then with "bt" or "bt full" you get a similar (but much more useful) output like in infolog.txt. without the debug symbols, no line info is shown.