From owner-freebsd-bugs@FreeBSD.ORG Fri Apr 27 19:30:11 2012 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F13961065676 for ; Fri, 27 Apr 2012 19:30:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B0B558FC15 for ; Fri, 27 Apr 2012 19:30:11 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q3RJUBrI001878 for ; Fri, 27 Apr 2012 19:30:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q3RJUBtt001877; Fri, 27 Apr 2012 19:30:11 GMT (envelope-from gnats) Resent-Date: Fri, 27 Apr 2012 19:30:11 GMT Resent-Message-Id: <201204271930.q3RJUBtt001877@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Marcelo Araujo Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D74AA106564A for ; Fri, 27 Apr 2012 19:22:27 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id C39ED8FC14 for ; Fri, 27 Apr 2012 19:22:27 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q3RJMRpj023260 for ; Fri, 27 Apr 2012 19:22:27 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q3RJMR55023258; Fri, 27 Apr 2012 19:22:27 GMT (envelope-from nobody) Message-Id: <201204271922.q3RJMR55023258@red.freebsd.org> Date: Fri, 27 Apr 2012 19:22:27 GMT From: Marcelo Araujo To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/167371: [ZFS] - Assertion failed in user land tasks_destroy() X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Apr 2012 19:30:12 -0000 >Number: 167371 >Category: kern >Synopsis: [ZFS] - Assertion failed in user land tasks_destroy() >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Apr 27 19:30:11 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Marcelo Araujo >Release: CURRENT >Organization: FreeBSD >Environment: FreeBSD hosta 10.0-CURRENT FreeBSD 10.0-CURRENT #2 r233530M: Mon Apr 23 11:51:58 UTC 2012 araujo@hosta:/usr/obj/usr/src/sys/HOSTA i386 >Description: Assertion failed in tasksq_destroy(). Obtained from Illumos: changeset 13640 3eac1e8e0f4c >How-To-Repeat: >Fix: Patch attached with submission follows: Index: contrib/opensolaris/lib/libzpool/common/taskq.c =================================================================== --- contrib/opensolaris/lib/libzpool/common/taskq.c (revision 234736) +++ contrib/opensolaris/lib/libzpool/common/taskq.c (working copy) @@ -140,6 +140,7 @@ t->task_prev->task_next = t; t->task_func = func; t->task_arg = arg; + t->tqent_flags = 0; cv_signal(&tq->tq_dispatch_cv); mutex_exit(&tq->tq_lock); return (1); >Release-Note: >Audit-Trail: >Unformatted: