Project

General

Profile

Actions

Backport #21396

closed

Illegal instruction in RocksDB

Added by Kefu Chai over 6 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Immediate
Assignee:
Target version:
Release:
luminous
Pull request ID:
Crash signature (v1):
Crash signature (v2):


Related issues 1 (0 open1 closed)

Copied from Ceph - Bug #20529: Illegal instruction in RocksDBResolved07/06/2017

Actions
Actions #1

Updated by Kefu Chai over 6 years ago

  • Copied from Bug #20529: Illegal instruction in RocksDB added
Actions #2

Updated by Kefu Chai over 6 years ago

  • Status changed from 12 to In Progress
Actions #3

Updated by Nathan Cutler over 6 years ago

  • Description updated (diff)

issue description

Trying to create a ceph-mon. Seems from experience of other users that this issue might only be valid on Opteron CPUs. While creation I get the following:

# ceph-mon --mkfs -i 0 --monmap /tmp/monmap --keyring /etc/pve/priv/ceph.mon.keyring
monmaptool: monmap file /tmp/monmap
monmaptool: generated fsid 5d603e48-432c-4b58-8b17-461ecd20018d
epoch 0
fsid 5d603e48-432c-4b58-8b17-461ecd20018d
last_changed 2017-07-05 21:40:15.972493
created 2017-07-05 21:40:15.972493
0: 192.168.110.5:6789/0 mon.0
monmaptool: writing epoch 0 to /tmp/monmap (1 monitors)
ceph-mon: set fsid to 7dde6305-0fc1-4ada-99a9-68617f02baad
*** Caught signal (Illegal instruction) **
 in thread 7f2264e3fc80 thread_name:ceph-mon
 ceph version 12.1.0 (262617c9f16c55e863693258061c5b25dea5b086) luminous (dev)
 1: (()+0x82bcc2) [0x5567dbad3cc2]
 2: (()+0x110c0) [0x7f22641f70c0]
 3: (rocksdb::VersionBuilder::SaveTo(rocksdb::VersionStorageInfo*)+0x871) [0x5567dbc94cc1]
 4: (rocksdb::VersionSet::Recover(std::vector<rocksdb::ColumnFamilyDescriptor, std::allocator<rocksdb::ColumnFamilyDescriptor> > const&, bool)+0x26bc) [0x5567dbb7c14c]
 5: (rocksdb::DBImpl::Recover(std::vector<rocksdb::ColumnFamilyDescriptor, std::allocator<rocksdb::ColumnFamilyDescriptor> > const&, bool, bool, bool)+0x11f) [0x5567dbb4331f]
 6: (rocksdb::DB::Open(rocksdb::DBOptions const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::vector<rocksdb::ColumnFamilyDescriptor, std::allocator<rocksdb::ColumnFamilyDescriptor> > const&, std::vector<rocksdb::ColumnFamilyHandle*, std::allocator<rocksdb::ColumnFamilyHandle*> >*, rocksdb::DB**)+0xe40) [0x5567dbb44d90]
 7: (rocksdb::DB::Open(rocksdb::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, rocksdb::DB**)+0x698) [0x5567dbb465f8]
 8: (RocksDBStore::do_open(std::ostream&, bool)+0x68e) [0x5567db6dd00e]
 9: (RocksDBStore::create_and_open(std::ostream&)+0xd7) [0x5567db6de5c7]
 10: (MonitorDBStore::create_and_open(std::ostream&)+0xe3) [0x5567db5bec83]
 11: (main()+0x7ef) [0x5567db52d4af]
 12: (__libc_start_main()+0xf1) [0x7f226160b2b1]
 13: (_start()+0x2a) [0x5567db5bbdba]
