From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,ebae94fa7787ae2d X-Google-Attributes: gidfee84,public From: 100672.1073@compuserve.com (Rob Haigh) Subject: Re: Asynchronous I/O & Internal DECthreads problem Date: 1995/11/26 Message-ID: <49ab5r$o3h@dub-news-svc-4.compuserve.com>#1/1 X-Deja-AN: 120159948 references: <48qo3t$atf@web.cae.ca> organization: CompuServe Incorporated newsgroups: comp.unix.osf.osf1 hoa@obelix.cae.ca (Hoa Dao) wrote: >I have a small program that uses asynchronous I/O operations. The I/O >requests are submitted sequentially (i.e. a request is not >submitted until the previous one is finished). After one request is >finished, aio_return() is called to free up the aiocb structure. >However, when my program runs, I got the following error message when >the second request is submitted: etc. >Any suggestion ??? I have had a similar problem. I traced it down to the program being locked into memory with a mlock call. If you remove the reference to future memory in the call to mlock it will start working again. Seems like it can't grow the stack when it's locked into memory. I think the Digital have fixed this with a patch to 3.2c. Cheers, Rob.