Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:19012 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 96616 invoked by uid 1010); 15 Sep 2005 23:00:36 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 96600 invoked from network); 15 Sep 2005 23:00:35 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Sep 2005 23:00:35 -0000 X-Host-Fingerprint: 69.12.155.130 69-12-155-130.dsl.static.sonic.net Linux 2.4/2.6 Received: from ([69.12.155.130:3109] helo=pigeon.alphaweb.net) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id DE/F1-43379-21DF9234 for ; Thu, 15 Sep 2005 19:00:35 -0400 Received: from localhost ([127.0.0.1] helo=peiscg33m) by pigeon.alphaweb.net with smtp (Exim 4.10) id 1EG237-0002uo-00; Thu, 15 Sep 2005 15:17:45 -0700 Message-ID: <00f301c5ba49$455192c0$5c8be5a9@ohr.berkeley.edu> Reply-To: "Sara Golemon" To: "RG" Cc: References: <29.87.41173.A9FD9234@pb1.pair.com> Date: Thu, 15 Sep 2005 16:00:10 -0700 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 6.00.2800.1506 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 Subject: Re: Segfault From: pollita@php.net ("Sara Golemon") > new_sock->bsd_socket = accept(php_sock->bsd_socket, &sa, &salen); > In all liklihood it's that. Now.... In the nicest way possible, why don't I suggest that you CLEAN UP YOUR CODE NEXT TIME!?!?! You might have noticed that new_sock isn't alloc'd if it wern't for all the comments and flat-out bad code you've got in there. Thank you for calling, next in line please. -Sara