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@winehq.org ReportedBy: dank@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
http://bugs.winehq.org/show_bug.cgi?id=19800
Peter Dons Tychsen donpedro@tdcadsl.dk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |donpedro@tdcadsl.dk
--- Comment #1 from Peter Dons Tychsen donpedro@tdcadsl.dk 2009-09-05 16:43:06 --- Also reproducable with:
wine ../bin/bash -c "/test/bad.sh"
Make s it easier to get a trace.
http://bugs.winehq.org/show_bug.cgi?id=19800
--- Comment #2 from butraxz@gmail.com 2013-08-05 12:24:13 CDT --- This ticket has not been updated for over 900 days. Development recommends to check the status on your bug every release or two and let to be known if the bug is still present. If not, mark it fixed.
Is this still an issue with 1.7.0 or higher ?
https://bugs.winehq.org/show_bug.cgi?id=19800
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nerv@dawncrow.de
--- Comment #3 from André H. nerv@dawncrow.de --- This is fixed in wine-staging as of version 1.7.51
https://bugs.winehq.org/show_bug.cgi?id=19800
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fracting@gmail.com, | |sebastian@fds-team.de
https://bugs.winehq.org/show_bug.cgi?id=19800
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #4 from super_man@post.com --- (In reply to André H. from comment #3)
This is fixed in wine-staging as of version 1.7.51
Do you know the exact patch(set)?
https://bugs.winehq.org/show_bug.cgi?id=19800
--- Comment #5 from André H. nerv@dawncrow.de --- (In reply to super_man from comment #4)
(In reply to André H. from comment #3)
This is fixed in wine-staging as of version 1.7.51
Do you know the exact patch(set)?
Sadly not, but I already tried to find it without luck