[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#681506: marked as done (xserver-xorg-input-mouse: crash on kfreebsd-*)



Your message dated Sun, 15 Jul 2012 23:17:56 +0000
with message-id <E1SqY4a-0004gY-Jv@franck.debian.org>
and subject line Bug#681506: fixed in xserver-xorg-input-mouse 1:1.7.2-3
has caused the Debian Bug report #681506,
regarding xserver-xorg-input-mouse: crash on kfreebsd-*
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 owner@bugs.debian.org
immediately.)


-- 
681506: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=681506
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: xserver-xorg-input-mouse
Version: 1:1.7.2-2
Severity: serious
Tags: patch
User: debian-bsd@lists.debian.org
Usertags: kfreebsd
X-Debbugs-Cc: debian-bsd@lists.debian.org

Hi.

The current version of xserver segfaults under kfreebsd-amd64.

[   237.968] (II) Using input driver 'mouse' for 'Configured Mouse'
[   237.968] (**) Option "CorePointer" "on"
[   237.968] (**) Configured Mouse: always reports core events
[   237.968]
[   237.968] Backtrace:
[   237.968] 0: Xorg (xorg_backtrace+0x36) [0x5641a6]
[   237.968] 1: Xorg (0x400000+0x167cc9) [0x567cc9]
[   237.968] 2: /lib/x86_64-kfreebsd-gnu/libpthread.so.0 (0x8014cc000+0xbf04) [0x8014d7f04]


It is due to buggy workaround of gcc bug #665390.
Please just replace bsd-array-bounds.diff with attached one.

I believe it will solve also #678124 and
http://lists.debian.org/debian-bsd/2012/07/msg00068.html


Petr
Index: xserver-xorg-input-mouse/src/bsd_mouse.c
===================================================================
--- xserver-xorg-input-mouse.orig/src/bsd_mouse.c
+++ xserver-xorg-input-mouse/src/bsd_mouse.c
@@ -139,10 +139,10 @@ CheckProtocol(const char *protocol)
 {
     int i;
 
-    for (i = 0; internalNames[i]; i++)
+    for (i = -1; internalNames[++i];)
 	if (xf86NameCmp(protocol, internalNames[i]) == 0)
 	    return TRUE;
-    for (i = 0; miscNames[i]; i++)
+    for (i = -1; miscNames[++i];)
 	if (xf86NameCmp(protocol, miscNames[i]) == 0)
 	    return TRUE;
     return FALSE;

--- End Message ---
--- Begin Message ---
Source: xserver-xorg-input-mouse
Source-Version: 1:1.7.2-3

We believe that the bug you reported is fixed in the latest version of
xserver-xorg-input-mouse, 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 681506@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Cyril Brulebois <kibi@debian.org> (supplier of updated xserver-xorg-input-mouse 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 ftpmaster@debian.org)


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

Format: 1.8
Date: Mon, 16 Jul 2012 00:33:57 +0200
Source: xserver-xorg-input-mouse
Binary: xserver-xorg-input-mouse xserver-xorg-input-mouse-udeb
Architecture: source amd64
Version: 1:1.7.2-3
Distribution: unstable
Urgency: medium
Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
Changed-By: Cyril Brulebois <kibi@debian.org>
Description: 
 xserver-xorg-input-mouse - X.Org X server -- mouse input driver
 xserver-xorg-input-mouse-udeb - X.Org X server -- mouse input driver (udeb)
Closes: 681506
Changes: 
 xserver-xorg-input-mouse (1:1.7.2-3) unstable; urgency=medium
 .
   * Update bsd-array-bounds.diff patch to fix crashes on kfreebsd-*,
     thanks to Petr Salinger (Closes: #681506).
Checksums-Sha1: 
 3eeba7e7a36528912d42655e6f04c525d4817aaf 1640 xserver-xorg-input-mouse_1.7.2-3.dsc
 4b5ac83a3fb09f5df2c6c77c44e7efb06249ec63 8257 xserver-xorg-input-mouse_1.7.2-3.diff.gz
 68b01af914ee7169761a5420724315c917414c76 66276 xserver-xorg-input-mouse_1.7.2-3_amd64.deb
Checksums-Sha256: 
 fe239b2d1b7c5eac6c8e48463f4534f36996acde293c367f9f27f3cd5b6dd8ba 1640 xserver-xorg-input-mouse_1.7.2-3.dsc
 5c1e189af276a579afe6fe8b411d85d46fb17d86de32698c03640ef271664e2d 8257 xserver-xorg-input-mouse_1.7.2-3.diff.gz
 4a6e8ed3290a18acdd898d6377eb3e924d9cc5e2f110eea213f2cfc57a3a8af4 66276 xserver-xorg-input-mouse_1.7.2-3_amd64.deb
Files: 
 f198fc665ef021860a93f3b1249f7141 1640 x11 optional xserver-xorg-input-mouse_1.7.2-3.dsc
 77c501b643108f82896ef9a7aa9a09e2 8257 x11 optional xserver-xorg-input-mouse_1.7.2-3.diff.gz
 d993138038969ef1049fc17f9fce6263 66276 x11 optional xserver-xorg-input-mouse_1.7.2-3_amd64.deb

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

iEYEARECAAYFAlADTHwACgkQeGfVPHR5Nd0MSgCfcMMhaLfIXrVZo7W7rjq89ul8
/8sAoJqcJTRAyAZ07Q6OINhIxqk4/UfV
=j7aj
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: