Thread_index for thread0 in vlib_global_main not initialised
@@ -626,6 +626,7 @@ vlib_unix_main (int argc, char *argv[])
vlib_thread_stack_init (0);
__os_thread_index = 0;
+ vm->thread_index = 0;
i = clib_calljmp (thread0, (uword) vm,
(void *) (vlib_thread_stacks[0] +
