IntelPython / dpctl

Python SYCL bindings and SYCL-based Python Array API library
https://intelpython.github.io/dpctl/
Apache License 2.0
97 stars 29 forks source link

Segmentation fault with dpctl.tensor.argsort on CPU device #1654

Closed antonwolfy closed 1 month ago

antonwolfy commented 2 months ago

The below example crashes with Segmentation fault while running on CPU device:

import dpctl.tensor as dpt
from numpy.random import default_rng

N = 4 * 10**6
rng = default_rng(42)
a = rng.random((N,))

ia = dpt.asarray(a, device='cpu')
block_size = 65536

for i in range(0, len(ia), block_size):
    tmp_ia = ia[i : i + block_size]
    sorting_index = dpt.argsort(tmp_ia)
The callstack from `gdb` output ### Backtrace ```bash (gdb) bt #0 0x00007fffac0554fc in typeinfo name for dpctl::tensor::kernels::sort_detail::merge_adjacent_blocks_from_temp_krn, dpctl::tensor::kernels::TupleComp, dpctl::tensor::py_internal::(anonymous namespace)::ExtendedRealFPLess > > () #1 0x00007fff4c34f000 in ?? () #2 0x00007fff4c34f000 in ?? () #3 0x00007fff4c34f000 in ?? () #4 0x00007fff4c34f000 in ?? () #5 0x00007fff4c34f000 in ?? () #6 0x00007fff4c34f000 in ?? () #7 0x00007fff4c34f000 in ?? () #8 0x0000000000000040 in ?? () #9 0x0000000000000800 in ?? () #10 0x0000000000000800 in ?? () #11 0x0000000000000800 in ?? () #12 0x0000000000000800 in ?? () #13 0x0000000000000800 in ?? () #14 0x0000000000000800 in ?? () #15 0x0000000000000800 in ?? () #16 0x0000000000000800 in ?? () #17 0x0000000000000440 in ?? () #18 0x0000000000000000 in ?? () ``` ### Full backtrace ```bash (gdb) thread apply all bt Thread 34 (Thread 0x7fff4cc4f700 (LWP 19771)): #0 0x00007fffac0554fc in typeinfo name for dpctl::tensor::kernels::sort_detail::merge_adjacent_blocks_from_temp_krn, dpctl::tensor::kernels::TupleComp, dpctl::tensor::py_internal::(anonymous namespace)::ExtendedRealFPLess > > () #1 0x0000000000000000 in ?? () Thread 33 (Thread 0x7fff787f1700 (LWP 19769)): #0 0x00007fffac0554fc in typeinfo name for dpctl::tensor::kernels::sort_detail::merge_adjacent_blocks_from_temp_krn, dpctl::tensor::kernels::TupleComp, dpctl::tensor::py_internal::(anonymous namespace)::ExtendedRealFPLess > > () #1 0x00007fff4c34f000 in ?? () #2 0x00007fff4c34f000 in ?? () #3 0x00007fff4c34f000 in ?? () #4 0x00007fff4c34f000 in ?? () #5 0x00007fff4c34f000 in ?? () #6 0x00007fff4c34f000 in ?? () #7 0x00007fff4c34f000 in ?? () #8 0x0000000000000040 in ?? () #9 0x0000000000000800 in ?? () #10 0x0000000000000800 in ?? () #11 0x0000000000000800 in ?? () #12 0x0000000000000800 in ?? () #13 0x0000000000000800 in ?? () #14 0x0000000000000800 in ?? () #15 0x0000000000000800 in ?? () #16 0x0000000000000800 in ?? () #17 0x0000000000000480 in ?? () #18 0x0000000000000000 in ?? () Thread 32 (Thread 0x7fff4ffff700 (LWP 19770)): #0 0x00007fffac0554fc in typeinfo name for dpctl::tensor::kernels::sort_detail::merge_adjacent_blocks_from_temp_krn, dpctl::tensor::kernels::TupleComp, dpctl::tensor::py_internal::(anonymous namespace)::ExtendedRealFPLess > > () #1 0x00007fff4ce71000 in ?? () #2 0x00007fff4ce71000 in ?? () #3 0x00007fff4ce71000 in ?? () #4 0x00007fff4ce71000 in ?? () #5 0x00007fff4ce71000 in ?? () #6 0x00007fff4ce71000 in ?? () #7 0x00007fff4ce71000 in ?? () #8 0x0000000000000040 in ?? () #9 0x0000000000000800 in ?? () #10 0x0000000000000800 in ?? () #11 0x0000000000000800 in ?? () #12 0x0000000000000800 in ?? () #13 0x0000000000000800 in ?? () #14 0x0000000000000800 in ?? () #15 0x0000000000000800 in ?? () #16 0x0000000000000800 in ?? () #17 0x0000000000000580 in ?? () #18 0x0000000000000000 in ?? () Thread 31 (Thread 0x7fff78bf2700 (LWP 19768)): #0 0x00007fffac0554fc in typeinfo name for dpctl::tensor::kernels::sort_detail::merge_adjacent_blocks_from_temp_krn, dpctl::tensor::kernels::TupleComp, dpctl::tensor::py_internal::(anonymous namespace)::ExtendedRealFPLess > > () #1 0x00007fff4c34f000 in ?? () #2 0x00007fff4c34f000 in ?? () #3 0x00007fff4c34f000 in ?? () #4 0x00007fff4c34f000 in ?? () #5 0x00007fff4c34f000 in ?? () #6 0x00007fff4c34f000 in ?? () #7 0x00007fff4c34f000 in ?? () #8 0x0000000000000040 in ?? () #9 0x0000000000000800 in ?? () #10 0x0000000000000800 in ?? () #11 0x0000000000000800 in ?? () #12 0x0000000000000800 in ?? () #13 0x0000000000000800 in ?? () #14 0x0000000000000800 in ?? () #15 0x0000000000000800 in ?? () #16 0x0000000000000800 in ?? () --Type for more, q to quit, c to continue without paging-- #17 0x0000000000000440 in ?? () #18 0x0000000000000000 in ?? () Thread 30 (Thread 0x7fff7a7f9700 (LWP 19761)): #0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38 #1 0x00007fffc895088f in _INTERNALfa0505ab::tbb::detail::r1::futex_wait (futex=, comparand=) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/semaphore.h:252 #2 tbb::detail::r1::binary_semaphore::P (this=) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/semaphore.h:253 #3 tbb::detail::r1::rml::internal::thread_monitor::wait (this=) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/rml_thread_monitor.h:235 #4 tbb::detail::r1::rml::private_worker::run (this=0x7fffebbab724) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/private_server.cpp:273 #5 0x00007fffc89505f6 in tbb::detail::r1::rml::private_worker::thread_routine (arg=0x7fffebbab724) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/private_server.cpp:221 #6 0x00007ffff7fa1609 in start_thread (arg=) at pthread_create.c:477 #7 0x00007ffff7d6c353 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 29 (Thread 0x7fff79ff7700 (LWP 19767)): #0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38 #1 0x00007fffc895088f in _INTERNALfa0505ab::tbb::detail::r1::futex_wait (futex=, comparand=) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/semaphore.h:252 #2 tbb::detail::r1::binary_semaphore::P (this=) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/semaphore.h:253 #3 tbb::detail::r1::rml::internal::thread_monitor::wait (this=) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/rml_thread_monitor.h:235 #4 tbb::detail::r1::rml::private_worker::run (this=0x7fffebbabb24) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/private_server.cpp:273 #5 0x00007fffc89505f6 in tbb::detail::r1::rml::private_worker::thread_routine (arg=0x7fffebbabb24) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/private_server.cpp:221 #6 0x00007ffff7fa1609 in start_thread (arg=) at pthread_create.c:477 #7 0x00007ffff7d6c353 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 28 (Thread 0x7fff78ff3700 (LWP 19766)): #0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38 #1 0x00007fffc895088f in _INTERNALfa0505ab::tbb::detail::r1::futex_wait (futex=, comparand=) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/semaphore.h:252 #2 tbb::detail::r1::binary_semaphore::P (this=) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/semaphore.h:253 #3 tbb::detail::r1::rml::internal::thread_monitor::wait (this=) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/rml_thread_monitor.h:235 #4 tbb::detail::r1::rml::private_worker::run (this=0x7fffebbab324) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/private_server.cpp:273 #5 0x00007fffc89505f6 in tbb::detail::r1::rml::private_worker::thread_routine (arg=0x7fffebbab324) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/private_server.cpp:221 #6 0x00007ffff7fa1609 in start_thread (arg=) at pthread_create.c:477 #7 0x00007ffff7d6c353 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 27 (Thread 0x7fff79bf6700 (LWP 19763)): #0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38 #1 0x00007fffc895088f in _INTERNALfa0505ab::tbb::detail::r1::futex_wait (futex=, comparand=) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/semaphore.h:252 #2 tbb::detail::r1::binary_semaphore::P (this=) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/semaphore.h:253 #3 tbb::detail::r1::rml::internal::thread_monitor::wait (this=) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/rml_thread_monitor.h:235 #4 tbb::detail::r1::rml::private_worker::run (this=0x7fffebbaba24) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/private_server.cpp:273 #5 0x00007fffc89505f6 in tbb::detail::r1::rml::private_worker::thread_routine (arg=0x7fffebbaba24) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/private_server.cpp:221 #6 0x00007ffff7fa1609 in start_thread (arg=) at pthread_create.c:477 #7 0x00007ffff7d6c353 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 26 (Thread 0x7fff7a3f8700 (LWP 19762)): #0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38 #1 0x00007fffc895088f in _INTERNALfa0505ab::tbb::detail::r1::futex_wait (futex=, comparand=) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/semaphore.h:252 #2 tbb::detail::r1::binary_semaphore::P (this=) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/semaphore.h:253 #3 tbb::detail::r1::rml::internal::thread_monitor::wait (this=) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/rml_thread_monitor.h:235 #4 tbb::detail::r1::rml::private_worker::run (this=0x7fffebbab824) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/private_server.cpp:273 #5 0x00007fffc89505f6 in tbb::detail::r1::rml::private_worker::thread_routine (arg=0x7fffebbab824) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/private_server.cpp:221 #6 0x00007ffff7fa1609 in start_thread (arg=) at pthread_create.c:477 #7 0x00007ffff7d6c353 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 25 (Thread 0x7fff797f5700 (LWP 19764)): #0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38 #1 0x00007fffc895088f in _INTERNALfa0505ab::tbb::detail::r1::futex_wait (futex=, comparand=) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/semaphore.h:252 #2 tbb::detail::r1::binary_semaphore::P (this=) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/semaphore.h:253 #3 tbb::detail::r1::rml::internal::thread_monitor::wait (this=) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/rml_thread_monitor.h:235 #4 tbb::detail::r1::rml::private_worker::run (this=0x7fffebbab924) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/private_server.cpp:273 #5 0x00007fffc89505f6 in tbb::detail::r1::rml::private_worker::thread_routine (arg=0x7fffebbab924) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/private_server.cpp:221 #6 0x00007ffff7fa1609 in start_thread (arg=) at pthread_create.c:477 #7 0x00007ffff7d6c353 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 24 (Thread 0x7fff793f4700 (LWP 19765)): #0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38 #1 0x00007fffc895088f in _INTERNALfa0505ab::tbb::detail::r1::futex_wait (futex=, comparand=) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/semaphore.h:252 #2 tbb::detail::r1::binary_semaphore::P (this=) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/semaphore.h:253 #3 tbb::detail::r1::rml::internal::thread_monitor::wait (this=) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/rml_thread_monitor.h:235 #4 tbb::detail::r1::rml::private_worker::run (this=0x7fffebbab3a4) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/private_server.cpp:273 --Type for more, q to quit, c to continue without paging-- #5 0x00007fffc89505f6 in tbb::detail::r1::rml::private_worker::thread_routine (arg=0x7fffebbab3a4) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/private_server.cpp:221 #6 0x00007ffff7fa1609 in start_thread (arg=) at pthread_create.c:477 #7 0x00007ffff7d6c353 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 23 (Thread 0x7fff7affb700 (LWP 19759)): #0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38 #1 0x00007fffc895088f in _INTERNALfa0505ab::tbb::detail::r1::futex_wait (futex=, comparand=) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/semaphore.h:252 #2 tbb::detail::r1::binary_semaphore::P (this=) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/semaphore.h:253 #3 tbb::detail::r1::rml::internal::thread_monitor::wait (this=) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/rml_thread_monitor.h:235 #4 tbb::detail::r1::rml::private_worker::run (this=0x7fffebbab5a4) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/private_server.cpp:273 #5 0x00007fffc89505f6 in tbb::detail::r1::rml::private_worker::thread_routine (arg=0x7fffebbab5a4) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/private_server.cpp:221 #6 0x00007ffff7fa1609 in start_thread (arg=) at pthread_create.c:477 #7 0x00007ffff7d6c353 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 22 (Thread 0x7fff7abfa700 (LWP 19760)): #0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38 #1 0x00007fffc895088f in _INTERNALfa0505ab::tbb::detail::r1::futex_wait (futex=, comparand=) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/semaphore.h:252 #2 tbb::detail::r1::binary_semaphore::P (this=) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/semaphore.h:253 #3 tbb::detail::r1::rml::internal::thread_monitor::wait (this=) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/rml_thread_monitor.h:235 #4 tbb::detail::r1::rml::private_worker::run (this=0x7fffebbab4a4) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/private_server.cpp:273 #5 0x00007fffc89505f6 in tbb::detail::r1::rml::private_worker::thread_routine (arg=0x7fffebbab4a4) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/private_server.cpp:221 #6 0x00007ffff7fa1609 in start_thread (arg=) at pthread_create.c:477 #7 0x00007ffff7d6c353 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 21 (Thread 0x7fff7bbfe700 (LWP 19756)): #0 0x00007fffac0554fc in typeinfo name for dpctl::tensor::kernels::sort_detail::merge_adjacent_blocks_from_temp_krn, dpctl::tensor::kernels::TupleComp, dpctl::tensor::py_internal::(anonymous namespace)::ExtendedRealFPLess > > () #1 0x00007fff4c34f000 in ?? () #2 0x00007fff4c34f000 in ?? () #3 0x00007fff4c34f000 in ?? () #4 0x00007fff4c34f000 in ?? () #5 0x00007fff4c34f000 in ?? () #6 0x00007fff4c34f000 in ?? () #7 0x00007fff4c34f000 in ?? () #8 0x0000000000000040 in ?? () #9 0x0000000000000800 in ?? () #10 0x0000000000000800 in ?? () #11 0x0000000000000800 in ?? () #12 0x0000000000000800 in ?? () #13 0x0000000000000800 in ?? () #14 0x0000000000000800 in ?? () #15 0x0000000000000800 in ?? () #16 0x0000000000000800 in ?? () #17 0x0000000000000400 in ?? () #18 0x0000000000000000 in ?? () Thread 20 (Thread 0x7fff8ccf6700 (LWP 19753)): #0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38 #1 0x00007fffc895088f in _INTERNALfa0505ab::tbb::detail::r1::futex_wait (futex=, comparand=) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/semaphore.h:252 #2 tbb::detail::r1::binary_semaphore::P (this=) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/semaphore.h:253 #3 tbb::detail::r1::rml::internal::thread_monitor::wait (this=) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/rml_thread_monitor.h:235 #4 tbb::detail::r1::rml::private_worker::run (this=0x7fffebbab6a4) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/private_server.cpp:273 #5 0x00007fffc89505f6 in tbb::detail::r1::rml::private_worker::thread_routine (arg=0x7fffebbab6a4) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/private_server.cpp:221 #6 0x00007ffff7fa1609 in start_thread (arg=) at pthread_create.c:477 #7 0x00007ffff7d6c353 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 19 (Thread 0x7fff7b7fd700 (LWP 19757)): #0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38 #1 0x00007fffc895088f in _INTERNALfa0505ab::tbb::detail::r1::futex_wait (futex=, comparand=) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/semaphore.h:252 #2 tbb::detail::r1::binary_semaphore::P (this=) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/semaphore.h:253 #3 tbb::detail::r1::rml::internal::thread_monitor::wait (this=) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/rml_thread_monitor.h:235 #4 tbb::detail::r1::rml::private_worker::run (this=0x7fffebbabe24) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/private_server.cpp:273 #5 0x00007fffc89505f6 in tbb::detail::r1::rml::private_worker::thread_routine (arg=0x7fffebbabe24) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/private_server.cpp:221 #6 0x00007ffff7fa1609 in start_thread (arg=) at pthread_create.c:477 #7 0x00007ffff7d6c353 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 18 (Thread 0x7fff8c8f5700 (LWP 19755)): #0 0x00007fffac0554fc in typeinfo name for dpctl::tensor::kernels::sort_detail::merge_adjacent_blocks_from_temp_krn, dpctl::tensor::kernels::TupleComp, dpctl::tensor::py_internal::(anonymous namespace)::ExtendedRealFPLess > > () --Type for more, q to quit, c to continue without paging-- #1 0x000000000000ffdd in ?? () #2 0x0000000000000020 in ?? () #3 0x0000000000000020 in ?? () #4 0x0000000000000020 in ?? () #5 0x0000000000000020 in ?? () #6 0x0000000000000020 in ?? () #7 0x0000000000000020 in ?? () #8 0x0000000000000040 in ?? () #9 0x0000000000000800 in ?? () #10 0x0000000000000800 in ?? () #11 0x0000000000000800 in ?? () #12 0x0000000000000800 in ?? () #13 0x0000000000000800 in ?? () #14 0x0000000000000800 in ?? () #15 0x0000000000000800 in ?? () #16 0x0000000000000800 in ?? () #17 0x0000000000000600 in ?? () #18 0x0000000000000000 in ?? () Thread 17 (Thread 0x7fff8d0f7700 (LWP 19752)): #0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38 #1 0x00007fffc895088f in _INTERNALfa0505ab::tbb::detail::r1::futex_wait (futex=, comparand=) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/semaphore.h:252 #2 tbb::detail::r1::binary_semaphore::P (this=) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/semaphore.h:253 #3 tbb::detail::r1::rml::internal::thread_monitor::wait (this=) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/rml_thread_monitor.h:235 #4 tbb::detail::r1::rml::private_worker::run (this=0x7fffebbabaa4) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/private_server.cpp:273 #5 0x00007fffc89505f6 in tbb::detail::r1::rml::private_worker::thread_routine (arg=0x7fffebbabaa4) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/private_server.cpp:221 #6 0x00007ffff7fa1609 in start_thread (arg=) at pthread_create.c:477 #7 0x00007ffff7d6c353 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 16 (Thread 0x7fff7b3fc700 (LWP 19758)): #0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38 #1 0x00007fffc895088f in _INTERNALfa0505ab::tbb::detail::r1::futex_wait (futex=, comparand=) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/semaphore.h:252 #2 tbb::detail::r1::binary_semaphore::P (this=) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/semaphore.h:253 #3 tbb::detail::r1::rml::internal::thread_monitor::wait (this=) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/rml_thread_monitor.h:235 #4 tbb::detail::r1::rml::private_worker::run (this=0x7fffebbab7a4) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/private_server.cpp:273 #5 0x00007fffc89505f6 in tbb::detail::r1::rml::private_worker::thread_routine (arg=0x7fffebbab7a4) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/private_server.cpp:221 #6 0x00007ffff7fa1609 in start_thread (arg=) at pthread_create.c:477 #7 0x00007ffff7d6c353 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 15 (Thread 0x7fff8c4f4700 (LWP 19754)): #0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38 #1 0x00007fffc895088f in _INTERNALfa0505ab::tbb::detail::r1::futex_wait (futex=, comparand=) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/semaphore.h:252 #2 tbb::detail::r1::binary_semaphore::P (this=) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/semaphore.h:253 #3 tbb::detail::r1::rml::internal::thread_monitor::wait (this=) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/rml_thread_monitor.h:235 #4 tbb::detail::r1::rml::private_worker::run (this=0x7fffebbab8a4) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/private_server.cpp:273 #5 0x00007fffc89505f6 in tbb::detail::r1::rml::private_worker::thread_routine (arg=0x7fffebbab8a4) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/private_server.cpp:221 #6 0x00007ffff7fa1609 in start_thread (arg=) at pthread_create.c:477 #7 0x00007ffff7d6c353 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 14 (Thread 0x7fff7bfff700 (LWP 19751)): #0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38 #1 0x00007fffc895088f in _INTERNALfa0505ab::tbb::detail::r1::futex_wait (futex=, comparand=) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/semaphore.h:252 #2 tbb::detail::r1::binary_semaphore::P (this=) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/semaphore.h:253 #3 tbb::detail::r1::rml::internal::thread_monitor::wait (this=) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/rml_thread_monitor.h:235 #4 tbb::detail::r1::rml::private_worker::run (this=0x7fffebbabd24) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/private_server.cpp:273 #5 0x00007fffc89505f6 in tbb::detail::r1::rml::private_worker::thread_routine (arg=0x7fffebbabd24) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/private_server.cpp:221 #6 0x00007ffff7fa1609 in start_thread (arg=) at pthread_create.c:477 #7 0x00007ffff7d6c353 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 13 (Thread 0x7fff8d8f9700 (LWP 19749)): #0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38 #1 0x00007fffc895088f in _INTERNALfa0505ab::tbb::detail::r1::futex_wait (futex=, comparand=) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/semaphore.h:252 #2 tbb::detail::r1::binary_semaphore::P (this=) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/semaphore.h:253 #3 tbb::detail::r1::rml::internal::thread_monitor::wait (this=) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/rml_thread_monitor.h:235 #4 tbb::detail::r1::rml::private_worker::run (this=0x7fffebbabba4) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/private_server.cpp:273 #5 0x00007fffc89505f6 in tbb::detail::r1::rml::private_worker::thread_routine (arg=0x7fffebbabba4) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/private_server.cpp:221 #6 0x00007ffff7fa1609 in start_thread (arg=) at pthread_create.c:477 #7 0x00007ffff7d6c353 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 --Type for more, q to quit, c to continue without paging-- Thread 12 (Thread 0x7fff8dcfa700 (LWP 19748)): #0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38 #1 0x00007fffc895088f in _INTERNALfa0505ab::tbb::detail::r1::futex_wait (futex=, comparand=) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/semaphore.h:252 #2 tbb::detail::r1::binary_semaphore::P (this=) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/semaphore.h:253 #3 tbb::detail::r1::rml::internal::thread_monitor::wait (this=) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/rml_thread_monitor.h:235 #4 tbb::detail::r1::rml::private_worker::run (this=0x7fffebbabda4) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/private_server.cpp:273 #5 0x00007fffc89505f6 in tbb::detail::r1::rml::private_worker::thread_routine (arg=0x7fffebbabda4) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/private_server.cpp:221 #6 0x00007ffff7fa1609 in start_thread (arg=) at pthread_create.c:477 #7 0x00007ffff7d6c353 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 11 (Thread 0x7fffac50f700 (LWP 19747)): #0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38 #1 0x00007fffc895088f in _INTERNALfa0505ab::tbb::detail::r1::futex_wait (futex=, comparand=) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/semaphore.h:252 #2 tbb::detail::r1::binary_semaphore::P (this=) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/semaphore.h:253 #3 tbb::detail::r1::rml::internal::thread_monitor::wait (this=) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/rml_thread_monitor.h:235 #4 tbb::detail::r1::rml::private_worker::run (this=0x7fffebbabea4) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/private_server.cpp:273 #5 0x00007fffc89505f6 in tbb::detail::r1::rml::private_worker::thread_routine (arg=0x7fffebbabea4) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/private_server.cpp:221 #6 0x00007ffff7fa1609 in start_thread (arg=) at pthread_create.c:477 #7 0x00007ffff7d6c353 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 10 (Thread 0x7fff8d4f8700 (LWP 19750)): #0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38 #1 0x00007fffc895088f in _INTERNALfa0505ab::tbb::detail::r1::futex_wait (futex=, comparand=) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/semaphore.h:252 #2 tbb::detail::r1::binary_semaphore::P (this=) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/semaphore.h:253 #3 tbb::detail::r1::rml::internal::thread_monitor::wait (this=) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/rml_thread_monitor.h:235 #4 tbb::detail::r1::rml::private_worker::run (this=0x7fffebbabca4) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/private_server.cpp:273 #5 0x00007fffc89505f6 in tbb::detail::r1::rml::private_worker::thread_routine (arg=0x7fffebbabca4) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/private_server.cpp:221 #6 0x00007ffff7fa1609 in start_thread (arg=) at pthread_create.c:477 #7 0x00007ffff7d6c353 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 9 (Thread 0x7fff8ffff700 (LWP 19746)): #0 futex_wait_cancelable (private=, expected=0, futex_word=0x555558481d00) at ../sysdeps/nptl/futex-internal.h:183 #1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x555558481c88, cond=0x555558481cd8) at pthread_cond_wait.c:508 #2 __pthread_cond_wait (cond=0x555558481cd8, mutex=0x555558481c88) at pthread_cond_wait.c:647 #3 0x00007ffff7515b68 in __gthread_cond_wait (__mutex=, __cond=) at /home/conda/feedstock_root/build_artifacts/gcc_compilers_1706816862910/work/build/x86_64-conda-linux-gnu/libstdc++-v3/include/x86_64-conda-linux-gnu/bits/gthr-default.h:865 #4 std::__condvar::wait (__m=, this=) at /home/conda/feedstock_root/build_artifacts/gcc_compilers_1706816862910/work/build/x86_64-conda-linux-gnu/libstdc++-v3/include/bits/std_mutex.h:171 #5 __gnu_cxx::__nothrow_wait_cv::wait (this=, lock=...) at ../../../../libstdc++-v3/src/c++11/compatibility-condvar.cc:99 #6 0x00007fffc69965ae in ?? () from /usr/lib/x86_64-linux-gnu/intel-opencl/libigdrcl.so #7 0x00007ffff7fa1609 in start_thread (arg=) at pthread_create.c:477 #8 0x00007ffff7d6c353 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 8 (Thread 0x7fffac9ab700 (LWP 19745)): #0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38 #1 0x00007fffc895088f in _INTERNALfa0505ab::tbb::detail::r1::futex_wait (futex=, comparand=) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/semaphore.h:252 #2 tbb::detail::r1::binary_semaphore::P (this=) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/semaphore.h:253 #3 tbb::detail::r1::rml::internal::thread_monitor::wait (this=) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/rml_thread_monitor.h:235 #4 tbb::detail::r1::rml::private_worker::run (this=0x7fffebbac024) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/private_server.cpp:273 #5 0x00007fffc89505f6 in tbb::detail::r1::rml::private_worker::thread_routine (arg=0x7fffebbac024) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/private_server.cpp:221 #6 0x00007ffff7fa1609 in start_thread (arg=) at pthread_create.c:477 #7 0x00007ffff7d6c353 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 7 (Thread 0x7fffacdac700 (LWP 19744)): #0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38 #1 0x00007fffc895088f in _INTERNALfa0505ab::tbb::detail::r1::futex_wait (futex=, comparand=) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/semaphore.h:252 #2 tbb::detail::r1::binary_semaphore::P (this=) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/semaphore.h:253 #3 tbb::detail::r1::rml::internal::thread_monitor::wait (this=) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/rml_thread_monitor.h:235 #4 tbb::detail::r1::rml::private_worker::run (this=0x7fffebbabfa4) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/private_server.cpp:273 #5 0x00007fffc89505f6 in tbb::detail::r1::rml::private_worker::thread_routine (arg=0x7fffebbabfa4) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/private_server.cpp:221 #6 0x00007ffff7fa1609 in start_thread (arg=) at pthread_create.c:477 #7 0x00007ffff7d6c353 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 6 (Thread 0x7fffad1ad700 (LWP 19743)): #0 0x00007fffac0554fc in typeinfo name for dpctl::tensor::kernels::sort_detail::merge_adjacent_blocks_from_temp_krn, dpctl::tensor::kernels::TupleComp, dpctl::tensor::py_internal::(anonymous namespace)::ExtendedRealFPLess > > () #1 0x00007fff4c34f000 in ?? () #2 0x00007fff4c34f000 in ?? () #3 0x00007fff4c34f000 in ?? () --Type for more, q to quit, c to continue without paging-- #4 0x00007fff4c34f000 in ?? () #5 0x00007fff4c34f000 in ?? () #6 0x00007fff4c34f000 in ?? () #7 0x00007fff4c34f000 in ?? () #8 0x0000000000000040 in ?? () #9 0x0000000000000800 in ?? () #10 0x0000000000000800 in ?? () #11 0x0000000000000800 in ?? () #12 0x0000000000000800 in ?? () #13 0x0000000000000800 in ?? () #14 0x0000000000000800 in ?? () #15 0x0000000000000800 in ?? () #16 0x0000000000000800 in ?? () #17 0x0000000000000500 in ?? () #18 0x0000000000000000 in ?? () Thread 5 (Thread 0x7fffad5ae700 (LWP 19742)): #0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38 #1 0x00007fffc895088f in _INTERNALfa0505ab::tbb::detail::r1::futex_wait (futex=, comparand=) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/semaphore.h:252 #2 tbb::detail::r1::binary_semaphore::P (this=) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/semaphore.h:253 #3 tbb::detail::r1::rml::internal::thread_monitor::wait (this=) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/rml_thread_monitor.h:235 #4 tbb::detail::r1::rml::private_worker::run (this=0x7fffebbac124) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/private_server.cpp:273 #5 0x00007fffc89505f6 in tbb::detail::r1::rml::private_worker::thread_routine (arg=0x7fffebbac124) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/private_server.cpp:221 #6 0x00007ffff7fa1609 in start_thread (arg=) at pthread_create.c:477 #7 0x00007ffff7d6c353 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 4 (Thread 0x7fffad9af700 (LWP 19741)): #0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38 #1 0x00007fffc895088f in _INTERNALfa0505ab::tbb::detail::r1::futex_wait (futex=, comparand=) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/semaphore.h:252 #2 tbb::detail::r1::binary_semaphore::P (this=) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/semaphore.h:253 #3 tbb::detail::r1::rml::internal::thread_monitor::wait (this=) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/rml_thread_monitor.h:235 #4 tbb::detail::r1::rml::private_worker::run (this=0x7fffebbac224) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/private_server.cpp:273 #5 0x00007fffc89505f6 in tbb::detail::r1::rml::private_worker::thread_routine (arg=0x7fffebbac224) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/private_server.cpp:221 #6 0x00007ffff7fa1609 in start_thread (arg=) at pthread_create.c:477 #7 0x00007ffff7d6c353 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 3 (Thread 0x7fffaddb0700 (LWP 19740)): #0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38 #1 0x00007fffc895088f in _INTERNALfa0505ab::tbb::detail::r1::futex_wait (futex=, comparand=) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/semaphore.h:252 #2 tbb::detail::r1::binary_semaphore::P (this=) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/semaphore.h:253 #3 tbb::detail::r1::rml::internal::thread_monitor::wait (this=) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/rml_thread_monitor.h:235 #4 tbb::detail::r1::rml::private_worker::run (this=0x7fffebbac0a4) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/private_server.cpp:273 #5 0x00007fffc89505f6 in tbb::detail::r1::rml::private_worker::thread_routine (arg=0x7fffebbac0a4) at /localdisk/tmp/onetbb-ci/onetbb_source_code/src/tbb/private_server.cpp:221 #6 0x00007ffff7fa1609 in start_thread (arg=) at pthread_create.c:477 #7 0x00007ffff7d6c353 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 2 (Thread 0x7fffae1b1700 (LWP 19739)): #0 0x00007fffac0554fc in typeinfo name for dpctl::tensor::kernels::sort_detail::merge_adjacent_blocks_from_temp_krn, dpctl::tensor::kernels::TupleComp, dpctl::tensor::py_internal::(anonymous namespace)::ExtendedRealFPLess > > () #1 0x00007fff4ce71000 in ?? () #2 0x00007fff4ce71000 in ?? () #3 0x00007fff4ce71000 in ?? () #4 0x00007fff4ce71000 in ?? () #5 0x00007fff4ce71000 in ?? () #6 0x00007fff4ce71000 in ?? () #7 0x00007fff4ce71000 in ?? () #8 0x0000000000000040 in ?? () #9 0x0000000000000800 in ?? () #10 0x0000000000000800 in ?? () #11 0x0000000000000800 in ?? () #12 0x0000000000000800 in ?? () #13 0x0000000000000800 in ?? () #14 0x0000000000000800 in ?? () #15 0x0000000000000800 in ?? () #16 0x0000000000000800 in ?? () #17 0x0000000000000700 in ?? () #18 0x0000000000000000 in ?? () Thread 1 (Thread 0x7ffff7c3e740 (LWP 19723)): --Type for more, q to quit, c to continue without paging-- #0 futex_wait_cancelable (private=, expected=0, futex_word=0x55555b5b66d0) at ../sysdeps/nptl/futex-internal.h:183 #1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55555b5b6680, cond=0x55555b5b66a8) at pthread_cond_wait.c:508 #2 __pthread_cond_wait (cond=0x55555b5b66a8, mutex=0x55555b5b6680) at pthread_cond_wait.c:647 #3 0x00007ffff7515b68 in __gthread_cond_wait (__mutex=, __cond=) at /home/conda/feedstock_root/build_artifacts/gcc_compilers_1706816862910/work/build/x86_64-conda-linux-gnu/libstdc++-v3/include/x86_64-conda-linux-gnu/bits/gthr-default.h:865 #4 std::__condvar::wait (__m=, this=) at /home/conda/feedstock_root/build_artifacts/gcc_compilers_1706816862910/work/build/x86_64-conda-linux-gnu/libstdc++-v3/include/bits/std_mutex.h:171 #5 __gnu_cxx::__nothrow_wait_cv::wait (this=, lock=...) at ../../../../libstdc++-v3/src/c++11/compatibility-condvar.cc:99 #6 0x00007ffff71c0c46 in sycl::_V1::detail::event_impl::waitInternal(bool*) () from /home/xantvol/miniconda3/envs/dpnp_dev/lib/python3.9/site-packages/dpctl/../../../libsycl.so.7 #7 0x00007ffff72c039a in sycl::_V1::detail::Scheduler::GraphProcessor::waitForEvent(std::shared_ptr const&, std::shared_lock&, std::vector >&, bool, bool*) () from /home/xantvol/miniconda3/envs/dpnp_dev/lib/python3.9/site-packages/dpctl/../../../libsycl.so.7 #8 0x00007ffff72bc0b8 in sycl::_V1::detail::Scheduler::waitForEvent(std::shared_ptr const&, bool*) () from /home/xantvol/miniconda3/envs/dpnp_dev/lib/python3.9/site-packages/dpctl/../../../libsycl.so.7 #9 0x00007ffff71c1510 in sycl::_V1::detail::event_impl::wait(std::shared_ptr, bool*) () from /home/xantvol/miniconda3/envs/dpnp_dev/lib/python3.9/site-packages/dpctl/../../../libsycl.so.7 #10 0x00007ffff72ecd1a in sycl::_V1::event::wait() () from /home/xantvol/miniconda3/envs/dpnp_dev/lib/python3.9/site-packages/dpctl/../../../libsycl.so.7 #11 0x00007ffff76d4c40 in DPCTLEvent_Wait () from /home/xantvol/miniconda3/envs/dpnp_dev/lib/python3.9/site-packages/dpctl/libDPCTLSyclInterface.so.0 #12 0x00007ffff6ebaa32 in __pyx_f_5dpctl_11_sycl_event_9SyclEvent__wait(PySyclEventObject*) () from /home/xantvol/miniconda3/envs/dpnp_dev/lib/python3.9/site-packages/dpctl/_sycl_event.cpython-39-x86_64-linux-gnu.so #13 0x00007ffff6eb9498 in __pyx_pw_5dpctl_11_sycl_event_9SyclEvent_3wait_for(_object*, _object* const*, long, _object*) () from /home/xantvol/miniconda3/envs/dpnp_dev/lib/python3.9/site-packages/dpctl/_sycl_event.cpython-39-x86_64-linux-gnu.so #14 0x0000555555694a1e in _PyObject_VectorcallTstate (kwnames=0x0, nargsf=, args=0x555555e2fd40, callable=0x7ffff6f0cad0, tstate=0x55555592f870) at /usr/local/src/conda/python-3.9.18/Include/cpython/abstract.h:118 #15 PyObject_Vectorcall (kwnames=0x0, nargsf=, args=0x555555e2fd40, callable=0x7ffff6f0cad0) at /usr/local/src/conda/python-3.9.18/Include/cpython/abstract.h:127 #16 call_function (kwnames=0x0, oparg=, pp_stack=, tstate=0x55555592f870) at /usr/local/src/conda/python-3.9.18/Python/ceval.c:5078 #17 _PyEval_EvalFrameDefault (tstate=, f=0x555555e2fb30, throwflag=) at /usr/local/src/conda/python-3.9.18/Python/ceval.c:3490 #18 0x000055555568f247 in _PyEval_EvalFrame (throwflag=, f=, tstate=) at /usr/local/src/conda/python-3.9.18/Include/internal/pycore_ceval.h:40 #19 _PyEval_EvalCode (tstate=0x55555592f870, _co=, globals=, locals=, args=, argcount=, kwnames=0x0, kwargs=0x55555598ca38, kwcount=, kwstep=1, defs=0x7fffd9303758, defcount=, kwdefs=0x0, closure=0x0, name=0x7ffff77a09f0, qualname=0x7ffff77a09f0) at /usr/local/src/conda/python-3.9.18/Python/ceval.c:4330 #20 0x00005555556a122d in _PyFunction_Vectorcall (func=, stack=, nargsf=, kwnames=) at /usr/local/src/conda/python-3.9.18/Objects/call.c:396 #21 0x0000555555694a1e in _PyObject_VectorcallTstate (kwnames=0x0, nargsf=, args=0x55555598ca30, callable=0x7fffd9305550, tstate=0x55555592f870) at /usr/local/src/conda/python-3.9.18/Include/cpython/abstract.h:118 #22 PyObject_Vectorcall (kwnames=0x0, nargsf=, args=0x55555598ca30, callable=0x7fffd9305550) at /usr/local/src/conda/python-3.9.18/Include/cpython/abstract.h:127 #23 call_function (kwnames=0x0, oparg=, pp_stack=, tstate=0x55555592f870) at /usr/local/src/conda/python-3.9.18/Python/ceval.c:5078 #24 _PyEval_EvalFrameDefault (tstate=, f=0x55555598c8b0, throwflag=) at /usr/local/src/conda/python-3.9.18/Python/ceval.c:3490 #25 0x000055555568f247 in _PyEval_EvalFrame (throwflag=, f=, tstate=) at /usr/local/src/conda/python-3.9.18/Include/internal/pycore_ceval.h:40 #26 _PyEval_EvalCode (tstate=0x55555592f870, _co=, globals=, locals=, args=, argcount=, kwnames=0x0, kwargs=0x0, kwcount=, kwstep=2, defs=0x0, defcount=, kwdefs=0x0, closure=0x0, name=0x0, qualname=0x0) at /usr/local/src/conda/python-3.9.18/Python/ceval.c:4330 #27 0x000055555568ee79 in _PyEval_EvalCodeWithName (_co=, globals=, locals=, args=, argcount=, kwnames=, kwargs=0x0, kwcount=0, kwstep=2, defs=0x0, defcount=0, kwdefs=0x0, closure=0x0, name=0x0, qualname=0x0) at /usr/local/src/conda/python-3.9.18/Python/ceval.c:4362 #28 0x000055555568edf5 in PyEval_EvalCodeEx (_co=, globals=, locals=, args=, argcount=, kws=, kwcount=0, defs=0x0, defcount=0, kwdefs=0x0, closure=0x0) at /usr/local/src/conda/python-3.9.18/Python/ceval.c:4378 #29 0x0000555555741bbb in PyEval_EvalCode (co=, globals=, locals=) at /usr/local/src/conda/python-3.9.18/Python/ceval.c:828 #30 0x00005555557751f0 in run_eval_code_obj (tstate=0x55555592f870, co=0x7ffff77eb660, globals=0x7ffff7855c80, locals=0x7ffff7855c80) at /usr/local/src/conda/python-3.9.18/Python/pythonrun.c:1221 #31 0x0000555555770d55 in run_mod (mod=, filename=, globals=0x7ffff7855c80, locals=0x7ffff7855c80, flags=, arena=) at /usr/local/src/conda/python-3.9.18/Python/pythonrun.c:1242 #32 0x00005555555eadda in pyrun_file (fp=, filename=, start=, globals=, locals=, closeit=, flags=0x7fffffffd898) at /usr/local/src/conda/python-3.9.18/Python/pythonrun.c:1140 #33 0x000055555576a4e0 in pyrun_simple_file (flags=0x7fffffffd898, closeit=1, filename=0x7ffff778ce40, fp=0x55555592c340) at /usr/local/src/conda/python-3.9.18/Python/pythonrun.c:450 #34 PyRun_SimpleFileExFlags (fp=0x55555592c340, filename=, closeit=1, flags=0x7fffffffd898) at /usr/local/src/conda/python-3.9.18/Python/pythonrun.c:483 #35 0x00005555557673c4 in pymain_run_file (cf=0x7fffffffd898, config=0x5555559303e0) at /usr/local/src/conda/python-3.9.18/Modules/main.c:380 #36 pymain_run_python (exitcode=) at /usr/local/src/conda/python-3.9.18/Modules/main.c:605 #37 Py_RunMain () at /usr/local/src/conda/python-3.9.18/Modules/main.c:684 #38 0x0000555555734247 in Py_BytesMain (argc=, argv=) at /usr/local/src/conda/python-3.9.18/Modules/main.c:1104 #39 0x00007ffff7c71083 in __libc_start_main (main=0x5555557341e0
, argc=2, argv=0x7fffffffdaa8, init=, fini=, rtld_fini=, stack_end=0x7fffffffda98) at ../csu/libc-start.c:308 #40 0x000055555573412d in _start () at /usr/local/src/conda/python-3.9.18/Include/object.h:422 ```
Environment details ### conda list ```bash # Name Version Build Channel _libgcc_mutex 0.1 conda_forge intel _openmp_mutex 4.5 2_gnu intel _sysroot_linux-64_curr_repodata_hack 3 h69a702a_14 conda-forge astroid 3.0.3 pypi_0 pypi asttokens 2.4.1 pyhd8ed1ab_0 conda-forge attrs 23.2.0 pyh71513ae_0 conda-forge beautifulsoup4 4.12.3 pyha770c72_0 conda-forge brotli-python 1.1.0 py39h3d6467e_1 intel bzip2 1.0.8 hb9a14ef_9 intel c-ares 1.26.0 hd590300_0 intel ca-certificates 2024.2.2 hbcca054_0 intel certifi 2024.2.2 pyhd8ed1ab_0 intel cffi 1.16.0 py39h7a31438_0 intel cfgv 3.3.1 pypi_0 pypi chardet 5.2.0 py39hf3d152e_1 intel charset-normalizer 3.3.2 pyhd8ed1ab_0 intel click 8.0.4 py39h06a4308_0 intel cmake 3.29.2 hcfe8598_0 conda-forge codespell 2.2.6 pypi_0 pypi colorama 0.4.6 pyhd8ed1ab_0 intel conda 23.3.1 py39h535c160_1 http://satpkgserver.an.intel.com:8081 conda-build 24.1.2 py39hf3d152e_0 conda-forge conda-index 0.4.0 pyhd8ed1ab_0 conda-forge conda-package-handling 2.2.0 pyh38be061_0 intel conda-package-streaming 0.9.0 pyhd8ed1ab_0 intel coverage 5.5 py39h27cfd23_2 intel cpplint 1.6.1 pypi_0 pypi cryptography 42.0.4 py39hd4f0224_0 intel cython 3.0.8 py39h3d6467e_0 intel decorator 5.0.9 pyhd3eb1b0_0 intel dill 0.3.8 pypi_0 pypi distlib 0.3.6 pypi_0 pypi distro 1.9.0 pyhd8ed1ab_0 conda-forge dpcpp-cpp-rt 2024.2.0 intel_473 http://satpkgserver.an.intel.com:8081 dpcpp-sycl-rt 2024.2.0 intel_473 http://satpkgserver.an.intel.com:8081 dpcpp_cpp_rt 2024.2.0 intel_473 http://satpkgserver.an.intel.com:8081 dpcpp_impl_linux-64 2024.2.0 intel_473 http://satpkgserver.an.intel.com:8081 dpcpp_linux-64 2024.2.0 intel_473 http://satpkgserver.an.intel.com:8081 dpctl 0.17.0dev0 py39h15de555_310 dppy/label/dev dpnp 0.15.0.dev1+44.gdd6e32285c dev_0 exceptiongroup 1.2.0 pyhd8ed1ab_2 conda-forge executing 2.0.1 pyhd8ed1ab_0 conda-forge filelock 3.6.0 pyhd3eb1b0_0 intel icc_rt 2024.2.0 intel_473 http://satpkgserver.an.intel.com:8081 icu 73.2 h59595ed_0 intel identify 2.5.24 pypi_0 pypi idna 3.6 pyhd8ed1ab_0 intel importlib_resources 5.2.0 pyhd3eb1b0_1 intel iniconfig 2.0.0 pyhd8ed1ab_0 conda-forge intel-cmplr-lib-rt 2024.2.0 intel_473 http://satpkgserver.an.intel.com:8081 intel-cmplr-lib-ur 2024.2.0 intel_473 http://satpkgserver.an.intel.com:8081 intel-cmplr-lic-rt 2024.2.0 intel_473 http://satpkgserver.an.intel.com:8081 intel-opencl-rt 2024.2.0 intel_473 http://satpkgserver.an.intel.com:8081 intel-openmp 2024.2.0 intel_473 http://satpkgserver.an.intel.com:8081 intelpython 2024.1.0 0 http://satpkgserver.an.intel.com:8081 ipython 8.18.1 pyh707e725_3 conda-forge isort 5.13.2 pypi_0 pypi jedi 0.19.1 pyhd8ed1ab_0 conda-forge jinja2 3.0.1 pyhd3eb1b0_0 intel jsonpatch 1.33 pyhd8ed1ab_0 intel jsonpointer 2.4 py39hf3d152e_3 intel jsonschema 4.21.1 pyhd8ed1ab_0 conda-forge jsonschema-specifications 2023.12.1 pyhd8ed1ab_0 conda-forge kernel-headers_linux-64 4.18.0 he073ed8_2 conda-forge keyutils 1.6.1 h166bdaf_0 conda-forge krb5 1.21.2 h659d440_0 conda-forge level-zero 1.16.0 h00ab1b0_0 intel libarchive 3.7.2 h2aa1ff5_1 conda-forge libcurl 8.7.1 hca28451_0 conda-forge libedit 3.1.20210910 h7f8727e_0 intel libev 4.33 h7f8727e_1 intel libexpat 2.6.2 h59595ed_0 conda-forge libffi 3.4.2 h7f98852_5 intel libgcc-ng 13.2.0 h807b86a_5 intel libgomp 13.2.0 h807b86a_5 intel libiconv 1.17 hd590300_2 intel liblief 0.12.3 h27087fc_0 conda-forge libllvm14 14.0.6 hcd5def8_4 intel libnghttp2 1.58.0 h47da74e_0 conda-forge libnsl 2.0.1 hd590300_0 intel libsqlite 3.45.1 h2797004_0 intel libssh2 1.11.0 h0841786_0 conda-forge libstdcxx-ng 13.2.0 h7e041cc_5 intel libuuid 2.38.1 h0b41bf4_0 intel libuv 1.48.0 hd590300_0 conda-forge libxml2 2.12.5 h232c23b_0 intel libzlib 1.2.13 hd590300_5 intel llvm 14.0.6 h32600fe_4 intel lz4-c 1.9.4 hcb278e6_0 intel lzo 2.10 h516909a_1000 intel markupsafe 2.0.1 py39h27cfd23_0 intel matplotlib-inline 0.1.7 pyhd8ed1ab_0 conda-forge mccabe 0.7.0 pypi_0 pypi menuinst 2.0.2 py39hf3d152e_0 conda-forge mkl 2024.2.0 intel_295 http://satpkgserver.an.intel.com:8081 mkl-devel 2024.2.0 intel_295 http://satpkgserver.an.intel.com:8081 mkl-devel-dpcpp 2024.2.0 intel_295 http://satpkgserver.an.intel.com:8081 mkl-dpcpp 2024.2.0 intel_295 http://satpkgserver.an.intel.com:8081 mkl-include 2024.2.0 intel_295 http://satpkgserver.an.intel.com:8081 mkl-service 2.4.1 py39h1e356de_0 http://satpkgserver.an.intel.com:8081 mkl_fft 1.3.8 py39h977b55c_70 http://satpkgserver.an.intel.com:8081 mkl_random 1.2.4 py39hae8aba8_90 http://satpkgserver.an.intel.com:8081 mkl_umath 0.1.1 py39h9ab9c7e_100 http://satpkgserver.an.intel.com:8081 more-itertools 10.2.0 pyhd8ed1ab_0 conda-forge ncurses 6.4.20240210 h59595ed_0 conda-forge ninja 1.10.2 py39hff7bd54_0 intel nodeenv 1.8.0 pypi_0 pypi numpy 1.26.4 py39h689b997_1 http://satpkgserver.an.intel.com:8081 numpy-base 1.26.4 py39h8eeea18_1 http://satpkgserver.an.intel.com:8081 onedpl-devel 2022.6.0 intel_286 http://satpkgserver.an.intel.com:8081 onemkl-sycl-blas 2024.2.0 intel_295 http://satpkgserver.an.intel.com:8081 onemkl-sycl-datafitting 2024.2.0 intel_295 http://satpkgserver.an.intel.com:8081 onemkl-sycl-dft 2024.2.0 intel_295 http://satpkgserver.an.intel.com:8081 onemkl-sycl-lapack 2024.2.0 intel_295 http://satpkgserver.an.intel.com:8081 onemkl-sycl-rng 2024.2.0 intel_295 http://satpkgserver.an.intel.com:8081 onemkl-sycl-sparse 2024.2.0 intel_295 http://satpkgserver.an.intel.com:8081 onemkl-sycl-stats 2024.2.0 intel_295 http://satpkgserver.an.intel.com:8081 onemkl-sycl-vm 2024.2.0 intel_295 http://satpkgserver.an.intel.com:8081 openssl 3.2.1 hd590300_1 intel packaging 23.2 pyhd8ed1ab_0 intel parso 0.8.4 pyhd8ed1ab_0 conda-forge patch 2.7.6 h7f98852_1002 conda-forge patchelf 0.17.2 h58526e2_0 conda-forge pexpect 4.9.0 pyhd8ed1ab_0 conda-forge pickleshare 0.7.5 py_1003 conda-forge pip 24.0 pyhd8ed1ab_0 intel pkginfo 1.10.0 pyhd8ed1ab_0 conda-forge pkgutil-resolve-name 1.3.10 pyhd8ed1ab_1 conda-forge platformdirs 3.7.0 pypi_0 pypi pluggy 1.4.0 pyhd8ed1ab_0 conda-forge pre-commit 3.3.3 pypi_0 pypi prompt-toolkit 3.0.42 pyha770c72_0 conda-forge psutil 5.8.0 py39h27cfd23_2 intel ptyprocess 0.7.0 pyhd3deb0d_0 conda-forge pure_eval 0.2.2 pyhd8ed1ab_0 conda-forge py-lief 0.12.3 py39h5a03fae_0 conda-forge pycosat 0.6.6 py39hd1e30aa_0 intel pycparser 2.21 pyhd3eb1b0_0 intel pygments 2.17.2 pyhd8ed1ab_0 conda-forge pylint 3.0.3 pypi_0 pypi pyopenssl 24.0.0 pyhd8ed1ab_0 intel pysocks 1.7.1 pyha2e5f31_6 intel pytest 8.1.1 pyhd8ed1ab_0 conda-forge pytest-cov 5.0.0 pyhd8ed1ab_0 conda-forge python 3.9.18 h4499717_0 http://satpkgserver.an.intel.com:8081 python-libarchive-c 4.0 py39hf3d152e_2 intel python_abi 3.9 2_cp39 intel pytz 2024.1 pyhd8ed1ab_0 intel pyyaml 6.0.1 py39hd1e30aa_1 intel readline 8.2 h8228510_1 intel referencing 0.34.0 pyhd8ed1ab_0 conda-forge requests 2.31.0 pyhd8ed1ab_0 intel rhash 1.4.4 hd590300_0 conda-forge ripgrep 14.1.0 he8a937b_0 conda-forge rpds-py 0.18.0 py39h9fdd4d6_0 conda-forge ruamel.yaml 0.17.40 py39hd1e30aa_0 intel ruamel.yaml.clib 0.2.8 py39hd1e30aa_0 intel scikit-build 0.17.6 pyh4af843d_0 conda-forge setuptools 69.1.0 pyhd8ed1ab_1 intel six 1.16.0 pyhd3eb1b0_1 intel soupsieve 2.5 pyhd8ed1ab_1 conda-forge stack_data 0.6.2 pyhd8ed1ab_0 conda-forge sysroot_linux-64 2.28 he073ed8_2 conda-forge tbb 2021.13.0 intel_356 http://satpkgserver.an.intel.com:8081 tbb-devel 2021.13.0 intel_356 http://satpkgserver.an.intel.com:8081 tbb4py 2021.13.0 py39_intel_356 http://satpkgserver.an.intel.com:8081 tk 8.6.13 noxft_h4845f30_101 intel toml 0.10.2 pyhd8ed1ab_0 conda-forge tomli 2.0.1 pyhd8ed1ab_0 conda-forge tomlkit 0.12.3 pypi_0 pypi toolz 0.12.1 pyhd8ed1ab_0 intel tqdm 4.66.2 pyhd8ed1ab_0 intel traitlets 5.14.3 pyhd8ed1ab_0 conda-forge typing-extensions 4.9.0 hd8ed1ab_0 intel typing_extensions 4.9.0 pyha770c72_0 intel tzdata 2024a h0c530f3_0 intel urllib3 2.2.1 pyhd8ed1ab_0 intel virtualenv 20.23.1 pypi_0 pypi wcwidth 0.2.13 pyhd8ed1ab_0 conda-forge wheel 0.42.0 pyhd8ed1ab_0 intel xz 5.2.8 h5eee18b_0 intel yaml 0.2.5 h7f98852_2 intel zipp 3.15.0 pyhd8ed1ab_0 intel zstandard 0.22.0 py39h6e5214e_0 intel zstd 1.5.5 hfc55251_0 intel ``` ### Driver versions ```bash $ python -m dpctl -f Platform 0 :: Name Intel(R) OpenCL Version OpenCL 3.0 LINUX Vendor Intel(R) Corporation Backend opencl Num Devices 1 # 0 Name 11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz Version 2024.18.4.0.16_160000 Filter string opencl:cpu:0 Platform 1 :: Name Intel(R) OpenCL Graphics Version OpenCL 3.0 Vendor Intel(R) Corporation Backend opencl Num Devices 1 # 0 Name Intel(R) Graphics [0x9a49] Version 23.52.28202.16 Filter string opencl:gpu:0 Platform 2 :: Name Intel(R) FPGA Emulation Platform for OpenCL(TM) Version OpenCL 1.2 Intel(R) FPGA SDK for OpenCL(TM), Version 20.3 Vendor Intel(R) Corporation Backend opencl Num Devices 1 # 0 Name Intel(R) FPGA Emulation Device Version 2024.18.4.0.16_160000 Filter string opencl:accelerator:0 Platform 3 :: Name Intel(R) Level-Zero Version 1.3 Vendor Intel(R) Corporation Backend ext_oneapi_level_zero Num Devices 1 # 0 Name Intel(R) Graphics [0x9a49] Version 1.3.28202 Filter string level_zero:gpu:0 ``` ### WSL info ```bash $ uname -a Linux antonvol-mobl1 5.15.146.1-microsoft-standard-WSL2 #1 SMP Thu Jan 11 04:09:03 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux ```

The example was based on numpy code where the same logic works without any issue.

oleksandr-pavlyk commented 2 months ago

I can reproduce. The crash is sporadic, sometimes the script runs fine, but chances of it happenning are higher if more RAM is available.

The reason for crash is memory access violation. Could not reproduce the crash with sort.