Re: [Crash-catcher] java reports by crash catcher
by Michal Nowak
----- "Mark Wielaard" <mjw(a)redhat.com> wrote:
> Hi,
>
> It would be nice if crash-catcher could be thought about the
> hs_pid*.log
> files that a crashed java process creates. That file contains much
> more
> information that is relevant to the crash than the gdb backtrace that
> is
> currently collected. If it can see if there is a hs_pid###.log file
> (where ### is the process id of the java process that crashed) and
> attached that to the bug report it files that would be appreciated.
>
I am afraid Java exceptions are not supported at the moment (just the
python ones) and thus ABRT is not being run in such cases.
Do you have some example crash, where ABRT stepped in?
Since Java apps exception handling is completely missing, perhaps
some of you guys can help?
> Thanks,
>
> Mark
Michal
>
> _______________________________________________
> Crash-catcher mailing list
> Crash-catcher(a)lists.fedorahosted.org
> https://fedorahosted.org/mailman/listinfo/crash-catcher
13 years, 6 months
Show hostname in abrt-cli
by Karel Klic
diff --git a/src/CLI/CLI.cpp b/src/CLI/CLI.cpp
index c751bd3..0a9384d 100644
--- a/src/CLI/CLI.cpp
+++ b/src/CLI/CLI.cpp
@@ -58,6 +58,11 @@ static void print_crash(const map_crash_data_t &crash)
get_crash_data_item_content(crash,
FILENAME_EXECUTABLE).c_str(),
timeloc,
get_crash_data_item_content(crash, CD_COUNT).c_str());
+
+ /* Print the hostname if it's available. */
+ const char *hostname = get_crash_data_item_content_or_NULL(crash,
FILENAME_HOSTNAME);
+ if (hostname)
+ printf(_("\tHostname : %s\n"), hostname);
}
13 years, 10 months
Remote crash handling
by Karel Klic
Hi,
I have created two small patches that change the remote crash handling:
- process crashes as unpackaged if the package is not found
- no gpg check
- new option BacktraceRemotes = yes|no in CCpp plugin to enable/disable
backtrace generation
Please test it.
13 years, 10 months
[Crash-catcher] [PATCH] unlimited MaxCrashReportsSize
by Nikola Pajkovsky
Signed-off-by: Nikola Pajkovsky <npajkovs(a)redhat.com>
---
src/Daemon/Daemon.cpp | 25 +++++++++++++++----------
src/Daemon/abrt.conf | 2 +-
2 files changed, 16 insertions(+), 11 deletions(-)
diff --git a/src/Daemon/Daemon.cpp b/src/Daemon/Daemon.cpp
index 6c61d4d..9667238 100644
--- a/src/Daemon/Daemon.cpp
+++ b/src/Daemon/Daemon.cpp
@@ -506,17 +506,22 @@ static gboolean handle_inotify_cb(GIOChannel *gio, GIOCondition condition, gpoin
}
log("Directory '%s' creation detected", name);
- std::string worst_dir;
- while (g_settings_nMaxCrashReportsSize > 0
- && get_dirsize_find_largest_dir(DEBUG_DUMPS_DIR, &worst_dir, name) / (1024*1024) >= g_settings_nMaxCrashReportsSize
- && worst_dir != ""
- ) {
- log("Size of '%s' >= %u MB, deleting '%s'", DEBUG_DUMPS_DIR, g_settings_nMaxCrashReportsSize, worst_dir.c_str());
- g_pCommLayer->QuotaExceed(_("Report size exceeded the quota. Please check system's MaxCrashReportsSize value in abrt.conf."));
- /* deletes both directory and DB record */
- DeleteDebugDump_by_dir(concat_path_file(DEBUG_DUMPS_DIR, worst_dir.c_str()).c_str());
- worst_dir = "";
+ if (g_settings_nMaxCrashReportsSize > 0)
+ {
+ std::string worst_dir;
+ while (g_settings_nMaxCrashReportsSize > 0
+ && get_dirsize_find_largest_dir(DEBUG_DUMPS_DIR, &worst_dir, name) / (1024*1024) >= g_settings_nMaxCrashReportsSize
+ && worst_dir != ""
+ ) {
+ log("Size of '%s' >= %u MB, deleting '%s'", DEBUG_DUMPS_DIR, g_settings_nMaxCrashReportsSize, worst_dir.c_str());
+ g_pCommLayer->QuotaExceed(_("Report size exceeded the quota. Please check system's MaxCrashReportsSize value in abrt.conf."));
+ /* deletes both directory and DB record */
+ DeleteDebugDump_by_dir(concat_path_file(DEBUG_DUMPS_DIR, worst_dir.c_str()).c_str());
+ worst_dir = "";
+ }
}
+ else
+ log("MaxReportsSize is unlimited");
try
{
diff --git a/src/Daemon/abrt.conf b/src/Daemon/abrt.conf
index 6a70b82..dcbdba9 100644
--- a/src/Daemon/abrt.conf
+++ b/src/Daemon/abrt.conf
@@ -17,7 +17,7 @@ Database = SQLite3
# Note: you must ensure that whatever directory you specify here exists
# and is writable for abrtd. abrtd will not create it automatically.
#WatchCrashdumpArchiveDir = /var/spool/abrt-upload
-# Max size for crash storage [MiB]
+# Max size for crash storage [MiB] or 0 for unlimited
MaxCrashReportsSize = 1000
# Vector of actions and reporters which are activated immediately
# after a crash occurs, comma separated.
--
1.7.1
13 years, 10 months
[Crash-catcher] [PATCH] more readable abrt.conf
by Nikola Pajkovsky
Signed-off-by: Nikola Pajkovsky <npajkovs(a)redhat.com>
---
src/Daemon/abrt.conf | 33 ++++++++++++++++++++++++++-------
1 files changed, 26 insertions(+), 7 deletions(-)
diff --git a/src/Daemon/abrt.conf b/src/Daemon/abrt.conf
index 6a70b82..39f6afd 100644
--- a/src/Daemon/abrt.conf
+++ b/src/Daemon/abrt.conf
@@ -3,38 +3,57 @@
# only crashes in signed packages will be analyzed.
# the list of public keys used to check the signature is
# in the file gpg_keys
+#
OpenGPGCheck = yes
+
# Blacklisted packages
+#
BlackList = nspluginwrapper, valgrind, strace
+
# Process crashes in executables which do not belong to any package?
+#
ProcessUnpackaged = no
+
# Blacklisted executable paths (shell patterns)
+#
BlackListedPaths = /usr/share/doc/*, */example*
+
# Which database plugin to use
+#
Database = SQLite3
+
# Enable this if you want abrtd to auto-unpack crashdump tarballs which appear
# in this directory (for example, uploaded via ftp, scp etc).
# Note: you must ensure that whatever directory you specify here exists
# and is writable for abrtd. abrtd will not create it automatically.
-#WatchCrashdumpArchiveDir = /var/spool/abrt-upload
+#
+# WatchCrashdumpArchiveDir = /var/spool/abrt-upload
+
# Max size for crash storage [MiB]
+#
MaxCrashReportsSize = 1000
+
# Vector of actions and reporters which are activated immediately
# after a crash occurs, comma separated.
-#ActionsAndReporters = Mailx("[abrt] new crash was detected")
-#ActionsAndReporters = FileTransfer("store")
+#
+# ActionsAndReporters = Mailx("[abrt] new crash was detected")
+# ActionsAndReporters = FileTransfer("store")
ActionsAndReporters = RunApp("test x\"`cat component`\" = x\"xorg-x11-server-Xorg\" && cp /var/log/Xorg.0.log .")
# What actions or reporters to run on each crash type
+#
[ AnalyzerActionsAndReporters ]
Kerneloops = KerneloopsReporter
CCpp = Bugzilla, Logger
Python = Bugzilla, Logger
-#CCpp:xorg-x11-apps = RunApp("date", "date.txt")
+# CCpp:xorg-x11-apps = RunApp("date", "date.txt")
# Which Action plugins to run repeatedly
+#
[ Cron ]
-# h:m - at h:m
-# s - every s seconds
+# h:m - at h:m
+# s - every s seconds
+
120 = KerneloopsScanner
-#02:00 = FileTransfer
+
+# 02:00 = FileTransfer
--
1.7.1
13 years, 10 months
[Crash-catcher] User interface text updates
by Karel Klic
Radek Biba suggested that we should really check our strings for
mistakes, and pointed to some of the mistakes he spotted. I went through
the GUI and found some more. However, more experienced English speaker
would be better at this. We should probably engage someone to do this
for us.
Denys, you're good at English, maybe you would like to check our UI? :)
The patch with my changes is attached.
Karel
13 years, 10 months
[Crash-catcher] Fichier d'entreprise email : Dernier jour de pré vente
by Pro Active Mail
Proactive-mail V8 !
Le plus gros fichier BtoB de FranceVisitez le site
La référence en matière de fichiers BtoB
Proactive Mail V8 est le fichier emailing btob le plus important France.
Dans cette nouvelle version vous disposez de 800 000 emails d'entrerpises btob en exportation illimitée.
Proactive Mail impose ainsi sa suprématie dans la production d'email btob avec cette nouvelle version !!
L'outil ideal pour vos campagnes d'emailing
Prévente : 559,95 ht
au lieu de 799,95 ht Jusqu'au 20 juin 2010
Proactive Mail V8 :
800 000 Entreprises référencées
800 000 adresses email de dirigeants
769 000 numéros de téléphone
425 000 numéros de fax
512 000 Noms de dirigeants
Champs de recherche :
Code NAF ( nouvelle nomenclature) / Activités
Département
Région / Ville / CP
Effectif
Chiffre d'affaire
Champs exportables :
Nom dirigeant / fonction
Raison sociale
Adresse Postale Complète
Téléphone / Télécopie
Email
NAF / Activité
Proactive Mail V8 est optimisé pour vos campagnes emailing, fax mailing, phoning et courrier.
Pour passer commande ou pour plus de renseignements, contactez nous :
01.70.37.6202
du lundi au vendredi - 9h00 à 20h00
Ce courriel commercial est conforme à la législation en vigueur et aux délibérations de la CNIL des 22 et 30 mars 2005 sur la prospection par courrier électronique dans le cadre professionnel. Conformément à l'article 34 de la loi 78-17 du 6 janvier mille neuf cent soixante dix huit, relative à l'informatique, aux fichiers et aux libertés, vous disposez d'un droit d'accès, de rectification des données nominatives vous concernant.
Le présent message est en parfait respect avec la déontologie et les bonnes pratiques de la communication par marketing direct électronique. Conformément à la législation en vigueur et des différents rectificatifs légaux, vous disposez d'un plein droit d'accès, de modifications ou de suppression des données personnelles vous concernant. Vous pouvez à tout moment exercer se droit sur demande écrite ou via notre espace prévu à cet effet. Conformément à la loi Informatique et libertés, vous pouvez vous désabonner à tout moment. Pour toute autre demande n'hésitez pas à nous écrire (Afin de faciliter le traitement de votre envoi, précisez votre demande dans l'objet et le corps du message).
Pour ne plus recevoir de mail de notre part :Cliquez-ici .
Si vous souhaitez vous désabonner, recopiez cette adresse dans la barre d'adresse de votre navigateur :
http://www.communication-joker.com/u-1.1.php?param=3Rbi_1IvEkRQjb1KxE:8Zb...
13 years, 10 months