Project

General

Profile

Bug #23955

librbd::Watcher's handle_rewatch_complete might fire after object destroyed

Added by Jason Dillaman 11 months ago. Updated 9 months ago.

Status:
Resolved
Priority:
Normal
Target version:
-
Start date:
05/01/2018
Due date:
% Done:

0%

Source:
Tags:
Backport:
luminous
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

Description

Thread 1 (Thread 0x7f638db74700 (LWP 90851)):
#0  0x00007f6394837269 in raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/pt-raise.c:35
#1  0x00005570ced5224e in reraise_fatal (signum=6) at /build/ceph-13.0.2-1966-g93b9eb7/src/global/signal_handler.cc:74
#2  handle_fatal_signal (signum=6) at /build/ceph-13.0.2-1966-g93b9eb7/src/global/signal_handler.cc:138
#3  <signal handler called>
#4  0x00007f6394085428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#5  0x00007f639408702a in __GI_abort () at abort.c:89
#6  0x00007f6394d27110 in ceph::__ceph_assert_fail (assertion=<optimized out>, file=<optimized out>, line=<optimized out>, func=<optimized out>) at /build/ceph-13.0.2-1966-g93b9eb7/src/common/assert.cc:66
#7  0x00007f6394d27187 in ceph::__ceph_assert_fail (ctx=...) at /build/ceph-13.0.2-1966-g93b9eb7/src/common/assert.cc:71
#8  0x00007f6394cfbeee in Mutex::Lock (this=this@entry=0x7f637000e470, no_lockdep=no_lockdep@entry=false) at /build/ceph-13.0.2-1966-g93b9eb7/src/common/Mutex.cc:110
#9  0x00005570ceabad8d in Mutex::Locker::Locker (m=..., this=<synthetic pointer>) at /build/ceph-13.0.2-1966-g93b9eb7/src/common/Mutex.h:115
#10 rbd::mirror::image_deleter::TrashWatcher<librbd::ImageCtx>::schedule_trash_list (this=this@entry=0x7f637000e1c0, interval=interval@entry=30)
    at /build/ceph-13.0.2-1966-g93b9eb7/src/tools/rbd_mirror/image_deleter/TrashWatcher.cc:306
#11 0x00005570ceabb24e in rbd::mirror::image_deleter::TrashWatcher<librbd::ImageCtx>::handle_rewatch_complete (this=0x7f637000e1c0, r=<optimized out>)
    at /build/ceph-13.0.2-1966-g93b9eb7/src/tools/rbd_mirror/image_deleter/TrashWatcher.cc:107
#12 0x00005570cea5fbc9 in Context::complete (this=0x7f62ec022df0, r=<optimized out>) at /build/ceph-13.0.2-1966-g93b9eb7/src/include/Context.h:77
#13 0x00007f6394d2d077 in ThreadPool::worker (this=0x5570d045ffd0, wt=<optimized out>) at /build/ceph-13.0.2-1966-g93b9eb7/src/common/WorkQueue.cc:120
#14 0x00007f6394d2dfa0 in ThreadPool::WorkThread::entry (this=<optimized out>) at /build/ceph-13.0.2-1966-g93b9eb7/src/common/WorkQueue.h:448
#15 0x00007f639482d6ba in start_thread (arg=0x7f638db74700) at pthread_create.c:333
#16 0x00007f639415741d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

http://qa-proxy.ceph.com/teuthology/jdillaman-2018-04-30_19:18:39-rbcd-wip-jd-testing-distro-basic-smithi/2458420/teuthology.log


Related issues

Copied to rbd - Backport #23985: luminous: librbd::Watcher's handle_rewatch_complete might fire after object destroyed Resolved

History

#1 Updated by Jason Dillaman 11 months ago

  • Description updated (diff)

#2 Updated by Jason Dillaman 11 months ago

  • Status changed from In Progress to Need Review

#3 Updated by Mykola Golub 11 months ago

  • Status changed from Need Review to Pending Backport

#4 Updated by Nathan Cutler 11 months ago

  • Copied to Backport #23985: luminous: librbd::Watcher's handle_rewatch_complete might fire after object destroyed added

#5 Updated by Nathan Cutler 9 months ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF