Mail Archives: cygwin/2014/07/16/16:11:08
X-Recipient: | archive-cygwin AT delorie DOT com
|
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
|
| :list-unsubscribe:list-subscribe:list-archive:list-post
|
| :list-help:sender:mime-version:date:message-id:subject:from:to
|
| :content-type; q=dns; s=default; b=H/ic7hVtA23oDNf0gfL2jrKQogDrC
|
| WL+7THdhGgoVW7sDQVBND2I3hvTFYsL9NXNqOy0+INo+M4gUYzw2HmG8w8Ychjbi
|
| X+0y/mzrpkL7M1o0u07wlKULRyy6itbgYyudmvk89TalmN/qtjkHtuxWGWJ7By3N
|
| /e0ujeWQl1X1r0=
|
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
|
| :list-unsubscribe:list-subscribe:list-archive:list-post
|
| :list-help:sender:mime-version:date:message-id:subject:from:to
|
| :content-type; s=default; bh=4sPT8fAYtCvdIIjp4mRBIuL2m9s=; b=n/h
|
| 7kDLZB24iuW90VkgbDzt5/C6h8yKHm1p8EJBfOBECz5C1jqAqs6cnMNgHIlnmbt8
|
| hY+UkthdnJuu1zAzv7A3+Ym/8jRO0oHLZ44TDZcta8d/nptZWkVFI00mSTEN9/EE
|
| ZoPP12TKS+6wLPCCkKu9ihcLuYQS6Y4mbVE4/K1o=
|
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm
|
List-Id: | <cygwin.cygwin.com>
|
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com>
|
List-Archive: | <http://sourceware.org/ml/cygwin/>
|
List-Post: | <mailto:cygwin AT cygwin DOT com>
|
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
|
Sender: | cygwin-owner AT cygwin DOT com
|
Mail-Followup-To: | cygwin AT cygwin DOT com
|
Delivered-To: | mailing list cygwin AT cygwin DOT com
|
Authentication-Results: | sourceware.org; auth=none
|
X-Virus-Found: | No
|
X-Spam-SWARE-Status: | No, score=3.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
|
X-HELO: | mail-qc0-f195.google.com
|
MIME-Version: | 1.0
|
X-Received: | by 10.224.92.83 with SMTP id q19mr48310799qam.29.1405541440279; Wed, 16 Jul 2014 13:10:40 -0700 (PDT)
|
Date: | Wed, 16 Jul 2014 16:10:40 -0400
|
Message-ID: | <CAHV8iDHxzqOwQW6ZTfE1J1AWoJjqSB49cUPrR3M=KrgP19=NPA@mail.gmail.com>
|
Subject: | Some programs (vi, ssh) crash when screen buffer height is big
|
From: | sous lesquels <a9f54d2 AT gmail DOT com>
|
To: | cygwin AT cygwin DOT com
|
**** Environment
CYGWIN_NT-6.1 1.7.29(0.272/5/3) 2014-04-07 13:46
Windows 7
**** Steps to reproduce the issue:
- With vi.exe
Execute the following bash script:
#!/bin/bash
for i in {1..123}; do
echo -e "\033[5A\033[50C\033[0;35mhello\033[0m"
head -n1000 /var/log/setup.log
done
vi /var/log/setup.log
vi breaks with something as:
0 [main] vi 13200 C:\cygwin64\bin\vi.exe: *** fatal error -
cmalloc would have returned NULL
/4.sh: line 6: 13200 Hangup vi /var/log/setup.log
(note 4.sh is the file name I used to put the above script in and run
it from there) and leaves a vi.exe.stackdump with the following
contents:
Stack trace:
Frame Function Args
001004D2D08 0018006F26E (001801E8666, 001801E8DD9, 00000000000, 00000229480)
001004D2D08 00180046E32 (0000022A4E8, FF000000808080, FFFF000000FF00,
FF00FF000000FF)
001004D2D08 00180046E72 (001801E8643, 00000000000, 00000000000, 00000000000)
001004D2D08 00180043983 (00076D22F7E, 00000000000, 00000000000, 00000000000)
001004D2D08 0018007B781 (FFFF000000FF00, FF00FF000000FF,
FFFFFF0000FFFF, 00180000088)
001004D2D08 0018007B91F (00000000000, 00000000000, 00000000000, 00000000000)
001004D2D08 0018007E024 (00000000000, 00000000000, 00000000000, 00000000000)
001004D2D00 001801266FD (00000000000, 00000000000, 1A1311121C011615,
001802E2788)
001004D4160 0018011197B (00000000000, 00000000000, 1A1311121C011615,
001802E2788)
End of stack trace
- With ssh.exe
ssh to some machine (Linux in my case) and execute the following bash script:
#!/bin/bash
for i in {1..123}; do
echo -e "\033[5A\033[50C\033[0;35mhello\033[0m"
head -n1000 /var/log/dmesg
done
vi /var/log/dmesg
ssh breaks with:
0 [main] ssh 12464 C:\cygwin64\bin\ssh.exe: *** fatal error - cmalloc
would have returned NULL
and leaves a ssh.exe.stackdump file in the current working directory
with the following contents:
Stack trace:
Frame Function Args
006000A267F 0018006F26E (001801E8666, 001801E8DD9, 00000000000, 00000226B60)
006000A267F 00180046E32 (00000227BC8, FF000000808080, FFFF000000FF00,
FF00FF000000FF)
006000A267F 00180046E72 (001801E8643, 00000000000, 00000000000, 00100000002)
006000A267F 00180043983 (00076D22F7E, 00000000000, 0018007B522, 0000000270E)
006000A267F 0018007B781 (FFFF000000FF00, FF00FF000000FF,
FFFFFF0000FFFF, 00180000088)
006000A267F 0018007B91F (000000001DC, 00000000000, 00000000000, 00000000000)
006000A267F 0018007E024 (00600077990, 00000000007, 00600077990, 00000000007)
006000A0490 001801266FD (00100426798, 00000000000, 00000000000, 00000000000)
0060006E850 0018011197B (00000000000, 00000000000, 00000000000, 00000000000)
0060006E850 00000004000 (00000000000, 00000000000, 00000000000, 21EF00000000)
0060006E850 00100426798 (00000000000, 001004928A0, 2BE9E0C5343523AB,
00000228090)
0060006E850 00600068670 (001004928A0, 2BE9E0C5343523AB, 00000228090,
00000000000)
0060006E850 003FEF96000 (001004928A0, 2BE9E0C5343523AB, 00000228090,
00000000000)
End of stack trace
**** More information:
- For both variants, you may need to tweak the number 123 in the for
loop above or the location of files if you don't have these - they
should be there, but if not pick any file with some log-like text in
it (a few hundred lines should be enough)
- The variants are just quick and dirty ways to reproduce - crashes
happen in regular work in various situations (i.e. real scenarios, not
contrived as above)
- Crashes can be reproduced always
- Taking the same steps as above when running from Cygwin terminal
(i.e. the one that comes bundled with Cygwin itself) does not result
in a crash
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
- Raw text -