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]

1.5.25: Segmentation fault on Window, x64, running on VMware


This is a problem in using of Cygwin-tools on Windows x64, running on VMware.

I'm using Cygwin 1.5.25 on a Windows 2003 Server, 64-bit Standard Edition running on VMware Workstation ACE Edition, Version 6.0.2. The host system is a Windows 2003 Server R2 Enterprise x64 Edition, SP2, running on Intel Xeon CPU Dual Quad Processor X5355, 32 GB Memory.

In that environment, different Cygwin-tools (grep, mkdir, etc.) break OCCASIONALLY with the state "Segmentation fault (core dumped)". Please find below the test case to reproduce the error state:

$ while mkdir foo; rmdir foo; do
>   :
> done

During my tests, the while-loop ran a while and has broken with the error message: 
13 [main] rmdir 2364 _cygtls::handle_exceptions: Error while dumping state (probably corrupted stack)
Segmentation fault (core dumped)

In an another trial I've got an another errors:
mkdir: cannot create directory `foo': File exists
     10 [main] mkdir 780 _cygtls::handle_exceptions: Error while dumping state (probably corrupted stack)
Segmentation fault (core dumped)
rmdir: failed to remove `foo': No such file or directory

... and so on.

Below, the stack dumps from the last trial:

mkdir.exe.stackdump:
--------------------
Exception: STATUS_ACCESS_VIOLATION at eip=00000207
eax=00000002 ebx=61168990 ecx=00000000 edx=61168990 esi=000000F8 edi=0022C900
ebp=0022C858 esp=0022C848 program=C:\cygwin\bin\mkdir.exe, pid 780, thread main
cs=0023 ds=002B es=002B fs=0053 gs=002B ss=002B
Stack trace:
Frame     Function  Args
0022C858  00000207  (0022C900, 000000F8, 00000002, 0022C970)
0022C888  610840C7  (0022C900, 00000001, 00000001, 61168990)
0022C8B8  610844AD  (00000000, 00000000, 6110941C, 7D61C92D)
0022CCE8  61096FE4  (00000000, 00000400, 00000000, 00000000)
0022CD98  6100552E  (00000000, 0022CDD0, 61005450, 0022CDD0)
61005450  61004416  (0000009C, A02404C7, E8611021, FFFFFF48)
     10 [main] mkdir 780 _cygtls::handle_exceptions: Error while dumping state (probably corrupted stack)

rmdir.exe.stackdump:
--------------------
Exception: STATUS_ACCESS_VIOLATION at eip=00000207
eax=00000002 ebx=61168990 ecx=00000000 edx=61168990 esi=000000F8 edi=0022C900
ebp=0022C858 esp=0022C848 program=C:\cygwin\bin\rmdir.exe, pid 2364, thread main
cs=0023 ds=002B es=002B fs=0053 gs=002B ss=002B
Stack trace:
Frame     Function  Args
0022C858  00000207  (0022C900, 000000F8, 00000002, 0022C970)
0022C888  610840C7  (0022C900, 00000001, 00000001, 61168990)
0022C8B8  610844AD  (00000000, 00000000, 6110941C, 7D61C92D)
0022CCE8  61096FE4  (00000000, 00000400, 00000000, 00000000)
0022CD98  6100552E  (00000000, 0022CDD0, 61005450, 0022CDD0)
61005450  61004416  (0000009C, A02404C7, E8611021, FFFFFF48)
     13 [main] rmdir 2364 _cygtls::handle_exceptions: Error while dumping state (probably corrupted stack)

the same version of Cygwin and Cygwin-tools works fine, when running on a "normal" (physical) x64 Windows system.

Thanks,
--
Christoph

Attachment: cygcheck.out
Description: cygcheck.out

--
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]