Re: strace -f hangs forever with process who creates child process

2015-08-25 Thread Corinna Vinschen
On Aug 25 11:18, Qian Hong wrote: > Hi Corinna, > > On Tue, Aug 25, 2015 at 12:50 AM, Corinna Vinschen > wrote: > > Please try the latest developer snapshot from https://cygwin.com/snapshots/ > > It should fix the issue. > > Thanks very much for the fix. I've retested on both Win7 and Wine > (Wi

Why not generate the .bashrc automatically under home diretory

2015-08-25 Thread kuaf
Hi, I used the latest [setup-x86_64.exe][1] to set up cygwin environment. I wanted my /home directory to point to c:\Users rather than the out-of-the-box home directory created by cygwin. My current solution is to just mount it in fstab with the following line: c:/Users /home ntfs binary,posix

Perl Term::ReadKey from empty scalar Segfaults under cygwin only (1.7.32 x86_64)

2015-08-25 Thread Luke Goodsell
Hi, Please can you help me to diagnose this issue? Attempting Perl Term::ReadKey from an empty string under Cygwin causes perl to segmentation fault. The same command on Debian, or with a non-empty string, works fine. Example command: > perl -MTerm::ReadKey -e 'my $input = ""; open(my $stdin,

Re: Perl Term::ReadKey from empty scalar Segfaults under cygwin only (1.7.32 x86_64)

2015-08-25 Thread Marco Atzeri
On 25/08/2015 10:48, Luke Goodsell wrote: perl -MTerm::ReadKey -e 'my $input = ""; open(my $stdin, "<", \$input) or die "failed to open: $!"; local *STDIN = $stdin; ReadMode "raw"; my $response = ReadKey(1, \*STDIN); ReadMode "normal"; print "Got \"$response\"\n"; I will bet in a lack of strin

Re: Why not generate the .bashrc automatically under home diretory

2015-08-25 Thread Andrey Repin
Greetings, kuaf! > I used the latest [setup-x86_64.exe][1] to set up cygwin environment. > I wanted my /home directory to point to c:\Users rather than the > out-of-the-box home directory created by cygwin. > My current solution is to just mount it in fstab with the following line: > c:/Users

Re: Perl Term::ReadKey from empty scalar Segfaults under cygwin only (1.7.32 x86_64)

2015-08-25 Thread Achim Gratz
Luke Goodsell ogt.com> writes: > Please can you help me to diagnose this issue? The stacktrace is useless, but if you run this under strace you'll also see a message that doesn't make it to the output otherwise: syntax error at -e line 1, near "= ;" Unterminated <> operator at -e line 1. The re

RE: Perl Term::ReadKey from empty scalar Segfaults under cygwin only (1.7.32 x86_64)

2015-08-25 Thread Luke Goodsell
Hi Marco, > $ perl -MTerm::ReadKey -E 'my $input = "\0" ; open(my $stdin, "<", \$input) > or die "failed to open: $!"; local *STDIN = $stdin; ReadMode "raw"; my > $response = ReadKey(1, \*STDIN); ReadMode "normal"; print "Got > \"$response\"\n";' > Got "" I get: > Got " " ... whereas I wou

RE: Perl Term::ReadKey from empty scalar Segfaults under cygwin only (1.7.32 x86_64)

2015-08-25 Thread Luke Goodsell
Hi Achim, > The stacktrace is useless, but if you run this under strace you'll also see a > message that doesn't make it to the output otherwise: That arises from the subsequent print statement, which is never reached under cygwin. Alternative command that eliminates that warning: perl -MTerm

vsnprintf error compiling

2015-08-25 Thread Kizito Porta Balanyà
Hello, I'm trying to build the new version of monit (5.14) in cygwin, but I get the following error executing configure: autoreconf -i -f && automake -acf && ./configure checking vsnprintf is c99 conformant... configure: error: in `/tmp/monit-5.14/libmonit': configure: error: vsnprintf does not

