Your message dated Mon, 10 Jul 2017 13:04:48 +0000 with message-id <[email protected]> and subject line Bug#846094: fixed in cpl 7.0-4 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-4 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: Mon, 10 Jul 2017 14:34:41 +0200 Source: cpl Binary: libcpl-dev libcpl-doc libcplcore26 libcpldfs26 libcpldrs26 libcplui26 libcext0 libcext-dev libcext-doc libcplgasgano26 Architecture: source Version: 7.0-4 Distribution: unstable Urgency: low 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 libcplgasgano26 - CPL Java Native Interface library libcplui26 - CPL framework interface library Closes: 846094 Changes: cpl (7.0-4) unstable; urgency=low . [ Iain Lane ] * Workround unligned access on armhf by not running an optimised loop there. Closes: #846094 . [ Ole Streicher ] * Add Multi-Arch entries for libcext-dev and libcext-doc * Push Standards-Version to 4.0.0. No changes needed. Checksums-Sha1: 8541d585563cbb6969cbeafa7913333ec8fd2769 2602 cpl_7.0-4.dsc 11be7b73934b6c663f3eaf1b565abb86401f5c6f 83156 cpl_7.0-4.debian.tar.xz Checksums-Sha256: 81d85a7e519a33d56b1b6f326fe0df20f20fb543fa779bd8a057a273cebfca36 2602 cpl_7.0-4.dsc d75015c224d363ca5dd6a28a465560501865d0a4a01e37a02a4b527c9235b853 83156 cpl_7.0-4.debian.tar.xz Files: a69d13965957c916678d573fe8ec3372 2602 science optional cpl_7.0-4.dsc 9c16beb428de6337a58dd643d65c5140 83156 science optional cpl_7.0-4.debian.tar.xz -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEuvxshffLFD/utvsVcRWv0HcQ3PcFAlljdjoACgkQcRWv0HcQ 3PeKKxAAgyRVf3P74DPLLcByjcS9O5KSR1WdIF6CJAqAeMIhKGtmDxwXk7FDQeyx YJ+UooFY1NrKeEuXBadiW/pMwcDPU5Qene7VQ9f9QiXZzOaQHDA0oybvH2GX0K7r eZoaJnr8VXOBId6AeEWnQ2XQ2EWCFa21aEuxMv6F2XQYqIt/qSNyQHmiisX8u2Hu efjJY3Hmvadn3uPLX6x05lEwZKmAs1KFkYXgLUiRpiW/aCgwIY1ltpGEAvSNLflD PGrDdl25/2guGTz8mnenDm+PYQOWHaV5UH8wderv1qf7W/FFV8yC/BXBs8JdZc0d in6xP410QxdwEu8N6BU9WgqETNFU883c9zMKnNIi4Gh75p8ci9hgwlQWFKi9ZeCO sI/VorTiyo1Rv+fCiUBknLgfZy8XU9RU4M6ksYbRCkWs9FXx/SMg5/k7kfJRjDB3 FA69XzZWypvBSQCgoS0Sr5FKBCejgM3I/grLF19dQnYNAKQRqA6nsLTJI+7P/YPD EsWlS4AhQSF6+pKnqsygYEvKinjM64ioWAP1Hqml7r8nmds/wFO5kFBxX288oeEU GfKrXJifz655hsi66+ov0BD9KAIga6s0GDDz7fXzFCQyt2lUcHKfDbOImXe10Tnx cFBuh6SXsV1SKKPeqqHJU7jAy2gxleRcRy2Jxikg8PUe7YW8DSo= =4tL4 -----END PGP SIGNATURE-----
--- End Message ---

