Skip to content

"Fatal Python error: Aborted" in test_platform_creation #344

Closed
@PokhodenkoSA

Description

@PokhodenkoSA

Test:
dpctl/tests/test_sycl_platform.py::test_platform_creation[opencl:gpu-check_name]

Environment:

runner@fv-az137-563:~/work/dpctl/dpctl$ clinfo -l
Platform #0: Intel(R) OpenCL
 `-- Device #0: Intel(R) Xeon(R) CPU E5-2673 v3 @ 2.40GHz

gdb:

Thread 1 "python" received signal SIGABRT, Aborted.
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
50      ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1  0x00007ffff7a81859 in __GI_abort () at abort.c:79
#2  0x00007ffff3a3d951 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
#3  0x00007ffff3a4947c in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
#4  0x00007ffff3a494e7 in std::terminate() () from /lib/x86_64-linux-gnu/libstdc++.so.6
#5  0x00007ffff3a49799 in __cxa_throw () from /lib/x86_64-linux-gnu/libstdc++.so.6
#6  0x00007ffff5b6a26f in cl::sycl::ONEAPI::detail::filter_selector_impl::operator()(cl::sycl::device const&) const () from /opt/intel/oneapi/compiler/2021.1.1/linux/lib/libsycl.so.5
#7  0x00007ffff5c01b7a in cl::sycl::device_selector::select_device() const () from /opt/intel/oneapi/compiler/2021.1.1/linux/lib/libsycl.so.5
#8  0x00007ffff5c02f30 in cl::sycl::ONEAPI::filter_selector::select_device() const () from /opt/intel/oneapi/compiler/2021.1.1/linux/lib/libsycl.so.5
#9  0x00007ffff5c1104d in cl::sycl::platform::platform(cl::sycl::device_selector const&) () from /opt/intel/oneapi/compiler/2021.1.1/linux/lib/libsycl.so.5
#10 0x00007ffff5c7cdb7 in DPCTLPlatform_CreateFromSelector () from /home/runner/work/dpctl/dpctl/dpctl/libDPCTLSyclInterface.so
#11 0x00007ffff3055505 in __pyx_f_5dpctl_14_sycl_platform_12SyclPlatform__init_from_selector (__pyx_v_self=0x7fffdfbf54f0, __pyx_v_DSRef=<optimized out>) at dpctl/_sycl_platform.cpp:2000
#12 0x00007ffff3055207 in __pyx_f_5dpctl_14_sycl_platform_12SyclPlatform__init_from_cstring (__pyx_v_self=0x7fffdfbf54f0, __pyx_v_string=<optimized out>) at dpctl/_sycl_platform.cpp:1943
#13 0x00007ffff30588a0 in __pyx_pf_5dpctl_14_sycl_platform_12SyclPlatform_2__cinit__ (__pyx_v_arg=<optimized out>, __pyx_v_self=0x7fffdfbf54f0) at dpctl/_sycl_platform.cpp:2453
#14 __pyx_pw_5dpctl_14_sycl_platform_12SyclPlatform_3__cinit__ (__pyx_kwds=<optimized out>, __pyx_args=<optimized out>, __pyx_v_self=0x7fffdfbf54f0) at dpctl/_sycl_platform.cpp:2379
#15 __pyx_tp_new_5dpctl_14_sycl_platform_SyclPlatform (t=<optimized out>, a=<optimized out>, k=<optimized out>) at dpctl/_sycl_platform.cpp:3854
#16 0x00007ffff7d91a8a in type_call (type=type@entry=0x7ffff305e280 <__pyx_type_5dpctl_14_sycl_platform_SyclPlatform>, args=args@entry=0x7fffdfbc6390, kwds=kwds@entry=0x0) at Objects/typeobject.c:951

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtests

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions