delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/05/25/13:41:30

X-Spam-Check-By: sourceware.org
content-class: urn:content-classes:message
MIME-Version: 1.0
Subject: tar error on device node /dev/ptmx
Date: Thu, 25 May 2006 13:34:34 -0400
Message-ID: <3D848382FB72E249812901444C6BDB1D053B110F@exchange.timesys.com>
From: "Lott, Jeremiah" <jeremiah DOT lott AT timesys DOT com>
To: <cygwin AT cygwin DOT com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id k4PHfT1Y009791

I'm having a problem extracting a tar that contains the device node
/dev/ptmx (character device 5,2).  Tar creates the file, then segfaults.
I originally detected this with a rather large tar created on a linux
machine.  However, this can be re-produced entirely on cygwin as in the
following transcript.  Other device nodes seem to work OK.

  Jeremiah Lott
  TimeSys Corporation

test AT test-xp ~/test
$ mknod ./ptmx c 5 2

test AT test-xp ~/test
$ tar czf test.tgz ./ptmx

test AT test-xp ~/test
$ tar xzf test.tgz
     13 [main] tar 440 _cygtls::handle_exceptions: Error while dumping
state (probably corrupted stack)
Segmentation fault (core dumped)

test AT test-xp ~/test
$ cygcheck -c tar cygwin
Cygwin Package Information
Package              Version        Status
cygwin               1.5.19-4       OK
tar                  1.15.90-1      OK

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019