summaryrefslogtreecommitdiffstats
path: root/CRT.c
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2012-07-12 16:20:16 +0000
committerHisham Muhammad <hisham@gobolinux.org>2012-07-12 16:20:16 +0000
commit6c71b7ed2dc6029e969b3329b6474b30e5e08c5b (patch)
treea6939688afb9a336377f4586f410df24db3a9e66 /CRT.c
parent078b831696798d7b582149645167f2898dc79a19 (diff)
improve crash message
Diffstat (limited to 'CRT.c')
-rw-r--r--CRT.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/CRT.c b/CRT.c
index 621adfcc..880f4dd1 100644
--- a/CRT.c
+++ b/CRT.c
@@ -131,6 +131,11 @@ static void CRT_handleSIGSEGV(int sgn) {
size_t size = backtrace(backtraceArray, sizeof(backtraceArray) / sizeof(void *));
fprintf(stderr, "Backtrace: \n");
backtrace_symbols_fd(backtraceArray, size, 2);
+ fprintf(stderr, "\nAdditionally, in order to make the above backtrace useful,");
+ fprintf(stderr, "\nplease also run the following command to generate a disassembly of your binary:");
+ fprintf(stderr, "\n\n objdump -d `which htop` > ~/htop.objdump");
+ fprintf(stderr, "\n\nand then attach the file ~/htop.objdump to your bug report.");
+ fprintf(stderr, "\n\nThank you for helping to improve htop!\n\n");
#endif
#else
fprintf(stderr, "\n\nhtop " VERSION " aborting. Unsupported platform.\n");

© 2014-2024 Faster IT GmbH | imprint | privacy policy