Your message dated Mon, 06 Nov 2017 13:00:19 +0000
with message-id <[email protected]>
and subject line Bug#880397: fixed in openimageio 1.8.6~dfsg0-1
has caused the Debian Bug report #880397,
regarding openimageio: Pull upstream commit to fix alignment issues on (at
least) ARM
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.)
--
880397: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=880397
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: openimageio
Version: 1.7.17~dfsg0-1
Severity: normal
Tags: patch
User: [email protected]
Usertags: origin-ubuntu bionic ubuntu-patch
In Ubuntu, the attached patch was applied to achieve the following:
* alignment.patch: Cherrypick upstream fix for ustring::TableRep alignment.
This doesn't immediately expose itself as a problem in the opemimageio
build itself and, indeed, isn't a problem on armhf systems where alignment
issues are trapped and fixed up on the fly (which is some, but not all of
them), however we saw it as a SIGBUS in blender on the Ubuntu buildds,
which don't trap and fix-up alignment errors.
... Adam
-- System Information:
Debian Release: buster/sid
APT prefers bionic
APT policy: (500, 'bionic')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.13.0-16-lowlatency (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_CA:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
diff -Nru openimageio-1.7.17~dfsg0/debian/control
openimageio-1.7.17~dfsg0/debian/control
--- openimageio-1.7.17~dfsg0/debian/control 2017-10-30 06:54:39.000000000
-0600
+++ openimageio-1.7.17~dfsg0/debian/control 2017-10-31 01:16:23.000000000
-0600
@@ -1,8 +1,7 @@
Source: openimageio
Section: libs
Priority: optional
-Maintainer: Ubuntu Developers <[email protected]>
-XSBC-Original-Maintainer: Debian PhotoTools Maintainers
<[email protected]>
+Maintainer: Debian PhotoTools Maintainers
<[email protected]>
Uploaders: Matteo F. Vescovi <[email protected]>
Build-Depends:
cmake,
diff -Nru openimageio-1.7.17~dfsg0/debian/patches/alignment.patch
openimageio-1.7.17~dfsg0/debian/patches/alignment.patch
--- openimageio-1.7.17~dfsg0/debian/patches/alignment.patch 1969-12-31
17:00:00.000000000 -0700
+++ openimageio-1.7.17~dfsg0/debian/patches/alignment.patch 2017-10-31
01:15:28.000000000 -0600
@@ -0,0 +1,22 @@
+commit 8074ac9b28513c2a9f2dbe9dcb0733076d0ea8e7
+Author: Chris Kulla <[email protected]>
+Date: Wed Apr 12 17:48:21 2017 -0700
+
+ Pad the length of pool allocations for ustring::TableRep so that the next
one allocated will also be aligned
+
+ This was noticed by the undefined behavior sanitizer
+
+diff --git a/src/libutil/ustring.cpp b/src/libutil/ustring.cpp
+index 82743ba9..1e494f91 100644
+--- a/src/libutil/ustring.cpp
++++ b/src/libutil/ustring.cpp
+@@ -164,6 +164,9 @@ private:
+ }
+
+ char* pool_alloc(size_t len) {
++ // round up to nearest multiple of pointer size to guarentee proper
alignment of TableRep objects
++ len = (len + alignof(ustring::TableRep) - 1) &
~(alignof(ustring::TableRep) - 1);
++
+ if (len >= POOL_SIZE) {
+ memory_usage += len;
+ return (char*) malloc(len); // no need to try and use the pool
diff -Nru openimageio-1.7.17~dfsg0/debian/patches/series
openimageio-1.7.17~dfsg0/debian/patches/series
--- openimageio-1.7.17~dfsg0/debian/patches/series 2017-10-30
06:54:45.000000000 -0600
+++ openimageio-1.7.17~dfsg0/debian/patches/series 2017-10-31
01:16:20.000000000 -0600
@@ -1 +1,2 @@
0001-Fix_documentation_generation.patch
+alignment.patch
--- End Message ---
--- Begin Message ---
Source: openimageio
Source-Version: 1.8.6~dfsg0-1
We believe that the bug you reported is fixed in the latest version of
openimageio, 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.
Matteo F. Vescovi <[email protected]> (supplier of updated openimageio 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: SHA512
Format: 1.8
Date: Sat, 04 Nov 2017 14:41:57 +0100
Source: openimageio
Binary: libopenimageio1.8 libopenimageio-dev openimageio-tools
python-openimageio libopenimageio-doc
Architecture: source amd64 all
Version: 1.8.6~dfsg0-1
Distribution: experimental
Urgency: medium
Maintainer: Debian PhotoTools Maintainers
<[email protected]>
Changed-By: Matteo F. Vescovi <[email protected]>
Description:
libopenimageio-dev - Library for reading and writing images - development
libopenimageio-doc - Library for reading and writing images - documentation
libopenimageio1.8 - Library for reading and writing images - runtime
openimageio-tools - Library for reading and writing images - command line tools
python-openimageio - Library for reading and writing images - Python bindings
Closes: 875072 880397
Changes:
openimageio (1.8.6~dfsg0-1) experimental; urgency=medium
.
* New upstream release (Closes: #875072, #880397)
- debian/: SONAME bump 1.7 -> 1.8
- debian/patches/: patchset updated
- 0001-Fix_documentation_generation.patch refreshed
- debian/copyright: obsolete entry dropped
* debian/:
- dh bump 9 -> 10
- Multi-Arch support added
* debian/control: S-V bump 4.0.0 -> 4.1.1 (no changes needed)
Checksums-Sha1:
67c9e631f5bde56ba078c13f6a192bed93f1b7e1 2873 openimageio_1.8.6~dfsg0-1.dsc
b17353d308947384dba050b7e3891bfb8cc28ba6 25188356
openimageio_1.8.6~dfsg0.orig.tar.gz
7d657549213a4b13a170b562675389acdcd0e07d 24636
openimageio_1.8.6~dfsg0-1.debian.tar.xz
ba8db063c3b8c3992bb64ed27b851a9df7ab1c19 323204
libopenimageio-dev_1.8.6~dfsg0-1_amd64.deb
34cf945c857107ced4672ab0cc50ad5cb4fe2da8 2558200
libopenimageio-doc_1.8.6~dfsg0-1_all.deb
cb28e60f278a5adc5fff9786d01368b54b8521ac 24386980
libopenimageio1.8-dbgsym_1.8.6~dfsg0-1_amd64.deb
e9aaf8121a9b979059ddaaa35db90ae4197d940c 2023000
libopenimageio1.8_1.8.6~dfsg0-1_amd64.deb
494e4bfb487e928c3644fbd517478279a1c1c240 3731916
openimageio-tools-dbgsym_1.8.6~dfsg0-1_amd64.deb
5f55ff8c2750a223db6370c09585760ceb2c572e 400212
openimageio-tools_1.8.6~dfsg0-1_amd64.deb
6ab225ab5da7505ee50f98d339f3fdea40bfef63 24068
openimageio_1.8.6~dfsg0-1_amd64.buildinfo
2fd8b8a8ef2a43060b7bcea53004690d7c026233 3990960
python-openimageio-dbgsym_1.8.6~dfsg0-1_amd64.deb
f2ce2da81bc8a1fa9107a10e73c29e4f94d0dc40 464152
python-openimageio_1.8.6~dfsg0-1_amd64.deb
Checksums-Sha256:
f8d9c12b3d56e4f7ff1ac87adbaddfd5ea52e370dea07c6ca2ae318e8229e9c7 2873
openimageio_1.8.6~dfsg0-1.dsc
5a08a6cebc969d0b84bc5751255e61f60530b9c5d12959f634c2dbe5c3e795f2 25188356
openimageio_1.8.6~dfsg0.orig.tar.gz
18addaf231b14d21216f29988f607ffb86ae98823f7e918d899b7ed47c955cb5 24636
openimageio_1.8.6~dfsg0-1.debian.tar.xz
700a7c74166558f5257f453b5d6a58dd6457c3a5fa8f504254b265c687006813 323204
libopenimageio-dev_1.8.6~dfsg0-1_amd64.deb
feb604fafb1f890515a850151735ac88ede982799bc8a28be52ac2b9a4418bdc 2558200
libopenimageio-doc_1.8.6~dfsg0-1_all.deb
d5bd304e20528dda6c42c9cd7edc26880d0616ad625e1b03a2c4e0a2cfe22728 24386980
libopenimageio1.8-dbgsym_1.8.6~dfsg0-1_amd64.deb
83fffcb2d5737964addc49d04d662f03292c59df76715b57a446e3e08a8056a5 2023000
libopenimageio1.8_1.8.6~dfsg0-1_amd64.deb
72cb9378fde53ecb549a87ceebf8fd0624cb1920b0aa4ffad2a5c3b8ba391f92 3731916
openimageio-tools-dbgsym_1.8.6~dfsg0-1_amd64.deb
2db205a9d2761778f7f959bcc4a897191a852ddcf99be8fb986314308b0f816c 400212
openimageio-tools_1.8.6~dfsg0-1_amd64.deb
fd8bbc029ba69d83b1b1dee8d7d982580f929d3312142081435f0824e508df90 24068
openimageio_1.8.6~dfsg0-1_amd64.buildinfo
142b7c406c49995f9e24804775928d61a40eeaa5c4ff5c1c360ae1df51e91b3b 3990960
python-openimageio-dbgsym_1.8.6~dfsg0-1_amd64.deb
05bf0dbd73ea7c495e02ab86d3a37c06557b83258e8284118474c981c0ba6741 464152
python-openimageio_1.8.6~dfsg0-1_amd64.deb
Files:
866af1cfeda4d45bc8d1d6d0210c93da 2873 libs optional
openimageio_1.8.6~dfsg0-1.dsc
430ba1317d58c6ccd5c220b92cc344c6 25188356 libs optional
openimageio_1.8.6~dfsg0.orig.tar.gz
dcb612d860aaf1a8f58c918b0a7a9280 24636 libs optional
openimageio_1.8.6~dfsg0-1.debian.tar.xz
83c567c764d99395565bc42c9f55d78f 323204 libdevel optional
libopenimageio-dev_1.8.6~dfsg0-1_amd64.deb
8a66f4763d723a9a8785e2a776de81cf 2558200 doc optional
libopenimageio-doc_1.8.6~dfsg0-1_all.deb
b333a00225361feff96930b6216bcb2c 24386980 debug optional
libopenimageio1.8-dbgsym_1.8.6~dfsg0-1_amd64.deb
50b5de63c60fa3816156b061bfe581ba 2023000 libs optional
libopenimageio1.8_1.8.6~dfsg0-1_amd64.deb
bb9edab696b54bedeb76c9900135fa6f 3731916 debug optional
openimageio-tools-dbgsym_1.8.6~dfsg0-1_amd64.deb
413ebbe1ce6bae2e5270798b5f3911ae 400212 graphics optional
openimageio-tools_1.8.6~dfsg0-1_amd64.deb
8e18c1435226155b156c99e8b3809449 24068 libs optional
openimageio_1.8.6~dfsg0-1_amd64.buildinfo
ff4b568c8738be64a8f8811519ea0f25 3990960 debug optional
python-openimageio-dbgsym_1.8.6~dfsg0-1_amd64.deb
571dd75e2f6f2175d4d3b87a56aaff74 464152 python optional
python-openimageio_1.8.6~dfsg0-1_amd64.deb
-----BEGIN PGP SIGNATURE-----
Comment: Debian powered!
iQKTBAEBCgB9FiEE890J+NqH0d9QRsmbBhL0lE7NzVoFAln+DqBfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEYz
REQwOUY4REE4N0QxREY1MDQ2Qzk5QjA2MTJGNDk0NEVDRENENUEACgkQBhL0lE7N
zVriog//XlmwRFE+WTNHSHMRmGpTH+2dUBgKvR/lY1dvG/DeYhtSB6nAUtEueuMs
QJHsECLP5JO+wKQGpt4s/D/NsniZqyjRNJimGb5eyw4ra2sOoklRh+7hYlcGnKJR
GbQwRUCbbs3TRuBiUI5Ii6L5/v2JUVQGBqSPZcUQSLpRGls1ydbgSIlUki3Bsmrl
7Mc2zmBJPi2aZP8tnl4AK0L8MxTYIoRCMBsMeDn32MBRBJ5o2ZrJVYxA3/UuC8Zv
0ytF5pIdmrQlekRpQFGnomwusV5rzI+BhC66wKwkldwtAmO5959ewkjNB4rzH7Ev
taY23mfjHAXj6Pc4zzqC5m/XwFexwSWIjrOiW1/JiJYEgUFw/FvYz21csdGXUqEj
rTAvA5zIHoKyCbU+q2lMyujBwrei3tGmQJWDG6pzCWsOqXAu1Ar9yEQLzJNFk2F4
+KVhEQmdm+e9An0mi8DvtUC17I3zxwAMQLXjGBwzzZcrZR4l4uvuLw+BP3hbCWkf
TB2GY8Dh3JYWzhtQhk2Ul52trMpnkJp/Y6hTCmeeaBmpdPh1HZyePpLudoPl3DQX
bHPUNR1elqYXHZIieQEgj+MNio5DDzJttHhe/Y08sju7JfBCYszcP7EzFKzvukX3
hFfHIdCC6taqyPG62p0dlhAFUPhYSzKGr8CX+vOaHOLXAZa6J44=
=p4l+
-----END PGP SIGNATURE-----
--- End Message ---
_______________________________________________
Pkg-phototools-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-phototools-devel