[bug-notifications] [coreutils 0004671]: gtouch dumps core on coreutils 8.8

Mantis Bug Tracker noreply at opencsw.org
Mon Mar 14 08:49:55 CET 2011


The following issue has been REOPENED. 
====================================================================== 
https://www.opencsw.org/mantis/view.php?id=4671 
====================================================================== 
Reported By:                ochsnerm
Assigned To:                bwalton
====================================================================== 
Project:                    coreutils
Issue ID:                   4671
Category:                   upgrade
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     feedback
====================================================================== 
Date Submitted:             2011-01-17 14:25 CET
Last Modified:              2011-03-14 08:49 CET
====================================================================== 
Summary:                    gtouch dumps core on coreutils 8.8
Description: 
Last week I updated coreutils from Version 8.4 to Version 8.8

Now a simple touch command creates a coredump:

[a80774103 at sansho ~]$ touch testfile
Segmentation Fault (core dumped)
[a80774103 at sansho ~]$ ls
core  testfile
[a80774103 at sansho ~]$ adb core
core file = core -- program ``/opt/csw/bin/gtouch'' on platform i86pc
SIGSEGV: Segmentation Fault
where
adb: failed to dereference symbol: unknown symbol name

truss shows that gtouch does a endless dup of the fd=0 after creating the
file.
See the attached (shortened) output of truss.

I applied the recomended patches of 10/01/2011 and upgraded all CSW
packages. These are the only changes to this system in the last month. Our
other unchanged production system shows no such problem.

Please mail me if any additional info is required.

Thanks, Markus Ochsner

====================================================================== 

---------------------------------------------------------------------- 
 (0008899) ochsnerm (reporter) - 2011-03-14 08:49
 https://www.opencsw.org/mantis/view.php?id=4671#c8899 
---------------------------------------------------------------------- 
Today I upgraded all my csw-packages.

gtouch does a coredump nevertheless:

[root at sansho]# truss gtouch test
...
fcntl(0, F_DUP2FD, 0x00000000)                  = 0
fcntl(0, F_DUP2FD, 0x00000000)                  = 0
fcntl(0, F_DUP2FD, 0x00000000)                  = 0
    Incurred fault https://www.opencsw.org/mantis/view.php?id=6, FLTBOUNDS  %pc
= 0xFEED43BE
      siginfo: SIGSEGV SEGV_MAPERR addr=0x07647FFC
    Received signal https://www.opencsw.org/mantis/view.php?id=11, SIGSEGV
[default]
      siginfo: SIGSEGV SEGV_MAPERR addr=0x07647FFC



More information about the bug-notifications mailing list