I'm sorry, i forgot to report here that "_panic: allocating allocated segment_" 
is the same bug happening on non-debug builds. I only have a debug build of 
Illumos, but the troubleshooting was originally done to fix 
https://github.com/zfsonlinux/zfs/issues/6315 which is a non-debug ZFSonLinux 
build.

```
[31546.368710] PANIC: zfs: allocating allocated segment(offset=340760625152 
size=4096)
[31546.368715] Showing stack for process 1056
[31546.368717] CPU: 2 PID: 1056 Comm: txg_sync Tainted: P           O    
4.9.34-gentoo #1
[31546.368718] Hardware name: To be filled by O.E.M. To be filled by 
O.E.M./SABERTOOTH 990FX R2.0, BIOS 2901 05/04/2016
[31546.368719]  ffffc90007caf980 ffffffff813013d0 0000000000000003 
ffff88042431bc00
[31546.368721]  ffffc90007caf990 ffffffffa04b5952 ffffc90007cafab8 
ffffffffa04b5aca
[31546.368723]  ffff8804249de200 6c6c61203a73667a 20676e697461636f 
657461636f6c6c61
[31546.368725] Call Trace:
[31546.368731]  [<ffffffff813013d0>] dump_stack+0x63/0x83
[31546.368736]  [<ffffffffa04b5952>] spl_dumpstack+0x42/0x50 [spl]
[31546.368738]  [<ffffffffa04b5aca>] vcmn_err+0x6a/0x100 [spl]
[31546.368741]  [<ffffffff8102d752>] ? __switch_to+0x2d2/0x630
[31546.368743]  [<ffffffffa04b19d2>] ? spl_kmem_cache_alloc+0x72/0x8e0 [spl]
[31546.368745]  [<ffffffffa04b19d2>] ? spl_kmem_cache_alloc+0x72/0x8e0 [spl]
[31546.368746]  [<ffffffff811e6edb>] ? kmem_cache_alloc+0xdb/0x1b0
[31546.368748]  [<ffffffffa04b19d2>] ? spl_kmem_cache_alloc+0x72/0x8e0 [spl]
[31546.368783]  [<ffffffffa06c2b2f>] zfs_panic_recover+0x6f/0x90 [zfs]
[31546.368799]  [<ffffffffa06aa34e>] range_tree_add+0x18e/0x2d0 [zfs]
[31546.368816]  [<ffffffffa06a4188>] metaslab_free_dva+0x148/0x400 [zfs]
[31546.368837]  [<ffffffffa06a7cea>] metaslab_free+0xaa/0xf0 [zfs]
[31546.368856]  [<ffffffffa06b2b80>] ? spa_avz_build+0x130/0x130 [zfs]
[31546.368872]  [<ffffffffa0717d8c>] zio_dva_free+0x1c/0x30 [zfs]
[31546.368887]  [<ffffffffa071c2b6>] zio_nowait+0xb6/0x160 [zfs]
[31546.368906]  [<ffffffffa06b2bc0>] spa_free_sync_cb+0x40/0x50 [zfs]
[31546.368919]  [<ffffffffa066009e>] bplist_iterate+0xbe/0x110 [zfs]
[31546.368938]  [<ffffffffa06b52c8>] spa_sync+0x448/0xd70 [zfs]
[31546.368941]  [<ffffffff810c4664>] ? __wake_up+0x44/0x50
[31546.368959]  [<ffffffffa06c7304>] txg_sync_thread+0x2c4/0x480 [zfs]
[31546.368961]  [<ffffffff810a72c8>] ? finish_task_switch+0x78/0x1f0
[31546.368979]  [<ffffffffa06c7040>] ? txg_delay+0x160/0x160 [zfs]
[31546.368981]  [<ffffffffa04b25f0>] ? __thread_exit+0x20/0x20 [spl]
[31546.368983]  [<ffffffffa04b2662>] thread_generic_wrapper+0x72/0x80 [spl]
[31546.368985]  [<ffffffff8109f266>] kthread+0xe6/0x100
[31546.368986]  [<ffffffff8109f180>] ? kthread_park+0x60/0x60
[31546.368989] [<ffffffff8160c955>] ret_from_fork+0x25/0x30
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openzfs/openzfs/pull/462#issuecomment-328516777
------------------------------------------
openzfs-developer
Archives: 
https://openzfs.topicbox.com/groups/developer/discussions/Tffbfe5cf4d0c0904-Mb6607d4cddb73ca0319232ac
Powered by Topicbox: https://topicbox.com

Reply via email to