fork() unbearable in VM guest

2010-08-15 Thread Daniel Colascione
I'm running Cygwin in a fresh 32-bit Windows 7 VirtualBox guest (on an OS X code) --- and performance is even more unbearable than usual: each process spawned from bash takes about 800ms; on my Windows 7 64-bit box, I get at least 8-9 forks per second. Any idea what could be wrong? -- Problem rep

Bug in fork() while in a thread

2010-08-15 Thread Jason Curl
Hello, Is it allowed to issue the fork() system call while not in the main thread? When I read the OpenGroup specifications I don't seem to find anything against allowing this. In particular, if I create a thread, then issue a fork(), data that exists on the stack is corrupted after the fork

Re: Bug in fork() while in a thread

2010-08-15 Thread Christopher Faylor
On Sun, Aug 15, 2010 at 07:42:01PM +0200, Jason Curl wrote: >Is it allowed to issue the fork() system call while not in the main >thread? When I read the OpenGroup specifications I don't seem to find >anything against allowing this. > >In particular, if I create a thread, then issue a fork(), dat

Re: Bug in fork() while in a thread

2010-08-15 Thread Jason Curl
On 15/08/2010 20:53, Christopher Faylor wrote: On Sun, Aug 15, 2010 at 07:42:01PM +0200, Jason Curl wrote: In particular, if I create a thread, then issue a fork(), data that exists on the stack is corrupted after the fork() is in the child. Using data on the heap doesn't show any issues (and is

Re: mkshortcut --allusers --smprograms

2010-08-15 Thread Charles Wilson
On 6/29/2009 2:53 PM, Andy Koppe wrote: > Shortcuts created by postinstall scripts using mkshortcut --allusers > --smprograms aren't readable for ordinary users, so all they get to > see in the start menu is a white dummy icon that doesn't do anything. > This affects both MinTTY and rxvt, at least

[ANNOUNCEMENT] Updated: cygutils-1.4.4-1

2010-08-15 Thread Charles Wilson
Cygutils is a collection of useful(?) tools for the cygwin platform. This is a bugfix release. [[ compiled using gcc-4.3.4-3 ]] CHANGES (from cygutils-1.4.2-1) * Fix longstanding bug in mkshortcut, in which failure was reported even on success (Andy Koppe). * --

[ANNOUNCEMENT] Updated: {libpng/libpng14/libpng14-devel}-1.4.3-2

2010-08-15 Thread Charles Wilson
The libpng packages offer the standard libraries for manipulating PNG files, a turbo-studly lossless image format. This is packaging fix. [[ compiled using gcc-4.3.4-3 ]] CHANGES (since 1.4.3-1) o Fix installation bug with import library (Yaakov Selkowitz) -- Charles W

Re: fork() unbearable in VM guest

2010-08-15 Thread Mark Geisert
Daniel Colascione writes: > I'm running Cygwin in a fresh 32-bit Windows 7 VirtualBox guest (on an > OS X code) --- and performance is even more unbearable than usual: each > process spawned from bash takes about 800ms; on my Windows 7 64-bit box, > I get at least 8-9 forks per second. > > Any ide