Return-Path: Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 77594 invoked by uid 500); 2 Aug 2002 19:10:03 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 77583 invoked from network); 2 Aug 2002 19:10:03 -0000 Message-ID: <000801c23a58$74555e40$7300a8c0@MITHRIL> From: "David Reid" To: References: <000c01c23a56$bc5e2480$3600000a@KOJ> Subject: New poll code Date: Fri, 2 Aug 2002 20:11:49 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MIMEOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N New poll test works fine on beos and apache builds OK but ab -n1000 -c2 crashes with a segfault in apr_poll. Off on hols so can't diagnose further - sorry. david ----- Original Message ----- From: "Ryan Bloom" To: ; Sent: Friday, August 02, 2002 7:59 PM Subject: RE: cvs commit: apr/poll/unix poll.c > > Modified: poll/unix poll.c > > Log: > > We safely ignore palloc failures [we can segv in the allocator]. > > We cannot ignore alloca/malloc failures. > > We generally ignore memory allocation errors of all kinds in the server > and APR. The general thought has always been that if you are actually > running out of memory or stack space, then your computer is hosed > anyway, and you are going to seg fault. Why can't we follow the same > rules here? > > Ryan > > >