Re: Perl Term::ReadKey from empty scalar Segfaults under cygwin only (1.7.32 x86_64)

2015-08-25 Thread Achim Gratz
Luke Goodsell ogt.com> writes: > > Please report this upstream. > > To whom would that be? Perl devs? The module is on CPAN, with the following link to the bug tracker: https://rt.cpan.org/Public/Dist/Display.html?Name=TermReadKey Regards, Achim -- Problem reports: http://cygwin.com/pr

Re: vsnprintf error compiling

2015-08-25 Thread Eric Blake
On 08/25/2015 05:29 AM, Kizito Porta Balanyà wrote: > Hello, > > I'm trying to build the new version of monit (5.14) in cygwin, but I > get the following error executing configure: > > autoreconf -i -f && automake -acf && ./configure > > checking vsnprintf is c99 conformant... configure: error:

Re: vsnprintf error compiling

2015-08-25 Thread Kizito Porta Balanyà
Hello, I attach what I think that is relevant: configure:12469: ./conftest.exe configure:12469: $? = 0 configure:12470: result: yes configure:12483: result: configure:12487: checking vsnprintf is c99 conformant configure:12507: gcc -o conftest.exe -g -O2 conftest.c -lpthread >&5 /usr/lib/gcc/x8

Re: httpd immediate segfault on startup [solution]

2015-08-25 Thread Jim Garrison
For anybody else who's having trouble with apache segfaulting at startup: On 8/2/2015 11:46 PM, Jim Garrison wrote: [snip] Updated all cygwin packages to current versions, installed httpd 2.4.16-1. On startup httpd segfaults: Exception: STATUS_ACCESS_VIOLATION at eip=65DC5D78

Re: vsnprintf error compiling

2015-08-25 Thread Marco Atzeri
On 25/08/2015 17:41, Kizito Porta Balanyà wrote: Hello, I attach what I think that is relevant: configure:12469: ./conftest.exe configure:12469: $? = 0 configure:12470: result: yes configure:12483: result: configure:12487: checking vsnprintf is c99 conformant configure:12507: gcc -o conftest.exe

[ANNOUNCEMENT] Updated: xorg-server-1.17.2-3

2015-08-25 Thread Jon TURNEY
The following packages have been updated in the Cygwin distribution: *** xorg-server-*1.17.2-3 These packages contain XWin and the other X.Org X11 servers. The following cygwin-specific changes have been made since 1.17.2-2: * Fix windows hidden by virtual desktop software becoming permanentl

Re: vsnprintf error compiling

2015-08-25 Thread cyg Simple
On 8/25/2015 12:00 PM, Marco Atzeri wrote: > On 25/08/2015 17:41, Kizito Porta Balanyà wrote: >> Hello, I attach what I think that is relevant: >> >> configure:12469: ./conftest.exe >> configure:12469: $? = 0 >> configure:12470: result: yes >> configure:12483: result: >> configure:12487: checking v

Re: Some programs (vi, ssh) crash when screen buffer height is big

2015-08-25 Thread Sous Lesquels
Thanks Philip - I agree with that and it's even nicely described in ConEmu docs: http://conemu.github.io/en/CygwinAnsi.html While it might be a hack to get this working, mintty is not something that should be run in ConEmu, as both are terminal emulators. Anyway, I guess the question is - is Cyg

Re: Some programs (vi, ssh) crash when screen buffer height is big

2015-08-25 Thread cyg Simple
On 8/25/2015 12:35 PM, Sous Lesquels wrote: > Thanks Philip - I agree with that and it's even nicely described in ConEmu > docs: > > http://conemu.github.io/en/CygwinAnsi.html > > While it might be a hack to get this working, mintty is not something > that should be run in ConEmu, as both are te

Re: vsnprintf error compiling

