This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

tar error on device node /dev/ptmx


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@test-xp ~/test
$ mknod ./ptmx c 5 2

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

test@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@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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]