Debian Bug report logs - #423222
SIGBUS in _nss_mdns4_gethostbyaddr_r on SPARC

version graph

Package: libnss-mdns; Maintainer for libnss-mdns is Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>; Source for libnss-mdns is src:nss-mdns (PTS, buildd, popcon).

Reported by: Dan Smolik <marvin@sitour.cz>

Date: Thu, 10 May 2007 17:30:02 UTC

Severity: critical

Tags: etch, security

Merged with 451428

Found in version nss-mdns/0.9-0.2

Fixed in version nss-mdns/0.10-0.1

Done: Sjoerd Simons <sjoerd@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Security Team <team@security.debian.org>, Anand Kumria <wildfire@progsoc.org>:
Bug#423222; Package libnss-mdns. (full text, mbox, link).


Acknowledgement sent to Dan Smolik <marvin@sitour.cz>:
New Bug report received and forwarded. Copy sent to Debian Security Team <team@security.debian.org>, Anand Kumria <wildfire@progsoc.org>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Dan Smolik <marvin@sitour.cz>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: SIGBUS in _nss_mdns4_gethostbyaddr_r on SPARC
Date: Thu, 10 May 2007 19:27:41 +0200
Package: libnss-mdns
Version: 0.9-0.2
Severity: critical
Tags: security

I have two SPARC machines after  latest upgrade apt install avahi-package and
modify /etc/nsswitch.conf to use avahi. But now if I ping from one machine
to second ping crasehd with SIGBUS. If I ping from second to first ping not
crashed. Both machines runnig SID and are synced with repository.
There is back trace of this:
Core was generated by `ping e450'.
Program terminated with signal 10, Bus error.
#0  0xf7ef8b94 in _nss_mdns4_gethostbyaddr_r () from /lib/libnss_mdns4.so.2
(gdb) bt
#0  0xf7ef8b94 in _nss_mdns4_gethostbyaddr_r () from /lib/libnss_mdns4.so.2
#1  0xf7e682c4 in gethostbyaddr_r@@GLIBC_2.1.2 () from /lib/libc.so.6
#2  0xf7e68064 in gethostbyaddr () from /lib/libc.so.6
#3  0x00011140 in ?? ()
#4  0x00011140 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb) 

Please look to bug 413471 I spend some time to solve may be similar problem.
This problem is only SPARC related and is caused by unaligned access to char
buffer.
When I stop avahi or modify /etc/nsswitch.conf to disable mdns4 and
mdns4_minimal ping not crash.
ssh,telnet,mysql crashed too but only when I ssh,mysql to machine from SPARC
machine and not crash when use i386.














-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: sparc (sparc64)

Kernel: Linux 2.6.20 (SMP w/1 CPU core)
Locale: LANG=cs_CZ, LC_CTYPE=cs_CZ (charmap=ISO-8859-2)
Shell: /bin/sh linked to /bin/bash

Versions of packages libnss-mdns depends on:
ii  avahi-daemon                  0.6.16-5   Avahi mDNS/DNS-SD daemon
ii  base-files                    4.0.0      Debian base system miscellaneous f
ii  libc6                         2.5-3      GNU C Library: Shared libraries
ii  perl                          5.8.8-7    Larry Wall's Practical Extraction 

libnss-mdns recommends no packages.

-- debconf-show failed



Information forwarded to debian-bugs-dist@lists.debian.org, Anand Kumria <wildfire@progsoc.org>:
Bug#423222; Package libnss-mdns. (full text, mbox, link).


Acknowledgement sent to Daniel Smolik <marvin@mydatex.cz>:
Extra info received and forwarded to list. Copy sent to Anand Kumria <wildfire@progsoc.org>. (full text, mbox, link).


Message #10 received at 423222@bugs.debian.org (full text, mbox, reply):

From: Daniel Smolik <marvin@mydatex.cz>
To: 423222@bugs.debian.org
Subject: Bug#423222: Acknowledgement (SIGBUS in _nss_mdns4_gethostbyaddr_r on SPARC)
Date: Thu, 10 May 2007 19:51:16 +0200
Main problem is name of second server. If I rename it to some name 
without numbers crash stops.

			Regards
				Dan Smolik



-- 
Mydatex s r.o.
http://www.mydatex.cz
email: smolik@mydatex.cz
mob: 604200362
tel: 226210085



Reply sent to Sjoerd Simons <sjoerd@debian.org>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Dan Smolik <marvin@sitour.cz>:
Bug acknowledged by developer. (full text, mbox, link).


Message #15 received at 423222-close@bugs.debian.org (full text, mbox, reply):

From: Sjoerd Simons <sjoerd@debian.org>
To: 423222-close@bugs.debian.org
Subject: Bug#423222: fixed in nss-mdns 0.10-0.1
Date: Sun, 13 May 2007 08:47:03 +0000
Source: nss-mdns
Source-Version: 0.10-0.1

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

libnss-mdns_0.10-0.1_sparc.deb
  to pool/main/n/nss-mdns/libnss-mdns_0.10-0.1_sparc.deb
nss-mdns_0.10-0.1.diff.gz
  to pool/main/n/nss-mdns/nss-mdns_0.10-0.1.diff.gz
nss-mdns_0.10-0.1.dsc
  to pool/main/n/nss-mdns/nss-mdns_0.10-0.1.dsc
nss-mdns_0.10.orig.tar.gz
  to pool/main/n/nss-mdns/nss-mdns_0.10.orig.tar.gz



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 423222@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sjoerd Simons <sjoerd@debian.org> (supplier of updated nss-mdns 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.7
Date: Sun, 13 May 2007 10:23:16 +0200
Source: nss-mdns
Binary: libnss-mdns
Architecture: source sparc
Version: 0.10-0.1
Distribution: unstable
Urgency: high
Maintainer: Anand Kumria <wildfire@progsoc.org>
Changed-By: Sjoerd Simons <sjoerd@debian.org>
Description: 
 libnss-mdns - NSS module for Multicast DNS name resolution
Closes: 423222
Changes: 
 nss-mdns (0.10-0.1) unstable; urgency=high
 .
   * NMU
   * New upstream release
   * Fixes alignment problems on sparc causing sigBUS (Closes: #423222)
Files: 
 4045c721ce90fcf41ebdda4f4238a3c0 577 admin optional nss-mdns_0.10-0.1.dsc
 03938f17646efbb50aa70ba5f99f51d7 353130 admin optional nss-mdns_0.10.orig.tar.gz
 e1fec6c4b8cfde25289293dc83feea72 8219 admin optional nss-mdns_0.10-0.1.diff.gz
 f27cbbd720a68f0330e38e816c3e51b7 22018 admin optional libnss-mdns_0.10-0.1_sparc.deb

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

iD8DBQFGRs46gTd+SodosdIRAosfAJwKy63CXMNIgi8f6txDh45VzFHydgCgvFlE
FApkMCmxAtfkMpZGoXVbkek=
=6YLr
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sat, 30 Jun 2007 07:32:45 GMT) (full text, mbox, link).


Bug unarchived. Request was from "Steinar H. Gunderson" <sgunderson@bigfoot.com> to control@bugs.debian.org. (Mon, 19 Nov 2007 23:06:03 GMT) (full text, mbox, link).


Forcibly Merged 423222 451428. Request was from "Steinar H. Gunderson" <sgunderson@bigfoot.com> to control@bugs.debian.org. (Mon, 19 Nov 2007 23:06:08 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 16 Mar 2009 08:09:33 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Mon Mar 8 12:06:23 2021; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.