hey cephers who use gdb on teuthology, i just gave the sepia_bt.sh[0] an overhaul. now it can accept only one parameter -- the absolute path to the core-file[1]. and it will take care of the rest to setup the gdb. if you want to check the backtrace and poke around the coredump with gdb on teuthology, i'd recommend sepia_bt.sh to you. --- [0] https://github.com/ceph/ceph/blob/master/src/script/sepia_bt.sh [1] like $ sepia_bt.sh -c /a/kchai-2017-02-07_18:40:28-rados-wip-16091-monc-in-parallel---basic-mira/796457/remote/mira051/coredump/* On Mon, Nov 7, 2016 at 8:31 PM, kefu chai <tchaikov@xxxxxxxxx> wrote: > On Fri, Nov 4, 2016 at 9:22 PM, Sage Weil <sweil@xxxxxxxxxx> wrote: >> On Fri, 4 Nov 2016, kefu chai wrote: >>> hi ceph developers, >>> >>> i just pulled together a simple script at >>> https://github.com/tchaikov/sepia-bt/blob/master/bt.sh for debugging >>> the coredump on teuthology. what it does is >>> >>> 1. download the ceph packages >>> 2. extract them so we have the debugged executable and symbols >>> 3. launch gdb and set the necessary paths >>> >>> et voilà! >>> >>> the idea of this script comes from badone (Brad). i just translate it >>> into a shell script. >>> >>> pull requests welcomed! >> >> This is great! Maybe we should put it in ceph.git/src/scripts? > > sure, will do. > > > -- > Regards > Kefu Chai -- Regards Kefu Chai -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html