Your message dated Wed, 18 Dec 2019 14:49:26 +0000
with message-id <e1ihadi-0004cv...@fasolo.debian.org>
and subject line Bug#917652: fixed in pywavelets 0.5.1-1.3
has caused the Debian Bug report #917652,
regarding pywavelets 0.5.1-1.1: 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 ow...@bugs.debian.org
immediately.)


-- 
917652: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=917652
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: pywavelets
Version: 0.5.1-1.1
Severity: important
User: debian-...@lists.debian.org
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/pywavelets_0.5.1-1.1_armel.log

for reference

I've done a quick bit of debugging to find the source of the
bug. Here's a gdb stacktrace and variable printout to demonstrate the
problem.

(sid-armel)steve@maul:~/debian/build/pywavelets/pywavelets-0.5.1$ gdb 
/usr/bin/python2.7 core
...
Reading symbols from /usr/bin/python2.7...(no debugging symbols found)...done.
[New LWP 3291]
[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 -c import sys ; sys.path.insert(0, 
'/home/steve/debian/build/pywavele'.
Program terminated with signal SIGBUS, Bus error.
#0  double_downcoef_axis (input=0x1011b90, input_info=..., output=0xfe4500, 
output_info=..., wavelet=0x1161b78, axis=0, coef=COEF_APPROX, 
dwt_mode=MODE_SYMMETRIC, swt_level=0, 
    transform=DWT_TRANSFORM) at pywt/_extensions/c/wt.template.c:100
100                     temp_input[j] = *(TYPE *)(((char *) input) + 
input_offset
(gdb) list  
95
96              // Copy to temporary input if necessary
97              if (make_temp_input)
98                  for (j = 0; j < input_info.shape[axis]; ++j)
99                      // Offsets are byte offsets, to need to cast to char 
and back
100                     temp_input[j] = *(TYPE *)(((char *) input) + 
input_offset
101                                               + j * 
input_info.strides[axis]);
102
103             // Select temporary or direct output and input
104             input_row = make_temp_input ? temp_input
(gdb) p input
$1 = (const double * const restrict) 0x1011b90
(gdb) p input_offset 
$2 = <optimized out>
(gdb) p j
$3 = <optimized out>

This is a classic pattern for alignment problems. You can't just cast
things like this and expect them to work safely.

-- 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: pywavelets
Source-Version: 0.5.1-1.3

We believe that the bug you reported is fixed in the latest version of
pywavelets, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 917...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Gianfranco Costamagna <locutusofb...@debian.org> (supplier of updated 
pywavelets package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Wed, 18 Dec 2019 15:36:45 +0100
Source: pywavelets
Binary: python3-pywt python-pywt-doc
Architecture: source
Version: 0.5.1-1.3
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Modules Team 
<python-modules-t...@lists.alioth.debian.org>
Changed-By: Gianfranco Costamagna <locutusofb...@debian.org>
Description:
 python-pywt-doc - Python extension implementing of wavelet transformations 
(Documen
 python3-pywt - Python3 extension implementing of wavelet transformations
Closes: 917652
Changes:
 pywavelets (0.5.1-1.3) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Grab patch from Ubuntu and Balint Reczey to fix an aligment problem on
     armhf (Closes: #917652)
Checksums-Sha1:
 a4a3c8950f97df0db570a7e286d451b471ea7d0e 2199 pywavelets_0.5.1-1.3.dsc
 af8a88ef47778d7c9a6afbfa7ce6e7ad2d5ee06b 8060 
pywavelets_0.5.1-1.3.debian.tar.xz
 08d7a0c4b57af4a2c5b51c4ba1bb885892d5eb00 9161 
pywavelets_0.5.1-1.3_source.buildinfo
Checksums-Sha256:
 8683845bd01a88a4815a7f9967d8ae435f994bd712b9b58c08ff507d1c2d47e7 2199 
pywavelets_0.5.1-1.3.dsc
 ad19bfd4918464742b88a972f4da2da203ff96ffbfadbb08adcf28df2d1a1e17 8060 
pywavelets_0.5.1-1.3.debian.tar.xz
 e29559d698903617c4c4ee34a7114de1e3cdc7f41ae6d729cf0feffb6f6d766e 9161 
pywavelets_0.5.1-1.3_source.buildinfo
Files:
 32cf83909ecc678bbdd38670bfe45d9f 2199 python optional pywavelets_0.5.1-1.3.dsc
 712069411254f05696cc21b67e3aa8cb 8060 python optional 
pywavelets_0.5.1-1.3.debian.tar.xz
 e2adcc5a81ac7b1696b16a4d285b90c1 9161 python optional 
pywavelets_0.5.1-1.3_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEkpeKbhleSSGCX3/w808JdE6fXdkFAl36ObgACgkQ808JdE6f
XdmyhhAAsGO260UmmdAep154LC9NZL4Zs8haF/Lr+sni5Bem+Z1UHj1mXkosaK0N
XWt4SDi5ScJD4qXBZHf7GS2nJE5C1K1is1bzuqfg8gVbrUxzWWjeMi4Dw5ixBmOs
hQ7vaHkoFQaGH2P321ODZqsucMdmUNM3NOz6DfEARYoshXzP4A+t6A35tv4t644v
h+zbzjT6Q5RMU+iezjvIRnb2AINV2Y3x0M7eKF4dzqsm5zcO/8uK7/bk9LUf9RSz
WUfKKTMOr+7YhVL1lkHxCahxkcbIpQffGsulTylkQGb1Kbrc+0hpuUGmyXo6PTRz
8WN7FIxlT0yPebewkHzoFlexF/828WFC44bRDiQ4PJmyp5b5Pys9d8XcPKsajUZX
pSVBJ8qKOiblgH9rhEkz3sFyWJ0Kz1+fp8LBYD4ZdKGSVig+pt5/7XStE61zjrmt
AK/Tv1/txBpa68YXciml7d3Y4Z/SDJwYZj/+2GpWo0b+dbxuvNZAk1BhXHWjNKMy
w8jYyG1WaR7vubW86a7wVwZyLHjKEGVp0gfAYviEBsSnFRY2zyCdlH9XepPWdP7y
flouVY9+JtZZ6cc6g+16oZEuhVIT8EUjD+Jg7uCucO+bqYY49nTIFjY6zhJLVKHB
iBXBN4Lwfo6HnZA6nE6Ivb7Gy2/InsUQ4zS8UT+SXECXkyphnjw=
=No9Q
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to