Project

General

Profile

Actions

Bug #20775

closed

ceph_test_rados parameter error

Added by Liyan Wang over 6 years ago. Updated over 5 years ago.

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

0%

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

Description

Reading symbols from /usr/bin/ceph_test_rados...Reading symbols from /usr/lib/debug/usr/bin/ceph_test_rados.debug...done.
done.
Missing separate debuginfo for
Try: yum --enablerepo='*debug*' install /usr/lib/debug/.build-id/b2/8db80aa59296d00fea2356d9518c22a3145a5c
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `ceph_test_rados --max-ops 10 --objects 10 --max-in-flight 1 --size 4 --min-stri'.
Program terminated with signal 8, Arithmetic exception.
#0  0x00007fa45a096143 in VarLenGenerator::get_ranges_map (this=0x7fa464f823f0, cont=..., out=...) at test/osd/Object.cc:69
69        uint64_t segment_length = (rand() % (max_stride_size - min_stride_size)) + min_stride_size;
Missing separate debuginfos, use: debuginfo-install boost-iostreams-1.53.0-23.el7.x86_64 boost-random-1.53.0-23.el7.x86_64 boost-regex-1.53.0-23.el7.x86_64 boost-system-1.53.0-23.el7.x86_64 boost-thread-1.53.0-23.el7.x86_64 bzip2-libs-1.0.6-12.el7.x86_64 glibc-2.17-157.el7_3.4.x86_64 libblkid-2.23.2-21.el7.x86_64 libgcc-4.8.5-11.el7.x86_64 libicu-50.1.2-11.el7.x86_64 libstdc++-4.8.5-11.el7.x86_64 libuuid-2.23.2-21.el7.x86_64 lttng-ust-2.4.1-1.el7.x86_64 nspr-4.10.6-3.el7.x86_64 nss-3.16.2.3-5.el7.x86_64 nss-softokn-3.16.2.3-9.el7.x86_64 nss-softokn-freebl-3.16.2.3-9.el7.x86_64 nss-util-3.16.2.3-2.el7.x86_64 sqlite-3.7.17-8.el7.x86_64 userspace-rcu-0.7.16-1.el7.x86_64 zlib-1.2.7-13.el7.x86_64
(gdb) bt
#0  0x00007fa45a096143 in VarLenGenerator::get_ranges_map (this=0x7fa464f823f0, cont=..., out=std::map with 0 elements) at test/osd/Object.cc:69
#1  0x00007fa45a09025f in WriteOp::_begin (this=0x7fa464f8af40) at test/osd/RadosModel.h:783
#2  0x00007fa45a0805d6 in RadosTestContext::loop (this=0x7fff4a531d80, gen=0x7fff4a531aa0) at test/osd/RadosModel.h:284
#3  0x00007fa45a07b962 in main (argc=<optimized out>, argv=<optimized out>) at test/osd/TestRados.cc:427
(gdb) l
64      RandWrap rand(cont.seqnum);
65      uint64_t pos = 0;
66      uint64_t limit = get_length(cont);
67      bool include = false;
68      while (pos < limit) {
69        uint64_t segment_length = (rand() % (max_stride_size - min_stride_size)) + min_stride_size;
70        assert(segment_length < max_stride_size);
71        assert(segment_length >= min_stride_size);
72        if (segment_length + pos > limit) {
73          segment_length = limit - pos;
(gdb) p max_stride_size
$1 = 0
(gdb) p min_stride_size
$2 = 0
(gdb) p 5%0
Division by zero
Actions #2

Updated by Brad Hubbard over 6 years ago

  • Status changed from New to In Progress
Actions #3

Updated by Brad Hubbard over 5 years ago

  • Status changed from In Progress to Resolved
Actions

Also available in: Atom PDF