Hi Fred,

* PICCA Frederic-Emmanuel <frederic-emmanuel.pi...@synchrotron-soleil.fr> 
[2025-03-12 11:12]:
Hello during the build of vitables, the reunit test fail with a segfault.

[..]
Extension modules: numpy._core._multiarray_umath, numpy.linalg._umath_linalg, 
tables._comp_lzo, tables._comp_bzip2, tables.utilsextension, 
numexpr.interpreter, tables.hdf5extension, tables.linkextension, 
tables.lrucacheextension, tables.tableextension, tables.indexesextension, 
PyQt6.QtCore, PyQt6.QtGui, PyQt6.QtWidgets, PyQt6.QtOpenGL, 
PyQt6.QtOpenGLWidgets, numpy.random._common, numpy.random.bit_generator, 
numpy.random._bounded_integers, numpy.random._mt19937, numpy.random.mtrand, 
numpy.random._philox, numpy.random._pcg64, numpy.random._sfc64, 
numpy.random._generator, charset_normalizer.md (total: 26)
Segmentation fault
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=139: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; python3.13 -m pytest tests

do we have a tool which could automatically generate a backtrace in sbuild if 
this kind of failure occur ?

I am not aware of any automatism for that but you can do it manually:

$ gbp clone vcsgit:vitables
$ cd vitables
$ gbp buildpackage --git-builder=sbuild --chroot-mode=unshare --no-clean-source 
--anything-failed-commands %s
# inside the chroot
# apt install gdb
# cd /build/reproducible-path/vitables-3.1.0/.pybuild/cpython3_3.13/build
# export DEBUGINFOD_URLS=https://debuginfod.debian.net
# gdb --args python3.13 -m pytest tests
(gdb) bt

Cheers Jochen

Attachment: signature.asc
Description: PGP signature

Reply via email to