From Fedora Project Wiki

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 33: Line 33:
  
 
=== '''Installation''' ===
 
=== '''Installation''' ===
 +
REPO DOESN'T WORK, PLEASE USE THESE [http://koji.fedoraproject.org/koji/taskinfo?taskID=1178657 RPMS] FOR F11 OR
 +
THESE [http://koji.fedoraproject.org/koji/taskinfo?taskID=1178867 RPMS] FOR F10
  
# A yum repo is available to provide easy access to koji builds for [http://koji.fedoraproject.org/koji/taskinfo?taskID=1213313 F11] and [http://koji.fedoraproject.org/koji/taskinfo?taskID=1213321 F10]. Run the following command to create the repo config file for crash-catcher:
+
# Create a yum repo for crash-handler. For example, to create a repo called ''/etc/yum.repos.d/crash-handler.repo'', type:
 
<pre>
 
<pre>
# cat <<EOF>>/etc/yum.repos.d/crash-catcher.repo
+
# cat <<EOF>>/etc/yum.repos.d/crash-handler.repo
[crash-catcher]
+
[crash-handler]
name=crash-catcher
+
name=crash-handler
baseurl=http://jlaska.fedorapeople.org/repos/crash-catcher/\$releasever/\$basearch/
+
baseurl=http://jmoskovc.fedorapeople.org/crashcatcher/
gpgcheck=0
 
 
EOF
 
EOF
 
</pre>
 
</pre>
# Next, install the crash-catcher packages: <pre># yum install crash-catcher\*</pre>
+
# Install the crash-catcher packages: <pre># yum install crash-catcher*</pre>
# Disable bug-buddy: add a line <pre>GNOME_DISABLE_CRASH_DIALOG=1</pre> to ~/.bashrc
+
# Restart the computer to launch the daemon and load the necessary dbus configuration files
# Then restart the computer to launch the daemon and load the necessary dbus configuration files
+
# check if the daemon is really running, if not for some reason, run ''crash-catcher''
# Check if the daemon is really running, if not for some reason, run ''crash-catcher''
+
# run ''cc-applet'' (as an ordinary user)
# Run ''cc-applet'' (as an ordinary user)
 
  
 
=== Configuration ===
 
=== Configuration ===
Line 61: Line 61:
 
* Plugins conf files are in /etc/crash-catcher/plugins/*
 
* Plugins conf files are in /etc/crash-catcher/plugins/*
 
   * description of options is in these files.
 
   * description of options is in these files.
* known working config file /etc/crash-catcher/crash-catcher.conf
 
    # test conf file. it will be generated in the future
 
    # Enable GPG check
 
    EnableOpenGPG = no
 
    # GPG keys
 
    OpenGPGPublicKeys = /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
 
    # blacklisted packages
 
    BlackList = bash, bind, apache2
 
    # enabled plugins
 
    EnabledPlugins = SQLite3, CCpp, Mailx, Logger
 
    # selected DB plugin
 
    Database = SQLite3
 
    # reporters association
 
    CCpp = Mailx, Logger
 
  
 
=== Known issues ===
 
=== Known issues ===
Consult list of [https://fedorahosted.org/crash-catcher/report/1 active tickets] before reporting an issue.  The most common issues are listed below:
+
* if you want to report same crash twice, you have to remove CC's DB (default path /tmp/CCDB) and make a crash again
* '''Report multiple crashes''' - if you want to report same crash twice, you have to remove CC's DB (default path /var/cache/crash-catcher/crash-catcher-db) and make a crash again
+
* if reporting causes an installation of many debuginfos, then a dbus timeout may occur. In that case, try to report crash again after debuginfos are installed.
* '''dbus timeout''' - if reporting causes an installation of many debuginfos, then a dbus timeout may occur. In that case, try to report crash again after debuginfos are installed.
+
* if crash-catcher daemon unexpectedly crashs, then look for .lock files in /var/cache/crash-catcher/ and delete them. They may cause a deadlock.
* '''crash-catcher daemon crash''' - if crash-catcher daemon unexpectedly crashs, then look for .lock files in /var/cache/crash-catcher/ and delete them. They may cause a deadlock.
+
* if it seems to do nothing, try to disable PGP checking and restart daemon
* '''Nothing happened?''' - if it seems to do nothing, try to disable PGP checking and restart daemon
+
* gui writes some gtk warnings
* '''Graphical warnings''' - gui writes some gtk warnings
+
* report editing from gui doesn't work  
* '''Report editing''' - report editing from gui doesn't work  
+
* it needs rpm >= 4.6.0-1 (rc3 segfaults)
* '''rpm %requires''' - it needs rpm >= 4.6.0-1 (rc3 segfaults)
 
  
 
=== Test ===
 
=== Test ===
  
Available tests include:
+
Follow the [[QA:Testcase_crashcatcher|test case]].
* [[QA:Testcase_crashcatcher]] - default crash report
 
* [[QA:Testcase_crashcatcher_Logger]] - Logger plugin
 
* [[QA:Testcase_crashcatcher_Mailx]] - Mailx plugin
 
  
 
=== Results ===
 
=== Results ===
Line 118: Line 100:
 
| Can't install the packages (bad %requires)
 
| Can't install the packages (bad %requires)
 
|-
 
|-
|-
 
| [[User:koca|Martin Koci]]
 
| [http://www.smolts.org/show?uuid=pub_b4d40bce-52a4-467e-87bd-ad1094fab20e HW]
 
| style="color:white; background:red;" | Vim - Deadlock while creating the Lock
 
| https://fedorahosted.org/crash-catcher/ticket/4
 
| Can't catch the segmentation fault of the vim
 
|-
 
|-
 
| [[User:koca|Martin Koci]]
 
| [http://www.smolts.org/show?uuid=pub_b4d40bce-52a4-467e-87bd-ad1094fab20e HW]
 
| | All
 
| https://fedorahosted.org/crash-catcher/ticket/10
 
| SELinux is preventing mailx (sendmail_t) "read" to ./binary_data1 (var_t).
 
|-
 
|-
 
| [[User:rbiba|Radek Biba]]
 
| [-]
 
| style="color:white; background:red;" | crash-catcher
 
| https://fedorahosted.org/crash-catcher/ticket/5
 
| The temporary file /tmp/CCDB is a security hole
 
|-
 
|-
 
| [[User:rbiba|Radek Biba]]
 
| [-]
 
|  | cc-gui
 
| https://fedorahosted.org/crash-catcher/ticket/17
 
| The "Cancel" button works as the "Apply" button :)
 
|-
 
|-
 
| [[User:rbiba|Radek Biba]]
 
| [-]
 
|  | crash-catcher
 
| https://fedorahosted.org/crash-catcher/ticket/22
 
| Inappropriate mime type in reported e-mail
 
|-
 
|-
 
| [[User:rbiba|Radek Biba]]
 
| [-]
 
|  | cc-gui
 
| https://fedorahosted.org/crash-catcher/ticket/23
 
| [RFE] Display the latest crash in the list by default
 
|-
 
|-
 
| [[User:michich|Michal Schmidt]]
 
| [-]
 
| style="color:white; background:red;" | mc
 
| https://fedorahosted.org/crash-catcher/ticket/6
 
| "Unable to get report! Debuginfo missing?"
 
|-
 
| [[User:psklenar|Petr Sklenar]]
 
| [http://www.smolts.org/client/show/pub_527e6a5b-d71d-41f7-93b3-6b3e06d66c09 HW]
 
| style="color:white; background:red;" | all
 
| https://fedorahosted.org/crash-catcher/ticket/15
 
| "crash-catcher-5 dead but subsys locked"
 
|-
 
| [[User:psklenar|Petr Sklenar]]
 
| [http://www.smolts.org/client/show/pub_527e6a5b-d71d-41f7-93b3-6b3e06d66c09 HW]
 
| style="color:white; background:red;" | apps with suid=0
 
| https://fedorahosted.org/crash-catcher/ticket/25
 
| "apps run under root is not reported"
 
|-
 
| [[User:dkovalsk|David Kovalsky]]
 
| [http://www.smolts.org/client/show/pub_52b0be34-8d44-4435-98d2-32a1953f6f7e HW]
 
| style="color:white; background:red;" | Package install
 
| https://fedorahosted.org/crash-catcher/ticket/20
 
| cc-applet doesn't start
 
|-
 
| [[User:jscotka|Jan Scotka]]
 
| [-]
 
| style="color:white; background:red;" | cc-applet, HWproblem?
 
| https://fedorahosted.org/crash-catcher/ticket/26
 
| cc-applet doesn't start, and cc waiting for lock
 
|-
 
 
 
|}
 
|}
 
[[Category:Fedora 11 Test Days]]
 

Please note that all contributions to Fedora Project Wiki are considered to be released under the Attribution-Share Alike 4.0 International (see Fedora Project Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please solve the following task below and enter the answer in the box (more info):

Cancel Editing help (opens in new window)

Templates used on this page: