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

Bug#329785: marked as done (libc6: dirname() fails with sig11 on amd64 (x86_64))



Your message dated Tue, 25 Oct 2005 14:17:16 -0700
with message-id <E1EUWAW-0003gD-00@spohr.debian.org>
and subject line Bug#329785: fixed in lpe 1.2.6.13
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 23 Sep 2005 11:18:58 +0000
>From adi@drcomp.erfurt.thur.de Fri Sep 23 04:18:58 2005
Return-path: <adi@drcomp.erfurt.thur.de>
Received: from ltw.loris.tv [217.160.108.140] 
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1EIlZx-0005oI-00; Fri, 23 Sep 2005 04:18:57 -0700
Received: from localhost (ltw.loris.tv [127.0.0.1])
	by ltw.loris.tv (Postfix) with ESMTP id CFA1023CEC0
	for <submit@bugs.debian.org>; Fri, 23 Sep 2005 13:18:55 +0200 (CEST)
Received: from ltw.loris.tv ([127.0.0.1])
	by localhost (ltw [127.0.0.1]) (amavisd-new, port 10024) with LMTP
	id 15037-01-2 for <submit@bugs.debian.org>;
	Fri, 23 Sep 2005 13:18:45 +0200 (CEST)
Received: from drcomp.erfurt.thur.de (drcomp-eth1.loris.tv [IPv6:2001:6f8:1318:3::2])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by ltw.loris.tv (Postfix) with ESMTP id 6C81323CEBF
	for <submit@bugs.debian.org>; Fri, 23 Sep 2005 13:18:45 +0200 (CEST)
Received: from drcomp.erfurt.thur.de (adi@drcomp.erfurt.thur.de [127.0.0.1])
	by drcomp.erfurt.thur.de (8.13.4/8.13.2) with ESMTP id j8NBJNSx032418;
	Fri, 23 Sep 2005 13:19:23 +0200
Received: (from adi@localhost)
	by drcomp.erfurt.thur.de (8.13.4/8.13.1/Submit) id j8NBJME7032417;
	Fri, 23 Sep 2005 13:19:22 +0200
Message-Id: <200509231119.j8NBJME7032417@drcomp.erfurt.thur.de>
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Adrian Knoth <adi@drcomp.erfurt.thur.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: libc6: dirname() fails with sig11 on amd64 (x86_64)
X-Mailer: reportbug 3.15
Date: Fri, 23 Sep 2005 13:19:22 +0200
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at ltw.loris.tv
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

Package: libc6
Version: 2.3.2.ds1-22
Severity: normal


As already assumed in bug #329719
<http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=329719>

the dirname()-function is erroneous, at least on amd64:
it ends up with sig11 (segfault).

If you want to reproduce the problem, compile and run this
little program on x86_64:

#include <stdio.h>
int main (void) {
    printf ("%s\n", dirname ("/home/adi/core"));
    return 0;
}

Using gdb (and a copy of dirname.c from glibc-source) it shows that
the error is caused by line 72 in dirname.c:

Program received signal SIGSEGV, Segmentation fault.
0x00000000004006d3 in dirname2 (path=0x40083e "/home/adi/core") at dirname.c:72
72            last_slash[0] = '\0';

(note: I've renamed my local dirname-copy to dirname2, but it is the same
 as in glibc)

The same problem also exists on Suse-x86_64, so a possible fix
or the problem itself should probably reported to upstream.

(note: I'm using reportbug on my i386 as the amd64 has no usable
 mail connectivity)


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (900, 'testing'), (50, 'unstable')
Architecture: i386 (i586)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11
Locale: LANG=C, LC_CTYPE=de_DE (charmap=ISO-8859-1)

Versions of packages libc6 depends on:
ii  libdb1-compat                 2.1.3-7    The Berkeley database routines [gl

libc6 recommends no packages.

-- no debconf information

---------------------------------------
Received: (at 329785-close) by bugs.debian.org; 25 Oct 2005 21:18:08 +0000
>From katie@spohr.debian.org Tue Oct 25 14:18:08 2005
Return-path: <katie@spohr.debian.org>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
	id 1EUWAW-0003gD-00; Tue, 25 Oct 2005 14:17:16 -0700
From: Adam Majer <adamm@zombino.com>
To: 329785-close@bugs.debian.org
X-Katie: $Revision: 1.56 $
Subject: Bug#329785: fixed in lpe 1.2.6.13
Message-Id: <E1EUWAW-0003gD-00@spohr.debian.org>
Sender: Archive Administrator <katie@spohr.debian.org>
Date: Tue, 25 Oct 2005 14:17:16 -0700
Delivered-To: 329785-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-CrossAssassin-Score: 2

Source: lpe
Source-Version: 1.2.6.13

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

lpe_1.2.6.13.dsc
  to pool/main/l/lpe/lpe_1.2.6.13.dsc
lpe_1.2.6.13.tar.gz
  to pool/main/l/lpe/lpe_1.2.6.13.tar.gz
lpe_1.2.6.13_i386.deb
  to pool/main/l/lpe/lpe_1.2.6.13_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 329785@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Adam Majer <adamm@zombino.com> (supplier of updated lpe 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: Tue, 25 Oct 2005 15:58:05 -0500
Source: lpe
Binary: lpe
Architecture: source i386
Version: 1.2.6.13
Distribution: unstable
Urgency: low
Maintainer: Adam Majer <adamm@zombino.com>
Changed-By: Adam Majer <adamm@zombino.com>
Description: 
 lpe        - Lightweight Programmer's Editor
Closes: 323346 329785
Changes: 
 lpe (1.2.6.13) unstable; urgency=low
 .
   * Fix a segfault on Amd64 (closes: #329785)
   * Changed signature line in mail from gray to red as per suggestion from
     Adrian Knoth (closes: #323346)
Files: 
 2fd809b21d9e6a227e3c39d4190ce40e 516 editors optional lpe_1.2.6.13.dsc
 e97c04f7f5b0b0a71f1ca4f63f90b255 598835 editors optional lpe_1.2.6.13.tar.gz
 d0c10a1b188b083fa9052f8e2f0fbb38 96500 editors optional lpe_1.2.6.13_i386.deb

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

iD8DBQFDXp8873/bNdaAYUURAkBDAKCxbuqcteiO6VlhDwfBOJZHluCFpgCgv8c7
saDZfNkBwLJw1QnoQEBHaXw=
=C2uO
-----END PGP SIGNATURE-----



Reply to: