From owner-freebsd-current@FreeBSD.ORG Thu May 24 23:56:54 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4821016A41F for ; Thu, 24 May 2007 23:56:54 +0000 (UTC) (envelope-from yuri.pankov@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.173]) by mx1.freebsd.org (Postfix) with ESMTP id AF68913C4BB for ; Thu, 24 May 2007 23:56:53 +0000 (UTC) (envelope-from yuri.pankov@gmail.com) Received: by ug-out-1314.google.com with SMTP id u2so167554uge for ; Thu, 24 May 2007 16:56:52 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:subject:from:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding; b=DEYmWHDejGJIXzp6mtHyODIZk6IEkLEKUMKETXXnps6Sia4rIWiIvIp++ocORUvF7oIcSIqv4ptYDB+LwTrJhSnjho/yZoDZajSKOqZgO4DfmnXs0BoRtNqfRm4cq2AOQgYsDDMqP9bSAvyMfEfzU56FGtArktHdggKBqC2xjss= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:subject:from:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding; b=YEuJxWni5tgT7Br89z+lKDPGYwXuCA0AnNpw5Kwgmq1YFX+dg8w+6QKRb3VsCfny8TS2y778mv06UeeTvNJkL9s1G93XbazjqbwgcYf/gBgtvZn30lZhjvQkXoHXkuFMlBR6Ptl6hmO6Wr3pAFOCiiUbA4Ihrc1UPzT6Fon05Xw= Received: by 10.66.242.5 with SMTP id p5mr2483773ugh.1180049377579; Thu, 24 May 2007 16:29:37 -0700 (PDT) Received: from ?10.1.1.6? ( [83.239.5.254]) by mx.google.com with ESMTP id w5sm10236731mue.2007.05.24.16.29.33; Thu, 24 May 2007 16:29:36 -0700 (PDT) From: Yuri Pankov To: Gleb Smirnoff In-Reply-To: <20070524182028.GE89017@FreeBSD.org> References: <20070523182203.R12345@fledge.watson.org> <20070524182028.GE89017@FreeBSD.org> Content-Type: text/plain Date: Fri, 25 May 2007 03:29:16 +0400 Message-Id: <1180049356.1014.3.camel@darklight> Mime-Version: 1.0 X-Mailer: Evolution 2.10.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: current@FreeBSD.org Subject: Re: rtfree: 0xc296cd20 has 1 refs X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 May 2007 23:56:54 -0000 On Thu, 2007-05-24 at 22:20 +0400, Gleb Smirnoff wrote: > Robert, > > On Wed, May 23, 2007 at 06:24:00PM +0100, Robert Watson wrote: > R> During boot on today's 7-CURRENT: > R> > R> net.inet6.ip6.auto_linklocal: 1 -> 0 > R> rtfree: 0xc296cd20 has 1 refsDHCPREQUEST on ed0 to 255.255.255.255 port 67 > R> DHCPACK from 10.211.55.1 > > this is me catching incorrect use of rtfree(). :) > > Can you please add kdb_backtrace() to line 248 of sys/net/route.c and > reproduce? > Hi, I get similar messages. Here's backtraces: at boot: rtfree: 0xffffff0060053b40 has 1 refsKDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2a rtfree() at rtfree+0xba in6_update_ifa() at in6_update_ifa+0x724 in6_ifattach() at in6_ifattach+0x2ce ifioctl() at ifioctl+0x118 soo_ioctl() at soo_ioctl+0x3ad kern_ioctl() at kern_ioctl+0xa2 ioctl() at ioctl+0xf9 syscall() at syscall+0x1b2 Xfast_syscall() at Xfast_syscall+0xab --- syscall (54, FreeBSD ELF64, ioctl), rip = 0x80082184c, rsp = 0x7fffffffe588, rbp = 0x7fffffffef73 --- after ppp's connect: rtfree: 0xffffff0060053870 has 1 refsKDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2a rtfree() at rtfree+0xba in6_ifremloop() at in6_ifremloop+0xb8 in6_purgeaddr() at in6_purgeaddr+0x42 in6_control() at in6_control+0x116c ifioctl() at ifioctl+0xea soo_ioctl() at soo_ioctl+0x3ad kern_ioctl() at kern_ioctl+0xa2 ioctl() at ioctl+0xf9 syscall() at syscall+0x1b2 Xfast_syscall() at Xfast_syscall+0xab --- syscall (54, FreeBSD ELF64, ioctl), rip = 0x80125b84c, rsp = 0x7fffffffe388, rbp = 0x7fffffffe550 ---