[Buildd-tools-devel] Bug#317233: marked as done (command-line options are not terminated by a null option)

Debian Bug Tracking System owner at bugs.debian.org
Sat Jul 9 11:18:07 UTC 2005


Your message dated Sat, 09 Jul 2005 07:02:52 -0400
with message-id <E1DrD6i-0003vS-00 at newraff.debian.org>
and subject line Bug#317233: fixed in schroot 0.1.2-2
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; 6 Jul 2005 22:07:27 +0000
>From rleigh at debian.org Wed Jul 06 15:07:27 2005
Return-path: <rleigh at debian.org>
Received: from s2.ukfsn.org (mail.ukfsn.org) [217.158.120.143] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DqI3D-0003Lv-00; Wed, 06 Jul 2005 15:07:27 -0700
Received: from localhost (lucy.ukfsn.org [127.0.0.1])
	by mail.ukfsn.org (Postfix) with ESMTP
	id 481B6E6E75; Wed,  6 Jul 2005 23:03:21 +0100 (BST)
Received: from mail.ukfsn.org ([127.0.0.1])
 by localhost (lucy.ukfsn.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 04162-01; Wed,  6 Jul 2005 23:03:21 +0100 (BST)
Received: from hardknott.home.whinlatter.ukfsn.org (dsl-80-41-15-80.access.as9105.com [80.41.15.80])
	by mail.ukfsn.org (Postfix) with ESMTP
	id D8CDBE6E83; Wed,  6 Jul 2005 23:03:20 +0100 (BST)
Received: from rleigh by hardknott.home.whinlatter.ukfsn.org with local (Exim 4.52)
	id 1DqI2h-0004jt-2v; Wed, 06 Jul 2005 23:06:55 +0100
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Roger Leigh <rleigh at debian.org>
To: Debian Bug Tracking System <submit at bugs.debian.org>
Subject: gcc-4.0 regression, possibly powerpc-specific,
 causes segfault in compiled binary
X-Mailer: reportbug 3.15
Date: Wed, 06 Jul 2005 23:06:54 +0100
Message-Id: <E1DqI2h-0004jt-2v at hardknott.home.whinlatter.ukfsn.org>
Delivered-To: submit at 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-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: gcc-4.0
Version: 4.0.0-11
Severity: normal

If I compile schroot

http://ftp.debian.org/debian/pool/main/s/schroot/schroot_0.1.2-1.dsc
http://ftp.debian.org/debian/pool/main/s/schroot/schroot_0.1.2.orig.tar.gz
http://ftp.debian.org/debian/pool/main/s/schroot/schroot_0.1.2-1.diff.gz

with gcc-3.3 and gcc-3.4, the resulting binary works.  If I build with
gcc-4.0, it segfaults.  Try "schroot --help", for example.

The problem only because apparent when the gcc-defaults changed to
default to 4.0.

I've tried compiling with nearly every gcc warning enabled, but I
couldn't find anything other than trivial warnings.  I've also reviewed
the code, but can't see anything wrong.  The code is fairly simple;
I'm not using any GCC extensions, just plain C99 source.

The fault occurs shortly after startup, calling parse_options()
(schroot/schroot.c).

If it would be useful, I can reduce it to a smaller test case, but the
code worked just fine with 3.3.


Regards,
Roger

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages gcc-4.0 depends on:
ii  binutils                    2.15-7       The GNU assembler, linker and bina
ii  cpp-4.0                     4.0.0-11     The GNU C preprocessor
ii  gcc-4.0-base                4.0.0-11     The GNU Compiler Collection (base 
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  libgcc1                     1:4.0.0-11   GCC support library

Versions of packages gcc-4.0 recommends:
ii  libc6-dev                   2.3.2.ds1-22 GNU C Library: Development Librari
ii  libmudflap0-dev             4.0.0-11     GCC mudflap support libraries (dev

-- no debconf information

---------------------------------------
Received: (at 317233-close) by bugs.debian.org; 9 Jul 2005 11:10:50 +0000
>From katie at ftp-master.debian.org Sat Jul 09 04:10:50 2005
Return-path: <katie at ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DrDEQ-0003mg-00; Sat, 09 Jul 2005 04:10:50 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1DrD6i-0003vS-00; Sat, 09 Jul 2005 07:02:52 -0400
From: Roger Leigh <rleigh at debian.org>
To: 317233-close at bugs.debian.org
X-Katie: $Revision: 1.56 $
Subject: Bug#317233: fixed in schroot 0.1.2-2
Message-Id: <E1DrD6i-0003vS-00 at newraff.debian.org>
Sender: Archive Administrator <katie at ftp-master.debian.org>
Date: Sat, 09 Jul 2005 07:02:52 -0400
Delivered-To: 317233-close at 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-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-Spam-Level: 

Source: schroot
Source-Version: 0.1.2-2

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

schroot_0.1.2-2.diff.gz
  to pool/main/s/schroot/schroot_0.1.2-2.diff.gz
schroot_0.1.2-2.dsc
  to pool/main/s/schroot/schroot_0.1.2-2.dsc
schroot_0.1.2-2_powerpc.deb
  to pool/main/s/schroot/schroot_0.1.2-2_powerpc.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 317233 at bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Roger Leigh <rleigh at debian.org> (supplier of updated schroot 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 at debian.org)


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

Format: 1.7
Date: Sat,  9 Jul 2005 11:06:12 +0100
Source: schroot
Binary: schroot
Architecture: source powerpc
Version: 0.1.2-2
Distribution: unstable
Urgency: low
Maintainer: Debian buildd-tools Developers <buildd-tools-devel at lists.alioth.debian.org>
Changed-By: Roger Leigh <rleigh at debian.org>
Description: 
 schroot    - Execute commands in a chroot environment
Closes: 317233
Changes: 
 schroot (0.1.2-2) unstable; urgency=low
 .
   * schroot/schroot.c Make sure options[] is terminated with a NULL entry,
     to prevent a segfault at startup (Closes: #317233).
Files: 
 6497aa80f732cdbd077da974d42a1fc6 775 admin optional schroot_0.1.2-2.dsc
 b8735fd45988c5f320f22bd98f19f9d9 22750 admin optional schroot_0.1.2-2.diff.gz
 dd520360d892fe1e1b286b247a4b16c3 34070 admin optional schroot_0.1.2-2_powerpc.deb

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

iD8DBQFCz6SnVcFcaSW/uEgRAtd0AKCSzFtZ5kBZY/vAzi9CjuyBCgouWgCgtm6M
W6LrTlmSDr9igxX/r2outg0=
=X/yI
-----END PGP SIGNATURE-----




More information about the Buildd-tools-devel mailing list