Project

General

Profile

Actions

Bug #23955

closed

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

Added by Jason Dillaman almost 6 years ago. Updated almost 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Jason Dillaman
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
luminous
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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 1 (0 open1 closed)

Copied to rbd - Backport #23985: luminous: librbd::Watcher's handle_rewatch_complete might fire after object destroyedResolvedPrashant DActions
Actions #1

Updated by Jason Dillaman almost 6 years ago

  • Description updated (diff)
Actions #2

Updated by Jason Dillaman almost 6 years ago

  • Status changed from In Progress to Fix Under Review
Actions #3

Updated by Mykola Golub almost 6 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #4

Updated by Nathan Cutler almost 6 years ago

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

Updated by Nathan Cutler almost 6 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF