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

Liu Yuan namei.unix at gmail.com
Fri Apr 19 10:55:07 CEST 2013


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.

Thanks,
Yuan



More information about the sheepdog mailing list