Fatal error when starting Cygwin/X v1.15.0-2 built 2014-01-11

2014-05-26 Thread Ralf Oltmanns
To whom it may concern, I just installed cygwin/X on a freshly installed Windows 7 Professional (64bit). When trying to start XWin Server, it crashes with signal 11 (Segmentation fault) My installation is as follows: Release: 1.15.0.0 Package: version 1.15.0-2 built 2014-01-11 XWin was started

Re: Fatal error when starting Cygwin/X v1.15.0-2 built 2014-01-11

2014-05-26 Thread Jon TURNEY
On 26/05/2014 14:18, Ralf Oltmanns wrote: I just installed cygwin/X on a freshly installed Windows 7 Professional (64bit). When trying to start XWin Server, it crashes with signal 11 (Segmentation fault) My installation is as follows: Release: 1.15.0.0 Package: version 1.15.0-2 built

src/winsup/cygwin/import

2014-05-26 Thread cgf
CVSROOT:/cvs/src Module name:src Changes by: c...@sourceware.org 2014-05-26 23:24:53 src/winsup/cygwin/import Update of /cvs/src/src/winsup/cygwin/import In directory sourceware.org:/tmp/cvs-serv21573/import Log Message: Directory /cvs/src/src/winsup/cygwin/import added to

Re: [PATCH] cygwin_rexec() returns pointer to deallocated memory

2014-05-26 Thread Peter Rosin
On 2014-05-25 00:00, David Stacey wrote: In function cygwin_rexec(), a pointer to local buffer 'ahostbuf' is returned through 'ahost'. However, the buffer will have been deallocated at the end of the function, and so the contents of 'ahost' will be undefined. A trivial patch (attached)

Re: [PATCH] cygwin_rexec() returns pointer to deallocated memory

2014-05-26 Thread David Stacey
On 26/05/14 08:04, Peter Rosin wrote: On 2014-05-25 00:00, David Stacey wrote: In function cygwin_rexec(), a pointer to local buffer 'ahostbuf' is returned through 'ahost'. However, the buffer will have been deallocated at the end of the function, and so the contents of 'ahost' will be

Re: [PATCH] cygwin_rexec() returns pointer to deallocated memory

2014-05-26 Thread Peter Rosin
On 2014-05-26 12:09, David Stacey wrote: On 26/05/14 08:04, Peter Rosin wrote: On 2014-05-25 00:00, David Stacey wrote: In function cygwin_rexec(), a pointer to local buffer 'ahostbuf' is returned through 'ahost'. However, the buffer will have been deallocated at the end of the function,

Re: [PATCH] cygwin_rexec() returns pointer to deallocated memory

2014-05-26 Thread David Stacey
On 26/05/14 14:36, Peter Rosin wrote: I believe the comment refers to if static is the right answer to the problem. Is there a need to handle concurrent calls? I can't really comment on that. As the code stands, neither of the two functions that we are discussing are reentrant. As long as the

Re: [PATCH] cygwin_rexec() returns pointer to deallocated memory

2014-05-26 Thread Christopher Faylor
On Mon, May 26, 2014 at 04:27:10PM +0100, David Stacey wrote: On 26/05/14 14:36, Peter Rosin wrote: I believe the comment refers to if static is the right answer to the problem. Is there a need to handle concurrent calls? I can't really comment on that. As the code stands, neither of the two

Re: [PATCH] cygwin_rexec() returns pointer to deallocated memory

2014-05-26 Thread Peter Rosin
On 2014-05-26 18:35, Christopher Faylor wrote: On Mon, May 26, 2014 at 04:27:10PM +0100, David Stacey wrote: On 26/05/14 14:36, Peter Rosin wrote: I believe the comment refers to if static is the right answer to the problem. Is there a need to handle concurrent calls? I can't really comment

Re: [PATCH] cygwin_rexec() returns pointer to deallocated memory

2014-05-26 Thread Christopher Faylor
On Mon, May 26, 2014 at 10:39:03PM +0200, Peter Rosin wrote: On 2014-05-26 18:35, Christopher Faylor wrote: On Mon, May 26, 2014 at 04:27:10PM +0100, David Stacey wrote: On 26/05/14 14:36, Peter Rosin wrote: I believe the comment refers to if static is the right answer to the problem. Is there

Re: [PATCH] cygwin_rexec() returns pointer to deallocated memory

2014-05-26 Thread Christopher Faylor
On Mon, May 26, 2014 at 05:40:49PM -0400, Christopher Faylor wrote: On Mon, May 26, 2014 at 10:39:03PM +0200, Peter Rosin wrote: On 2014-05-26 18:35, Christopher Faylor wrote: On Mon, May 26, 2014 at 04:27:10PM +0100, David Stacey wrote: On 26/05/14 14:36, Peter Rosin wrote: I believe the

Re: [PATCH] cygwin_rexec() returns pointer to deallocated memory

2014-05-26 Thread Christopher Faylor
On Mon, May 26, 2014 at 05:46:10PM -0400, Christopher Faylor wrote: Btw, the latest version of freebsd can't have this particular problem since ahostbuf is now gone. We probably should pull in the latest version into Cygwin's tree. ...and that's apparently because Corinna added the code in

Re: x86_64 Cygwin 1.7.29: possible bug to trace symlink (Win7)

2014-05-26 Thread Robert Bu
-Original Message- From: Robert Bu Sent: 2014/4/21 9:59 +0800 On Apr 16 17:47, Corinna Vinschen wrote: Below is what I get: RS-I9E3U8R4:[~/tmp/test_symlink]uname -a CYGWIN_NT-6.1 RS-I9E3U8R4 1.7.29(0.272/5/3) 2014-04-07 13:46 x86_64 Cygwin

What do I have to install to develop gtk app?

2014-05-26 Thread Zhengrong Zang
I want to develop gtk app on cygwin, but I couldn't find useful info about it, does anyone tell me what I have to install by setup.exe? Is there any GUI design tool? Thanks a lot. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/

Bash silently truncates the Command Line when called programatically via CreateProcess as MAXPATHLEN was reduced to 8192 from 16384

2014-05-26 Thread Abhijit Bhattacharjee
On a typical configuration, we use gmake on windows as the build system. GMAKE calls the Cygwin bash in order to invoke the MSVS compiler in-order to satisfy the dependency if a rule to call the compiler is present. Now, for certain modules, the command line was seemingly getting truncated. On

symantec false positive on cygwin-1.7.30-1 32bit

2014-05-26 Thread Marco Atzeri
I just opened a false positive report as Symantec Endpoint Protection just declared that cygwin-1.7.30-1 32 bit contains Trojan.ADH.2 in locale.exe and tzset.exe Last time I made a similar report on one of my own packages, they updated the database in one day. Crossing finger Marco --

typo correction (patch)

2014-05-26 Thread Denis Excoffier
Hello, I propose the following patch, in order to make getgrouplist() to produce a better result, in particular when the number of groups of a user is more than the first value used by coreutils/id (which is only 10). diff -uNr cygwin-snapshot-20140523-1.original/winsup/cygwin/grp.cc

[ANNOUNCEMENT] Updated: serf-1.3.5-1

2014-05-26 Thread David Rothenberger
The serf packages have been updated to the new upstream release 1.3.5. See http://serf.googlecode.com/svn/tags/1.3.5/CHANGES for more details about the changes in this release. More information about serf can be found at http://code.google.com/p/serf/. DESCRIPTION: The serf

[ANNOUNCEMENT] Updated: cyrus-sasl-2.1.26-7

2014-05-26 Thread David Rothenberger
IMPORTANT NOTE: === The previous 2.1.25-1 package included an ABI change from upstream without updating the DLL names. This can cause problems with other packages that were compiled against the earlier version of cyrus-sasl (e.g., exim or openldap). Users of those packages should

Re: Bash silently truncates the Command Line when called programatically via CreateProcess as MAXPATHLEN was reduced to 8192 from 16384

2014-05-26 Thread Christopher Faylor
On Mon, May 26, 2014 at 08:59:56PM +0530, Abhijit Bhattacharjee wrote: On a typical configuration, we use gmake on windows as the build system. GMAKE calls the Cygwin bash in order to invoke the MSVS compiler in-order to satisfy the dependency if a rule to call the compiler is present. If you're

Re: Package file lists archive

2014-05-26 Thread Christopher Faylor
On Sun, May 25, 2014 at 05:37:45PM -0500, Steven Penny wrote: The MSYS2 project keep an up to date archive with files lists for all packages http://downloads.sourceforge.net/project/msys2/REPOS/MINGW/x86_64/mingw64.files.tar.gz This file is not very large considering $ gzip -l

Re: Bash silently truncates the Command Line when called programatically via CreateProcess as MAXPATHLEN was reduced to 8192 from 16384

2014-05-26 Thread René Berber
On 5/26/2014 3:08 PM, Christopher Faylor wrote: If you're using Cygwin's make it will not truncate paths if it is running cygwin programs. Not sure what MSVS is. Microsoft Visual Studio (or Something)? -- René Berber -- Problem reports: http://cygwin.com/problems.html FAQ:

Re: Bash silently truncates the Command Line when called programatically via CreateProcess as MAXPATHLEN was reduced to 8192 from 16384

2014-05-26 Thread Christopher Faylor
On Mon, May 26, 2014 at 03:38:13PM -0500, René Berber wrote: On 5/26/2014 3:08 PM, Christopher Faylor wrote: If you're using Cygwin's make it will not truncate paths if it is running cygwin programs. Not sure what MSVS is. Microsoft Visual Studio (or Something)? Probably. cgf -- Problem

Re: Package file lists archive

2014-05-26 Thread Steven Penny
On Mon, May 26, 2014 at 3:12 PM, Christopher Faylor wrote: And, frankly, I think it's a bad idea to keep a monolithic list of packages available for people to download anyway. Could you not just require each package includes a file list? This way you could get the information from any mirror.

Updated: serf-1.3.5-1

2014-05-26 Thread David Rothenberger
The serf packages have been updated to the new upstream release 1.3.5. See http://serf.googlecode.com/svn/tags/1.3.5/CHANGES for more details about the changes in this release. More information about serf can be found at http://code.google.com/p/serf/. DESCRIPTION: The serf

Updated: cyrus-sasl-2.1.26-7

2014-05-26 Thread David Rothenberger
IMPORTANT NOTE: === The previous 2.1.25-1 package included an ABI change from upstream without updating the DLL names. This can cause problems with other packages that were compiled against the earlier version of cyrus-sasl (e.g., exim or openldap). Users of those packages should