``rbd mv'' crash when no destination issued

2012-11-09 Thread Andrey Korolyov
Hi,

Please take a look, seems harmless:


$ rbd mv vm0
terminate called after throwing an instance of 'std::logic_error'
  what():  basic_string::_S_construct null not valid
*** Caught signal (Aborted) **
 in thread 7f85f5981780
 ceph version 0.53 (commit:2528b5ee105b16352c91af064af5c0b5a7d45d7c)
 1: rbd() [0x431a92]
 2: (()+0xfcb0) [0x7f85f451fcb0]
 3: (gsignal()+0x35) [0x7f85f2c63405]
 4: (abort()+0x17b) [0x7f85f2c66b5b]
 5: (__gnu_cxx::__verbose_terminate_handler()+0x11d) [0x7f85f35616dd]
 6: (()+0x637e6) [0x7f85f355f7e6]
 7: (()+0x63813) [0x7f85f355f813]
 8: (()+0x63a3e) [0x7f85f355fa3e]
 9: (std::__throw_logic_error(char const*)+0x5d) [0x7f85f35b133d]
 10: (char* std::string::_S_construct(char const*, char
const*, std::allocator const&, std::forward_iterator_tag)+0xa9)
[0x7f85f35bd3e9]
 11: (std::basic_string,
std::allocator >::basic_string(char const*, std::allocator
const&)+0x43) [0x7f85f35bd453]
 12: (librbd::rename(librados::IoCtx&, char const*, char
const*)+0x119) [0x7f85f5528099]
 13: (main()+0x2ba5) [0x42aff5]
 14: (__libc_start_main()+0xed) [0x7f85f2c4e76d]
 15: rbd() [0x42d599]
2012-11-09 20:51:50.082452 7f85f5981780 -1 *** Caught signal (Aborted) **
 in thread 7f85f5981780

 ceph version 0.53 (commit:2528b5ee105b16352c91af064af5c0b5a7d45d7c)
 1: rbd() [0x431a92]
 2: (()+0xfcb0) [0x7f85f451fcb0]
 3: (gsignal()+0x35) [0x7f85f2c63405]
 4: (abort()+0x17b) [0x7f85f2c66b5b]
 5: (__gnu_cxx::__verbose_terminate_handler()+0x11d) [0x7f85f35616dd]
 6: (()+0x637e6) [0x7f85f355f7e6]
 7: (()+0x63813) [0x7f85f355f813]
 8: (()+0x63a3e) [0x7f85f355fa3e]
 9: (std::__throw_logic_error(char const*)+0x5d) [0x7f85f35b133d]
 10: (char* std::string::_S_construct(char const*, char
const*, std::allocator const&, std::forward_iterator_tag)+0xa9)
[0x7f85f35bd3e9]
 11: (std::basic_string,
std::allocator >::basic_string(char const*, std::allocator
const&)+0x43) [0x7f85f35bd453]
 12: (librbd::rename(librados::IoCtx&, char const*, char
const*)+0x119) [0x7f85f5528099]
 13: (main()+0x2ba5) [0x42aff5]
 14: (__libc_start_main()+0xed) [0x7f85f2c4e76d]
 15: rbd() [0x42d599]
 NOTE: a copy of the executable, or `objdump -rdS ` is
needed to interpret this.

--- begin dump of recent events ---
   -47> 2012-11-09 20:51:50.060811 7f85f5981780  5 asok(0x208ba50)
register_command perfcounters_dump hook 0x208b9b0
   -46> 2012-11-09 20:51:50.060838 7f85f5981780  5 asok(0x208ba50)
register_command 1 hook 0x208b9b0
   -45> 2012-11-09 20:51:50.060843 7f85f5981780  5 asok(0x208ba50)
register_command perf dump hook 0x208b9b0
   -44> 2012-11-09 20:51:50.060858 7f85f5981780  5 asok(0x208ba50)
register_command perfcounters_schema hook 0x208b9b0
   -43> 2012-11-09 20:51:50.060864 7f85f5981780  5 asok(0x208ba50)
register_command 2 hook 0x208b9b0
   -42> 2012-11-09 20:51:50.060866 7f85f5981780  5 asok(0x208ba50)
register_command perf schema hook 0x208b9b0
   -41> 2012-11-09 20:51:50.060868 7f85f5981780  5 asok(0x208ba50)
register_command config show hook 0x208b9b0
   -40> 2012-11-09 20:51:50.060874 7f85f5981780  5 asok(0x208ba50)
register_command config set hook 0x208b9b0
   -39> 2012-11-09 20:51:50.060877 7f85f5981780  5 asok(0x208ba50)
register_command log flush hook 0x208b9b0
   -38> 2012-11-09 20:51:50.060880 7f85f5981780  5 asok(0x208ba50)
register_command log dump hook 0x208b9b0
   -37> 2012-11-09 20:51:50.060886 7f85f5981780  5 asok(0x208ba50)
register_command log reopen hook 0x208b9b0
   -36> 2012-11-09 20:51:50.063300 7f85f5981780  1 librados: starting
msgr at :/0
   -35> 2012-11-09 20:51:50.063317 7f85f5981780  1 librados: starting objecter
   -34> 2012-11-09 20:51:50.063399 7f85f5981780  1 librados: setting wanted keys
   -33> 2012-11-09 20:51:50.063406 7f85f5981780  1 librados: calling
monclient init
   -32> 2012-11-09 20:51:50.063589 7f85f5981780  2 auth:
KeyRing::load: loaded key file /etc/ceph/keyring.bin
   -31> 2012-11-09 20:51:50.064794 7f85efc26700  5
throttle(msgr_dispatch_throttler-radosclient 0x2095a08) get 473 (0 ->
473)
   -30> 2012-11-09 20:51:50.064953 7f85efc26700  5
throttle(msgr_dispatch_throttler-radosclient 0x2095a08) get 33 (473 ->
506)
   -29> 2012-11-09 20:51:50.065026 7f85f1c2a700  1 monclient(hunting):
found mon.2
   -28> 2012-11-09 20:51:50.065055 7f85f1c2a700  5
throttle(msgr_dispatch_throttler-radosclient 0x2095a08) put 473
(0x6a9d28 -> 33)
   -27> 2012-11-09 20:51:50.065332 7f85f1c2a700  5
throttle(msgr_dispatch_throttler-radosclient 0x2095a08) put 33
(0x6a9d28 -> 0)
   -26> 2012-11-09 20:51:50.065627 7f85efc26700  5
throttle(msgr_dispatch_throttler-radosclient 0x2095a08) get 206 (0 ->
206)
   -25> 2012-11-09 20:51:50.065798 7f85f1c2a700  5
throttle(msgr_dispatch_throttler-radosclient 0x2095a08) put 206
(0x6a9d28 -> 0)
   -24> 2012-11-09 20:51:50.066082 7f85efc26700  5
throttle(msgr_dispatch_throttler-radosclient 0x2095a08) get 393 (0 ->
393)
   -23> 2012-11-09 20:51:50.066177 7f85f1c2a700  5
throttle(msgr_dispatch_throttler-radosclient 0x2095a08) put 393
(0x6a9d28 -> 0)
   -22> 2012-11-09 20:51:50.066183 7f8

Re: ``rbd mv'' crash when no destination issued

2012-11-09 Thread Josh Durgin

On 11/09/2012 08:57 AM, Andrey Korolyov wrote:

Hi,

Please take a look, seems harmless:


$ rbd mv vm0
terminate called after throwing an instance of 'std::logic_error'


Thanks for the report, it's fixed in the next and master branches,
and is indeed harmless.

Josh
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html