2015-08-25 Thread BGINFO4X
Yes, you are right. Antivirus was causing the problem. Sorry for the inconvenience. Thanks a lot for your time. 2015-08-25 18:25 GMT+02:00 cyg Simple : > On 8/25/2015 12:00 PM, Marco Atzeri wrote: >> On 25/08/2015 17:41, Kizito Porta Balanyà wrote: >>> Hello, I attach what I think that is releva

Re: js185 package problem (was Re: Seg Fault in strftime)

2015-08-25 Thread Michael Enright
On Mon, Aug 24, 2015 at 10:39 AM, Yaakov Selkowitz wrote: > On Mon, 2015-08-17 at 10:10 +0200, Corinna Vinschen wrote: >> Maybe the package just needs rebuilding. Yaakov? > > I have uploaded js185-1.0.0-4. Please let me know if that helps. > > -- > Yaakov > Good news. The upload propagated to m

Re: Some programs (vi, ssh) crash when screen buffer height is big

2015-08-25 Thread Andrey Repin
Greetings, Sous Lesquels! > Thanks Philip - I agree with that and it's even nicely described in ConEmu > docs: > http://conemu.github.io/en/CygwinAnsi.html > While it might be a hack to get this working, mintty is not something > that should be run in ConEmu, as both are terminal emulators. >

Re: js185 package problem (was Re: Seg Fault in strftime)

2015-08-25 Thread Yaakov Selkowitz
On Tue, 2015-08-25 at 10:17 -0700, Michael Enright wrote: > On Mon, Aug 24, 2015 at 10:39 AM, Yaakov Selkowitz wrote: > > On Mon, 2015-08-17 at 10:10 +0200, Corinna Vinschen wrote: > >> Maybe the package just needs rebuilding. Yaakov? > > > > I have uploaded js185-1.0.0-4. Please let me know if

Re: [ANNOUNCEMENT] Updated: mesa-10.6.5-1

2015-08-25 Thread Yaakov Selkowitz
On Sun, 2015-08-23 at 22:45 +0200, Achim Gratz wrote: > Mesa 10.6 removed some internal API that was used by perl-OpenGL (which > is in cygwinports and needed by perl-PDL). The module doesn't load > anymore after the MESA update due to this incompatibility. There's an > experimental version of pe

[ANNOUNCEMENT] Updated: bash-4.3.42-3

2015-08-25 Thread Eric Blake (cygwin)
A new release of bash, 4.3.42-3, has been uploaded and will soon reach a mirror near you; leaving 4.3.39-2 as the previous version. NEWS: = This is a minor build that folds in several new upstream patches. I am aware of an issue reported with using bash on text mode mounts, but have not yet h

[ANNOUNCEMENT] Updated: dos2unix 7.3-1

2015-08-25 Thread Erwin Waterlander
CHANGES SINCE LAST RELEASE: === New upstream release. * New: Unicode file name support on Windows. * Fix: Options -ul and -ub caused option -i to report wrong BOM for no_bom. homepage: http://waterlan.home.xs4all.nl/dos2unix.html license: 2-clause BSD (FreeBSD)

[ANNOUNCEMENT] Updated: vim-7.4.838-1

2015-08-25 Thread Yaakov Selkowitz
The following packages have been updated in the Cygwin distribution: * vim-7.4.838-1 * vim-common-7.4.838-1 * vim-minimal-7.4.838-1 * xxd-7.4.838-1 * gvim-7.4.838-1 Vim is an advanced text editor that seeks to provide the power of the de-facto Unix editor 'Vi', with a more complete feature set an

[ANNOUNCEMENT] Updated: coreutils-8.24-1

2015-08-25 Thread Eric Blake (cygwin)
A new release of coreutils, 8.24-1, has been uploaded, and will be available soon from your favorite mirror. This leaves 8.23-4 as the previous version. NEWS: = This is a new upstream release. For upstream details, see /usr/share/doc/coreutils/NEWS. If you missed the note in 8.23-2, there i