Contents |
Corelysis is a daemon service written in Python, which extracts, processes rich core dumps from saved from MeeGo devices and finally publishes crash data in Crash Reports. Corelysis runs on back-end server and works closely with OTS service.
Corelysis has originated from Nokia, where it has been utilized for Maemo related QA work. Later on Corelysis has been developed for MeeGo N900 DeveloperEdition to report process crashes occured in automated test execution runs.
The idea of Corelysis is quite simple. It takes a rich core dump as an input extracts the data from it and runs it through a set of "tasks", which each manipulate the data in different way. Maybe the most relevant task is the one which generates the backtrace from plain core dump. To be able to do this, Corelysis needs a fs-type meego image with corresponding debuginfo-packages installed. To generate the backtrace, a cross-compiled GDB is executed in chrooted target.
Ubuntu
deb http://download.meego.com/live/Tools:/Testing/xUbuntu_10.04/ /
deb http://download.meego.com/live/Tools:/Testing/xUbuntu_10.10/ /
gpg --keyserver subkeys.pgp.net --recv-keys 0BC7BEC479FC1F8A gpg --export --armor 0BC7BEC479FC1F8A | sudo apt-key add -
sudo apt-get update
Fedora
cd /etc/yum.repos.d/ sudo wget http://download.meego.com/live/Tools:/Testing/Fedora13/Tools:Testing.repo
gpg --keyserver subkeys.pgp.net --recv-keys 0BC7BEC479FC1F8A gpg --export --armor 0BC7BEC479FC1F8A | sudo apt-key add -
Ubuntu
sudo apt-get install python-corelysis
Fedora
sudo yum install python-corelysis
git clone git://gitorious.org/meego-quality-assurance/corelysis.git
Ubuntu
sudo apt-get install python-setuptools python-pyinotify sp-rich-core-postproc
Fedora
sudo yum install python-setuptools python-inotify sp-rich-core-postproc
cd corelysis sudo python setup.py install
sudo /usr/bin/corelysis
In Corelysis related issues/ questions contact us in the following channels: