gpt4 book ai didi

iphone - 警告 : TSD slot 10 retrieved but the thread data has already been torn down

转载 作者:行者123 更新时间:2023-11-29 11:17:59 31 4
gpt4 key购买 nike

我没有发现任何有关此错误的信息...知道这是从哪里来的吗?

Warning: TSD slot 10 retrieved but the thread data has already been torn down.
Warning: TSD slot 10 set but the thread data has already been torn down.

不确定如何调试此错误。不知道警告发生在哪里。

我在 CFPlatform.c 中找到了这个

// For the use of CF and Foundation only
CF_EXPORT void *_CFGetTSD(uint32_t slot) {
if (slot > CF_TSD_MAX_SLOTS) {
_CFLogSimple(kCFLogLevelError, "Error: TSD slot %d out of range (get)", slot);
HALT;
}
__CFTSDTable *table = __CFTSDGetTable();
if (!table) {
// Someone is getting TSD during thread destruction. The table is gone, so we can't get any data anymore.
_CFLogSimple(kCFLogLevelWarning, "Warning: TSD slot %d retrieved but the thread data has already been torn down.", slot);
return NULL;
}
uintptr_t *slots = (uintptr_t *)(table->data);
return (void *)slots[slot];
}

最佳答案

答案已在此处讨论 https://devforums.apple.com/message/596383#596383

看起来 UI 修改试图在不同的线程中完成。

关于iphone - 警告 : TSD slot 10 retrieved but the thread data has already been torn down,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8602140/

31 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com