Your message dated Sun, 03 Oct 2010 09:04:49 +0000
with message-id <[email protected]>
and subject line Bug#574349: fixed in splix 2.0.0-2.2
has caused the Debian Bug report #574349,
regarding splix performs unaligned memory access; prints blank pages an 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.)


-- 
574349: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=574349
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: splix
Version: 2.0.0-2
Severity: important
Tags: patch

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

splix prints only blank pages on armel, because of an unaligned typecast.
The attached patch forces the compiler to align the offending variable. 
Please note that compiling with -Wcast-align warns about other possible
problems; I have not seen them triggering any alignment trap on my system
though.
Cheers,

Luca

- -- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: armel (armv5tel)

Kernel: Linux 2.6.32-2-kirkwood
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages splix depends on:
ii  cups                         1.4.2-5     Common UNIX Printing System(tm) - 
ii  cups-client                  1.4.2-5     Common UNIX Printing System(tm) - 
ii  ghostscript-cups             8.71~dfsg-2 The GPL Ghostscript PostScript/PDF
ii  libc6                        2.10.2-6    Embedded GNU C Library: Shared lib
ii  libcups2                     1.4.2-5     Common UNIX Printing System(tm) - 
ii  libcupsimage2                1.4.2-5     Common UNIX Printing System(tm) - 
ii  libgcc1                      1:4.4.3-1   GCC support library
ii  libstdc++6                   4.4.3-1     The GNU Standard C++ Library v3

splix recommends no packages.

splix suggests no packages.

- -- no debconf information

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

iEYEARECAAYFAkug6EwACgkQ+AQB36CPPloSNQCgj40HhOknOKll/VijBBtUXWpr
V1UAn1wmwdbgE0f3aDm8s90y8xo/HTIG
=oldV
-----END PGP SIGNATURE-----
diff -ruN splix-2.0.0/debian/rules splix-2.0.0.new/debian/rules
--- splix-2.0.0/debian/rules	2010-03-17 15:06:53.000000000 +0100
+++ splix-2.0.0.new/debian/rules	2010-03-17 13:22:56.847982486 +0100
@@ -19,7 +19,7 @@
 	dh_testroot
 	rm -f build-stamp configure-stamp
 	$(MAKE) clean
-	dh_clean 
+	dh_clean optimized/rastertoqpdl optimized/pstoqpdl
 
 install: build
 	dh_testdir
diff -ruN splix-2.0.0/optimized/src/qpdl.d splix-2.0.0.new/optimized/src/qpdl.d
--- splix-2.0.0/optimized/src/qpdl.d	2009-02-06 13:16:12.000000000 +0100
+++ splix-2.0.0.new/optimized/src/qpdl.d	2010-03-17 14:14:05.357987895 +0100
@@ -1,6 +1,6 @@
 $(DEPDIR)/src/qpdl.d 	$(BUILDDIR)/src/qpdl.o: src/qpdl.cpp include/qpdl.h \
-  include/page.h include/band.h include/errlog.h include/request.h \
-  include/printer.h include/bandplane.h
+ include/page.h include/band.h include/errlog.h include/request.h \
+ include/printer.h include/bandplane.h
 
 include/qpdl.h:
 
diff -ruN splix-2.0.0/src/qpdl.cpp splix-2.0.0.new/src/qpdl.cpp
--- splix-2.0.0/src/qpdl.cpp	2009-02-06 12:49:10.000000000 +0100
+++ splix-2.0.0.new/src/qpdl.cpp	2010-03-17 14:13:56.507981287 +0100
@@ -33,7 +33,7 @@
 {
     unsigned long version, subVersion, size, dataSize, checkSum;
     bool color, headerSent=false;
-    unsigned char header[0x20];
+    unsigned char header[0x20] __attribute__((aligned(4)));
     const BandPlane *plane;
 
     version = request.printer()->qpdlVersion();

--- End Message ---
--- Begin Message ---
Source: splix
Source-Version: 2.0.0-2.2

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

splix_2.0.0-2.2.diff.gz
  to main/s/splix/splix_2.0.0-2.2.diff.gz
splix_2.0.0-2.2.dsc
  to main/s/splix/splix_2.0.0-2.2.dsc
splix_2.0.0-2.2_amd64.deb
  to main/s/splix/splix_2.0.0-2.2_amd64.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.
Philipp Kern <[email protected]> (supplier of updated splix 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: SHA1

Format: 1.8
Date: Sun, 03 Oct 2010 10:51:05 +0200
Source: splix
Binary: splix
Architecture: source amd64
Version: 2.0.0-2.2
Distribution: unstable
Urgency: low
Maintainer: Jeroen van Wolffelaar <[email protected]>
Changed-By: Philipp Kern <[email protected]>
Description: 
 splix      - Driver for Samsung's SPL2 (bw) and SPLc (color) laser printers
Closes: 574349
Changes: 
 splix (2.0.0-2.2) unstable; urgency=low
 .
   * Non-maintainer upload.
   * Fix alignment to allow printing on ARM, thanks to Luca Niccoli.
     (Closes: #574349)
Checksums-Sha1: 
 b9e172edf2bb56aa5d1115461c3bc7d2ca5ea4f6 1043 splix_2.0.0-2.2.dsc
 fb3915a599d8974dcb1dffce709f613804fec53a 4222 splix_2.0.0-2.2.diff.gz
 3aed885a39f3e6e10c9af037ed9adfa04b65444a 98294 splix_2.0.0-2.2_amd64.deb
Checksums-Sha256: 
 d89dc8706f9760d8247a8e93d8f1f5d3212860bb08998e3c6b187f07f4f72084 1043 
splix_2.0.0-2.2.dsc
 dabe6982a3b12679fde0ce04d30fbf71abcbd0d6a1caefc9e2d1941b4fd7b4da 4222 
splix_2.0.0-2.2.diff.gz
 c67b9aa69341473a136497607f20798088f1a5936e77f550e99ce6786d1368db 98294 
splix_2.0.0-2.2_amd64.deb
Files: 
 c0c055a911ceb9c81b1c810093f7e3d4 1043 text optional splix_2.0.0-2.2.dsc
 0740c6e4f9a34b4a6ee54ac457129f19 4222 text optional splix_2.0.0-2.2.diff.gz
 b115657bf770cd5bf2d22858aec324ea 98294 text optional splix_2.0.0-2.2_amd64.deb

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

iEYEARECAAYFAkyoRZEACgkQ7Ro5M7LPzdg8BwCeMUncNq0mdVYtdMSrACD6Q29Y
imEAoNNRyoMkPgpmfMs/SI6RdcOYCOZu
=xpwE
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to