(Expand info on corewatcher) |
|||
| Line 1: | Line 1: | ||
=Corewatcher= | =Corewatcher= | ||
| + | |||
| + | Corewatcher is a program that collects user space program crash information and then submits signature information and backtrace data to a central website for for statistical analysis and presentation to | ||
| + | distribution developers. If your system is configured to create core dumps when a program crashes, corewatcher will analyze the core dumps and report the information back to a central site. | ||
| + | |||
| + | For MeeGo development, core dumps are enabled and corewatcher runs by default (since 1.1.90). When a crash happens, it will ask you if you wish to submit the information to MeeGo (http://crashdb.meego.com). You can also visit that site to see what the hot items currently are. | ||
| + | |||
| + | ==Configuring== | ||
| + | |||
| + | The configuration file is /etc/corewatcher.conf. That file is very well documented, so refer to it for further information. It is highly recommended that you edit this file to change 'allow-submit' from 'ask' to 'yes'. (It's near the top) | ||
| + | |||
| + | <pre>allow-submit = yes</pre> | ||
| + | |||
| + | The reason is that the 'ask' isn't always working, in which case the core dumps and corewatcher will fill up your hard drive with the data in /tmp. | ||
| + | |||
| + | ==Getting the Backtraces== | ||
Here are the steps of how to get the backtrace log of a crashed program on meego handset | Here are the steps of how to get the backtrace log of a crashed program on meego handset | ||
* Find the "core" logs files under /tmp. | * Find the "core" logs files under /tmp. | ||
| Line 16: | Line 31: | ||
** Input "exit" command to stop "script", and we get the screen output in "typescript" under the current folder | ** Input "exit" command to stop "script", and we get the screen output in "typescript" under the current folder | ||
** Open "typescript", the content after "bt" command is the backtrace we need for this crash | ** Open "typescript", the content after "bt" command is the backtrace we need for this crash | ||
| + | |||
| + | ==Troubleshooting== | ||
| + | |||
| + | '''''Corewatcher is filling up my hard drive''''' — For some reason your dumps are not being submitted to the MeeGo server, and therefore they are being retained in your /tmp folder. The easiest solution (after `rm -rf /tmp/core*`) is to change 'allow-submit' from 'ask' to 'yes' (see [[#Configuring]]). | ||
Contents |
Corewatcher is a program that collects user space program crash information and then submits signature information and backtrace data to a central website for for statistical analysis and presentation to distribution developers. If your system is configured to create core dumps when a program crashes, corewatcher will analyze the core dumps and report the information back to a central site.
For MeeGo development, core dumps are enabled and corewatcher runs by default (since 1.1.90). When a crash happens, it will ask you if you wish to submit the information to MeeGo (http://crashdb.meego.com). You can also visit that site to see what the hot items currently are.
The configuration file is /etc/corewatcher.conf. That file is very well documented, so refer to it for further information. It is highly recommended that you edit this file to change 'allow-submit' from 'ask' to 'yes'. (It's near the top)
allow-submit = yes
The reason is that the 'ask' isn't always working, in which case the core dumps and corewatcher will fill up your hard drive with the data in /tmp.
Here are the steps of how to get the backtrace log of a crashed program on meego handset
Corewatcher is filling up my hard drive — For some reason your dumps are not being submitted to the MeeGo server, and therefore they are being retained in your /tmp folder. The easiest solution (after `rm -rf /tmp/core*`) is to change 'allow-submit' from 'ask' to 'yes' (see #Configuring).