Actions
Bug #1142
closeddumpjournal crashes without dumping the journal
% Done:
0%
Source:
Tags:
Backport:
Regression:
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
I reproduced this on change 6fd694c3942a12a3730a30d059b51b37d3f7536f, before the wip-815 branch was merged in. I used vstart.sh -d -n to initialize and start the cluster.
My best guess is that this is somehow fallout from the crush changes a few weeks ago, but I haven't really investigated much.
cmccabe@metropolis:~/ceph2/src$ gdb ./dumpjournal GNU gdb (GDB) 7.0.1-debian Copyright (C) 2009 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /home/cmccabe/ceph2/src/dumpjournal...done. (gdb) r Starting program: /home/cmccabe/ceph2/src/dumpjournal [Thread debugging using libthread_db enabled] [New Thread 0x7ffff69f5700 (LWP 9706)] [New Thread 0x7ffff61f4700 (LWP 9707)] [New Thread 0x7ffff59f3700 (LWP 9708)] [New Thread 0x7ffff51f2700 (LWP 9709)] Program received signal SIGSEGV, Segmentation fault. 0x00000000005ba450 in OSDMap::object_locator_to_pg (this=0x99f740, oid=..., loc=...) at ./osd/OSDMap.h:778 778 ps = ceph_str_hash(pool->v.object_hash, oid.name.c_str(), oid.name.length()); (gdb) bt #0 0x00000000005ba450 in OSDMap::object_locator_to_pg (this=0x99f740, oid=..., loc=...) at ./osd/OSDMap.h:778 #1 0x00000000005ab1f4 in Objecter::recalc_op_target (this=0x9bd5d0, op=0x9bef10) at osdc/Objecter.cc:554 #2 0x00000000005aa672 in Objecter::op_submit (this=0x9bd5d0, op=0x9bef10, s=0x0) at osdc/Objecter.cc:483 #3 0x00000000005fc068 in Objecter::read (this=0x9bd5d0, oid=..., oloc=..., off=0, len=0, snap=..., pbl=0x9c0090, flags=16, onfinish=0x9c0080, objver=0x0, extra_ops=0x0) at osdc/Objecter.h:697 #4 0x00000000005fc11d in Objecter::read_full (this=0x9bd5d0, oid=..., oloc=..., snap=..., pbl=0x9c0090, flags=0, onfinish=0x9c0080, objver=0x0, extra_ops=0x0) at osdc/Objecter.h:785 #5 0x00000000005f4373 in Journaler::read_head (this=0x9beb10, on_finish=0x9c0080, bl=0x9c0090) at osdc/Journaler.cc:150 #6 0x00000000005f4243 in Journaler::recover (this=0x9beb10, onread=0x9c7070) at osdc/Journaler.cc:141 #7 0x000000000058ea1b in main (argc=1, argv=0x9c71a0, envp=0x7fffffffe5b8) at dumpjournal.cc:114
Updated by Greg Farnum almost 13 years ago
- Status changed from New to Resolved
- Assignee set to Greg Farnum
Resolved via removal in the next branch. Use cmds --dump-journal instead!
Actions