From 0640091eeb594f20e64f492441585bc209290d03 Mon Sep 17 00:00:00 2001 From: Gulshan Singh Date: Tue, 24 Jul 2018 17:06:43 -0700 Subject: [PATCH] Don't crash if $pc is not readable --- FTB/Signatures/CrashInfo.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/FTB/Signatures/CrashInfo.py b/FTB/Signatures/CrashInfo.py index 7841a100c..81b107370 100644 --- a/FTB/Signatures/CrashInfo.py +++ b/FTB/Signatures/CrashInfo.py @@ -948,6 +948,8 @@ def __init__(self, stdout, stderr, configuration, crashData=None): if self.crashInstruction is not None: # Remove any leading/trailing whitespaces self.crashInstruction = self.crashInstruction.strip() + if 'Error in sourced command file' in self.crashInstruction: + self.crashInstruction = None # If we have no crash address but the instruction, try to calculate the crash address if self.crashAddress is None and self.crashInstruction is not None: