Project

General

Profile

Actions

Bug #436

closed

cmon: basic_string::_S_construct NULL not valid

Added by Floris Bos over 13 years ago. Updated over 13 years ago.

Status:
Can't reproduce
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature (v1):
Crash signature (v2):

Description

I'm new to Ceph, and want to do a fresh installation on Ubuntu 10.04 LTS.
Followed the instructions from: http://ceph.newdream.net/wiki/Installing_on_Debian with the exception that I only specified a single node in the config to start with.

Unfortuneately I didn't got far:



root@vpser:/etc/ceph# /etc/init.d/ceph -a start
=== mon.0 === 
root@node0's password: 
root@node0's password: 
Starting Ceph mon0 on node0...
root@node0's password: 
 ** WARNING: Ceph is still under heavy development, and is only suitable for **
 **          testing and review.  Do not trust it with important data.       **
terminate called after throwing an instance of 'std::logic_error'
  what():  basic_string::_S_construct NULL not valid
bash: line 1:  3178 Aborted                 (core dumped) /usr/bin/cmon -i 0 -c /tmp/ceph.conf.3081
failed: 'ssh node0  /usr/bin/cmon -i 0 -c /tmp/ceph.conf.3081 '




root@vpser:/etc/ceph# gdb --args /usr/bin/cmon -i 0 -c /tmp/ceph.conf.3081
GNU gdb (GDB) 7.1-ubuntu
Copyright (C) 2010 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 /usr/bin/cmon...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/cmon -i 0 -c /tmp/ceph.conf.3081
[Thread debugging using libthread_db enabled]
 ** WARNING: Ceph is still under heavy development, and is only suitable for **
 **          testing and review.  Do not trust it with important data.       **
terminate called after throwing an instance of 'std::logic_error'
  what():  basic_string::_S_construct NULL not valid

Program received signal SIGABRT, Aborted.
0x00007ffff6d31a75 in raise () from /lib/libc.so.6
(gdb) bt
#0  0x00007ffff6d31a75 in raise () from /lib/libc.so.6
#1  0x00007ffff6d355c0 in abort () from /lib/libc.so.6
#2  0x00007ffff75e78e5 in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/libstdc++.so.6
#3  0x00007ffff75e5d16 in ?? () from /usr/lib/libstdc++.so.6
#4  0x00007ffff75e5d43 in std::terminate() () from /usr/lib/libstdc++.so.6
#5  0x00007ffff75e5e3e in __cxa_throw () from /usr/lib/libstdc++.so.6
#6  0x00007ffff75819a7 in std::__throw_logic_error(char const*) () from /usr/lib/libstdc++.so.6
#7  0x00007ffff75c3931 in ?? () from /usr/lib/libstdc++.so.6
#8  0x00007ffff75c3aeb in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, unsigned long, std::allocator<char> const&) () from /usr/lib/libstdc++.so.6
#9  0x0000000000447d17 in main ()




root@vpser:/etc/ceph# apt-cache policy ceph
ceph:
  Installed: 0.21.3-1~bpo50+1
  Candidate: 0.21.3-1~bpo50+1
  Version table:
 *** 0.21.3-1~bpo50+1 0
        500 http://ceph.newdream.net/debian/ lenny/ceph-stable Packages
        100 /var/lib/dpkg/status

Actions #1

Updated by Sage Weil over 13 years ago

Did the mkcephfs process complete? This crash is caused by a missing/empty 'magic' file in the mon_data dir (and generates a proper error message instead of crash in the latest testing branch). Can you see if the magic file is there? And/or paste the output from the mkcephfs process?

Actions #2

Updated by Sage Weil over 13 years ago

  • Status changed from New to Can't reproduce
Actions

Also available in: Atom PDF