Blame 0080-ccpp-stop-reading-hs_error.log-from-tmp.patch
|
Matej Habrnal |
fa1950 |
From 1d09c7271eae9aee2fae62367c9a83b30a685c69 Mon Sep 17 00:00:00 2001
|
|
Matej Habrnal |
fa1950 |
From: Jakub Filak <jfilak@redhat.com>
|
|
Matej Habrnal |
fa1950 |
Date: Tue, 28 Apr 2015 14:00:18 +0200
|
|
Matej Habrnal |
fa1950 |
Subject: [PATCH] ccpp: stop reading hs_error.log from /tmp
|
|
Matej Habrnal |
fa1950 |
|
|
Matej Habrnal |
fa1950 |
The file might contain anything and there is no way to verify its
|
|
Matej Habrnal |
fa1950 |
contents.
|
|
Matej Habrnal |
fa1950 |
|
|
Matej Habrnal |
fa1950 |
Related: #1211835
|
|
Matej Habrnal |
fa1950 |
|
|
Matej Habrnal |
fa1950 |
Signed-off-by: Jakub Filak <jfilak@redhat.com>
|
|
Matej Habrnal |
fa1950 |
---
|
|
Matej Habrnal |
fa1950 |
src/hooks/abrt-hook-ccpp.c | 3 +++
|
|
Matej Habrnal |
fa1950 |
1 file changed, 3 insertions(+)
|
|
Matej Habrnal |
fa1950 |
|
|
Matej Habrnal |
fa1950 |
diff --git a/src/hooks/abrt-hook-ccpp.c b/src/hooks/abrt-hook-ccpp.c
|
|
Matej Habrnal |
fa1950 |
index 218abac..880daf6 100644
|
|
Matej Habrnal |
fa1950 |
--- a/src/hooks/abrt-hook-ccpp.c
|
|
Matej Habrnal |
fa1950 |
+++ b/src/hooks/abrt-hook-ccpp.c
|
|
Matej Habrnal |
fa1950 |
@@ -741,6 +741,8 @@ int main(int argc, char** argv)
|
|
Matej Habrnal |
fa1950 |
* ! No other errors should cause removal of the user core !
|
|
Matej Habrnal |
fa1950 |
*/
|
|
Matej Habrnal |
fa1950 |
|
|
Matej Habrnal |
fa1950 |
+/* Because of #1211835 and #1126850 */
|
|
Matej Habrnal |
fa1950 |
+#if 0
|
|
Matej Habrnal |
fa1950 |
/* Save JVM crash log if it exists. (JVM's coredump per se
|
|
Matej Habrnal |
fa1950 |
* is nearly useless for JVM developers)
|
|
Matej Habrnal |
fa1950 |
*/
|
|
Matej Habrnal |
fa1950 |
@@ -774,6 +776,7 @@ int main(int argc, char** argv)
|
|
Matej Habrnal |
fa1950 |
close(src_fd);
|
|
Matej Habrnal |
fa1950 |
}
|
|
Matej Habrnal |
fa1950 |
}
|
|
Matej Habrnal |
fa1950 |
+#endif
|
|
Matej Habrnal |
fa1950 |
|
|
Matej Habrnal |
fa1950 |
/* Perform crash-time unwind of the guilty thread. */
|
|
Matej Habrnal |
fa1950 |
if (tid > 0 && setting_CreateCoreBacktrace)
|
|
Matej Habrnal |
fa1950 |
--
|
|
Matej Habrnal |
fa1950 |
2.1.0
|
|
Matej Habrnal |
fa1950 |
|