Bug#1060318: silx: autopkgtest failure with Python 3.12

PICCA Frederic-Emmanuel frederic-emmanuel.picca at synchrotron-soleil.fr
Fri Mar 1 15:00:08 GMT 2024


With the silx 2.0.0 version the failire is located in the OpenCL part

the backtrace is this one when running the median filter 

# build the packag eintht echroot and enter into it once build

dgit --gbp sbuild --finished-build-commands '%SBUILD_SHELL'

run this command to obtain the backtrace...

DEBUGINFOD_URLS="https://debuginfod.debian.net" PYTHONPATH=. gdb --args python3.11 -m pytest --pyarg silx silx/image/test/test_medianfilter.py


here the backtrace.

Thread 1 "python3.11" received signal SIGABRT, Aborted.
0x00007ffff7d3516c in ?? () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) bt
#0  0x00007ffff7d3516c in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007ffff7ce7472 in raise () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007ffff7cd14b2 in abort () from /lib/x86_64-linux-gnu/libc.so.6
#3  0x00007ffff7cd13d5 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#4  0x00007ffff7ce03a2 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6
#5  0x00007ffff344770d in pocl::Kernel::createParallelRegionBefore (this=<optimized out>, B=0x8980180) at ../llvmopencl/./lib/llvmopencl/Kernel.cc:129
#6  pocl::Kernel::getParallelRegions (this=<optimized out>, LI=..., ParallelRegions=0x7fffffff4860) at ../llvmopencl/./lib/llvmopencl/Kernel.cc:193
#7  0x00007ffff346ab82 in pocl::WorkitemLoopsImpl::processFunction (this=this at entry=0x7fffffff47c0, F=...) at ../llvmopencl/./lib/llvmopencl/WorkitemLoops.cc:445
#8  0x00007ffff346cb8d in pocl::WorkitemLoopsImpl::runOnFunction (this=0x7fffffff47c0, F=...) at ../llvmopencl/./lib/llvmopencl/WorkitemLoops.cc:183
#9  0x00007ffff346ecac in pocl::WorkitemLoops::run (this=<optimized out>, F=..., AM=...) at ../llvmopencl/./lib/llvmopencl/WorkitemLoops.cc:1490
#10 0x00007ffff346ede5 in llvm::detail::PassModel<llvm::Function, pocl::WorkitemLoops, llvm::PreservedAnalyses, llvm::AnalysisManager<llvm::Function>>::run(llvm::Function&, llvm::AnalysisManager<llvm::Function>&) (this=<optimized out>, IR=..., AM=...) at /usr/lib/llvm-16/include/llvm/IR/PassManagerInternal.h:89
#11 0x00007fffe91d7579 in run () at llvm/include/llvm/IR/PassManager.h:517
#12 0x00007fffeaeedb01 in llvm::detail::PassModel<llvm::Function, llvm::PassManager<llvm::Function, llvm::AnalysisManager<llvm::Function>>, llvm::PreservedAnalyses, llvm::AnalysisManager<llvm::Function>>::run(llvm::Function&, llvm::AnalysisManager<llvm::Function>&) () at llvm/include/llvm/IR/PassManagerInternal.h:89
#13 0x00007fffe91dade6 in run () at build-llvm/tools/clang/stage2-bins/llvm/lib/IR/PassManager.cpp:124
#14 0x00007fffeaeed921 in llvm::detail::PassModel<llvm::Module, llvm::ModuleToFunctionPassAdaptor, llvm::PreservedAnalyses, llvm::AnalysisManager<llvm::Module>>::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) () at llvm/include/llvm/IR/PassManagerInternal.h:89
#15 0x00007ffff348cd85 in llvm::PassManager<llvm::Module, llvm::AnalysisManager<llvm::Module>>::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) (AM=..., IR=..., this=0x7fffffff50b8)
    at /usr/include/c++/13/bits/unique_ptr.h:199
#16 PoCLModulePassManager::run (this=0x7fffffff4f98, Bitcode=...) at ./lib/CL/pocl_llvm_wg.cc:322
#17 0x00007ffff3494b14 in TwoStagePoCLModulePassManager::run (Bitcode=..., this=0x7fffffff4e10) at ./lib/CL/pocl_llvm_wg.cc:386
#18 runKernelCompilerPasses (Device=Device at entry=0x151f050, Mod=...) at ./lib/CL/pocl_llvm_wg.cc:727
#19 0x00007ffff3496302 in pocl_llvm_run_pocl_passes(llvm::Module*, _cl_command_run*, llvm::LLVMContext*, PoclLLVMContextData*, _cl_kernel*, _cl_device_id*, int) [clone .isra.0] (
    Bitcode=Bitcode at entry=0x16d6ef0, RunCommand=RunCommand at entry=0x7fffffffbd40, PoclCtx=PoclCtx at entry=0x157e340, Kernel=Kernel at entry=0x7fffffffbcb0, Device=Device at entry=0x151f050, 
    Specialize=Specialize at entry=0, LLVMContext=<optimized out>) at ./lib/CL/pocl_llvm_wg.cc:1101
#20 0x00007ffff348ff32 in pocl_llvm_generate_workgroup_function_nowrite (DeviceI=DeviceI at entry=0, Device=Device at entry=0x151f050, Kernel=Kernel at entry=0x7fffffffbcb0, Command=Command at entry=0x7fffffffbd40, 
    Output=Output at entry=0x7fffffff6548, Specialize=Specialize at entry=0) at ./lib/CL/pocl_llvm_wg.cc:1147
#21 0x00007ffff3424b2f in llvm_codegen (output=output at entry=0x30d19f0 "/sbuild-nonexistent/.cache/pocl/kcache/BC/KCELIMKPIAEADDLPJHGMOMPOPMNFLCMCBIOCK/medfilt2d/0-0-0/medfilt2d.so", device_i=device_i at entry=0, 
    kernel=kernel at entry=0x7fffffffbcb0, device=0x151f050, command=command at entry=0x7fffffffbd40, specialize=specialize at entry=0) at ./lib/CL/devices/common.c:137
#22 0x00007ffff342778e in pocl_check_kernel_disk_cache (command=command at entry=0x7fffffffbd40, specialized=specialized at entry=0) at ./lib/CL/devices/common.c:983
#23 0x00007ffff3427e7a in pocl_check_kernel_dlhandle_cache (command=command at entry=0x7fffffffbd40, retain=retain at entry=0, specialize=specialize at entry=0) at ./lib/CL/devices/common.c:1108
#24 0x00007fffe477fc3d in pocl_basic_compile_kernel (cmd=0x7fffffffbd40, kernel=0x7fffffffbcb0, device=<optimized out>, specialize=0) at ./lib/CL/devices/basic/basic.c:682
#25 0x00007ffff342c71f in pocl_driver_build_poclbinary (program=0x15a6170, device_i=<optimized out>) at ./lib/CL/devices/common_driver.c:969
#26 0x00007ffff33f291e in get_binary_sizes (sizes=<optimized out>, program=<optimized out>) at ./lib/CL/clGetProgramInfo.c:54
#27 POclGetProgramInfo (program=0x15a6170, param_name=<optimized out>, param_value_size=<optimized out>, param_value=0x15116f0, param_value_size_ret=0x7fffffffbf70) at ./lib/CL/clGetProgramInfo.c:143
#28 0x00007ffff36a46ae in pyopencl::program::get_info (this=0x150ec50, param_name=<optimized out>) at src/wrap_cl.hpp:4348
#29 0x00007ffff36b8524 in pybind11::cpp_function::cpp_function<pybind11::object, pyopencl::program, unsigned int, pybind11::name, pybind11::is_method, pybind11::sibling>(pybind11::object (pyopencl::program::*)(unsigned int) const, pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pyopencl::program const*, unsigned int)#1}::operator()(pyopencl::program const*, unsigned int) const (
    __closure=<optimized out>, args#0=<optimized out>, c=<optimized out>) at /usr/lib/python3/dist-packages/pybind11/include/pybind11/pybind11.h:132
#30 pybind11::detail::argument_loader<pyopencl::program const*, unsigned int>::call_impl<pybind11::object, pybind11::cpp_function::cpp_function<pybind11::object, pyopencl::program, unsigned int, pybind11::name, pybind11::is_method, pybind11::sibling>(pybind11::object (pyopencl::program::*)(unsigned int) const, pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pyopencl::program const*, unsigned int)#1}&, 0ul, 1ul, pybind11::detail::void_type>(pybind11::cpp_function::cpp_function<pybind11::object, pyopencl::program, unsigned int, pybind11::name, pybind11::is_method, pybind11::sibling>(pybind11::object (pyopencl::program::*)(unsigned int) const, pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pyopencl::program const*, unsigned int)#1}&, std::integer_sequence<unsigned long, 0ul, 1ul>, pybind11::detail::void_type&&) && (f=..., this=0x7fffffffc020) at /usr/lib/python3/dist-packages/pybind11/include/pybind11/detail/../cast.h:1480
#31 pybind11::detail::argument_loader<pyopencl::program const*, unsigned int>::call<pybind11::object, pybind11::detail::void_type, pybind11::cpp_function::cpp_function<pybind11::object, pyopencl::program, unsigned int, pybind11::name, pybind11::is_method, pybind11::sibling>(pybind11::object (pyopencl::program::*)(unsigned int) const, pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pyopencl::program const*, unsigned int)#1}&>(pybind11::cpp_function::cpp_function<pybind11::object, pyopencl::program, unsigned int, pybind11::name, pybind11::is_method, pybind11::sibling>(pybind11::object (pyopencl::program::*)(unsigned int) const, pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pyopencl::program const*, unsigned int)#1}&) && (f=..., this=0x7fffffffc020)
    at /usr/lib/python3/dist-packages/pybind11/include/pybind11/detail/../cast.h:1449
#32 pybind11::cpp_function::initialize<pybind11::cpp_function::initialize<pybind11::object, pyopencl::program, unsigned int, pybind11::name, pybind11::is_method, pybind11::sibling>(pybind11::object (pyopencl::program::*)(unsigned int) const, pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pyopencl::program const*, unsigned int)#1}, pybind11::object, pyopencl::program const*, unsi--Type <RET> for more, q to quit, c to continue without paging--c
gned int, pybind11::name, pybind11::is_method, pybind11::sibling>(pybind11::cpp_function::initialize<pybind11::object, pyopencl::program, unsigned int, pybind11::name, pybind11::is_method, pybind11::sibling>(pybind11::object (pyopencl::program::*)(unsigned int) const, pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pyopencl::program const*, unsigned int)#1}&&, pybind11::object (*)(pyopencl::program const*, unsigned int), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pybind11::detail::function_call&)#1}::operator()(pybind11::detail::function_call&) const (__closure=<optimized out>, call=...) at /usr/lib/python3/dist-packages/pybind11/include/pybind11/pybind11.h:253
#33 0x00007ffff363d891 in pybind11::cpp_function::dispatcher (self=<optimized out>, args_in=0x7ffff72a66c0, kwargs_in=0x0) at /usr/lib/python3/dist-packages/pybind11/include/pybind11/pybind11.h:946
#34 0x000000000054416a in ?? ()
#35 0x0000000000515b6b in _PyObject_MakeTpCall ()
#36 0x00000000005298f9 in _PyEval_EvalFrameDefault ()
#37 0x0000000000557c15 in _PyFunction_Vectorcall ()
#38 0x000000000051d8fe in _PyObject_FastCallDictTstate ()
#39 0x000000000055f8ae in ?? ()
#40 0x0000000000515a65 in _PyObject_MakeTpCall ()
#41 0x00000000005298f9 in _PyEval_EvalFrameDefault ()
#42 0x000000000057e902 in ?? ()
#43 0x000000000057e194 in ?? ()
#44 0x0000000000564be8 in PyObject_Call ()
#45 0x000000000052d865 in _PyEval_EvalFrameDefault ()
#46 0x0000000000557c15 in _PyFunction_Vectorcall ()
#47 0x000000000051d8fe in _PyObject_FastCallDictTstate ()
#48 0x0000000000560171 in _PyObject_Call_Prepend ()
#49 0x00000000006551b6 in ?? ()
#50 0x0000000000515b6b in _PyObject_MakeTpCall ()
#51 0x00000000005298f9 in _PyEval_EvalFrameDefault ()
#52 0x0000000000557c15 in _PyFunction_Vectorcall ()
#53 0x000000000052d865 in _PyEval_EvalFrameDefault ()
#54 0x0000000000557c15 in _PyFunction_Vectorcall ()
#55 0x000000000051d8fe in _PyObject_FastCallDictTstate ()
#56 0x0000000000560171 in _PyObject_Call_Prepend ()
#57 0x00000000006551b6 in ?? ()
#58 0x0000000000564b7e in PyObject_Call ()
#59 0x000000000052d865 in _PyEval_EvalFrameDefault ()
#60 0x0000000000557c15 in _PyFunction_Vectorcall ()
#61 0x000000000052d865 in _PyEval_EvalFrameDefault ()
#62 0x0000000000557c15 in _PyFunction_Vectorcall ()
#63 0x000000000052d865 in _PyEval_EvalFrameDefault ()
#64 0x0000000000557c15 in _PyFunction_Vectorcall ()
#65 0x000000000051d8fe in _PyObject_FastCallDictTstate ()
#66 0x0000000000560171 in _PyObject_Call_Prepend ()
#67 0x00000000006551b6 in ?? ()
#68 0x0000000000515b6b in _PyObject_MakeTpCall ()
#69 0x00000000005298f9 in _PyEval_EvalFrameDefault ()
#70 0x0000000000557c15 in _PyFunction_Vectorcall ()
#71 0x000000000052d865 in _PyEval_EvalFrameDefault ()
#72 0x0000000000557c15 in _PyFunction_Vectorcall ()
#73 0x000000000051d8fe in _PyObject_FastCallDictTstate ()
#74 0x0000000000560171 in _PyObject_Call_Prepend ()
#75 0x00000000006551b6 in ?? ()
#76 0x0000000000515b6b in _PyObject_MakeTpCall ()
#77 0x00000000005298f9 in _PyEval_EvalFrameDefault ()
#78 0x0000000000557c15 in _PyFunction_Vectorcall ()
#79 0x000000000052d865 in _PyEval_EvalFrameDefault ()
#80 0x0000000000557c15 in _PyFunction_Vectorcall ()
#81 0x000000000051d8fe in _PyObject_FastCallDictTstate ()
#82 0x0000000000560171 in _PyObject_Call_Prepend ()
#83 0x00000000006551b6 in ?? ()
#84 0x0000000000515b6b in _PyObject_MakeTpCall ()
#85 0x00000000005298f9 in _PyEval_EvalFrameDefault ()
#86 0x000000000060606f in PyEval_EvalCode ()
#87 0x000000000061a084 in ?? ()
#88 0x0000000000537e1b in ?? ()
#89 0x0000000000537cc0 in PyObject_Vectorcall ()
#90 0x00000000005298f9 in _PyEval_EvalFrameDefault ()
#91 0x0000000000557c15 in _PyFunction_Vectorcall ()
#92 0x000000000062d79d in ?? ()
#93 0x000000000062d109 in Py_RunMain ()
#94 0x00000000005f95fb in Py_BytesMain ()
#95 0x00007ffff7cd26ca in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#96 0x00007ffff7cd2785 in __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6
#97 0x00000000005f9491 in _start ()



More information about the debian-science-maintainers mailing list