Your message dated Fri, 08 Sep 2017 15:49:26 +0000 with message-id <[email protected]> and subject line Bug#846094: fixed in cpl 7.0-6 has caused the Debian Bug report #846094, regarding cpl_mask.c: Unaligned access 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.) -- 846094: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=846094 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Source: cpl Version: 7.0-3 Severity: normal Tags: upstream Hi, I noticed this on Ubuntu, where we build armhf packages on arm64 machines which trigger a SIGBUS on unaligned access. The test cpl_basic_image-test fails: > root@ethical-kitten:~/cpl-7.0# ./libtool --mode=execute gdb > cplcore/tests/cpl_image_basic-test > [...] > Reading symbols from > /root/cpl-7.0/cplcore/tests/.libs/lt-cpl_image_basic-test...done. > (gdb) run > Starting program: /root/cpl-7.0/cplcore/tests/.libs/lt-cpl_image_basic-test > Cannot parse expression `.L954 4@r4'. > warning: Probes-based dynamic linker interface failed. > Reverting to original interface. > > [Thread debugging using libthread_db enabled] > Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". > > Program received signal SIGBUS, Bus error. > cpl_mask_count_window (self=self@entry=0x35338, llx=<optimized out>, > lly=lly@entry=1, urx=urx@entry=17, ury=15) at cpl_mask.c:1139 > 1139 const size_t countz = *(const size_t*)(pi + i) > (gdb) bt > #0 cpl_mask_count_window (self=self@entry=0x35338, llx=<optimized out>, > lly=lly@entry=1, urx=urx@entry=17, ury=15) at cpl_mask.c:1139 > #1 0xf772397e in cpl_mask_count (in=in@entry=0x35338) at cpl_mask.c:1087 > #2 0x0001e198 in cpl_image_bitwise_test (nx=<optimized out>, ny=<optimized > out>) at cpl_image_basic-test.c:2100 > #3 0x0001234e in main () at cpl_image_basic-test.c:145 This is the code > for (; i < (urx & ~CPL_MASK_PAD2); i+= CPL_MASK_WORD2) { > const size_t countz = *(const size_t*)(pi + i) > + *(const size_t*)(pi + i + CPL_MASK_WORD); I guess this access or the preceeding loop > /* FIXME: Should really ensure byte-wise iteration to word-boundary */ > for (; i < llx - 1 + CPL_MASK_PAD2WORD2(llx - 1); i++) { needs to become aligned, but it's a bit complicated for me to understand as someone new to the codebase. Any ideas? Or could you help & forward upstream please? Thanks, -- Iain Lane [ [email protected] ] Debian Developer [ [email protected] ] Ubuntu Developer [ [email protected] ]
--- End Message ---
--- Begin Message ---Source: cpl Source-Version: 7.0-6 We believe that the bug you reported is fixed in the latest version of cpl, 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 [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Ole Streicher <[email protected]> (supplier of updated cpl 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 [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Fri, 08 Sep 2017 17:26:05 +0200 Source: cpl Binary: libcpl-dev libcpl-doc libcplcore26 libcpldfs26 libcpldrs26 libcplui26 libcext0 libcext-dev libcext-doc Architecture: source Version: 7.0-6 Distribution: unstable Urgency: medium Maintainer: Debian Astronomy Maintainers <[email protected]> Changed-By: Ole Streicher <[email protected]> Description: libcext-dev - Commonly used utility functions for C programs (development files libcext-doc - API documentation for ESO's C utility library libcext libcext0 - Commonly used utility functions for C programs libcpl-dev - ESO library for automated astronomical data-reduction libcpl-doc - API documentation for the Common Pipeline Library libcplcore26 - Fundamental CPL data types and functions libcpldfs26 - CPL functions for Data Flow System compatibility libcpldrs26 - CPL higher level data processing algorithms libcplui26 - CPL framework interface library Closes: 846094 Changes: cpl (7.0-6) unstable; urgency=medium . * Workround unligned access on sparc64 by not running an optimised loop there. (Closes: #846094) * Switch to gbp patch workflow Checksums-Sha1: e7db6891b87089b673b0b42ef58af56a16aef610 2520 cpl_7.0-6.dsc f411d5f0f85ffecba9c34eaee5c968c09a367c8e 83108 cpl_7.0-6.debian.tar.xz Checksums-Sha256: 4f9c37097301722773d40d04e7f60be0e86ff16851afa9858213aea3ed478f4f 2520 cpl_7.0-6.dsc f1e91a3c0411aba6ad8600d8711ba7d4584966a358273550df5d7961377349ff 83108 cpl_7.0-6.debian.tar.xz Files: e0593d892f1478f6de4686a1f303a5c2 2520 science optional cpl_7.0-6.dsc bc3db60708b17967b4e2b774628bdea8 83108 science optional cpl_7.0-6.debian.tar.xz -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEuvxshffLFD/utvsVcRWv0HcQ3PcFAlmyt60ACgkQcRWv0HcQ 3PfG9A/9GaBJzRqSFkuzGuj2YdZIN2+2dyFGoqFy3F4EvO+Aj3p11Cy7UFIdfuR7 l5Hg24aSfefSOAvOQWkqTbTsWGxU+Ml7qvneyUIyNVXFO2L0BmIS6m1pSqVdZd2k oaqRXdYHu6yG2ZVasim3pqvOSXmKL9AzUmrsA5pbHau6DBNToHq4rRJmQcoziO7S GHYl4umse1McaiHXbwEsd9T+qKP8rc04mvNLIuWF0dZMu/F4btyvsP2EH6QG6A6M D5cc4xge8FjXVWdzKQ98+I2Y8aizKv4Z0wiykLd88hEIHQ37nlK1ye1ZToDl/uXy ZF/gTjQb6uPhMMfJRsO19pITJOE0zuQwIWzEQxZ0qYyc7BRC2aRfL63t9xlcSaxb 2zj1WEUv5oLUgiZPaD37Zvxe6gcGbMKt8lc+IFqgP1Yknu428w7Ff6ICIJl2gtW0 57+6RSraeUFjNDFMyFcW3zwQQf46LkLjzwrfn27Mt89VJe1lL/RV9As5x4S5IxmA hmParSRLsW7kNRcWuX4knNMg93rY3wfU7w6UyPGYd/TOqnXsk4JaEPETF03zVEyX HH41ryPtrHhiSiEiUsSVBv0RoPuojGGSM9sFyP673/xAuCMbu5hpPH76NrQXkLTH sL/1nggMxBumIs/V0HqS4bnj6uVqivcqO9GUKtaxvweUHZAhxVQ= =Dhqp -----END PGP SIGNATURE-----
--- End Message ---

