AnsweredAssumed Answered

clGetPlatformIDs block?

Question asked by daoyuan on Jan 10, 2014
Latest reply on Feb 18, 2014 by developer


Has anyone come across the clGetPlatformIDs interface blocking problem?  When i use clGetPlatformIDs api, it did not return. The call stack info as follows.

Anybody know why clGetPlatformIDs is blocked, and how to solve. Thanks.


#0  0x0000003b5caddf88 in poll () from /lib64/

#1  0x0000003b5fa0885a in ?? () from /usr/lib64/

#2  0x0000003b5fa0a20c in xcb_wait_for_reply () from /usr/lib64/

#3  0x0000003b5f24d5f3 in _XReply () from /usr/lib64/

#4  0x00007ffff5cecb05 in XF86DriScreen::driGetGlxStringFromServer(int, unsigned int, unsigned int, unsigned int) () from /usr/lib64/

#5  0x00007ffff5cecd57 in XF86DriScreen::BuildConfigDB() () from /usr/lib64/

#6  0x00007ffff5ced54a in XF86DriScreen::XF86DriScreen(_XDisplay const*, int) () from /usr/lib64/

#7  0x00007ffff5abfd23 in DrmAdaptor::DrmAdaptor(void const*, ATIAsicIDEnum*, char*, IOCapsRec*) () from /usr/lib64/

#8  0x00007ffff5cee255 in XF86DrmAdaptor::XF86DrmAdaptor(void const*, ATIAsicIDEnum*, char*, IOCapsRec*) () from /usr/lib64/

#9  0x00007ffff5cca82f in lnxioGlxAdp::init(ATIAsicIDEnum*, IOAsicInfoRec*, IOCapsRec*) () from /usr/lib64/ 

#10 0x00007ffff5cc1a56 in lnxioAdp::open(ATIAsicIDEnum*, IOAsicInfoRec*, IOCapsRec*, bool) () from /usr/lib64/

#11 0x00007ffff5ccdf14 in subioOpen(void const*, unsigned int, ATIAsicIDEnum*, IOAsicInfoRec*, IOCapsRec*, unsigned int*, unsigned int*, unsigned int*, bool) () from /usr/lib64/

#12 0x00007ffff5cb83f2 in ioOpen(void const*, unsigned int, IOStaticRuntimeConfig const*, IODynamicRuntimeConfig const*, IOAsicInfoRec**) () from /usr/lib64/

#13 0x00007ffff5a7a17b in gsl::gsAdaptor::createAdaptor(void const*, unsigned int, gslStaticRuntimeConfigRec const*, gslDynamicRuntimeConfigRec const*, cmPxInfo*, bool) ()

   from /usr/lib64/

#14 0x00007ffff5acb413 in CALGSLDevice::PerformAdapterInitalization_int() () from /usr/lib64/

#15 0x00007ffff5acb45f in CALGSLDevice::SetupAdapter(int&) () from /usr/lib64/

#16 0x00007ffff5acded1 in CALGSLDevice::open(unsigned int) () from /usr/lib64/

#17 0x00007ffff59f2894 in gpu::Device::create(unsigned int) () from /usr/lib64/

#18 0x00007ffff59f5792 in gpu::Device::init() () from /usr/lib64/

#19 0x00007ffff59f5a06 in DeviceLoad() () from /usr/lib64/

#20 0x00007ffff59a84c0 in amd::Device::init() () from /usr/lib64/

#21 0x00007ffff59c524e in amd::Runtime::init() () from /usr/lib64/

#22 0x00007ffff5992f03 in clIcdGetPlatformIDsKHR () from /usr/lib64/

#23 0x0000003b5d602172 in khrIcdVendorAdd () from /usr/lib64/

#24 0x0000003b5d604136 in khrIcdOsVendorsEnumerate () from /usr/lib64/

#25 0x0000003b5d603810 in clGetPlatformIDs () from /usr/lib64/

#26 0x000000000040140d in main () at