2017-07-05 21:40:16.355087 7f2264e3fc80 -1 *** Caught signal (Illegal instruction) **
 in thread 7f2264e3fc80 thread_name:ceph-mon

 ceph version 12.1.0 (262617c9f16c55e863693258061c5b25dea5b086) luminous (dev)
 1: (()+0x82bcc2) [0x5567dbad3cc2]
 2: (()+0x110c0) [0x7f22641f70c0]
 3: (rocksdb::VersionBuilder::SaveTo(rocksdb::VersionStorageInfo*)+0x871) [0x5567dbc94cc1]
 4: (rocksdb::VersionSet::Recover(std::vector<rocksdb::ColumnFamilyDescriptor, std::allocator<rocksdb::ColumnFamilyDescriptor> > const&, bool)+0x26bc) [0x5567dbb7c14c]
 5: (rocksdb::DBImpl::Recover(std::vector<rocksdb::ColumnFamilyDescriptor, std::allocator<rocksdb::ColumnFamilyDescriptor> > const&, bool, bool, bool)+0x11f) [0x5567dbb4331f]
 6: (rocksdb::DB::Open(rocksdb::DBOptions const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::vector<rocksdb::ColumnFamilyDescriptor, std::allocator<rocksdb::ColumnFamilyDescriptor> > const&, std::vector<rocksdb::ColumnFamilyHandle*, std::allocator<rocksdb::ColumnFamilyHandle*> >*, rocksdb::DB**)+0xe40) [0x5567dbb44d90]
 7: (rocksdb::DB::Open(rocksdb::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, rocksdb::DB**)+0x698) [0x5567dbb465f8]
 8: (RocksDBStore::do_open(std::ostream&, bool)+0x68e) [0x5567db6dd00e]
 9: (RocksDBStore::create_and_open(std::ostream&)+0xd7) [0x5567db6de5c7]
 10: (MonitorDBStore::create_and_open(std::ostream&)+0xe3) [0x5567db5bec83]
 11: (main()+0x7ef) [0x5567db52d4af]
 12: (__libc_start_main()+0xf1) [0x7f226160b2b1]
 13: (_start()+0x2a) [0x5567db5bbdba]
 NOTE: a copy of the executable, or `objdump -rdS <executable>` is needed to interpret this.

     0> 2017-07-05 21:40:16.355087 7f2264e3fc80 -1 *** Caught signal (Illegal instruction) **
 in thread 7f2264e3fc80 thread_name:ceph-mon

 ceph version 12.1.0 (262617c9f16c55e863693258061c5b25dea5b086) luminous (dev)
 1: (()+0x82bcc2) [0x5567dbad3cc2]
 2: (()+0x110c0) [0x7f22641f70c0]
 3: (rocksdb::VersionBuilder::SaveTo(rocksdb::VersionStorageInfo*)+0x871) [0x5567dbc94cc1]
 4: (rocksdb::VersionSet::Recover(std::vector<rocksdb::ColumnFamilyDescriptor, std::allocator<rocksdb::ColumnFamilyDescriptor> > const&, bool)+0x26bc) [0x5567dbb7c14c]
 5: (rocksdb::DBImpl::Recover(std::vector<rocksdb::ColumnFamilyDescriptor, std::allocator<rocksdb::ColumnFamilyDescriptor> > const&, bool, bool, bool)+0x11f) [0x5567dbb4331f]
 6: (rocksdb::DB::Open(rocksdb::DBOptions const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::vector<rocksdb::ColumnFamilyDescriptor, std::allocator<rocksdb::ColumnFamilyDescriptor> > const&, std::vector<rocksdb::ColumnFamilyHandle*, std::allocator<rocksdb::ColumnFamilyHandle*> >*, rocksdb::DB**)+0xe40) [0x5567dbb44d90]
 7: (rocksdb::DB::Open(rocksdb::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, rocksdb::DB**)+0x698) [0x5567dbb465f8]
 8: (RocksDBStore::do_open(std::ostream&, bool)+0x68e) [0x5567db6dd00e]
 9: (RocksDBStore::create_and_open(std::ostream&)+0xd7) [0x5567db6de5c7]
 10: (MonitorDBStore::create_and_open(std::ostream&)+0xe3) [0x5567db5bec83]
 11: (main()+0x7ef) [0x5567db52d4af]
 12: (__libc_start_main()+0xf1) [0x7f226160b2b1]
 13: (_start()+0x2a) [0x5567db5bbdba]
 NOTE: a copy of the executable, or `objdump -rdS <executable>` is needed to interpret this.

Actions #4

Updated by Nathan Cutler over 6 years ago

  • Status changed from In Progress to Resolved
  • Target version set to v12.2.1
Actions

Also available in: Atom PDF