Re: Snapshot 20120214: fork: can't reserve memory for stack

2012-02-16 Thread Jehan Bing

On 2012-02-15 13:35, Corinna Vinschen wrote:

On Feb 15 22:13, Corinna Vinschen wrote:

On Feb 15 14:01, Eric Blake wrote:

On 02/15/2012 01:47 PM, Corinna Vinschen wrote:

On Feb 15 11:45, Jehan Bing wrote:

I'm getting the following error starting with cygwin snapshot
20120214 when running a git command:

$ git add bigfile-test.dll
   0 [main] git 7440 D:\dev_apps\cygwin\bin\git.exe: *** fatal
error in forked process - fork: can't reserve memory for stack
0xAD - 0xBD, Win32 error 487


I can't reproduce that (also on W7).  How big is bigfile-test.dll?

Eric, does git use pthreads and fork from a thread, by any chance?


/me rummages around in git.git

Well, it certainly has both pthread_create and fork calls in the same
files (at least run-command.c), although I'm not quire sure if it tries
to actually fork from a pthread rather than from the main thread.


Ok, thanks anyway.  I think I know what happens.  Two days ago I thought
it is a good idea to use the Windows-provided stack from CreateThread by
default (== if the application didn't provide its own).  Too bad that
Windows creates the stacks typically in the lower regions of the
processes VM.  I guess I have to revert that, so that pthread_create
always uses a self-created stack again.  Oh well.  So much for "good
ideas"...


Just reverted in CVS.  Will show up in the next snapshot.


Snapshot 20120216 works.

Thanks,
Jehan


--
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



Re: Snapshot 20120214: fork: can't reserve memory for stack

2012-02-15 Thread Jehan Bing

On 2012-02-15 12:47, Corinna Vinschen wrote:

On Feb 15 11:45, Jehan Bing wrote:

I'm getting the following error starting with cygwin snapshot
20120214 when running a git command:

$ git add bigfile-test.dll
   0 [main] git 7440 D:\dev_apps\cygwin\bin\git.exe: *** fatal
error in forked process - fork: can't reserve memory for stack
0xAD - 0xBD, Win32 error 487


I can't reproduce that (also on W7).  How big is bigfile-test.dll?


That one is 20MB. So it would never fit in the a stack (not a 
default-sized one anyway).


But it also (mostly) fails on a smaller file (1.5MB).
Given the size difference, if file size mattered, one would always 
succeed or the other always fail.


Jehan


--
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



Snapshot 20120214: fork: can't reserve memory for stack

2012-02-15 Thread Jehan Bing
I'm getting the following error starting with cygwin snapshot 20120214 
when running a git command:


$ git add bigfile-test.dll
  0 [main] git 7440 D:\dev_apps\cygwin\bin\git.exe: *** fatal error 
in forked process - fork: can't reserve memory for stack 0xAD - 
0xBD, Win32 error 487
623 [main] git 7440 open_stackdumpfile: Dumping stack trace to 
git.exe.stackdump
  0 [unknown (0x1BC4)] git 12100 fork: child -1 - forked process 
died unexpectedly, retry 0, exit code 256, errno 11

error: cannot fork() for git-bigfile-clean: Resource temporarily unavailable
error: cannot fork to run external filter git-bigfile-clean
error: external filter git-bigfile-clean failed
add 'bigfile-test.dll'

I have a .gitattributes with a line: /bigfile-test* filter=bigfile
AFAICT, my filter is never called.

It doesn't happen all the time but very often (failed 8 times over the 
last 10 tries)
Running the command 10 times with cygwin 1.7.10 and the snapshots 
20120207, 20120209 and 20120210 worked.
Stack trace:
Frame Function  Args
0028EB88  6102FA5B  (0028EB88, , , 0028F2F4)
0028EE78  6102FA5B  (6119BD20, 8000, , 6119DB4F)
0028FEA8  61005F7C  (6119DB9C, 0028FED4, 00AD, 00AD)
0028FEC8  61005FB8  (6119DB9C, 00AD, 00BD, 0001)
0028FEF8  61006297  (008F1B38, 0028FF00, 1F80, 037F037F)
0028FF28  610062EE  (008F1B38, , , )
0028FF48  610063C3  (00401AA0, , , )
0028FF68  004E77D2  (00401AA0, , , )
0028FF88  00401015  (FFFDE000, 0028FFD4, 77289EF2, FFFDE000)
0028FF94  758C339A  (FFFDE000, DE9A7D1E, , )
0028FFD4  77289EF2  (00401000, FFFDE000, , )
0028FFEC  77289EC5  (00401000, FFFDE000, , 78746341)
End of stack trace

Cygwin Configuration Diagnostics
Current System Time: Wed Feb 15 19:28:06 2012

Windows 7 Home Premium Ver 6.1 Build 7601 Service Pack 1

Running under WOW64 on AMD64

Path:   D:\dev_apps\cygwin\usr\local\bin
D:\dev_apps\cygwin\bin
%CommonProgramFiles%\Microsoft Shared\Windows Live
C:\Windows\system32
C:\Windows
C:\Windows\System32\Wbem
C:\Windows\System32\WindowsPowerShell\v1.0
C:\Program Files\Dell\DW WLAN Card\Driver
C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static
C:\Program Files (x86)\Common Files\Roxio Shared\DLLShared
C:\Program Files (x86)\Common Files\Roxio Shared\OEM\DLLShared
C:\Program Files (x86)\Common Files\Roxio Shared\OEM\DLLShared
C:\Program Files (x86)\Common Files\Roxio Shared\OEM\12.0\DLLShared
C:\Program Files (x86)\Roxio\OEM\AudioCore
C:\Program Files\TortoiseGit\bin
C:\Program Files\TortoiseSVN\bin
C:\Program Files\Common Files\Microsoft Shared\Windows Live
C:\Users\Jehan\bin
C:\Users\Jehan\bin\git-scripts

Output from D:\dev_apps\cygwin\bin\id.exe
UID: 1000(Jehan) GID: 513(None)
513(None)545(Users)

SysDir: C:\Windows\system32
WinDir: C:\Windows

USER = 'Jehan'
PWD = '/d/src/test/jlegate'
HOME = '/home/Jehan'

HOMEPATH = '\Users\Jehan'
MANPATH = '/usr/local/man:/usr/share/man:/usr/man:'
APPDATA = 'C:\Users\Jehan\AppData\Roaming'
RCAUTOPLAY = 'C:\Program Files (x86)\Roxio\OEM\Roxio Central 5\'
ProgramW6432 = 'C:\Program Files'
HOSTNAME = 'Poitiers'
SSH_PAGEANT_PID = '11004'
SHELL = '/bin/bash'
TERM = 'xterm'
PROCESSOR_IDENTIFIER = 'Intel64 Family 6 Model 42 Stepping 7, GenuineIntel'
WINDIR = 'C:\Windows'
EMC_AUTOPLAY = 'C:\Program Files (x86)\Common Files\Roxio Shared\OEM\'
PUBLIC = 'C:\Users\Public'
OLDPWD = '/d/src/test'
USERDOMAIN = 'POITIERS'
CommonProgramFiles(x86) = 'C:\Program Files (x86)\Common Files'
SSH_TTY = '/dev/pty0'
OS = 'Windows_NT'
ALLUSERSPROFILE = 'C:\ProgramData'
windows_tracing_flags = '3'
windows_tracing_logfile = 'C:\BVTBin\Tests\installpackage\csilogfile.log'
VBOX_INSTALL_PATH = 'C:\Program Files\Oracle\VirtualBox\'
temp = 'C:\Users\Jehan\AppData\Local\Temp'
VS90COMNTOOLS = 'D:\dev_apps\Microsoft Visual Studio 9.0\Common7\Tools\'
COMMONPROGRAMFILES = 'C:\Program Files (x86)\Common Files'
TMP = '/tmp'
BURN_AUTOPLAY = 'C:\Program Files (x86)\Roxio\OEM\Roxio Burn\'
SSH_AUTH_SOCK = '/c/Users/Jehan/.ssh-pageant.sock'
USERNAME = 'Jehan'
PROCESSOR_LEVEL = '6'
ProgramFiles(x86) = 'C:\Program Files (x86)'
PSModulePath = 'C:\Windows\system32\WindowsPowerShell\v1.0\Modules\'
FP_NO_HOST_CHECK = 'NO'
SYSTEMDRIVE = 'C:'
PROCESSOR_ARCHITEW6432 = 'AMD64'
XNAGSv4 = 'C:\Program Files (x86)\Microsoft XNA\XNA Game Studio\v4.0\'
LANG = 

Re: gitk broken after update

2012-02-09 Thread Jehan Bing

On 2012-02-08 23:49, Voelker, Bernhard wrote:

After one of the recent updates (X.Org?), gitk doesn't work anymore:

   $ gitk
   Error in startup script: unknown color name "SystemButtonFace"
   while executing
   "winfo rgb . $c"
   (procedure "setui" line 3)
   invoked from within
   "setui $uicolor"
   (file "D:\cygwin\bin\gitk" line 11504)

Any ideas?


Delete ~/.gitk

Or use Google, first link when searching "gitk unknown color name 
SystemButtonFace"



Jehan


--
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



Re: exceed and xfree

2003-03-14 Thread Jehan
Ling F. Zhang wrote:
well, this is more or less like a windows/dos problem:

I do not like the cygwin dos window, so everytime I
run cygwin, I go straight to open an xterm with my own
color and size...
What about rxvt? It does have its own colors/size and it's a native win 
application, no need of X.

	Jehan



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


Re: cygwin official logo ?

2002-12-02 Thread Jehan
Charles Wilson wrote:

Yeah, that's a good idea.  Let's infringe on a Disney copyright.  They 
don't usually mind that sort of thing, do they?
[...]

What was that about 'stitch'?


Sorry, sorry, I was just kidding. I always found the girl in the movie
had a funny of saying "I think it's a koala". Seeing the word here just
reminded me of it.
Maybe I should have use a ;) instead of :).

Otherwise, I have nothing against the otters. Actually I find the koala
a little too lazy to be a good mascoot (but Stitch isn't by the way...
no, please, don't hit me me, I was kidding again).

If anyone wants my opinion, I would select an animal that has a meaning
to cygwin more than its cuteness, like Gerald's cygnet, or the
enigneer's mascott the beaver. Otters are fine there too since they do
use tools (for those who don't know, they use rocke as a hammer with
their belly as an anvil and shells in between)

	Jehan




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: cygwin official logo ?

2002-12-02 Thread Jehan
Corinna Vinschen wrote:

That's ok with me but my intend is to find a neat animal (there are
lots of them besides otters and koalas) 

What about a "stitch"? In the movie they say it looks like a koala and 
I'm sure O'Reilly didn't use it on their books. :)

	Jehan




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/