Web lists-archives.com

fork issue on 32bit




Hi,

I am rebuilding the pure-ftpd server.
On 64bit I have no issue while testing the 32bit version on

 $ uname -svr
CYGWIN_NT-6.1-WOW 2.8.0(0.309/5/3) 2017-04-01 20:42

 I hit:

$ ./pure-ftpd -B
0 [main] pure-ftpd 7960 E:\cygwin\usr\sbin\pure-ftpd.exe: *** fatal error in forked process - fork: can't reserve memory for parent stack 0x3B0000 - 0x5B0000, (child has 0x330000 - 0x530000), Win32 error 487 0 [main] pure-ftpd 4752 fork: child -1 - forked process 7960 died unexpectedly, retry 0, exit code 0xC0000005, errno 11
Unable to start a standalone server - fork: Resource temporarily unavailable

I excluded AV interference as it happens also on Safe Mode.

The process memory area seems fine
00200000-00242000 rw-p 00000000 0000:0000 0  [win heap 1 grow]
00242000-00300000 ===p 00042000 0000:0000 0  [win heap 1 grow]
00300000-00301000 r--s 00000000 0000:0000 0
00310000-00312000 rw-p 00000000 0000:0000 0  [win heap 1 grow]
00312000-00320000 ===p 00002000 0000:0000 0  [win heap 1 grow]
00320000-00322000 rw-p 00000000 0000:0000 0
00330000-00331000 rw-p 00000000 0000:0000 0
00340000-00341000 r--s 00000000 0000:0000 0
00350000-00357000 r--s 00000000 0000:0000 0
00360000-00362000 rw-s 00000000 0000:0000 0

00380000-00384000 rw-p 00000000 0000:0000 0   [win heap 4 grow]
00384000-00390000 ===p 00004000 0000:0000 0   [win heap 4 grow]
003B0000-005A6000 ===p 00000000 0000:0000 0   [stack (tid 4604)]
005A6000-005A7000 rw-g 001F6000 0000:0000 0   [stack (tid 4604)]
005A7000-005B0000 rw-p 001F7000 0000:0000 0   [stack (tid 4604)]
005B0000-005E9000 ===p 00000000 0000:0000 0

I have same error on current package version pure-ftpd-1.0.45-1,
so or I missed to note the issue before (likely) or something
is changed in Cygwin in the meantime.

Any suggestion what to look for ?

Regards
Marco



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