Project

General

Profile

Bug #12208

GWWatcher::handle_error -> common/Mutex.cc: 95: FAILED assert(r == 0)

Added by Samuel Just over 3 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Target version:
-
Start date:
07/03/2015
Due date:
% Done:

0%

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

Description

2015-07-02T13:54:25.215 INFO:tasks.rgw.client.0.mira037.stdout:terminate called after throwing an instance of 'ceph::FailedAssertion'
2015-07-02T13:54:25.305 INFO:tasks.rgw.client.0.mira037.stdout:*** Caught signal (Aborted) **
2015-07-02T13:54:25.306 INFO:tasks.rgw.client.0.mira037.stdout: in thread 7f08dffff700
2015-07-02T13:54:25.307 INFO:tasks.rgw.client.0.mira037.stdout: ceph version 0.94.2-26-g72ecd52 (72ecd522941156c8a7e5303531944b0735dcbeb8)
2015-07-02T13:54:25.308 INFO:tasks.rgw.client.0.mira037.stdout: 1: radosgw() [0x6b1d1a]
2015-07-02T13:54:25.308 INFO:tasks.rgw.client.0.mira037.stdout: 2: (()+0x10340) [0x7f0906550340]
2015-07-02T13:54:25.308 INFO:tasks.rgw.client.0.mira037.stdout: 3: (gsignal()+0x39) [0x7f0904bddcc9]
2015-07-02T13:54:25.309 INFO:tasks.rgw.client.0.mira037.stdout: 4: (abort()+0x148) [0x7f0904be10d8]
2015-07-02T13:54:25.309 INFO:tasks.rgw.client.0.mira037.stdout: 5: (__gnu_cxx::__verbose_terminate_handler()+0x155) [0x7f09054e86b5]
2015-07-02T13:54:25.309 INFO:tasks.rgw.client.0.mira037.stdout: 6: (()+0x5e836) [0x7f09054e6836]
2015-07-02T13:54:25.309 INFO:tasks.rgw.client.0.mira037.stdout: 7: (()+0x5e863) [0x7f09054e6863]
2015-07-02T13:54:25.310 INFO:tasks.rgw.client.0.mira037.stdout: 8: (()+0x5eaa2) [0x7f09054e6aa2]
2015-07-02T13:54:25.310 INFO:tasks.rgw.client.0.mira037.stdout: 9: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x278) [0x6dbfa8]
2015-07-02T13:54:25.310 INFO:tasks.rgw.client.0.mira037.stdout: 10: (Mutex::Lock(bool)+0x105) [0x6c9395]
2015-07-02T13:54:25.310 INFO:tasks.rgw.client.0.mira037.stdout: 11: (RGWRados::schedule_context(Context*)+0x20) [0x5cd1e0]
2015-07-02T13:54:25.310 INFO:tasks.rgw.client.0.mira037.stdout: 12: (RGWWatcher::handle_error(unsigned long, int)+0x82) [0x603b92]
2015-07-02T13:54:25.311 INFO:tasks.rgw.client.0.mira037.stdout: 13: (()+0xb343e) [0x7f09074dd43e]
2015-07-02T13:54:25.311 INFO:tasks.rgw.client.0.mira037.stdout: 14: (()+0xe6aa6) [0x7f0907510aa6]
2015-07-02T13:54:25.311 INFO:tasks.rgw.client.0.mira037.stdout: 15: (()+0x8f769) [0x7f09074b9769]
2015-07-02T13:54:25.311 INFO:tasks.rgw.client.0.mira037.stdout: 16: (()+0x152858) [0x7f090757c858]
2015-07-02T13:54:25.311 INFO:tasks.rgw.client.0.mira037.stdout: 17: (()+0x8182) [0x7f0906548182]
2015-07-02T13:54:25.312 INFO:tasks.rgw.client.0.mira037.stdout: 18: (clone()+0x6d) [0x7f0904ca147d]
2015-07-02T13:54:25.312 INFO:tasks.rgw.client.0.mira037.stdout:2015-07-02 13:54:25.304163 7f08dffff700 -1 *** Caught signal (Aborted) **
2015-07-02T13:54:25.312 INFO:tasks.rgw.client.0.mira037.stdout: in thread 7f08dffff700
2015-07-02T13:54:25.312 INFO:tasks.rgw.client.0.mira037.stdout:

Related issues

Copied to rgw - Backport #13053: GWWatcher::handle_error -> common/Mutex.cc: 95: FAILED assert(r == 0) Resolved 07/03/2015

Associated revisions

Revision 97aed59f (diff)
Added by Yehuda Sadeh about 3 years ago

rgw: delete finisher only after finalizing watches

Fixes: #12208

The watch error path might try to schedule a finisher work, delete finisher
only after watch destruction.

Signed-off-by: Yehuda Sadeh <>

Revision 4b0686f1 (diff)
Added by Yehuda Sadeh about 3 years ago

rgw: delete finisher only after finalizing watches

Fixes: #12208

The watch error path might try to schedule a finisher work, delete finisher
only after watch destruction.

Signed-off-by: Yehuda Sadeh <>
(cherry picked from commit 97aed59fb9e865d30d31d2b7f4e93fc9727c96fa)

History

#1 Updated by Samuel Just over 3 years ago

  • Project changed from Ceph to rgw

ubuntu@teuthology:/a/samuelj-2015-07-02_12:38:51-rados-hammer-distro-basic-multi/958184

#2 Updated by Yehuda Sadeh over 3 years ago

  • Assignee set to Yehuda Sadeh

We delete RGWRados::finisher prior to unregistering the watch, the watch error path calls finisher.

#3 Updated by Yehuda Sadeh over 3 years ago

  • Backport set to hammer

#4 Updated by Yehuda Sadeh about 3 years ago

  • Status changed from New to Pending Backport
  • Assignee changed from Yehuda Sadeh to Loic Dachary

#5 Updated by Loic Dachary about 3 years ago

  • Assignee changed from Loic Dachary to Yehuda Sadeh

There is no need to assign it to me, it will be handled just by setting the Backport field as you did :-) We prefer to keep the "Assigned" field to the person who fixed the problem in the first place.

#7 Updated by Loic Dachary about 3 years ago

  • Subject changed from hammer: GWWatcher::handle_error -> common/Mutex.cc: 95: FAILED assert(r == 0) to GWWatcher::handle_error -> common/Mutex.cc: 95: FAILED assert(r == 0)

#8 Updated by Loic Dachary about 3 years ago

  • Description updated (diff)

#9 Updated by Loic Dachary about 3 years ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF