[Kernel-packages] [Bug 1861228] Re: zfs recv PANIC at range_tree.c:304:range_tree_find_impl()

2020-02-10 Thread Colin Ian King
*** This bug is a duplicate of bug 1861235 ***
https://bugs.launchpad.net/bugs/1861235

** Bug watch added: Github Issue Tracker for ZFS #8637
   https://github.com/zfsonlinux/zfs/issues/8637

** Also affects: linux via
   https://github.com/zfsonlinux/zfs/issues/8637
   Importance: Unknown
   Status: Unknown

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1861228

Title:
  zfs recv PANIC at range_tree.c:304:range_tree_find_impl()

Status in Linux:
  Unknown
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Hello, I believe these errors happened due to a zfs recv command that
  was executing at the time:

  [10823702.582392] VERIFY(size != 0) failed
  [10823702.582428] PANIC at range_tree.c:304:range_tree_find_impl()
  [10823702.582463] Showing stack for process 693172
  [10823702.582466] CPU: 7 PID: 693172 Comm: receive_writer Tainted: P  
 O 4.15.0-60-generic #67-Ubuntu
  [10823702.582466] Hardware name: Supermicro SSG-6038R-E1CR16L/X10DRH-iT, BIOS 
2.0 12/17/2015
  [10823702.582467] Call Trace:
  [10823702.582475]  dump_stack+0x63/0x8b
  [10823702.582489]  spl_dumpstack+0x42/0x50 [spl]
  [10823702.582494]  spl_panic+0xc8/0x110 [spl]
  [10823702.582539]  ? dbuf_dirty+0x43d/0x850 [zfs]
  [10823702.582542]  ? getrawmonotonic64+0x43/0xd0
  [10823702.582544]  ? getrawmonotonic64+0x43/0xd0
  [10823702.582581]  ? dmu_zfetch+0x49a/0x500 [zfs]
  [10823702.582583]  ? getrawmonotonic64+0x43/0xd0
  [10823702.582619]  ? dmu_zfetch+0x49a/0x500 [zfs]
  [10823702.582621]  ? mutex_lock+0x12/0x40
  [10823702.582654]  ? dbuf_rele_and_unlock+0x1a8/0x4b0 [zfs]
  [10823702.582697]  range_tree_find_impl+0x88/0x90 [zfs]
  [10823702.582702]  ? spl_kmem_zalloc+0xdc/0x1a0 [spl]
  [10823702.582743]  range_tree_clear+0x4f/0x60 [zfs]
  [10823702.582780]  dnode_free_range+0x11f/0x5a0 [zfs]
  [10823702.582815]  dmu_object_free+0x53/0x90 [zfs]
  [10823702.582850]  dmu_free_long_object+0x9f/0xc0 [zfs]
  [10823702.582885]  receive_freeobjects.isra.12+0x7a/0x100 [zfs]
  [10823702.582918]  receive_writer_thread+0x6d2/0xa60 [zfs]
  [10823702.582920]  ? set_curr_task_fair+0x2b/0x60
  [10823702.582925]  ? spl_kmem_free+0x33/0x40 [spl]
  [10823702.582928]  ? kfree+0x165/0x180
  [10823702.582961]  ? receive_free.isra.13+0xc0/0xc0 [zfs]
  [10823702.582967]  thread_generic_wrapper+0x74/0x90 [spl]
  [10823702.582969]  kthread+0x121/0x140
  [10823702.582974]  ? __thread_exit+0x20/0x20 [spl]
  [10823702.582975]  ? kthread_create_worker_on_cpu+0x70/0x70
  [10823702.582978]  ret_from_fork+0x35/0x40
  [10823907.445420] INFO: task txg_quiesce:4485 blocked for more than 120 
seconds.
  [10823907.445486]   Tainted: P   O 4.15.0-60-generic 
#67-Ubuntu
  [10823907.445535] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables 
this message.
  [10823907.445589] txg_quiesce D0  4485  2 0x8000
  [10823907.445594] Call Trace:
  [10823907.445608]  __schedule+0x24e/0x880
  [10823907.445613]  schedule+0x2c/0x80
  [10823907.445629]  cv_wait_common+0x11e/0x140 [spl]
  [10823907.445638]  ? wait_woken+0x80/0x80
  [10823907.445647]  __cv_wait+0x15/0x20 [spl]
  [10823907.445766]  txg_quiesce_thread+0x2cb/0x3d0 [zfs]
  [10823907.445835]  ? txg_delay+0x1b0/0x1b0 [zfs]
  [10823907.445843]  thread_generic_wrapper+0x74/0x90 [spl]
  [10823907.445848]  kthread+0x121/0x140
  [10823907.445854]  ? __thread_exit+0x20/0x20 [spl]
  [10823907.445857]  ? kthread_create_worker_on_cpu+0x70/0x70
  [10823907.445861]  ret_from_fork+0x35/0x40
  [10823907.445916] INFO: task zfs:688217 blocked for more than 120 seconds.
  [10823907.445962]   Tainted: P   O 4.15.0-60-generic 
#67-Ubuntu
  [10823907.446010] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables 
this message.
  [10823907.446063] zfs D0 688217 688214 0x8080
  [10823907.446066] Call Trace:
  [10823907.446071]  __schedule+0x24e/0x880
  [10823907.446075]  schedule+0x2c/0x80
  [10823907.446084]  cv_wait_common+0x11e/0x140 [spl]
  [10823907.446088]  ? wait_woken+0x80/0x80
  [10823907.446095]  __cv_wait+0x15/0x20 [spl]
  [10823907.446151]  dmu_recv_stream+0xa51/0xef0 [zfs]
  [10823907.446227]  zfs_ioc_recv_impl+0x306/0x1100 [zfs]
  [10823907.446232]  ? ttwu_do_activate+0x77/0x80
  [10823907.446303]  zfs_ioc_recv_new+0x33d/0x410 [zfs]
  [10823907.446312]  ? spl_kmem_alloc_impl+0xe5/0x1a0 [spl]
  [10823907.446320]  ? spl_vmem_alloc+0x19/0x20 [spl]
  [10823907.446332]  ? nv_alloc_sleep_spl+0x1f/0x30 [znvpair]
  [10823907.446338]  ? nv_mem_zalloc.isra.0+0x2e/0x40 [znvpair]
  [10823907.446344]  ? nvlist_xalloc.part.2+0x50/0xb0 [znvpair]
  [10823907.446409]  zfsdev_ioctl+0x451/0x610 [zfs]
  [10823907.446415]  do_vfs_ioctl+0xa8/0x630
  [10823907.446419]  ? __audit_syscall_entry+0xbc/0x110
  [10823907.446424]  ? syscall_trace_enter+0x1da/0x2d0
  [10823907.446426]  SyS_ioctl+0x79/0x90
  [10823907.446430]  do_syscall_64+0x73

[Kernel-packages] [Bug 1861228] Re: zfs recv PANIC at range_tree.c:304:range_tree_find_impl()

2020-01-28 Thread Seth Arnold
*** This bug is a duplicate of bug 1861235 ***
https://bugs.launchpad.net/bugs/1861235

** This bug has been marked a duplicate of bug 1861235
   zfs recv PANIC at range_tree.c:304:range_tree_find_impl()

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1861228

Title:
  zfs recv PANIC at range_tree.c:304:range_tree_find_impl()

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Hello, I believe these errors happened due to a zfs recv command that
  was executing at the time:

  [10823702.582392] VERIFY(size != 0) failed
  [10823702.582428] PANIC at range_tree.c:304:range_tree_find_impl()
  [10823702.582463] Showing stack for process 693172
  [10823702.582466] CPU: 7 PID: 693172 Comm: receive_writer Tainted: P  
 O 4.15.0-60-generic #67-Ubuntu
  [10823702.582466] Hardware name: Supermicro SSG-6038R-E1CR16L/X10DRH-iT, BIOS 
2.0 12/17/2015
  [10823702.582467] Call Trace:
  [10823702.582475]  dump_stack+0x63/0x8b
  [10823702.582489]  spl_dumpstack+0x42/0x50 [spl]
  [10823702.582494]  spl_panic+0xc8/0x110 [spl]
  [10823702.582539]  ? dbuf_dirty+0x43d/0x850 [zfs]
  [10823702.582542]  ? getrawmonotonic64+0x43/0xd0
  [10823702.582544]  ? getrawmonotonic64+0x43/0xd0
  [10823702.582581]  ? dmu_zfetch+0x49a/0x500 [zfs]
  [10823702.582583]  ? getrawmonotonic64+0x43/0xd0
  [10823702.582619]  ? dmu_zfetch+0x49a/0x500 [zfs]
  [10823702.582621]  ? mutex_lock+0x12/0x40
  [10823702.582654]  ? dbuf_rele_and_unlock+0x1a8/0x4b0 [zfs]
  [10823702.582697]  range_tree_find_impl+0x88/0x90 [zfs]
  [10823702.582702]  ? spl_kmem_zalloc+0xdc/0x1a0 [spl]
  [10823702.582743]  range_tree_clear+0x4f/0x60 [zfs]
  [10823702.582780]  dnode_free_range+0x11f/0x5a0 [zfs]
  [10823702.582815]  dmu_object_free+0x53/0x90 [zfs]
  [10823702.582850]  dmu_free_long_object+0x9f/0xc0 [zfs]
  [10823702.582885]  receive_freeobjects.isra.12+0x7a/0x100 [zfs]
  [10823702.582918]  receive_writer_thread+0x6d2/0xa60 [zfs]
  [10823702.582920]  ? set_curr_task_fair+0x2b/0x60
  [10823702.582925]  ? spl_kmem_free+0x33/0x40 [spl]
  [10823702.582928]  ? kfree+0x165/0x180
  [10823702.582961]  ? receive_free.isra.13+0xc0/0xc0 [zfs]
  [10823702.582967]  thread_generic_wrapper+0x74/0x90 [spl]
  [10823702.582969]  kthread+0x121/0x140
  [10823702.582974]  ? __thread_exit+0x20/0x20 [spl]
  [10823702.582975]  ? kthread_create_worker_on_cpu+0x70/0x70
  [10823702.582978]  ret_from_fork+0x35/0x40
  [10823907.445420] INFO: task txg_quiesce:4485 blocked for more than 120 
seconds.
  [10823907.445486]   Tainted: P   O 4.15.0-60-generic 
#67-Ubuntu
  [10823907.445535] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables 
this message.
  [10823907.445589] txg_quiesce D0  4485  2 0x8000
  [10823907.445594] Call Trace:
  [10823907.445608]  __schedule+0x24e/0x880
  [10823907.445613]  schedule+0x2c/0x80
  [10823907.445629]  cv_wait_common+0x11e/0x140 [spl]
  [10823907.445638]  ? wait_woken+0x80/0x80
  [10823907.445647]  __cv_wait+0x15/0x20 [spl]
  [10823907.445766]  txg_quiesce_thread+0x2cb/0x3d0 [zfs]
  [10823907.445835]  ? txg_delay+0x1b0/0x1b0 [zfs]
  [10823907.445843]  thread_generic_wrapper+0x74/0x90 [spl]
  [10823907.445848]  kthread+0x121/0x140
  [10823907.445854]  ? __thread_exit+0x20/0x20 [spl]
  [10823907.445857]  ? kthread_create_worker_on_cpu+0x70/0x70
  [10823907.445861]  ret_from_fork+0x35/0x40
  [10823907.445916] INFO: task zfs:688217 blocked for more than 120 seconds.
  [10823907.445962]   Tainted: P   O 4.15.0-60-generic 
#67-Ubuntu
  [10823907.446010] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables 
this message.
  [10823907.446063] zfs D0 688217 688214 0x8080
  [10823907.446066] Call Trace:
  [10823907.446071]  __schedule+0x24e/0x880
  [10823907.446075]  schedule+0x2c/0x80
  [10823907.446084]  cv_wait_common+0x11e/0x140 [spl]
  [10823907.446088]  ? wait_woken+0x80/0x80
  [10823907.446095]  __cv_wait+0x15/0x20 [spl]
  [10823907.446151]  dmu_recv_stream+0xa51/0xef0 [zfs]
  [10823907.446227]  zfs_ioc_recv_impl+0x306/0x1100 [zfs]
  [10823907.446232]  ? ttwu_do_activate+0x77/0x80
  [10823907.446303]  zfs_ioc_recv_new+0x33d/0x410 [zfs]
  [10823907.446312]  ? spl_kmem_alloc_impl+0xe5/0x1a0 [spl]
  [10823907.446320]  ? spl_vmem_alloc+0x19/0x20 [spl]
  [10823907.446332]  ? nv_alloc_sleep_spl+0x1f/0x30 [znvpair]
  [10823907.446338]  ? nv_mem_zalloc.isra.0+0x2e/0x40 [znvpair]
  [10823907.446344]  ? nvlist_xalloc.part.2+0x50/0xb0 [znvpair]
  [10823907.446409]  zfsdev_ioctl+0x451/0x610 [zfs]
  [10823907.446415]  do_vfs_ioctl+0xa8/0x630
  [10823907.446419]  ? __audit_syscall_entry+0xbc/0x110
  [10823907.446424]  ? syscall_trace_enter+0x1da/0x2d0
  [10823907.446426]  SyS_ioctl+0x79/0x90
  [10823907.446430]  do_syscall_64+0x73/0x130
  [10823907.446434]  entry_SYSCALL_64_after_hwframe+0x3d/0xa2
  [10823907.446437] RIP: 0033:0x7fc4006905d7
  [10823907.446438] RSP: