Skip to content

Instantly share code, notes, and snippets.

@cbodley
Created June 24, 2019 15:41
Show Gist options
  • Save cbodley/a87a4b7976908fb16242e4ff8bde2433 to your computer and use it in GitHub Desktop.
Save cbodley/a87a4b7976908fb16242e4ff8bde2433 to your computer and use it in GitHub Desktop.
vstart fails WITH_ASAN=ON WITH_UBSAN=ON
ceph-mgr dashboard not built - disabling.
** going verbose **
rm -f core*
hostname cezanne
ip 10.17.151.111
port 40239
/home/cbodley/scratch/ceph/build/bin/ceph-authtool --create-keyring --gen-key --name=mon. /home/cbodley/scratch/ceph/build/keyring --cap mon 'allow *'
creating /home/cbodley/scratch/ceph/build/keyring
/home/cbodley/scratch/ceph/src/common/buffer.cc:492:9: runtime error: member access within null pointer of type 'struct raw'
/home/cbodley/scratch/ceph/src/common/buffer.cc:493:9: runtime error: member access within null pointer of type 'struct raw'
/home/cbodley/scratch/ceph/build/bin/ceph-authtool --gen-key --name=client.admin --cap mon 'allow *' --cap osd 'allow *' --cap mds 'allow *' --cap mgr 'allow *' /home/cbodley/scratch/ceph/build/keyring
/home/cbodley/scratch/ceph/src/common/buffer.cc:492:9: runtime error: member access within null pointer of type 'struct raw'
/home/cbodley/scratch/ceph/src/common/buffer.cc:493:9: runtime error: member access within null pointer of type 'struct raw'
/home/cbodley/scratch/ceph/build/bin/ceph-authtool --gen-key --name=client.fs --cap mon 'allow r' --cap osd 'allow rw tag cephfs data=*' --cap mds 'allow rwp' /home/cbodley/scratch/ceph/build/keyring
/home/cbodley/scratch/ceph/src/common/buffer.cc:492:9: runtime error: member access within null pointer of type 'struct raw'
/home/cbodley/scratch/ceph/src/common/buffer.cc:493:9: runtime error: member access within null pointer of type 'struct raw'
/home/cbodley/scratch/ceph/build/bin/ceph-authtool --gen-key --name=client.rgw --cap mon 'allow rw' --cap osd 'allow rwx' --cap mgr 'allow rw' /home/cbodley/scratch/ceph/build/keyring
/home/cbodley/scratch/ceph/src/common/buffer.cc:492:9: runtime error: member access within null pointer of type 'struct raw'
/home/cbodley/scratch/ceph/src/common/buffer.cc:493:9: runtime error: member access within null pointer of type 'struct raw'
/home/cbodley/scratch/ceph/build/bin/monmaptool --create --clobber --addv a [v2:10.17.151.111:40239,v1:10.17.151.111:40240] --print /tmp/ceph_monmap.28544
/home/cbodley/scratch/ceph/build/bin/monmaptool: monmap file /tmp/ceph_monmap.28544
/home/cbodley/scratch/ceph/build/bin/monmaptool: generated fsid 6a94ca63-a59a-416d-b3a3-a75165323eff
epoch 0
fsid 6a94ca63-a59a-416d-b3a3-a75165323eff
last_changed 2019-06-24T11:40:05.641743-0400
created 2019-06-24T11:40:05.641743-0400
min_mon_release 0 (unknown)
0: [v2:10.17.151.111:40239/0,v1:10.17.151.111:40240/0] mon.a
/home/cbodley/scratch/ceph/build/bin/monmaptool: writing epoch 0 to /tmp/ceph_monmap.28544 (1 monitors)
/home/cbodley/scratch/ceph/src/include/denc.h:307:11: runtime error: reference binding to misaligned address 0x6210000105a9 for type 'unsigned int', which requires 4 byte alignment
0x6210000105a9: note: pointer points here
00 00 00 00 be be be be be be be be be be be be be be be be be be be be be be be be be be be be
^
/home/cbodley/scratch/ceph/src/include/denc.h:400:5: runtime error: store to misaligned address 0x6210000105a9 for type 'unsigned int', which requires 4 byte alignment
0x6210000105a9: note: pointer points here
00 00 00 00 be be be be be be be be be be be be be be be be be be be be be be be be be be be be
^
/home/cbodley/scratch/ceph/src/common/buffer.cc:492:9: runtime error: member access within null pointer of type 'struct raw'
/home/cbodley/scratch/ceph/src/common/buffer.cc:493:9: runtime error: member access within null pointer of type 'struct raw'
rm -rf -- /home/cbodley/scratch/ceph/build/dev/mon.a
mkdir -p /home/cbodley/scratch/ceph/build/dev/mon.a
/home/cbodley/scratch/ceph/build/bin/ceph-mon --mkfs -c /home/cbodley/scratch/ceph/build/ceph.conf -i a --monmap=/tmp/ceph_monmap.28544 --keyring=/home/cbodley/scratch/ceph/build/keyring
/home/cbodley/scratch/ceph/src/include/denc.h:301:11: runtime error: reference binding to misaligned address 0x612000013be9 for type 'const unsigned int', which requires 4 byte alignment
0x612000013be9: note: pointer points here
00 00 00 00 01 00 00 00 01 00 00 00 61 00 be be be be be 70 b4 ab 32 ac 7f 00 00 be be be be be
^
/home/cbodley/scratch/ceph/src/include/denc.h:405:5: runtime error: load of misaligned address 0x612000013be9 for type 'const unsigned int', which requires 4 byte alignment
0x612000013be9: note: pointer points here
00 00 00 00 01 00 00 00 01 00 00 00 61 00 be be be be be 70 b4 ab 32 ac 7f 00 00 be be be be be
^
/home/cbodley/scratch/ceph/src/include/denc.h:307:11: runtime error: reference binding to misaligned address 0x621000064124 for type 'long long unsigned int', which requires 8 byte alignment
0x621000064124: note: pointer points here
02 00 00 00 be be be be be be be be be be be be be be be be be be be be be be be be be be be be
^
/home/cbodley/scratch/ceph/src/include/denc.h:400:5: runtime error: store to misaligned address 0x621000064124 for type 'long long unsigned int', which requires 8 byte alignment
0x621000064124: note: pointer points here
02 00 00 00 be be be be be be be be be be be be be be be be be be be be be be be be be be be be
^
/home/cbodley/scratch/ceph/src/include/denc.h:307:11: runtime error: reference binding to misaligned address 0x621000064153 for type 'unsigned int', which requires 4 byte alignment
0x621000064153: note: pointer points here
00 00 00 00 be be be be be be be be be be be be be be be be be be be be be be be be be be be be
^
/home/cbodley/scratch/ceph/src/include/denc.h:400:5: runtime error: store to misaligned address 0x621000064153 for type 'unsigned int', which requires 4 byte alignment
0x621000064153: note: pointer points here
00 00 00 00 be be be be be be be be be be be be be be be be be be be be be be be be be be be be
^
/home/cbodley/scratch/ceph/src/include/denc.h:307:11: runtime error: reference binding to misaligned address 0x6210000655a9 for type 'unsigned int', which requires 4 byte alignment
0x6210000655a9: note: pointer points here
00 00 00 00 be be be be be be be be be be be be be be be be be be be be be be be be be be be be
^
/home/cbodley/scratch/ceph/src/include/denc.h:400:5: runtime error: store to misaligned address 0x6210000655a9 for type 'unsigned int', which requires 4 byte alignment
0x6210000655a9: note: pointer points here
00 00 00 00 be be be be be be be be be be be be be be be be be be be be be be be be be be be be
^
/home/cbodley/scratch/ceph/src/common/buffer.cc:492:9: runtime error: member access within null pointer of type 'struct raw'
/home/cbodley/scratch/ceph/src/common/buffer.cc:493:9: runtime error: member access within null pointer of type 'struct raw'
=================================================================
==28619==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 8 byte(s) in 1 object(s) allocated from:
#0 0x7fac42991c30 in operator new(unsigned long) (/lib64/libasan.so.5+0xf0c30)
#1 0x7fac2539572d (/lib64/libtcmalloc.so.4+0x2c72d)
SUMMARY: AddressSanitizer: 8 byte(s) leaked in 1 allocation(s).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment