[Bug 19800] New: cygwin's tar -cz crashes when run from a shell script

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Aug 20 23:55:57 CDT 2009


http://bugs.winehq.org/show_bug.cgi?id=19800

           Summary: cygwin's tar -cz crashes when run from a shell script
           Product: Wine
           Version: 1.1.27
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Keywords: download
          Severity: normal
          Priority: P2
         Component: -unknown
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: dank at kegel.com


To reproduce, create a dummy tar file, e.g.
  echo foo > foo
then create the one-line shell script bad.sh containing
  tar -czvf foo.tar.gz foo
then run bad.sh in a cygwin shell.  It crashes, and leaves behind the
file tar.exe.stacktrace containing

Exception: STATUS_ACCESS_VIOLATION at eip=2D313133
eax=00000000 ebx=36313637 ecx=00851682 edx=FFFFFFFB esi=32313232 edi=39372D31
ebp=38353136 esp=0064C640 program=C:\cygwin\bin\tar.exe, pid 46, thread main
cs=0023 ds=002B es=002B fs=0063 gs=006B ss=002B
Stack trace:
Frame     Function  Args
     12 [main] tar 46 _cygtls::handle_exceptions: Error while dumping state
(probably corrupted stack)

Switching to bsdtar (another package in cygwin) gives same results,
so it's not a bug in tar per se.

tar -xz crashes similarly when given a large input file,
and when that happens, one also sees 'gzip: stdout: Communication error on
send'

Found by trying to automate the chromium build setup instructions,
http://dev.chromium.org/developers/how-tos/install-gclient

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list