Bug #4168
ztest assertion failure in dbuf_undirty
Start date:
2013-10-01
Due date:
% Done:
100%
Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:
Description
> ::status debugging core file of ztest (32-bit) from jkennedy-trunk.dcenter file: /usr/bin/i86/ztest initial argv: /usr/bin/i86/ztest threading model: native threads status: process terminated by SIGABRT (Abort), pid=15400 uid=0 code=-1 panic message: assertion failed for thread 0xf8a7ca40, thread-id 359: refcount_count(&db->db_holds) == db->db_dirtycnt (0x2 == 0x1), file ../. > $C f115e258 libc_hwcap1.so.1`_lwp_kill+0x15(2, f115e280, a8, f115e323, 8a393c0, 8a8b080) f115e5b8 libc_hwcap1.so.1`_assfail+0x1b8(f115e5e8, fede2554, 512, f115e623, 1, 0) f115e9e8 libc_hwcap1.so.1`assfail3+0x115(fede2ef8, 2, 0, fedf628c, 1, 0) f115ea68 libzpool.so.1`dbuf_undirty+0x213(ab1eb34, ab1eaf8, 932f840, fed578b0) f115eb08 libzpool.so.1`dbuf_free_range+0x3c6(968caa8, 800000a, 0, 800000a, 0, 97c2d00) f115ebc8 libzpool.so.1`dnode_free_range+0x933(968caa8, 140000, 1000, 20000, 0, 97c2d00) f115ec18 libzpool.so.1`dmu_free_range+0xd4(8a39080, 1f, 0, 140000, 1000, 20000) f115ec68 ztest_replay_truncate+0xdd(80c5f08, 8873178, 0, 805a846, 1, 0) f115ecb8 ztest_truncate+0x65(140000, 1000, 20000, 0) f115ed78 ztest_io+0x264(140000, 1000, f115ef08, 8060f62) f115ef08 ztest_dmu_write_parallel+0xc6(80c5f08, 5, 0, 805c03d, 0, 0) f115ef78 ztest_execute+0x87(5, 0, f115efc8, 805c1bb) f115efc8 ztest_thread+0xe6(5, 0, 0, 0) f115efe8 libc_hwcap1.so.1`_thrp_setup+0x88(f8a7ca40) f115eff8 libc_hwcap1.so.1`_lwp_start(f8a7ca40, 0, 0, 0, 0, 0)
The assumptions made by the assertion are incorrect, the assertion should just be removed.
Updated by Christopher Siden over 7 years ago
- Status changed from In Progress to Closed
commit 7fdd916c474ea52896c671bbe7b56ba34a1ca132 Author: George Wilson <george.wilson@delphix.com> Date: Fri Oct 4 15:13:23 2013 4168 ztest assertion failure in dbuf_undirty 4169 verbatim import causes zdb to segfault 4170 zhack leaves pool in ACTIVE state Reviewed by: Adam Leventhal <ahl@delphix.com> Reviewed by: Eric Schrock <eric.schrock@delphix.com> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Approved by: Dan McDonald <danmcd@nexenta.com>
Updated by Christopher Siden over 7 years ago
commit 7fdd916c474ea52896c671bbe7b56ba34a1ca132Author: George Wilson <george.wilson@delphix.com>Commit: Christopher Siden <chris.siden@delphix.com> 4168 ztest assertion failure in dbuf_undirty 4169 verbatim import causes zdb to segfault 4170 zhack leaves pool in ACTIVE state Reviewed by: Adam Leventhal <ahl@delphix.com> Reviewed by: Eric Schrock <eric.schrock@delphix.com> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Approved by: Dan McDonald <danmcd@nexenta.com>
Updated by Christopher Siden over 7 years ago
commit 7fdd916c474ea52896c671bbe7b56ba34a1ca132 Author: George Wilson <george.wilson@delphix.com> Commit: Christopher Siden <chris.siden@delphix.com> 4168 ztest assertion failure in dbuf_undirty 4169 verbatim import causes zdb to segfault 4170 zhack leaves pool in ACTIVE state Reviewed by: Adam Leventhal <ahl@delphix.com> Reviewed by: Eric Schrock <eric.schrock@delphix.com> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Approved by: Dan McDonald <danmcd@nexenta.com>
Updated by Christopher Siden over 7 years ago
commit 7fdd916c474ea52896c671bbe7b56ba34a1ca132 Author: George Wilson <george.wilson@delphix.com> Date: Fri Oct 4 15:13:23 2013 4168 ztest assertion failure in dbuf_undirty 4169 verbatim import causes zdb to segfault 4170 zhack leaves pool in ACTIVE state Reviewed by: Adam Leventhal <ahl@delphix.com> Reviewed by: Eric Schrock <eric.schrock@delphix.com> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Approved by: Dan McDonald <danmcd@nexenta.com>