Your message dated Wed, 24 Feb 2010 18:03:07 +0000
with message-id <[email protected]>
and subject line Bug#570953: fixed in gamera 3.2.4-2
has caused the Debian Bug report #570953,
regarding gamera: unaligned access; FTBFS on sparc
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.)


-- 
570953: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=570953
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: gamera
Version: 3.2.3-1
Severity: grave
Justification: renders package unusable on sparc

Gamera has unaligned access issues on sparc:


$ gdb --quiet --args python2.6
Reading symbols from /usr/bin/python2.6...Reading symbols from 
/usr/lib/debug/usr/bin/python2.6...done.
(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/python2.6
[Thread debugging using libthread_db enabled]
Python 2.6.4+ (r264:75706, Feb 16 2010, 04:55:39)
[GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
from gamera.core import *
init_gamera()
image = load_image('/usr/share/gamera/test/OneBit_generic.tiff')
image.black_area()

Program received signal SIGBUS, Bus error.
black_area<Gamera::ImageView<Gamera::ImageData<unsigned short> > > (self=<value 
optimized out>, args=0xf7a53b50) at include/plugins/features.hpp:42
42          *buf = 0;
Current language:  auto
The current source language is "auto; currently c++".
(gdb) up
#1  call_black_area (self=<value optimized out>, args=0xf7a53b50) at 
/home/jwilk/gamera-3.2.4/gamera/plugins/_features.cpp:118
118     black_area(*((OneBitImageView*)self_arg), feature_buffer);break;
(gdb) print feature_buffer
$1 = (Gamera::feature_t *) 0xf758b874


Note that feature_buffer pointer is not aligned to 8 bytes boundary as it should. The culprit is the following part of C code generator (gamera/generate.py):


           if (offset < 0) {
             str = PyString_FromStringAndSize(NULL, 
[[function.return_type.length]] * sizeof(feature_t));
             feature_buffer = (feature_t*)PyString_AsString(str);
           } else {
           ...
           }
           [[args[0].call(function, args[1:], [])]]


--
Jakub Wilk

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Source: gamera
Source-Version: 3.2.4-2

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

gamera-doc_3.2.4-2_all.deb
  to main/g/gamera/gamera-doc_3.2.4-2_all.deb
gamera-gui_3.2.4-2_all.deb
  to main/g/gamera/gamera-gui_3.2.4-2_all.deb
gamera_3.2.4-2.debian.tar.gz
  to main/g/gamera/gamera_3.2.4-2.debian.tar.gz
gamera_3.2.4-2.dsc
  to main/g/gamera/gamera_3.2.4-2.dsc
python-gamera-dbg_3.2.4-2_i386.deb
  to main/g/gamera/python-gamera-dbg_3.2.4-2_i386.deb
python-gamera-dev_3.2.4-2_all.deb
  to main/g/gamera/python-gamera-dev_3.2.4-2_all.deb
python-gamera_3.2.4-2_i386.deb
  to main/g/gamera/python-gamera_3.2.4-2_i386.deb



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.
Jakub Wilk <[email protected]> (supplier of updated gamera 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: Wed, 24 Feb 2010 16:47:16 +0100
Source: gamera
Binary: python-gamera python-gamera-dbg python-gamera-dev gamera-gui gamera-doc
Architecture: source i386 all
Version: 3.2.4-2
Distribution: unstable
Urgency: medium
Maintainer: Jakub Wilk <[email protected]>
Changed-By: Jakub Wilk <[email protected]>
Description: 
 gamera-doc - documentation for the Gamera framework
 gamera-gui - GUI for the Gamera framework
 python-gamera - framework for building document analysis applications
 python-gamera-dbg - framework for building document analysis applications 
(debug symb
 python-gamera-dev - framework for building document analysis applications 
(header fil
Closes: 570809 570953
Changes: 
 gamera (3.2.4-2) unstable; urgency=medium
 .
   * Fix two RC bugs affecting testing (hence urgency=medium):
     * Link _png_support.so with libpng on all Unix architectures (closes:
       #570809). (png-support-libpng.diff)
     * Fix unaligned memory access in the generated C code (closes: #570953).
       (fix-unaligned-access.diff)
   * Really remove upstream-applied patches from the source package.
   * Replace patch fixing TIFF export with the one applied upstream.
   * Make gamera-gui recommend python-docutils, as it's needed to display
     context help.
   * Update debian/copyright.
Checksums-Sha1: 
 f612ad14bbee71b39d3718447e69f1816da2238d 2263 gamera_3.2.4-2.dsc
 3b7080238392bd9afc719a1009d3854f701e3590 19684 gamera_3.2.4-2.debian.tar.gz
 fd805d77686f429487287870b9b78b3b31e20fa9 4983416 python-gamera_3.2.4-2_i386.deb
 853c3e44bad447bd30140d6ee7b93e4e06a691b2 37357160 
python-gamera-dbg_3.2.4-2_i386.deb
 77ddbfb00db42c3d79d17e70e624fc1c9d8ff1ec 143474 
python-gamera-dev_3.2.4-2_all.deb
 4990517a9539c5df6916ca7a5601802ba21df81a 392064 gamera-gui_3.2.4-2_all.deb
 3b8af3a92497b1bf9bdd7df3ebb27ed806923b51 4056128 gamera-doc_3.2.4-2_all.deb
Checksums-Sha256: 
 8a925041a066b39468bd5d93db1ce3b402669ff479da9d006df814e54d4f3318 2263 
gamera_3.2.4-2.dsc
 dacf24e80c8d207d2cf1794907ceeb8674d4a5a181e3a8c461f54a20a33650c4 19684 
gamera_3.2.4-2.debian.tar.gz
 cc4e100632773477e9a3e45ef8136107e33bae70010f25236fb77537afaf3243 4983416 
python-gamera_3.2.4-2_i386.deb
 5e20b1adac538544e8d95bfec1b1adbd7ab7e851565a04adbd23a2f10b1f36e8 37357160 
python-gamera-dbg_3.2.4-2_i386.deb
 1606bbd9b82c0b8b19f1744790ab53e476ee4d74001f86f526ff0db71a295a61 143474 
python-gamera-dev_3.2.4-2_all.deb
 03da0ca3490515a080789dcb3618ac7f8e8a2f34ec13a3956f52e383f974d08a 392064 
gamera-gui_3.2.4-2_all.deb
 0b4bff2421bc317fc5bfcbf8f41deadb831029871bec5093a5457b2be42f242d 4056128 
gamera-doc_3.2.4-2_all.deb
Files: 
 78c140e8534d363218ab8c03c6638d69 2263 python optional gamera_3.2.4-2.dsc
 f8d9c4135c96a0cbf5295fd6c5744ccf 19684 python optional 
gamera_3.2.4-2.debian.tar.gz
 b21630ae2ab8b581ee84ac1df63c5259 4983416 python optional 
python-gamera_3.2.4-2_i386.deb
 0c5fdb4191c84b86937ee81e84d38990 37357160 debug extra 
python-gamera-dbg_3.2.4-2_i386.deb
 7843d9e59070f0ae6dc0a59df8e99c37 143474 python optional 
python-gamera-dev_3.2.4-2_all.deb
 fb3afb7eebeec4c028a17bbb6b18d93f 392064 python optional 
gamera-gui_3.2.4-2_all.deb
 361df87fbe471091bb91d3220c981778 4056128 doc optional 
gamera-doc_3.2.4-2_all.deb

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

iQIcBAEBCAAGBQJLhWaeAAoJEC1Os6YBVHX1H4UP/1zz9CI9QNbCSzkeXlAHvWJX
K3pNIaztrJT0wy7hoRGOuzbcWnvqgIE9gZaVOCCZfyijh0oyFSikEQ3/oMMdZlCH
qxo5xz34HThEQ+Ev0/cNVChmBIUpGZCRMFFnVZqf/NikYrVbUEiTtWUUz2rTQjoL
SZ1dLGE2POcBV2Czu7R9bDg/En4LLVyY9B87udV1sG4l//w//5t5o+F4Z3N1cfEg
cOY0PfDookFpLAD/jkfpfFfNg7ssBF96f3ylXRS0zbKeyWqL8AItjAQe2jgMLuDu
RrsMKMrzkVWHqTJ0FE510jy+EvKs42bDwxJxJStHlmZtBr9+uKRyxi2cYn6jH3NL
4XjyjveCBiedU5h8eDChioJafKYvn2XAfiW830qamgkGD9SizhUOZhfpt8YeyZo5
a51JefuBSCXgFY1CveMbMt7W3QhyCUCEOT5CZlfy+TzguJ3LUPXAAYnwsV++oJnf
EZL6Au5TE2CXly/q8V75LK1QnP8oqKXyI1b/RgAqn5ZPPZFK+j8wZomODRwLrasX
BHYocXDU/yasFYBeKArjUpxAA9xPNUPorU/i0OEMETT2TDOgOcbV2/eyh5gn0iTa
ivfxRhTeyk54YCUeY3Acsa2glUwvsSsRDdyJCTlol5HRJqi4paahg8XD4ZQWWrnt
iQNsMDhmK1CZGxGWpcWu
=Q7KO
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to