From 1fddbea7d6bd6fc7557aae017701e5f667b52125 Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Tue, 29 Mar 2011 16:50:23 +0000 Subject: [PATCH] Quick Updates svn path=/trunk/boinc/; revision=23291 --- client/coproc_detect.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/client/coproc_detect.cpp b/client/coproc_detect.cpp index 830fb632d9..6bc78496f0 100644 --- a/client/coproc_detect.cpp +++ b/client/coproc_detect.cpp @@ -539,8 +539,11 @@ void COPROCS::get( ati.get(use_all, descs, warnings, ignore_ati_dev); } #endif - get_opencl(use_all, warnings); - + if (setjmp(resume)) { + warnings.push_back("Caught SIGSEGV in OpenCL detection"); + } else { + get_opencl(use_all, warnings); + } signal(SIGSEGV, old_sig); #endif }