From d2be8a28ca3b0571d49d8504aef1f68b36c2b4ea Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Wed, 4 May 2016 23:03:20 +0200 Subject: [PATCH] Also ignore segfaults in paintEvent --- qutebrowser/misc/crashdialog.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qutebrowser/misc/crashdialog.py b/qutebrowser/misc/crashdialog.py index 99b086ee5..7aca52647 100644 --- a/qutebrowser/misc/crashdialog.py +++ b/qutebrowser/misc/crashdialog.py @@ -79,9 +79,10 @@ def get_fatal_crash_dialog(debug, data): debug: Whether the debug flag (--debug) was given. data: The crash log data. """ + ignored_frames = ['qt_mainloop', 'paintEvent'] errtype, frame = parse_fatal_stacktrace(data) - if errtype == 'Segmentation fault' and frame == 'qt_mainloop': + if errtype == 'Segmentation fault' and frame in ignored_frames: title = "qutebrowser was restarted after a fatal crash!" text = ("qutebrowser was restarted after a fatal crash!
" "Unfortunately, this crash occurred in Qt (the library "