Project

General

Profile

Bug #10706

librbd/ObjectMap.cc: 108: FAILED assert(object_no < object_map.size())

Added by Sage Weil about 9 years ago. Updated about 9 years ago.

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

0%

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

Description

2015-02-01T06:26:22.375 INFO:tasks.ceph.osd.1.plana69.stderr:2015-02-01 06:26:22.374739 7fc9fa836780 -1 osd.1 11 log_to_monitors {default=true}
2015-02-01T06:26:26.990 INFO:teuthology.orchestra.run.plana69:Running: 'sudo adjust-ulimits ceph-coverage /home/ubuntu/cephtest/archive/coverage ceph --admin-daemon /var/run/ceph/ceph-osd.1.asok dump_ops_in_flight'
2015-02-01T06:26:27.837 INFO:teuthology.orchestra.run.plana89.stdout:truncating image image_client.0-clone1 from 0x39a5af6 (overlap 0x39a5af6) to 0x0
2015-02-01T06:26:28.216 INFO:teuthology.orchestra.run.plana89.stdout:checking clone #0, image image_client.0 against file /home/ubuntu/cephtest/archive/fsx-image_client.0-parent1
2015-02-01T06:26:28.898 INFO:teuthology.orchestra.run.plana89.stdout:80 trunc   from 0x39a5af6 to 0x7ab35cd
2015-02-01T06:26:29.024 INFO:teuthology.orchestra.run.plana89.stdout:81 punch   from 0x2d2cefe to 0x2d3c3d0, (0xf4d2 bytes)
2015-02-01T06:26:29.055 INFO:teuthology.orchestra.run.plana89.stderr:librbd/ObjectMap.cc: In function 'bool librbd::ObjectMap::object_may_exist(uint64_t) const' thread 7f677eefc700 time 2015-02-01 06:26:28.907660
2015-02-01T06:26:29.055 INFO:teuthology.orchestra.run.plana89.stderr:librbd/ObjectMap.cc: 108: FAILED assert(object_no < object_map.size())
2015-02-01T06:26:29.055 INFO:teuthology.orchestra.run.plana89.stderr: ceph version 0.91-1095-gc4886cc (c4886cc04e963c73d3786d2eaac097610b1d0306)
2015-02-01T06:26:29.055 INFO:teuthology.orchestra.run.plana89.stderr: 1: (()+0x1537ff) [0x7f678cdf87ff]
2015-02-01T06:26:29.055 INFO:teuthology.orchestra.run.plana89.stderr: 2: (()+0x90cab) [0x7f678cd35cab]
2015-02-01T06:26:29.055 INFO:teuthology.orchestra.run.plana89.stderr: 3: (()+0x8c287) [0x7f678cd31287]
2015-02-01T06:26:29.056 INFO:teuthology.orchestra.run.plana89.stderr: 4: (()+0x38dd22) [0x7f678d032d22]
2015-02-01T06:26:29.056 INFO:teuthology.orchestra.run.plana89.stderr: 5: (()+0x396855) [0x7f678d03b855]
2015-02-01T06:26:29.056 INFO:teuthology.orchestra.run.plana89.stderr: 6: (()+0x5a840) [0x7f678ccff840]
2015-02-01T06:26:29.056 INFO:teuthology.orchestra.run.plana89.stderr: 7: (()+0x74bad) [0x7f678cd19bad]
2015-02-01T06:26:29.056 INFO:teuthology.orchestra.run.plana89.stderr: 8: (()+0x4586b) [0x7f678ccea86b]
2015-02-01T06:26:29.056 INFO:teuthology.orchestra.run.plana89.stderr: 9: (()+0x47118) [0x7f678ccec118]
2015-02-01T06:26:29.056 INFO:teuthology.orchestra.run.plana89.stderr: 10: (()+0x6db53) [0x7f678cd12b53]
2015-02-01T06:26:29.056 INFO:teuthology.orchestra.run.plana89.stderr: 11: (()+0x80ead) [0x7f678a7c3ead]
2015-02-01T06:26:29.057 INFO:teuthology.orchestra.run.plana89.stderr: 12: (()+0x5ee99) [0x7f678a7a1e99]

ubuntu@teuthology:/a/sage-2015-02-01_04:49:38-smoke-master-distro-basic-multi/734491

Associated revisions

Revision 9e9356b1 (diff)
Added by Jason Dillaman about 9 years ago

librbd: fixed object map issues discovered via fsx

The object map wasn't being properly refreshed after setting
the snapshot context on the parent image. Additionally fixed
a potential deadlock that could have occurred if no object
map update was required when trimming an image.

Fixes: #10706
Signed-off-by: Jason Dillaman <>
Reviewed-by: Josh Durgin <>

History

#1 Updated by Jason Dillaman about 9 years ago

  • Status changed from New to In Progress
  • Assignee set to Jason Dillaman

#2 Updated by Jason Dillaman about 9 years ago

  • Status changed from In Progress to Fix Under Review

#3 Updated by Josh Durgin about 9 years ago

  • Status changed from Fix Under Review to Resolved

#4 Updated by Yuri Weinstein about 9 years ago

Seems reappeared in
Run: http://pulpito.ceph.com/teuthology-2015-02-03_02:35:02-smoke-master-distro-basic-multi/
Job: 738488
Logs: http://qa-proxy.ceph.com/teuthology/teuthology-2015-02-03_02:35:02-smoke-master-distro-basic-multi/738488/

Assertion: librbd/ObjectMap.cc: 108: FAILED assert(object_no < object_map.size())
ceph version 0.91-1191-g352ad94 (352ad94842729f70482e679039e594db0c140203)
 1: (()+0x14fd25) [0x7fca5c44dd25]
 2: (()+0x8d471) [0x7fca5c38b471]
 3: (()+0x88a7d) [0x7fca5c386a7d]
 4: (()+0x393819) [0x7fca5c691819]
 5: (()+0x39fafd) [0x7fca5c69dafd]
 6: (()+0x54a46) [0x7fca5c352a46]
 7: (()+0x76e89) [0x7fca5c374e89]
 8: (()+0x3f678) [0x7fca5c33d678]
 9: (()+0x42d35) [0x7fca5c340d35]
 10: (()+0x66d2b) [0x7fca5c364d2b]
 11: (()+0x806ed) [0x7fca59e066ed]
 12: (()+0x5ca19) [0x7fca59de2a19]
 13: (()+0x124568) [0x7fca59eaa568]
 14: (()+0x7df3) [0x7fca58fcadf3]
 15: (clone()+0x6d) [0x7fca582d43dd]

#5 Updated by Yuri Weinstein about 9 years ago

  • Status changed from Resolved to New

#6 Updated by Jason Dillaman about 9 years ago

  • Status changed from New to Resolved

This fix wasn't included in the above failed run (SHA1 352ad94842729f70482e679039e594db0c140203).

Also available in: Atom PDF