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

Bug#128586: marked as done (date +%99Y dumps core)



Your message dated 16 Jan 2003 00:38:20 +0000
with message-id <1042677500.28313.54.camel@kc.cam.armlinux.org>
and subject line date +%99Y dumps core
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; 10 Jan 2002 12:27:50 +0000
>From maydell@tao-group.com Thu Jan 10 06:27:50 2002
Return-path: <maydell@tao-group.com>
Received: from gate.tao-group.com (mail.tao-group.com) [62.255.240.131] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 16OeJB-0001Wl-00; Thu, 10 Jan 2002 06:27:49 -0600
Received: from rhodium.tao.co.uk ([172.16.100.88])
	by mail.tao-group.com with esmtp (Exim 3.12 #1 (Debian))
	id 16OeIc-0003Gk-00
	for <submit@bugs.debian.org>; Thu, 10 Jan 2002 12:27:14 +0000
Received: from zircon.tao.co.uk ([172.16.100.118] ident=mail)
	by rhodium.tao.co.uk with esmtp (Exim 3.12 #1 (Debian))
	id 16OeIc-0004kR-00
	for <submit@bugs.debian.org>; Thu, 10 Jan 2002 12:27:14 +0000
Received: from localhost (zircon.tao.co.uk) [127.0.0.1] (maydell)
	by zircon.tao.co.uk with esmtp (Exim 3.33 #1 (Debian))
	id 16OeIb-00089e-00; Thu, 10 Jan 2002 12:27:13 +0000
To: submit@bugs.debian.org
Subject: date +%99Y dumps core
Date: Thu, 10 Jan 2002 12:27:13 +0000
From: Peter Maydell <maydell@tao-group.com>
Message-Id: <E16OeIb-00089e-00@zircon.tao.co.uk>
Delivered-To: submit@bugs.debian.org

Package: shellutils
Version: 2.0.11-11

zircon$ date +%99Y
Segmentation fault (core dumped)

Obviously date should never dump core (although the format string
used here is not one you'd ever normally want to use).

Here's a backtrace from gdb:

Program received signal SIGSEGV, Segmentation fault.
0x400aec26 in strftime (s=0x804f290 "\001\t\023@È\t\023@", maxsize=200, 
    format=0xbffffda6 "%99Y", tp=0x40137840) at strftime.c:988
988     strftime.c: No such file or directory.
        in strftime.c
(gdb) bt
#0  0x400aec26 in strftime (s=0x804f290 "\001\t\023@È\t\023@", maxsize=200, 
    format=0xbffffda6 "%99Y", tp=0x40137840) at strftime.c:988
#1  0x08049644 in show_date (format=0xbffffda6 "%99Y", when=1010665345)
    at ../../src/date.c:487
#2  0x08049576 in main (argc=2, argv=0xbffffc84) at ../../src/date.c:421
#3  0x4003365f in __libc_start_main (main=0x80490b0 <main>, argc=2, 
    ubp_av=0xbffffc84, init=0x8048ab8 <_init>, fini=0x804bc10 <_fini>, 
    rtld_fini=0x4000b1d0 <_dl_fini>, stack_end=0xbffffc7c)
    at ../sysdeps/generic/libc-start.c:129

This may actually be a bug in the strftime implementation, 
since the arguments date has passed to it look plausible to me.
Feel free to reassign if that's the case.
I'm using libc6 version 2.2.4-7.

Peter Maydell

---------------------------------------
Received: (at 128586-done) by bugs.debian.org; 16 Jan 2003 00:38:21 +0000
>From philb@gnu.org Wed Jan 15 18:38:21 2003
Return-path: <philb@gnu.org>
Received: from mta03-svc.ntlworld.com [62.253.162.43] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 18Yy33-0003WZ-00; Wed, 15 Jan 2003 18:38:21 -0600
Received: from kc.cam.armlinux.org ([81.96.69.239])
          by mta03-svc.ntlworld.com
          (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP
          id <20030116003820.SRWD4699.mta03-svc.ntlworld.com@kc.cam.armlinux.org>
          for <128586-done@bugs.debian.org>;
          Thu, 16 Jan 2003 00:38:20 +0000
Received: from localhost ([127.0.0.1])
	by kc.cam.armlinux.org with esmtp (Exim 3.36 #1 (Debian))
	id 18Yy32-0007U9-00
	for <128586-done@bugs.debian.org>; Thu, 16 Jan 2003 00:38:20 +0000
Subject: Re: date +%99Y dumps core
From: Philip Blundell <philb@gnu.org>
To: 128586-done@bugs.debian.org
Content-Type: text/plain
Organization: 
Message-Id: <1042677500.28313.54.camel@kc.cam.armlinux.org>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.2.1 
Date: 16 Jan 2003 00:38:20 +0000
Content-Transfer-Encoding: 7bit
Delivered-To: 128586-done@bugs.debian.org
X-Spam-Status: No, hits=0.6 required=5.0
	tests=SPAM_PHRASE_00_01
	version=2.41
X-Spam-Level: 

This report was filed a year ago, and I can't reproduce this on i386
with glibc 2.3.1, so I am assuming the bug has been fixed in the
meantime.  Submitter, please reopen the report if the problem still
occurs for you.

p.



Reply to: