Your message dated Sat, 11 Oct 2025 15:38:27 +0200
with message-id <[email protected]>
and subject line FTBFS: bus error, alignment problems,version graph
has caused the Debian Bug report #904108,
regarding python-fitsio 0.9.11+dfsg-4: FTBFS, alignment problem
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
904108: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=904108
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: python-fitsio
Version: 0.9.11+dfsg-4
Severity: important
User: [email protected]
Usertags: alignment
Hi!
I've been doing a full rebuild of the Debian archive, building all
source packages targeting armel and armhf using arm64 hardware. We are
planning in future to move all of our 32-bit armel/armhf builds to
using arm64 machines, so this rebuild is to identify packages that
might have problems with this configuration.
A feature of the arm64 kernel is that it does *not* support fixing up
code with broken alignment, so code that might have built and run OK
on our older armel/armhf build machines due to kernel fixups will now
fail.
When building your package, I've found a bus error (aka alignment
fault). The full log is online at
https://www.einval.com/debian/arm/rebuild-logs/armel/FAIL/python-fitsio_0.9.11+dfsg-4_armel.log
for reference
I've done a quick bit of debugging to find the source of the
bug. Here's a gdb stacktrace to demonstrate the problem. I'm not sure
if the likely culprit is the test code here, or the underlying
library.
(sid-armel)steve@maul:~/debian/build/python-fitsio/python-fitsio-0.9.11+dfsg$
gdb /usr/bin/python2.7 ./.pybuild/cpython2_2.7_fitsio/build/core
...
warning: Could not load shared library symbols for fitsio/_fitsio_wrap.so.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabi/libthread_db.so.1".
Core was generated by `python2.7 -m unittest discover -v'.
Program terminated with signal SIGBUS, Bus error.
#0 ffi8fi8 (input=input@entry=0x7, ntodo=ntodo@entry=1, scale=<optimized out>,
zero=0, output=output@entry=0xff861368, status=status@entry=0xff868554) at
putcolj.c:1900
1900 putcolj.c: No such file or directory.
(gdb) bt
#0 ffi8fi8 (input=input@entry=0x7, ntodo=ntodo@entry=1, scale=<optimized out>,
zero=0, output=output@entry=0xff861368, status=status@entry=0xff868554) at
putcolj.c:1900
#1 0xf5074ae4 in ffpcljj (fptr=0x1, colnum=-149821080, firstrow=<optimized
out>, firstelem=<optimized out>, nelem=1, array=0x2303cef, status=0xff868554)
at putcolj.c:1442
#2 0xf5074ce4 in ffpcljj (fptr=<optimized out>, colnum=<optimized out>,
firstrow=<optimized out>, firstelem=1, nelem=1, array=0x2303cef,
array@entry=0x1, status=status@entry=0xff868554)
at putcolj.c:1371
#3 0xf50669c4 in ffpcl (status=0xff868554, array=0x1, nelem=1, firstelem=1,
firstrow=-768257499031892296, colnum=<optimized out>, datatype=<optimized out>,
fptr=<optimized out>)
at putcol.c:739
#4 ffpcl (fptr=<optimized out>, datatype=<optimized out>, colnum=<optimized
out>, firstrow=1, firstelem=1, nelem=1, array=0x2303cef, status=0xff868554) at
putcol.c:668
#5 0xf55699e0 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
-- System Information:
Debian Release: 9.6
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-debug'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.9.0-8-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8),
LANGUAGE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
--- End Message ---
--- Begin Message ---
Source: python-fitsio
Version: 1.1.3+dfsg-1
Done: [email protected]
This bug was fixed some time ago, but was not mentioned in d/changelog.
--- End Message ---