[Top][All Lists]

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

[debbugs-tracker] bug#10432: closed (TOUCH COMMAND CORE DUMPS)

From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#10432: closed (TOUCH COMMAND CORE DUMPS)
Date: Wed, 04 Jan 2012 18:20:01 +0000

Your message dated Wed, 04 Jan 2012 11:16:15 -0700
with message-id <address@hidden>
and subject line Re: bug#10432: TOUCH COMMAND CORE DUMPS
has caused the debbugs.gnu.org bug report #10432,
to be marked as done.

(If you believe you have received this mail in error, please contact

10432: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=10432
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: TOUCH COMMAND CORE DUMPS Date: Wed, 04 Jan 2012 12:58:11 -0500 User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv: Gecko/20100802 Thunderbird/3.1.2
     Version 5.97 of 'touch' command core dumps:

-bash-3.00$ /opt/sfw/bin/touch --version
touch (GNU coreutils) 5.97
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software.  You may redistribute copies of it under the terms of
the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
There is NO WARRANTY, to the extent permitted by law.

Written by Paul Rubin, Arnold Robbins, Jim Kingdon, David MacKenzie, and Randy Smith.
-bash-3.00$ /opt/sfw/bin/touch newfile
Segmentation Fault (core dumped)

--- End Message ---
--- Begin Message --- Subject: Re: bug#10432: TOUCH COMMAND CORE DUMPS Date: Wed, 04 Jan 2012 11:16:15 -0700 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20111222 Thunderbird/9.0
tag 10432 fixed
retitle 10432 old touch command dumps core on Solaris

On 01/04/2012 10:58 AM, John Monko wrote:
>      Version 5.97 of 'touch' command core dumps:
> -bash-3.00$ /opt/sfw/bin/touch --version

Although you didn't state it, the naming convention /opt/sfw is typical
for pre-built binary coreutils versions running on Solaris machines.
Assuming I'm right, which version of Solaris are you running on?

> touch (GNU coreutils) 5.97

That is extremely old.  We are now at 8.14, and soon to release 8.15.

Meanwhile, we know of several issues where coreutils compiled for older
Solaris (which lacked the futimens() syscall) then run on new Solaris
(where the syscall was added) have entered into infinite loops, because
the old version compiled against a replacement function that ended up
resolving to the system function rather than the coreutils replacement
in the newer Solaris, but where the system function made a call back to
another function name provided by coreutils, causing infinite recursion
leading to stack overflow and hence a core dump.  The NEWS describes
these changes:

  touch built on Solaris 9 would segfault when run on Solaris 10
  [bug introduced in coreutils-8.8]
  cp, install, mv, and touch no longer crash when setting file times
  on Solaris 10 Update 9 [Solaris PatchID 144488 and newer expose a
  latent bug introduced in coreutils 8.1, and possibly a second latent
  bug going at least as far back as coreutils 5.97]

and since this sounds like it matches your symptoms, I'm closing out
this bug report.  We can reopen it if you can provide more details that
there is still a live issue, but I suspect that merely upgrading to
newer coreutils will solve things for you.

Eric Blake   address@hidden    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]