diff --git a/src/main.cpp b/src/main.cpp index 629bc9cf2..bca44c6a9 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -131,6 +131,7 @@ void sigsegvHandler(int) { signal(SIGSEGV, 0); std::cerr << "\n\n*************************************************************\n"; std::cerr << "Catching SIGSEGV, please report a bug at http://bug.qbittorrent.org\nand provide the following backtrace:\n"; + std::cerr << "qBittorrent version: " << VERSION << std::endl; print_stacktrace(); raise(SIGSEGV); } @@ -139,6 +140,7 @@ void sigabrtHandler(int) { signal(SIGSEGV, 0); std::cerr << "\n\n*************************************************************\n"; std::cerr << "Catching SIGABRT, please report a bug at http://bug.qbittorrent.org\nand provide the following backtrace:\n"; + std::cerr << "qBittorrent version: " << VERSION << std::endl; print_stacktrace(); raise(SIGABRT); }