Project

General

Profile

Actions

Bug #35969

closed

"symbol lookup error: ceph-osd: undefined symbol: _ZdaPvm" on centos 7.4

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

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

0%

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

Description

see /a/kchai-2018-09-13_01:57:49-ceph-disk-wip-fix-35906-distro-basic-ovh/3012294

2018-09-13T02:28:57.997 INFO:teuthology.orchestra.run.ovh030:Running: 'sudo MALLOC_CHECK_=3 adjust-ulimits ceph-coverage /home/ubuntu/cephtest/archive/coverage ceph-osd --no-mon-config --cluster ceph --mkfs --mkkey -i 0 --monmap /home/ubuntu/cephtest/ceph.monmap'
...
2018-09-13T02:28:59.551 INFO:teuthology.orchestra.run.ovh030.stderr:ceph-osd: symbol lookup error: ceph-osd: undefined symbol: _ZdaPvm

and per https://jenkins.ceph.com/job/ceph-dev-new-build/ARCH=x86_64,AVAILABLE_ARCH=x86_64,AVAILABLE_DIST=centos7,DIST=centos7,MACHINE_SIZE=huge/14456//consoleFull

 --> Already installed : gperftools-devel-2.6.1-1.el7.x86_64

per /a/kchai-2018-09-13_01:57:49-ceph-disk-wip-fix-35906-distro-basic-ovh/3012294/teuthology.log

  description: ceph-disk/basic/{distros/centos_latest.yaml tasks/ceph-disk.yaml}
...
  os_type: centos
  os_version: '7.4'

so, when mimic was released. the "latest" centos was 7.4. by then, the shipped gperftools-libs was gperftools-libs-2.4-7 .

the tested Ceph is always compiled with the latest centos (7.5 at the time of writing), where gperftools-lib's version is 2.6.1. while the mimic's rados test suite is still pointing to centos 7.4.

$ c++filt _ZdlPvm
operator delete(void*, unsigned long)

this operator was introduced in gperftool 2.6.1, see https://github.com/gperftools/gperftools/commit/7efb3ecf37d88edf9cf9a43efb89b425eaf81d5e , search for "ENABLE_SIZED_DELETE".

that's why we have the missing symbol on centos 7.4.


Related issues 5 (0 open5 closed)

Related to bluestore - Bug #23653: tcmalloc Attempt to free invalid pointer 0x55de11f2a540 in rocksdb::LRUCache::~LRUCache during mkfs->_open_dbResolvedKefu Chai04/11/2018

Actions
Related to RADOS - Bug #36508: gperftools-libs-2.6.1-1 or newer required for binaries linked against corresponding version at build timeResolvedBrad Hubbard10/18/2018

Actions
Has duplicate Ceph - Bug #36112: "ceph-osd: undefined symbol: _ZdlPvm" in smokeDuplicate09/22/2018

Actions
Copied to RADOS - Backport #36131: luminous: "symbol lookup error: ceph-osd: undefined symbol: _ZdaPvm" on centos 7.4ResolvedKefu ChaiActions
Copied to RADOS - Backport #36132: mimic: "symbol lookup error: ceph-osd: undefined symbol: _ZdaPvm" on centos 7.4ResolvedKefu ChaiActions
Actions

Also available in: Atom PDF