From 3bd83abd00fb765313504adb83fa660a22edf41d Mon Sep 17 00:00:00 2001 From: Richard Frith-Macdonald Date: Fri, 17 Jun 2022 14:07:54 +0100 Subject: [PATCH] improve alarm message --- EcProcess.m | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/EcProcess.m b/EcProcess.m index b80f73e..7c3fdd1 100644 --- a/EcProcess.m +++ b/EcProcess.m @@ -93,10 +93,12 @@ EcLock_error_handler(id obj, SEL _cmd, BOOL stop, NSString *msg) at: nil withEventType: EcAlarmEventTypeProcessingError probableCause: EcAlarmSoftwareProgramError - specificProblem: @"thread deadlock" + specificProblem: @"Deadlock detected in this process" perceivedSeverity: EcAlarmSeverityCritical proposedRepairAction: - _(@"Generate/save a core dump and then restart the process.") + _(@"Please examine in gdb to determine the cause of the" + @" deadlock if possible, then obtain a core dump for examination;" + @" using 'kill -ABRT' for example") additionalText: [obj description]]; [EcProc alarm: a]; }