Getting segmentation fault when ocl::canny api is executed (Bug #4375)


Added by Mithun Hosangadi almost 10 years ago. Updated over 9 years ago.


Status:Cancelled Start date:2015-06-03
Priority:Normal Due date:
Assignee:Vadim Pisarevsky % Done:

0%

Category:ocl
Target version:2.4.11
Affected version:branch '2.4' (2.4-dev) Operating System:Linux
Difficulty:Medium HW Platform:x64
Pull request:

Description

Dear OpenCV,
I am getting a segmentation fault issue while using ocl::Canny() api.
GPU - Device : Quadro FX 580
OpenCV- 2.4.11
I have written a simple program which uses ocl::Canny() api, but getting the below error at the run time:
--------------------------------------------
BUILD LOG: imgproc_canny:
(0) Error: unsupported operation

OpenCV Error: Gpu API call (CL_BUILD_PROGRAM_FAILURE) in getOrBuildProgram, file /home/mithun/Desktop/opencv/opencv-2.4.11/modules/ocl/src/cl_programcache.cpp, line 445
terminate called after throwing an instance of 'cv::Exception'
what(): /home/mithun/Desktop/opencv/opencv-2.4.11/modules/ocl/src/cl_programcache.cpp:445: error: (-217) CL_BUILD_PROGRAM_FAILURE in function getOrBuildProgram

Stack dump:
Segmentation fault (core dumped)
--------------------------------------------------------------
Core dump is attached for your reference.
I also wonder whether the GPU is supported


convertC3C4_NVIDIA_CUDA_Quadro_FX_580.clb - core dump (14.7 kB) Mithun Hosangadi, 2015-06-03 11:02 am

cvt_color_NVIDIA_CUDA_Quadro_FX_580.clb - core dump (55.8 kB) Mithun Hosangadi, 2015-06-03 11:02 am

operator_setTo_NVIDIA_CUDA_Quadro_FX_580.clb - core dump (9.1 kB) Mithun Hosangadi, 2015-06-03 11:02 am

canny_ocl1.cpp - cpp file (1.6 kB) Mithun Hosangadi, 2015-06-03 11:02 am


History

Updated by Alexander Alekhin over 9 years ago

Duplicate

  • Status changed from New to Cancelled

Also available in: Atom PDF