[sheepdog] [PATCH v2 08/11] work: don't call get_node_info in the worker thread

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Fri Apr 19 11:00:56 CEST 2013


At Fri, 19 Apr 2013 16:55:07 +0800,
Liu Yuan wrote:
> 
> On 04/19/2013 04:50 PM, MORITA Kazutaka wrote:
> > I don't get it.  It's really clear that you got SEGV at the stack
> > frame #3 from this info.  It really helps us to include the backtrace
> > in sheep.log with the handler when we cannot reproduce the problem.
> > Actually, I couldn't solve this problem without your log.
> 
> Ah, What I meant is bt of core should be
> 
> vinfo->nr_nodes <--- gdb can us where exactly the segfault happens at
> 
> #1  bs_thread_request_done (fd=<optimized out>, events=<optimized out>,
> data=<optimized out>) at work.c:160
> #2  0x0000000000421899 in do_event_loop (sort_with_prio=false,
> timeout=<optimized out>) at event.c:211
> #3  0x0000000000404ebf in main (argc=<optimized out>, argv=<optimized
> out>) at sheep.c:691
> 
> Seems this is hard to achieve.

Just typing "up 3" to move to #3 gives you the same output, no?

Thanks,

Kazutaka



More information about the sheepdog mailing list