4 |
- |
1 |
EVENT=post-create analyzer=CCpp
|
|
|
2 |
# abrt-action-generate-core-backtrace:
|
|
|
3 |
# try generating backtrace, if it fails we can still use
|
|
|
4 |
# the UUID generated by abrt-action-analyze-c:
|
|
|
5 |
#(disabled for RHEL - it needs gdb, which isn't always installed)
|
34 |
- |
6 |
abrt-action-generate-core-backtrace
|
4 |
- |
7 |
abrt-action-analyze-c &&
|
|
|
8 |
abrt-action-list-dsos -m maps -o dso_list &&
|
|
|
9 |
(
|
|
|
10 |
# Try to save relevant log lines.
|
|
|
11 |
# Can't do it as analyzer step, non-root can't read log.
|
|
|
12 |
# It's not an error if /var/log/messages isn't readable:
|
|
|
13 |
test -f /var/log/messages || exit 0
|
|
|
14 |
test -r /var/log/messages || exit 0
|
|
|
15 |
executable=`cat executable` &&
|
|
|
16 |
base_executable=${executable##*/} &&
|
|
|
17 |
log=`grep -F -e "$base_executable" /var/log/messages | tail -99` &&
|
|
|
18 |
if test -n "$log"; then
|
|
|
19 |
printf "%s\n" "$log" >var_log_messages
|
|
|
20 |
# echo "Element 'var_log_messages' saved"
|
|
|
21 |
fi
|
|
|
22 |
)
|
|
|
23 |
|
|
|
24 |
EVENT=collect_xsession_errors analyzer=CCpp dso_list~=.*/libX11.*
|
|
|
25 |
test -f ~/.xsession-errors || { echo "No ~/.xsession-errors"; exit 1; }
|
|
|
26 |
test -r ~/.xsession-errors || { echo "Can't read ~/.xsession-errors"; exit 1; }
|
|
|
27 |
executable=`cat executable` &&
|
|
|
28 |
base_executable=${executable##*/} &&
|
|
|
29 |
grep -F -e "$base_executable" ~/.xsession-errors | tail -999 >xsession_errors &&
|
|
|
30 |
echo "Element 'xsession_errors' saved"
|
|
|
31 |
|
|
|
32 |
# TODO: can we still specify additional directories to search for debuginfos,
|
|
|
33 |
# or was this ability lost with move to python installer?
|
|
|
34 |
EVENT=analyze_LocalGDB analyzer=CCpp
|
|
|
35 |
# debuginfo install is disabled by default on rhel
|
|
|
36 |
# if you want to enable it, just remove the --without-di
|
|
|
37 |
abrt-action-analyze-ccpp-local --without-di --without-bz --without-bodhi
|
|
|
38 |
|
34 |
- |
39 |
# Send micro report
|
58 |
- |
40 |
EVENT=report_uReport analyzer=CCpp
|
34 |
- |
41 |
/usr/libexec/abrt-action-ureport
|
4 |
- |
42 |
|
34 |
- |
43 |
# update ABRT database after successful report to bugzilla
|
|
|
44 |
#EVENT=post_report analyzer=CCpp
|
|
|
45 |
# reporter-ureport -A -B
|
|
|
46 |
|
4 |
- |
47 |
# Bugzilla requires nonempty duphash
|
|
|
48 |
#EVENT=report_Bugzilla analyzer=CCpp duphash!=
|
|
|
49 |
# abrt-dedup-client
|
|
|
50 |
# test -f component || abrt-action-save-package-data
|
|
|
51 |
# reporter-bugzilla -b -c /etc/libreport/plugins/bugzilla.conf
|