Your message dated Mon, 28 Sep 2009 22:57:53 +0000
with message-id <[email protected]>
and subject line Bug#548815: fixed in libvorbisidec 1.0.2+svn16259-2
has caused the Debian Bug report #548815,
regarding ivorbisfile_example.c triggers alignment error on armel
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.)


-- 
548815: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=548815
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libvorbisidec-dev

On armel, when i build ivorbisfile_example.c against the stock
libvorbisidec package, it triggers a series of CPU alignment faults, and
consequently produces bad data.

Interestingly, this seems to be because gcc is happy to align an array
of chars on an odd address under armel (on i386, gcc appears to always
place char arrays on 4-byte boundaries).

since ov_read asks for a char* buffer, but then casts it to shorts, if
the char* buffer is not short-aligned, the CPU sees an alignment fault.

What the CPU does in the case of an alignment fault is configurable by
echoing the decimal representation of a bitmask into /proc/cpu/alignment:

 1 -> warn
 2 -> fixup (software workaround to correct the alignment error)
 4 -> signal (send a SIGBUS to the child process)

What to do on a user fault defaults to 0 (none of the above), but if you
set it to 4 or 5, the process will receive a SIGBUS.

with the alignment user fault set to 0, the ivorbisfile_example.c simply
produces bad data.

I reported a few things that should probably be fixed to upstream, and
have a new version of the debian package ready which fixes the example
to work properly;  i'll upload that version shortly.

further reference:

I originally documented the problem upstream in april:

 http://lists.xiph.org/pipermail/tremor/2009-April/001564.html

and followed up again earlier this month (the proposed fixes follow this
thread):

  http://lists.xiph.org/pipermail/tremor/2009-September/001587.html

Martin Guy pointed me in the right direction on
http://bugs.debian.org/547525

        --dkg

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Source: libvorbisidec
Source-Version: 1.0.2+svn16259-2

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

libvorbisidec-dev_1.0.2+svn16259-2_i386.deb
  to pool/main/libv/libvorbisidec/libvorbisidec-dev_1.0.2+svn16259-2_i386.deb
libvorbisidec1_1.0.2+svn16259-2_i386.deb
  to pool/main/libv/libvorbisidec/libvorbisidec1_1.0.2+svn16259-2_i386.deb
libvorbisidec_1.0.2+svn16259-2.diff.gz
  to pool/main/libv/libvorbisidec/libvorbisidec_1.0.2+svn16259-2.diff.gz
libvorbisidec_1.0.2+svn16259-2.dsc
  to pool/main/libv/libvorbisidec/libvorbisidec_1.0.2+svn16259-2.dsc



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.
Daniel Kahn Gillmor <[email protected]> (supplier of updated libvorbisidec 
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: Mon, 28 Sep 2009 16:01:06 -0400
Source: libvorbisidec
Binary: libvorbisidec-dev libvorbisidec1
Architecture: source i386
Version: 1.0.2+svn16259-2
Distribution: unstable
Urgency: low
Maintainer: Daniel Kahn Gillmor <[email protected]>
Changed-By: Daniel Kahn Gillmor <[email protected]>
Description: 
 libvorbisidec-dev - Integer-only Ogg Vorbis decoder, AKA "tremor" (Development 
Files)
 libvorbisidec1 - Integer-only Ogg Vorbis decoder, AKA "tremor"
Closes: 548815
Changes: 
 libvorbisidec (1.0.2+svn16259-2) unstable; urgency=low
 .
   * updated ivorbisfile_example.c to ensure proper alignment of pcm data
     on short boundaries (affects any arch where char arrays can be placed
     on misaligned boundaries, such as armel).
     (Closes: #548815)
Checksums-Sha1: 
 f0be28a602f76ed9bf7f750a4f6c6e24bad9e081 1871 
libvorbisidec_1.0.2+svn16259-2.dsc
 2f9d74592dcd261d6ced573ef86e997803348a92 5928 
libvorbisidec_1.0.2+svn16259-2.diff.gz
 a7c76b08e741c32f5d88e8ba4c03e695838a10a9 121194 
libvorbisidec-dev_1.0.2+svn16259-2_i386.deb
 485b9584301b466f04f7975afe4b18043402d9bd 86870 
libvorbisidec1_1.0.2+svn16259-2_i386.deb
Checksums-Sha256: 
 2d774b38b5f9384e9adc56757b8559841f4e64098fae99fcef7b9b24bf1203ee 1871 
libvorbisidec_1.0.2+svn16259-2.dsc
 1172d9ab030c4770aa3d9e7b9d0d91e6bec4ede7e1cda26559025c400dc00bf3 5928 
libvorbisidec_1.0.2+svn16259-2.diff.gz
 20cf882046f86dd0e75e7f68b781ac03b2c0d475e74be6845311647aec44bb1c 121194 
libvorbisidec-dev_1.0.2+svn16259-2_i386.deb
 4237cc46b23a219f45e9af2785f82a8dcc3e261a8f4b355d4bb7e55be7ba13d6 86870 
libvorbisidec1_1.0.2+svn16259-2_i386.deb
Files: 
 9087ffd7440dc872927a12b1cd8251b0 1871 libs extra 
libvorbisidec_1.0.2+svn16259-2.dsc
 e87a91b589200644cdf32383fc712d9e 5928 libs extra 
libvorbisidec_1.0.2+svn16259-2.diff.gz
 5c2b3bfecd0227ce560784ff4054b50d 121194 libdevel extra 
libvorbisidec-dev_1.0.2+svn16259-2_i386.deb
 952c9c5c24acea37ccc352cbfd7929a9 86870 libs extra 
libvorbisidec1_1.0.2+svn16259-2_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQIVAwUBSsE3PczS7ZTSFznpAQpABw//cdy55CsCGlzBfaooqKV6G5WQzauIsDyG
ZiLherKmZ8N8oSRMvpjwdK99oTrv5Gaz6mVlaNBE6xs2GUOzEKG/RT3nE/e3AhaM
i3njZ8uzS0p98kMtYvA5ej3yyQDWExr+6Abk8ON0SWOqTe/50SNWWU3u2UnRkv4E
FkfjrGUuHo89Or5CZa1g/hv47QuhpjEeiUMiz3ChqZ7/8nEtuqyAUzzOv//Dds1W
qDWU9QrE0S1mjFrUHx8hezCUJUMk4S0Ny0K8R/oDVR43jCrT3R160rySWO8jB9mD
gzfFn5OcUHULNYvUO+8CJXtOUKe1RIC3Id+P4EBFGeTJQiOFkkxsaFX/9Ki/R1hE
nyLO8gEiBn8/t8uQEnuDhV/5Zv1sQlnRqzV7U3JtuustouEdWm47x+TvyNwE4Hvt
TZh77A8NAVEdKX/MHmaPkaUlRttvQIAYjFOys0VHQwtHZIl2HeXXy1RM7MNcRuqG
c1RozmJ46RgOK04W5RzzGmDS5AAIlEtFOghbX0BEjreizbvtu64KFZPpyOqtcsdz
9Ql40JlZOaQp6U0kGr5QysVVuIIoMIEIj+/Qu9d8Dch1l+AvNt0a/9Scadq1NGHy
dYy54pnCCY+ccCXTZ0L0EQBhLNfQuNMYf7Et0jgS7wYnmYPiLpeSwwXuoaW2SF5t
vfvjVgfZU90=
=gtS1
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to