[Ur] cygwin, pthread_attr_init failed
Sergey Mironov
grrwlf at gmail.com
Mon Oct 14 04:24:35 EDT 2013
Hi. I've tried to build apps under cygwin and faced pthread issue. The
application issued the following error:
$ ./AppMM.exe
Database connection initialized.
Unlimited retry during init: Couldn't allocate new heap chunk contiguously; incr
Unlimited retry during init: Couldn't allocate new heap chunk contiguously; incr
Unlimited retry during init: Couldn't allocate new heap chunk contiguously; incr
Listening on port 8080....
Database connection initialized.
Error creating worker thread #0
..
and quits
Quick investigation showed that something goes wrong inside
pthread_attr_init() function called from pthread_create_big()
(src/c/request.c). It returns error code 16 (EBUSY?). I didn't find
any clean reasons for that. I was able to run the application by
commenting out all the custom stack size logic and calling
pthread_create with default attributes regardless of user settings.
Any suggestions?
Sergey
More information about the Ur
mailing list