From owner-freebsd-stable@FreeBSD.ORG Thu May 28 13:55:51 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 90BF810656B5; Thu, 28 May 2009 13:55:51 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 9A3FB8FC20; Thu, 28 May 2009 13:55:50 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id QAA29641; Thu, 28 May 2009 16:55:37 +0300 (EEST) (envelope-from avg@icyb.net.ua) Message-ID: <4A1E97D8.4080901@icyb.net.ua> Date: Thu, 28 May 2009 16:55:36 +0300 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.21 (X11/20090406) MIME-Version: 1.0 To: Henri Hennebert References: <3c1674c90905201643m540c8b1v8a8bd88f071c233d@mail.gmail.com> <4A1D0F2B.4030006@restart.be> <3c1674c90905280052q281f6172j2409fe2d64db6914@mail.gmail.com> <4A1E90F7.2000000@restart.be> In-Reply-To: <4A1E90F7.2000000@restart.be> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org, Kip Macy , Artem Belevich Subject: Re: ZFS MFC heads down X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 May 2009 13:55:52 -0000 on 28/05/2009 16:26 Henri Hennebert said the following: > (gdb) bt > #0 0x00000008012a6f22 in strlen () from /lib/libc.so.7 > #1 0x00000008012a0feb in open () from /lib/libc.so.7 > #2 0x000000080129ea59 in open () from /lib/libc.so.7 > #3 0x00000008012a1f2e in vfprintf () from /lib/libc.so.7 > #4 0x0000000801291158 in fprintf () from /lib/libc.so.7 > #5 0x0000000801290fb0 in __assert () from /lib/libc.so.7 I find the above part interesting. Could this be because of the following discrepancy: 1) cddl/contrib/opensolaris/lib/libzpool/common/sys/zfs_context.h: extern void __assert(const char *, const char *, int); 2) lib/libc/gen/assert.c: void __assert(func, file, line, failedexpr) const char *func, *file; int line; const char *failedexpr; > #6 0x0000000800fef120 in zmutex_destroy () from /lib/libzpool.so.1 > #7 0x000000080102e1a0 in dsl_dataset_fast_stat () from /lib/libzpool.so.1 > #8 0x0000000801045ffa in dbuf_find () from /lib/libzpool.so.1 > #9 0x0000000801047bf3 in dmu_buf_rele () from /lib/libzpool.so.1 > #10 0x0000000801027546 in dsl_pool_open () from /lib/libzpool.so.1 > #11 0x000000080101bcec in spa_create () from /lib/libzpool.so.1 > #12 0x000000080101c820 in spa_tryimport () from /lib/libzpool.so.1 But back to the problem - without an additional printf we still can not what was the value in m_owner. Only that it was not null. Probably it's better to build with debugging symbols and examine with gdb. -- Andriy Gapon