Project

General

Profile

Bug #8049

ceph_test_rados can seg fault

Added by David Zafman almost 10 years ago. Updated almost 10 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
David Zafman
Category:
-
Target version:
-
% Done:

0%

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

Description

$ ./ceph_test_rados --pool ctrpool --op read 4 --op write 20
.
.
.
update_object_version oid 5 v 384 (ObjNum 327 snap 0 seq_num 327) dirty exists
394: writing ubuntu-dzvm14129-34 from 434461 to 1017612 tid 1
394: finishing write tid 1 to ubuntu-dzvm14129-34
394: writing ubuntu-dzvm14129-34 from 1639881 to 2262283 tid 2
394: finishing write tid 2 to ubuntu-dzvm14129-34
394: writing ubuntu-dzvm14129-34 from 2963980 to 3553377 tid 3
394: writing ubuntu-dzvm14129-34 from 3634460 to 3634461 tid 4
393: done (1 left)
395: write oid 26 current snap is 0
395: seq_num 329 ranges {379290=1}
395: writing ubuntu-dzvm14129-26 from 379290 to 379291 tid 1
395: finishing write tid 1 to ubuntu-dzvm14129-26
update_object_version oid 26 v 626 (ObjNum 329 snap 0 seq_num 329) dirty exists
Segmentation fault (core dumped)
$ gdb /home/dzafman/ceph/src/.libs/lt-ceph_test_rados core
.
.
.
Core was generated by `/home/dzafman/ceph/src/.libs/lt-ceph_test_rados --pool ctrpool --op read 4 --op'.
Program terminated with signal 11, Segmentation fault.
#0 librados::AioCompletion::get_version64 (this=0x30) at librados/librados.cc:683
683 AioCompletionImpl *c = (AioCompletionImpl *)pc;
(gdb) bt
#0 librados::AioCompletion::get_version64 (this=0x30) at librados/librados.cc:683
#1 0x0000000000419ad0 in WriteOp::_finish (this=0x11a9d60, info=<optimized out>) at ./test/osd/RadosModel.h:835
#2 0x00000000004277b1 in finish (info=0x1125fe0, this=<optimized out>) at test/osd/RadosModel.cc:20
#3 write_callback (comp=<optimized out>, arg=0x118ffe0) at test/osd/RadosModel.cc:34
#4 0x00007f6a88c1b06d in librados::C_AioSafe::finish (this=0x7f6a78015aa0, r=<optimized out>) at ./librados/AioCompletionImpl.h:200
#5 0x00007f6a88bf86f9 in Context::complete (this=0x7f6a78015aa0, r=<optimized out>) at ./include/Context.h:64
#6 0x00007f6a88cab930 in Finisher::finisher_thread_entry (this=0x10f6d08) at common/Finisher.cc:56
#7 0x00007f6a88831e9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#8 0x00007f6a880494bd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#9 0x0000000000000000 in ?? ()

Associated revisions

Revision 3371a251 (diff)
Added by David Zafman almost 10 years ago

test: Fix Seg fault in ceph_test_rados

Fixes: #8049

Signed-off-by: David Zafman <>

History

#1 Updated by David Zafman almost 10 years ago

  • Status changed from Fix Under Review to Resolved

3371a251159a6e4ecd28a29e6a53705ccb3083a3

Also available in: Atom PDF