RuiChen has uploaded this change for review. ( http://gerrit.cloudera.org:8080/15899
Change subject: KUDU-3096: Fix core dump when thread race between GetThreadStack and SuperviseThread ...................................................................... KUDU-3096: Fix core dump when thread race between GetThreadStack and SuperviseThread Some logic before t->functor_() in SuperviseThread maybe cause coredump, GetThreadStack function will try to collect thread info even if tcmalloc ThreadCache haven't been inited completlly. Complete all of initialization, then set tid_ of thread in order to avoiding unexpect access. Change-Id: Icc722cd5e8ed4ed668d279f6ec831e4eeb69f955 --- M src/kudu/util/thread.cc 1 file changed, 7 insertions(+), 6 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/99/15899/1 -- To view, visit http://gerrit.cloudera.org:8080/15899 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: Icc722cd5e8ed4ed668d279f6ec831e4eeb69f955 Gerrit-Change-Number: 15899 Gerrit-PatchSet: 1 Gerrit-Owner: RuiChen <chenrui.m...@gmail.com>