Return-Path: Delivered-To: apmail-apr-dev-archive@www.apache.org Received: (qmail 8522 invoked from network); 7 Jan 2005 17:22:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 7 Jan 2005 17:22:54 -0000 Received: (qmail 3936 invoked by uid 500); 7 Jan 2005 17:22:52 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 3890 invoked by uid 500); 7 Jan 2005 17:22:51 -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 3864 invoked by uid 99); 7 Jan 2005 17:22:51 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of trawick@gmail.com designates 64.233.170.195 as permitted sender) Received: from rproxy.gmail.com (HELO rproxy.gmail.com) (64.233.170.195) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 07 Jan 2005 09:22:49 -0800 Received: by rproxy.gmail.com with SMTP id z35so15234rne for ; Fri, 07 Jan 2005 09:22:47 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=JoR6YRBzPkISSajuqtUhvHESS4wp+icjwlpaLnzrwcL/J+cQK0wjv8PLbVQ3YsD8nN+9btHrqE4W0I61j/v1d0lZcRDKcOxCJHSRngzOOyj7r9NP1kmn087hbbDO+MMkVREVkvqnPzJB9rgAjdCKSFVp0vo5PCfC/aRK2AHCUK8= Received: by 10.38.82.44 with SMTP id f44mr135969rnb; Fri, 07 Jan 2005 09:22:47 -0800 (PST) Received: by 10.39.2.76 with HTTP; Fri, 7 Jan 2005 09:22:47 -0800 (PST) Message-ID: Date: Fri, 7 Jan 2005 12:22:47 -0500 From: Jeff Trawick Reply-To: Jeff Trawick To: APR Development Subject: Re: apr_global_mutex_create never returns In-Reply-To: <41DEBD26.1090601@404ster.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <41DEA390.7050207@404ster.com> <41DEBD26.1090601@404ster.com> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Fri, 07 Jan 2005 08:47:34 -0800, Jeff Walter wrote: > Jeff Trawick wrote: > > what is the backtrace? (attach with debugger) > > Funny... I didn't notice it before, my apr_shm_create causes a segfault > (when I remove the file that actually gets created the run before). A > trace... > > open("/var/lib/mod_straw/mod_straw.shm", O_WRONLY|O_CREAT|O_EXCL, 0666) = 35 > stat64("/var/lib/mod_straw/mod_straw.shm", {st_mode=S_IFREG|0644, > st_size=0, ...}) = 0 > shmget(17008977, 20800, IPC_CREAT|IPC_EXCL|0600) = 4030469 > shmat(4030469, 0, 0) = 0x411e4000 > shmctl(4030469, IPC_64|IPC_STAT, 0xbffff9d0) = 0 > getuid32() = 0 > getgid32() = 0 > shmctl(4030469, IPC_64|IPC_SET, 0xbffff9d0) = 0 > write(35, "@Q\0\0", 4) = 4 > close(35) = 0 > --- SIGSEGV (Segmentation fault) @ 0 (0) --- please run it from the debugger to see which line of code is crashing...