From nobody Tue Jun 13 07:54:28 2023 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QgLRm4YHbz4crfC for ; Tue, 13 Jun 2023 07:54:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QgLRm0yCyz4C9M for ; Tue, 13 Jun 2023 07:54:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686642868; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=19kp7tz/X/m61VK7CNrA6RmpgtoGm4x8jjjZetVJqaw=; b=HBBDrd1S7oZ+T62TzRXDPIdTrOOBtGO5PGU6G8ImGuO4W+YfGDpsYJz/B+eVboxVSTymqg gonfjjAHJ/oRt/KahUQZe/HSwchtyx+XbLMaamNuyYXJs9E3JjRvkYAlAxdQxsRdwIr0BX l1+whgKg7eblSHnZrqeZbVmz/DByKiOAjq/PeMWq+FBgNPY2v3FoUlvk8aozxaOnESiRl5 aslVgm0IN05JfZ3fwxltUIjtsEmmdntmu5o8s4nKIXiTDFa2MtjfgaW1zaKo1x7jWj0Eoz jNdX/FsluW9FgX30LY1PTX0Zh/ldfN3BzgV8DKFxIAHYteWWzIJj4nm2z1KRuA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1686642868; a=rsa-sha256; cv=none; b=b2ABlvDYDZgO4ZJFW7Gm+mWgjTPGQt6sLZi0sqXfUDB8RilvT716QflSPcm32gR6+QqEm8 4NPcCBo05jN0gtEy8kua1ryQHIqZLvJG8Ddx7nP5z7QNm0KTtZh+FBw/MgSttW2Fn+zwq8 kjEKm8whn7QYy46P2OZwZ1NfxAeebAP5aHfudW7mUtWw9cvCs+tfZe0dcnK0p71CE6T9ad glmLTvQ2VQgl30l3hQNIjyM5fRdEk0QrnBA4vUeBR6yJKx8Ts7Z1894px0ghZ0g/+nJJE6 6kTcEGmmQBT/pF5HkumPP/9nuY4uP6u/pQjKKOH3sZ3Tg+ZMtph9L7TQvy7AcA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QgLRl746CzF83 for ; Tue, 13 Jun 2023 07:54:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 35D7sRBT079730 for ; Tue, 13 Jun 2023 07:54:27 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 35D7sRDR079729 for bugs@FreeBSD.org; Tue, 13 Jun 2023 07:54:27 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 261520] zfs: Panic when zfs sending to an encrypted dataset: VERIFY3(0 == dmu_bonus_hold_by_dnode(dn, FTAG, &db, flags)) failed (0 == 5) Date: Tue, 13 Jun 2023 07:54:28 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.0-RELEASE X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: girgen@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261520 Palle Girgensohn changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |girgen@FreeBSD.org --- Comment #2 from Palle Girgensohn --- We're seeing a similar behaviour on a GENERIC kernel with version: FreeBSD 13.1-STABLE #1 stable/13-n254017-664ccd7e3335: Thu Jan 26 14:22:27 = CET 2023=20 A crash during receive to an encrypted filesystem. Unread portion of the kernel message buffer: panic: VERIFY3(0 =3D=3D zap_remove(mos, dsobj, spa_feature_table[f].fi_guid= , tx)) failed (0 =3D=3D 2) cpuid =3D 26 time =3D 1686583749 KDB: stack backtrace: #0 0xffffffff80c529d5 at kdb_backtrace+0x65 #1 0xffffffff80c05361 at vpanic+0x151 #2 0xffffffff82174e3a at spl_panic+0x3a #3 0xffffffff821fc1e6 at dsl_dataset_deactivate_feature_impl+0xe6 #4 0xffffffff82200cb5 at dsl_dataset_clone_swap_sync_impl+0x135 #5 0xffffffff821e6ff2 at dmu_recv_end_sync+0x2a2 #6 0xffffffff82228244 at dsl_sync_task_sync+0xb4 #7 0xffffffff8221aa6b at dsl_pool_sync+0x42b #8 0xffffffff8224f920 at spa_sync+0xb00 #9 0xffffffff82264271 at txg_sync_thread+0x281 #10 0xffffffff80bc1bee at fork_exit+0x7e #11 0xffffffff81087cbe at fork_trampoline+0xe Uptime: 136d15h27m59s Dumping 16448 out of 130905 MB:..1%..11%..21%..31%..41%..51%..61%..71%..81%..91% __curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:55 55 __asm("movq %%gs:%P1,%0" : "=3Dr" (td) : "n" (offsetof(stru= ct pcpu, (kgdb) bt #0 __curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:55 #1 dump_savectx () at /usr/src/sys/kern/kern_shutdown.c:394 #2 0xffffffff80c04f58 in dumpsys (di=3D0x0) at /usr/src/sys/x86/include/dump.h:87 #3 doadump (textdump=3D) at /usr/src/sys/kern/kern_shutdown= .c:423 #4 kern_reboot (howto=3D260) at /usr/src/sys/kern/kern_shutdown.c:497 #5 0xffffffff80c053ce in vpanic (fmt=3D, ap=3Dap@entry=3D0xfffffe02b8c04930) at /usr/src/sys/kern/kern_shutdown.c:930 #6 0xffffffff82174e3a in spl_panic (file=3D, func=3D, line=3D, fmt=3D) at /usr/src/sys/contrib/openzfs/module/os/freebsd/spl/spl_misc.c:107 #7 0xffffffff821fc1e6 in dsl_dataset_deactivate_feature_impl (ds=3Dds@entry=3D0xfffff81ae1019000,=20 f=3Df@entry=3DSPA_FEATURE_USEROBJ_ACCOUNTING, tx=3Dtx@entry=3D0xfffff81= 8a6d9dd00) at /usr/src/sys/contrib/openzfs/module/zfs/dsl_dataset.c:1116 #8 0xffffffff82200cb5 in dsl_dataset_clone_swap_sync_impl (clone=3D0xfffff816447f0000, origin_head=3D,=20 tx=3D, tx@entry=3D0xfffff818a6d9dd00) at /usr/src/sys/contrib/openzfs/module/zfs/dsl_dataset.c:4083 #9 0xffffffff821e6ff2 in dmu_recv_end_sync (arg=3D0xfffffe0267bb75b8, tx=3D0xfffff818a6d9dd00) at /usr/src/sys/contrib/openzfs/module/zfs/dmu_recv.c:3233 #10 0xffffffff82228244 in dsl_sync_task_sync (dst=3D0xfffffe0267bb73a8, tx=3Dtx@entry=3D0xfffff818a6d9dd00) at /usr/src/sys/contrib/openzfs/module/zfs/dsl_synctask.c:248 #11 0xffffffff8221aa6b in dsl_pool_sync (dp=3Ddp@entry=3D0xfffff81576ea8000, txg=3Dtxg@entry=3D39350549) at /usr/src/sys/contrib/openzfs/module/zfs/dsl_pool.c:847 #12 0xffffffff8224f920 in spa_sync_iterate_to_convergence (spa=3D0xfffffe02a4c77000, tx=3D0xfffff81cd3091400) at /usr/src/sys/contrib/openzfs/module/zfs/spa.c:9069 #13 spa_sync (spa=3Dspa@entry=3D0xfffffe02a4c77000, txg=3Dtxg@entry=3D39350= 549) at /usr/src/sys/contrib/openzfs/module/zfs/spa.c:9287 #14 0xffffffff82264271 in txg_sync_thread (arg=3Darg@entry=3D0xfffff81576ea= 8000) at /usr/src/sys/contrib/openzfs/module/zfs/txg.c:591 #15 0xffffffff80bc1bee in fork_exit (callout=3D0xffffffff82263ff0 , arg=3D0xfffff81576ea8000,=20 frame=3D0xfffffe02b8c04f40) at /usr/src/sys/kern/kern_fork.c:1093 #16 #17 mi_startup () at /usr/src/sys/kern/init_main.c:322 #18 0xffffffff80f79919 in swapper () at /usr/src/sys/vm/vm_swapout.c:755 #19 0xffffffff8038a022 in btext () at /usr/src/sys/amd64/amd64/locore.S:80 (kgdb) --=20 You are receiving this mail because: You are the assignee for the bug.=