Also ignore segfaults in paintEvent

This commit is contained in:
Florian Bruhin 2016-05-04 23:03:20 +02:00
parent 2d0604ec08
commit d2be8a28ca

View File

@ -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 = ("<b>qutebrowser was restarted after a fatal crash!</b><br/>"
"Unfortunately, this crash occurred in Qt (the library "