Your message dated Tue, 23 Oct 2018 20:35:25 +0000
with message-id <[email protected]>
and subject line Bug#911484: fixed in assimp 4.1.0~dfsg-5
has caused the Debian Bug report #911484,
regarding libassimp4: Bus error due to alignment problem in kido on armhf
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.)
--
911484: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=911484
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libassimp4
Version: 4.1.0~dfsg-4
Severity: normal
Hi,
a recent upload of kido started failing on buildd armhf:
https://buildd.debian.org/status/fetch.php?pkg=kido&arch=armhf&ver=0.1.0%2Bdfsg-6&stamp=1539567498&raw=0
5/30 Test #9: testForwardKinematics ............***Exception: Bus error 0.05
sec
Steve (Cc) helped me to debug this in #debian-arm.
(gdb) bt
#0 Assimp::STLImporter::LoadBinaryFile (this=this@entry=0xa2aa90) at
./code/STLLoader.cpp:455
#1 0xb60ebfc0 in Assimp::STLImporter::InternReadFile (this=0xa2aa90,
pFile="file:///home/jspricke/kido-0.1.0+dfsg/data/urdf/KR5/meshes/base_link.STL",
pScene=0xa28c00, pIOHandler=<optimized out>) at ./code/STLLoader.cpp:204
#2 0xb5eaf110 in Assimp::BaseImporter::ReadFile (this=this@entry=0xa2aa90,
pImp=pImp@entry=0xa19f48,
pFile="file:///home/jspricke/kido-0.1.0+dfsg/data/urdf/KR5/meshes/base_link.STL",
pIOHandler=<optimized out>)
at ./code/BaseImporter.cpp:97
#3 0xb5eb6d54 in Assimp::Importer::ReadFile (this=this@entry=0xa19f48,
_pFile=_pFile@entry=0xa1a6c8
"file:///home/jspricke/kido-0.1.0+dfsg/data/urdf/KR5/meshes/base_link.STL",
pFlags=pFlags@entry=2129962) at ./code/Importer.cpp:673
#4 0xb5ea987e in aiImportFileExWithProperties (pFile=0xa1a6c8
"file:///home/jspricke/kido-0.1.0+dfsg/data/urdf/KR5/meshes/base_link.STL",
pFlags=2129962, pFS=pFS@entry=0xbee4a950, props=props@entry=0xa28e50) at
./code/Assimp.cpp:191
#5 0xb6cf11d2 in kido::dynamics::MeshShape::loadMesh
(_uri="file:///home/jspricke/kido-0.1.0+dfsg/data/urdf/KR5/meshes/base_link.STL",
_retriever=std::shared_ptr<kido::common::ResourceRetriever> (use count 3, weak
count 0) = {...})
at /usr/include/c++/8/bits/basic_string.h:2281
#6 0xb6f05ab2 in kido::utils::KidoLoader::createShape<urdf::Visual>
(_vizOrCol=0xa28ed0, _baseUri=...,
_resourceRetriever=std::shared_ptr<kido::common::ResourceRetriever> (use count
3, weak count 0) = {...})
at /usr/include/c++/8/ext/atomicity.h:69
#7 0xb6f01e3e in kido::utils::KidoLoader::createKidoNodeProperties
(_lk=_lk@entry=0xa1caa0, node=..., _baseUri=...,
_resourceRetriever=std::shared_ptr<kido::common::ResourceRetriever> (use count
3, weak count 0) = {...})
at /usr/include/c++/8/bits/stl_vector.h:948
#8 0xb6f0393a in kido::utils::KidoLoader::modelInterfaceToSkeleton
(_model=<optimized out>, _baseUri=...,
_resourceRetriever=std::shared_ptr<kido::common::ResourceRetriever> (use count
3, weak count 0) = {...})
at ./kido/utils/urdf/KidoLoader.cpp:181
#9 0xb6f03f0c in kido::utils::KidoLoader::parseSkeleton (this=<optimized out>,
_uri=..., _resourceRetriever=...) at ./kido/utils/urdf/KidoLoader.cpp:66
#10 0x004cc01c in FORWARD_KINEMATICS_JACOBIAN_PARTIAL_CHANGE_Test::TestBody
(this=<optimized out>) at /usr/include/c++/8/bits/shared_ptr_base.h:1094
#11 0x004e9134 in
testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>
(location=0x4ee9d0 "the test body", method=&virtual testing::Test::TestBody(),
object=0xa1b588) at ./unittests/gtest/src/gtest.cc:2059
#12 testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>
(object=object@entry=0xa1b588, method=&virtual testing::Test::TestBody(),
location=0x4ee9d0 "the test body") at ./unittests/gtest/src/gtest.cc:2114
#13 0x004e34a4 in testing::Test::Run (this=0xa1b588) at
./unittests/gtest/src/gtest.cc:2150
#14 0x004e3596 in testing::TestInfo::Run (this=0xa17880) at
./unittests/gtest/src/gtest.cc:2326
#15 0x004e362e in testing::TestCase::Run (this=0xa17698) at
./unittests/gtest/src/gtest.cc:2443
#16 0x004e39d0 in testing::internal::UnitTestImpl::RunAllTests (this=<optimized
out>) at /usr/include/c++/8/bits/stl_vector.h:930
#17 0x004e3ab2 in
testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl,
bool> (location=0x4eeb3c "auxiliary test code (environments or event
listeners)", method=<optimized out>,
object=<optimized out>) at ./unittests/gtest/src/gtest.cc:2059
#18
testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl,
bool> (location=0x4eeb3c "auxiliary test code (environments or event
listeners)", method=<optimized out>, object=0xa17438)
at ./unittests/gtest/src/gtest.cc:2114
#19 testing::UnitTest::Run (this=0x504040
<testing::UnitTest::GetInstance()::instance>) at
./unittests/gtest/src/gtest.cc:3926
#20 0x004cae84 in RUN_ALL_TESTS () at
./unittests/gtest/include/gtest/gtest.h:2288
#21 main (argc=<optimized out>, argv=<optimized out>) at
./unittests/testForwardKinematics.cpp:212
Dump of assembler code for function Assimp::STLImporter::LoadBinaryFile():
...
0xb60e9f8c <+428>: add.w r6, r0, #36 ; 0x24
0xb60e9f90 <+432>: add r3, pc
0xb60e9f92 <+434>: adds r5, #36 ; 0x24
0xb60e9f94 <+436>: str r3, [sp, #16]
0xb60e9f96 <+438>: mov.w r9, #0
0xb60e9f9a <+442>: b.n 0xb60e9faa
<Assimp::STLImporter::LoadBinaryFile()+458>
0xb60e9f9c <+444>: add.w r9, r9, #1
0xb60e9fa0 <+448>: adds r6, #36 ; 0x24
0xb60e9fa2 <+450>: cmp r10, r9
0xb60e9fa4 <+452>: add.w r5, r5, #36 ; 0x24
0xb60e9fa8 <+456>: bls.n 0xb60ea080
<Assimp::STLImporter::LoadBinaryFile()+672>
=> 0xb60e9faa <+458>: ldmia.w r4, {r0, r1, r2}
0xb60e9fae <+462>: sub.w r3, r6, #36 ; 0x24
0xb60e9fb2 <+466>: sub.w r11, r6, #24
0xb60e9fb6 <+470>: add.w lr, r4, #12
0xb60e9fba <+474>: sub.w r7, r5, #36 ; 0x24
0xb60e9fbe <+478>: add.w r12, r4, #24
0xb60e9fc2 <+482>: stmia.w r3, {r0, r1, r2}
0xb60e9fc6 <+486>: stmia.w r11, {r0, r1, r2}
0xb60e9fca <+490>: add.w r11, r4, #36 ; 0x24
0xb60e9fce <+494>: ldmia.w r3, {r0, r1, r2}
0xb60e9fd2 <+498>: sub.w r3, r5, #24
...
(gdb) print vn
$1 = (aiVector3D *) 0xa40024
(gdb) print sz
$2 = (const unsigned char *) 0xa2b186 "\310~\262=\235\006\177\277"
Quoting from #debian-arm:
18:28:38 Sledge | it's just casting aiVector3D* over an unaligned char *
arrary
18:28:52 Sledge | sz is 0xa2b186
18:28:59 Sledge | which is not 4-byte aligned like it needs to be
-- System Information:
Debian Release: buster/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: armhf (armv7l)
Kernel: Linux 4.18.0-1-armmp (SMP w/8 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8),
LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages libassimp4 depends on:
ii libc6 2.27-6
ii libgcc1 1:8.2.0-8
ii libminizip1 1.1-8+b1
ii libstdc++6 8.2.0-8
ii zlib1g 1:1.2.11.dfsg-1
libassimp4 recommends no packages.
libassimp4 suggests no packages.
-- debconf-show failed
--- End Message ---
--- Begin Message ---
Source: assimp
Source-Version: 4.1.0~dfsg-5
We believe that the bug you reported is fixed in the latest version of
assimp, 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.
IOhannes m zmölnig (Debian/GNU) <[email protected]> (supplier of updated
assimp 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: Tue, 23 Oct 2018 21:55:26 +0200
Source: assimp
Binary: libassimp4 libassimp-dev libassimp-doc assimp-utils python-pyassimp
python3-pyassimp
Architecture: source
Version: 4.1.0~dfsg-5
Distribution: unstable
Urgency: medium
Maintainer: IOhannes m zmölnig (Debian/GNU) <[email protected]>
Changed-By: IOhannes m zmölnig (Debian/GNU) <[email protected]>
Description:
assimp-utils - 3D model import library (utilities)
libassimp-dev - 3D model import library (development)
libassimp-doc - 3D model import library (documentation)
libassimp4 - 3D model import library
python-pyassimp - 3D model import library (Python2 bindings)
python3-pyassimp - 3D model import library (Python3 bindings)
Closes: 911484
Changes:
assimp (4.1.0~dfsg-5) unstable; urgency=medium
.
* Backport fix for data-misalignment (Closes: #911484)
* Refresh patches with "gbp pq"
* Use https:// for copyright URI
* Declare that the package does not require "root" for building
* Bump standards version to 4.2.1
Checksums-Sha1:
7bde74793603d1d58b1d8016fe7f213d288ea85e 2336 assimp_4.1.0~dfsg-5.dsc
83105f9e55d7109ffae4f26d9d1bb6c1fd0bcb39 22328
assimp_4.1.0~dfsg-5.debian.tar.xz
b91a7915247e8435e40ec149e9c9704b451cd616 11233
assimp_4.1.0~dfsg-5_amd64.buildinfo
Checksums-Sha256:
626a2d018775a6a88358e238ffdfdd7a7e5432bc79b285b182d34049a38ae1be 2336
assimp_4.1.0~dfsg-5.dsc
b7366cba32d7571604c971070ae9b41c78edd8a437284c4d16ecc24250262bda 22328
assimp_4.1.0~dfsg-5.debian.tar.xz
e27fd10b9b8887113b1df908e24899785a4cdc72f474f05fffeb44504c1240d9 11233
assimp_4.1.0~dfsg-5_amd64.buildinfo
Files:
d3ba0bc3dc39ebf53d1be24ba55e756e 2336 graphics optional assimp_4.1.0~dfsg-5.dsc
82bf211e4afcd5f567f2ec1eece5735f 22328 graphics optional
assimp_4.1.0~dfsg-5.debian.tar.xz
51ef659b557af44f63b098874f6eb2a2 11233 graphics optional
assimp_4.1.0~dfsg-5_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEdAXnRVdICXNIABVttlAZxH96NvgFAlvPfvYACgkQtlAZxH96
NvjlBhAAhQrjcvCw74v7zMQWF1bfXcGfSCi+1U4Vm67tgP5nJinqOZS6XFSj+515
rRgLzbCCHmaJaGDl5sUMf7ouqizd2FslBvUL+YSH3I9zNeOINRU4laMYrs85boxn
3GpqS0z27ggkksvMZIgKVng7/lNkyzeZHFZ2cdrnfOAPMmwFGmfuewJgmN80YOnj
XUKKKnLzyK1wA4oYisCXyUyOZTB9KLxWs5RbeKXx13dgRVCd4Xa++zC7Kuzrj/Eh
kfAAnwBOQM39U/mKcNzkLA/MwvKpeU52Jt+xvHoQFgAxq9D8kT5SnZVf/x9qvULZ
dqHdD72x+srIJlDV87HKbvYjA0QeGDKcZZyx9KxtEa2LGq7VKE9L1z1PfeP4nb6D
E0Z7DTXW0u5B7evRk4q2xWDg++DC7z8JHbDXYxwzj8/ExKCdrS+RUDUIfS5C/w87
PheEgm52GGK6TgFxxC3SWSoqkmJypuoe2JVBRSDZw2l+wpwNfzO++TxTZimpXiLQ
BSjVtQKp0r7o3F0pUqHmwgn+u36GJj5ZDM0takAozT9VjwQC9eV1iFlkdLtj5mu5
1Nh/oDXwYDCKpwDsX9eZQhBgRCHoFILk3OOi9Txy5h+0wsPOf2qRRZ4ApetyKFN1
GwGrO1/xsr/8lC/EGnhRNVi7t5AM1wL2Cgeup2a92DMhtwmkFs0=
=u0VA
-----END PGP SIGNATURE-----
--- End Message ---