Mail Archives: cygwin/2006/02/28/14:10:23
--Apple-Mail-7--362151236
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
charset=US-ASCII;
delsp=yes;
format=flowed
On Feb 23, 2006, at 6:27 PM, Christopher Faylor wrote:
> On Thu, Feb 23, 2006 at 03:43:25PM -0800, Peter Rehley wrote:
>> On Feb 23, 2006, at 10:13 AM, Dave Korn wrote:
>>
>>> On 23 February 2006 16:20, Peter Rehley wrote:
>>>
>>>> Yeah, I saw that change, and I tried yesterdays snapshot but it
>>>> still
>>>> hung. I also did some more googling and found that someone
>>>> submitted
>>>> a patch a few years ago. The patch checked to see if it was inside
>>>> the ntdll.dll by looking at the handle.
>>>> http://www.cygwin.com/ml/cygwin-patches/2003-q2/msg00004.html
>>>>
>>>> I found this google too.
>>>> http://blogs.msdn.com/oldnewthing/archive/2004/01/28/63880.aspx
>>>>
>>>> I'm going to try that patch today and see what happens.
>>>> Christopher
>>>> didn't apply it because it was a bandage and didn't really fix the
>>>> bigger problem.
>>
>> I tried putting the patch in place, and it stopped hanging at the
>> place I reported. I had print statements to verify that it went
>> through the section. However, the program still hung at some point.
>> I tracked down a couple of other GMFN calls that used non-null
>> handles and tried using the technique that the patch had.
>
> Does the latest snapshot behave any differently? It has a temporary
> patch which stops cygwin from suspending (for long) when the
> current IP
> is in the cygwin DLL itself.
It seems like an improvement. It didn't hang, but after about 4000
iterations of the test script it got a segmentation fault. It ran
for 12 hours with another configure script in a separate window or
about 11 hours and 45 minutes longer than before. This is with the
20060227 snapshot.
Attached is the stackdump.
Peter
--Apple-Mail-7--362151236
Content-Transfer-Encoding: quoted-printable
Content-Type: application/octet-stream;
x-unix-mode=0755;
name="sh.exe.stackdump"
Content-Disposition: attachment;
filename=sh.exe.stackdump
Exception: STATUS_ACCESS_VIOLATION at eip=3D0022FBFC=0D
eax=3D00000006 ebx=3D00000067 ecx=3D00000120 edx=3D00000002 esi=3D00000080 =
edi=3D0022E850=0D
ebp=3D0022E808 esp=3D0022E7F0 program=3Dd:\cygwin\bin\sh.exe, pid 984, thre=
ad main=0D
cs=3D001B ds=3D0023 es=3D0023 fs=3D0038 gs=3D0000 ss=3D0023=0D
Stack trace:=0D
Frame Function Args=0D
0022E808 0022FBFC (00000003, 0022E850, 00000080, 00000000)=0D
0022E8F8 004243B6 (00557708, 00000000, 0000000F, 00559B28)=0D
0022E9C8 00428038 (00000000, 00000000, 00000000, 0044C801)=0D
0022E9E8 00428544 (00000000, 00000000, 00000000, 0000007E)=0D
0022EA08 00428F1F (00556140, 00000000, 0022EA10, 0022EF8C)=0D
0022EA48 00413343 (00000000, 00000003, 00559FF8, 00000000)=0D
0022EAE8 0041031B (00555CC0, 00000000, FFFFFFFF, FFFFFFFF)=0D
0022EB18 00412530 (00555CC0, 00000000, 0046EDD4, 004016E5)=0D
0022EB48 00403999 (0000001A, 00000001, 00000001, 00000000)=0D
0022EDE8 00402A8F (0000001A, 6116124C, 00550090, 7C2D526E)=0D
0022EE98 61005BE8 (0022EEF0, 00000007, 00000000, 0000000A)=0D
0022FF88 61005ED3 (00000000, 00000000, 00000000, 00000000)=0D
End of stack trace
--Apple-Mail-7--362151236
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
charset=US-ASCII;
format=flowed
--Apple-Mail-7--362151236
Content-Type: text/plain; charset=us-ascii
--
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/
--Apple-Mail-7--362151236--
- Raw text -