Summary: | OpenCL segmentation fault on AMD Radeon (Kaveri+R7) with memtestCL | ||
---|---|---|---|
Product: | Mesa | Reporter: | Senad <senad.jahic> |
Component: | Drivers/Gallium/radeonsi | Assignee: | Default DRI bug account <dri-devel> |
Status: | RESOLVED NOTOURBUG | QA Contact: | Default DRI bug account <dri-devel> |
Severity: | critical | ||
Priority: | medium | ||
Version: | git | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Bug Depends on: | |||
Bug Blocks: | 99553 |
Description
Senad
2017-08-15 14:06:16 UTC
What is the mesa/llvm version? can you post clinfo? do you use ocl-icd library? if so can you run setting OCL_ICD_VENDORS=/etc/OpenCL/vendors/mesa.icd Can you try initializing the num_gpu, num_cpu, num_accel variables? clGetDeviceIDs returns CL_DEVICE_NOT_FOUND error if there are no devices matching the requested type. This does not set num_devices output parameter to 0. Unless the variables are initialized to 0, the loop on line 135 accesses devids array out of bounds. (In reply to Senad from comment #0) > I get 100% crashes with YACMiner (crypto mining software). please report a separate bug for YACMiner This PR should fix memtestCL: https://github.com/ihaque/memtestCL/pull/9 feel free to reopen if you still see the problem. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.