CEPH filesystem development
 help / color / mirror / Atom feed
From: Martin Wilderoth <martin.wilderoth@linserv.se>
To: ceph-devel <ceph-devel@vger.kernel.org>
Subject: Fwd: ceph
Date: Tue, 28 Jun 2011 21:14:50 +0200 (CEST)	[thread overview]
Message-ID: <683993917.17841.1309288490367.JavaMail.root@mail.linserv.se> (raw)
In-Reply-To: <BANLkTikjeL27XyBtWxyjWQ9UCbpXC0wf8A@mail.gmail.com>

v0.30 solved my problem :-)

>> On 06/25/2011 08:05 PM, Martin Wilderoth wrote: 
>>> 
>>> This is the backtrace of the dump: 
>>> 
>>> Core was generated by `ceph -w'. 
>>> Program terminated with signal 11, Segmentation fault. 
>>> #0 0x0000000000467f6f in ceph_tool_data::ceph_tool_data() () 
>>> (gdb) bt 
>>> #0 0x0000000000467f6f in ceph_tool_data::ceph_tool_data() () 
>>> #1 0x000000000044c31c in ?? () 
>>> #2 0x000000000052bbad in __libc_csu_init () 
>>> #3 0x00007fac02f49e40 in __libc_start_main () 
>>> from /lib/x86_64-linux-gnu/libc.so.6 
>>> #4 0x000000000044d2e1 in _start () 
>>> 
>>> /regards Martin 
>> 
>> This is one of the globals that was removed recently in master (which will 
>> be in 0.31 or 0.32). One of the problems with them was that the order of 
>> initialization is undefined, which may be the reason for this crash. Someone 
>> reported that being a problem when compiling ceph with gcc 4.6. 
>> 
>> I'd suggest compiling with gcc 4.4, or using the master branch. 
>> 
>> Josh 

>I did some testing of my own and it looks like in the stable branch, 
>it decides to initialize g_ceph_context really early, which is good, 
>but then decides to put off initializing g_conf until much, much 
>later. Unfortunately, init_priority cannot be applied to references, 
>which g_conf is in the stable branch. Also, references can't be 
>reseated after they're initialized, so nobody else can initialize 
>g_conf except itself. 

>So in conclusion, it would be pretty difficult to fix in the stable 
>branch. I think maybe the best thing to do is to move to master, where 
>this is all fixed, if it pops up for you. 

>As Sam commented, we have eliminated all non-trivial global 
>constructors for exactly these reasons. 

>sincerely, 
>Colin 

      reply	other threads:[~2011-06-28 19:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1476695993.17760.1308976740201.JavaMail.root@mail.linserv.se>
2011-06-25  4:43 ` ceph Martin Wilderoth
2011-06-26  3:05   ` Fwd: ceph Martin Wilderoth
2011-06-27 23:43     ` Josh Durgin
2011-06-28  1:29       ` Colin McCabe
2011-06-28 19:14         ` Martin Wilderoth [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=683993917.17841.1309288490367.JavaMail.root@mail.linserv.se \
    --to=martin.wilderoth@linserv.se \
    --cc=ceph-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox