[Bug 102233] OpenCL segmentation fault on AMD Radeon (Kaveri+R7) with memtestCL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Bug ID 102233
Summary OpenCL segmentation fault on AMD Radeon (Kaveri+R7) with memtestCL
Product Mesa
Version git
Hardware x86-64 (AMD64)
OS Linux (All)
Status NEW
Severity critical
Priority medium
Component Drivers/Gallium/radeonsi
Assignee dri-devel@lists.freedesktop.org
Reporter senad.jahic@gmx.com
QA Contact dri-devel@lists.freedesktop.org
Blocks 99553

Hardware:
AMD A8-7600 with Radeon™ R7 Series
Sapphire R7 240 4GB
ASUS R7 240 4GB

OS: Ubuntu server 17.04 64bit (headless mode).
OpenCL Driver: Padoka


Description:
clinfo works, shows all three GPU platforms.
Sometimes I get segmentation fault using memtestCL.
I get 100% crashes with YACMiner (crypto mining software).


I've traced memtestCL down to this line:
https://github.com/ihaque/memtestCL/blob/607499a54dcac9b846fcc827dc5980d8e5f66cec/memtestCL_cli.cpp#L126

On repeating runs, clGetDeviceIDs sometimes returns 0 for num_cpu and sometimes
1.
If it returns 1, clGetDeviceInfo later crashes when called with device id that
does not exist.

If I hardcode "num_devices=3" at offending line, I can run memtestCL on all
three devices successfully without faults.


Referenced Bugs:


You are receiving this mail because:
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux