Package: libboost-numpy1.83.0 Version: 1.83.0-4.1+b1 Severity: important X-Debbugs-Cc: pi...@debian.org
Dear Maintainer, I am trying to fix the autopkgtest of cctbx but I end up with a segfault here 0 PyArray_GetCastingImpl (from=0x9fb020 <PyType_Type>, to=to@entry=0xe4dae0) at ../numpy/_core/src/multiarray/convert_datatype.c:196 #1 0x00007ffff4315fcf in PyArray_GetCastInfo (from=0x9fbb80 <PyUnicode_Type>, to=0x7ffff4b7bec0 <INT_Descr>, to_dtype=0xe4dae0, to_dtype@entry=0x0, view_offset=view_offset@entry=0x7fffffffcde0) at ../numpy/_core/src/multiarray/convert_datatype.c:470 #2 0x00007ffff43661cc in PyArray_EquivTypes (type1=<optimized out>, type2=<optimized out>) at ../numpy/_core/src/multiarray/multiarraymodule.c:1478 #3 PyArray_EquivTypes (type1=<optimized out>, type2=<optimized out>) at ../numpy/_core/src/multiarray/multiarraymodule.c:1467 #4 0x00007ffff74a35cb in boost::python::numpy::equivalent (a=..., b=...) at libs/python/src/numpy/dtype.cpp:131 #5 0x00007ffff74a3ff8 in boost::python::numpy::(anonymous namespace)::array_scalar_converter<int>::convertible (obj='P6222') at libs/python/src/numpy/dtype.cpp:168 #6 0x00007ffff71dee5e in boost::python::converter::rvalue_from_python_stage1 (source=source@entry='P6222', converters=...) at libs/python/src/converter/from_python.cpp:54 #7 0x00007ffff69e8b70 in boost::python::converter::arg_rvalue_from_python<int>::arg_rvalue_from_python (this=0x7fffffffced0, obj='P6222') at /usr/include/boost/python/converter/arg_from_python.hpp:297 #8 0x00007ffff1c889dc in boost::python::detail::caller_arity<2u>::impl<void (*)(_object*, int), boost::python::default_call_policies, boost::mpl::vector3<void, _object*, int> >::operator() (this=0x1140458, args_=<optimized out>) at /usr/include/boost/preprocessor/iteration/detail/limits/local_256.hpp:16 #9 0x00007ffff71e93ee in boost::python::objects::py_function::operator() (this=0x1140480, args=(<space_group_symbols at remote 0x7ffff2518ef0>, 'P6222'), kw=<optimized out>) at ./boost/python/object/py_function.hpp:147 so it seems that the segfault comes from the boost numpy part here a few commit in order to support numpy2, I discoverd that only the first one was applyed in our boost version. would you be so kind to add also the second one in our boost library to fullfill the numpy2 transition. https://github.com/boostorg/python/commit/0474de0f6cc9c6e7230aeb7164af2f7e4ccf74bf https://github.com/boostorg/python/commit/99a5352b5cf790c559a7b976c1ba99520431d9d1 -- System Information: Debian Release: trixie/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 6.12.16-amd64 (SMP w/6 CPU threads; PREEMPT) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages libboost-numpy1.83.0 depends on: ii libboost-python1.83.0 [libboost-python1.83.0-py313] 1.83.0-4.1+b1 ii libc6 2.41-3 ii libgcc-s1 14.2.0-17 ii libstdc++6 14.2.0-17 libboost-numpy1.83.0 recommends no packages. Versions of packages libboost-numpy1.83.0 suggests: ii python3 3.13.2-2 -- no debconf information