Return-Path: Delivered-To: apmail-incubator-trafficserver-dev-archive@minotaur.apache.org Received: (qmail 10180 invoked from network); 1 Apr 2010 02:46:52 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 1 Apr 2010 02:46:52 -0000 Received: (qmail 90612 invoked by uid 500); 1 Apr 2010 02:46:52 -0000 Delivered-To: apmail-incubator-trafficserver-dev-archive@incubator.apache.org Received: (qmail 90566 invoked by uid 500); 1 Apr 2010 02:46:52 -0000 Mailing-List: contact trafficserver-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: trafficserver-dev@incubator.apache.org Delivered-To: mailing list trafficserver-dev@incubator.apache.org Received: (qmail 90558 invoked by uid 99); 1 Apr 2010 02:46:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Apr 2010 02:46:52 +0000 X-ASF-Spam-Status: No, hits=-1190.5 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Apr 2010 02:46:51 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D68A4234C4BE for ; Thu, 1 Apr 2010 02:46:30 +0000 (UTC) Message-ID: <470926975.623211270089990877.JavaMail.jira@brutus.apache.org> Date: Thu, 1 Apr 2010 02:46:30 +0000 (UTC) From: "Eric Balsa (JIRA)" To: trafficserver-dev@incubator.apache.org Subject: [jira] Commented: (TS-286) Seg fault on startup on OSX inside RecSetRawStatSum In-Reply-To: <148783788.621641270081707372.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/TS-286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12852227#action_12852227 ] Eric Balsa commented on TS-286: ------------------------------- lol, ya, forgot to add this fixes it for me. > Seg fault on startup on OSX inside RecSetRawStatSum > --------------------------------------------------- > > Key: TS-286 > URL: https://issues.apache.org/jira/browse/TS-286 > Project: Traffic Server > Issue Type: Bug > Reporter: Eric Balsa > Fix For: 2.1.0 > > Attachments: TS-286.patch > > > OS X debug (--enable-debug) build: > Getting the following segfault about 5 seconds after startup with latest trunk: > #0 0x00007fff88b4cfe6 in __kill () > #1 0x00007fff88bede32 in abort () > #2 0x0000000100280639 in ink_mutex_acquire (m=0x100d56368) at ink_mutex.h:96 > #3 0x0000000100280924 in raw_stat_clear_sum (rsb=0x100d56350, id=0) at RecProcess.cc:126 > #4 0x0000000100280a0c in RecSetRawStatSum (rsb=0x100d56350, id=0, data=0) at RecProcess.cc:592 > #5 0x00000001002588a3 in register_net_stats () at Net.cc:66 > #6 0x0000000100258e04 in ink_net_init (version=16842752) at Net.cc:152 > #7 0x0000000100075f9f in main (argc=1, argv=0x7fff5fbff948) at Main.cc:1896 > (gdb) fr 4 > #4 0x0000000100280a0c in RecSetRawStatSum (rsb=0x100d56350, id=0, data=0) at RecProcess.cc:592 > 592 raw_stat_clear_sum(rsb, id); > (gdb) p *rsb > $12 = { > ethr_stat_offset = 2920, > global = 0x100d563b0, > num_stats = 0, > max_stats = 16, > mutex = { > __sig = 0, > __opaque = '\0' > } > } > (gdb) fr 2 > #2 0x0000000100280639 in ink_mutex_acquire (m=0x101801448) at ink_mutex.h:96 > 96 abort(); > (gdb) l > 91 > 92 static inline int > 93 ink_mutex_acquire(ink_mutex * m) > 94 { > 95 if (pthread_mutex_lock(m) != 0) { > 96 abort(); > 97 } > 98 return 0; > 99 } > Looks like the mutex for rsb is NULL. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.