Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[UE] NEW_WRAP版本v8 11 在window下启动调试崩溃 #1942

Open
chexiongsheng opened this issue Dec 11, 2024 · 3 comments
Open

[UE] NEW_WRAP版本v8 11 在window下启动调试崩溃 #1942

chexiongsheng opened this issue Dec 11, 2024 · 3 comments

Comments

@chexiongsheng
Copy link
Collaborator

chexiongsheng commented Dec 11, 2024

detail | 详细描述

优先级不高,我们window下不推NEW_WRAP版本v8,有空再查。

@terst6
Copy link

terst6 commented Dec 13, 2024

最近打包项目到win64(清除 DerivedDataCache重新编译后)。第一次启动项目,和第二次启动,都崩溃在地图全部加载完后的ts 初始化时;但是第三次以后运行就正常了。不知道这个堆栈信息对你有没有帮助。 1.06p1版本,有一些小改动。
LogWindows: Error: [Callstack] a-Win64-DebugGame.exe!v8::internal::RootScavengeVisitor::VisitRootPointers() []
LogWindows: Error: [Callstack] a-Win64-DebugGame.exe!v8::internal::PersistentHandlesList::Iterate() []
LogWindows: Error: [Callstack] a-Win64-DebugGame.exe!v8::internal::Heap::IterateRoots() []
LogWindows: Error: [Callstack] a-Win64-DebugGame.exe!v8::internal::ScavengerCollector::CollectGarbage() []
LogWindows: Error: [Callstack] a-Win64-DebugGame.exe!v8::internal::Heap::Scavenge() []
LogWindows: Error: [Callstack] a-Win64-DebugGame.exe!v8::internal::Heap::PerformGarbageCollection() []
LogWindows: Error: [Callstack] a-Win64-DebugGame.exe!v8::internal::Heap::CollectGarbage() []
LogWindows: Error: [Callstack] a-Win64-DebugGame.exe!v8::internal::Heap::AllocateRawWithLightRetrySlowPath() []
LogWindows: Error: [Callstack] a-Win64-DebugGame.exe!v8::internal::Heap::AllocateRawWithRetryOrFailSlowPath() []
LogWindows: Error: [Callstack] a-Win64-DebugGame.exe!v8::internal::Factory::NewContextInternal() []
LogWindows: Error: [Callstack] a-Win64-DebugGame.exe!v8::internal::Factory::NewBlockContext() []
LogWindows: Error: [Callstack] a-Win64-DebugGame.exe!v8::internal::Runtime_PushBlockContext() []
LogWindows: Error: [Callstack] a-Win64-DebugGame.exe!Builtins_CEntry_Return1_DontSaveFPRegs_ArgvOnStack_NoBuiltinExit() []
...
LogWindows: Error: [Callstack] UnknownFunction []
LogWindows: Error: [Callstack] a-Win64-DebugGame.exe!Builtins_ArrayForEach() []
...
LogWindows: Error: [Callstack] UnknownFunction []
LogWindows: Error: [Callstack] a-Win64-DebugGame.exe!Builtins_ArrayForEach() []
LogWindows: Error: [Callstack] a-Win64-DebugGame.exe!Builtins_ArrayForEach() []
LogWindows: Error: [Callstack] a-Win64-DebugGame.exe!Builtins_InterpreterEntryTrampoline() []
LogWindows: Error: [Callstack] a-Win64-DebugGame.exe!Builtins_InterpreterEntryTrampoline() []
LogWindows: Error: [Callstack] a-Win64-DebugGame.exe!Builtins_InterpreterEntryTrampoline() []
LogWindows: Error: [Callstack] a-Win64-DebugGame.exe!Builtins_InterpreterEntryTrampoline() []
LogWindows: Error: [Callstack] a-Win64-DebugGame.exe!Builtins_InterpreterEntryTrampoline() []
LogWindows: Error: [Callstack] a-Win64-DebugGame.exe!Builtins_InterpreterEntryTrampoline() []
LogWindows: Error: [Callstack] a-Win64-DebugGame.exe!Builtins_InterpreterEntryTrampoline() []
LogWindows: Error: [Callstack] a-Win64-DebugGame.exe!Builtins_JSEntryTrampoline() []
LogWindows: Error: [Callstack] a-Win64-DebugGame.exe!Builtins_JSEntry() []
LogWindows: Error: [Callstack] a-Win64-DebugGame.exe!v8::internal::Execution::CallWasm() []
LogWindows: Error: [Callstack] a-Win64-DebugGame.exe!v8::internal::Execution::Call() []
LogWindows: Error: [Callstack] a-Win64-DebugGame.exe!v8::Function::Call() []
LogWindows: Error: [Callstack] a-Win64-DebugGame.exe!puerts::FFunctionTranslator::CallJs() [a\Plugins\Puerts\Source\JsEnv\Private\FunctionTranslator.cpp:595]
LogWindows: Error: [Callstack] a-Win64-DebugGame.exe!puerts::FJsEnvImpl::InvokeTsMethod() [a\Plugins\Puerts\Source\JsEnv\Private\JsEnvImpl.cpp:2271]
LogWindows: Error: [Callstack] a-Win64-DebugGame.exe!puerts::FJsEnvImpl::TsDynamicInvokerImpl::InvokeTsMethod() [a\Plugins\Puerts\Source\JsEnv\Private\JsEnvImpl.h:472]
LogWindows: Error: [Callstack] a-Win64-DebugGame.exe!UTypeScriptGeneratedClass::execCallJS() [a\Plugins\Puerts\Source\JsEnv\Private\TypeScriptGeneratedClass.cpp:45]
LogWindows: Error: [Callstack] a-Win64-DebugGame.exe!UFunction::Invoke() [Engine\Source\Runtime\CoreUObject\Private\UObject\Class.cpp:5684]
LogWindows: Error: [Callstack] a-Win64-DebugGame.exe!ProcessLocalFunction() [Engine\Source\Runtime\CoreUObject\Private\UObject\ScriptCore.cpp:1147]
LogWindows: Error: [Callstack] a-Win64-DebugGame.exe!UObject::ProcessContextOpcode() [Engine\Source\Runtime\CoreUObject\Private\UObject\ScriptCore.cpp:2896]
LogWindows: Error: [Callstack] a-Win64-DebugGame.exe!ProcessLocalScriptFunction() [Engine\Source\Runtime\CoreUObject\Private\UObject\ScriptCore.cpp:1093]

@terst6
Copy link

terst6 commented Dec 13, 2024

貌似这种新安装的app,在ue4 初次编译shader期间,v8初始化没有使用sleep语句,占有太多cpu,导致render 刷新延迟过大被退出。在安卓和苹果上均有发生

@chexiongsheng
Copy link
Collaborator Author

最近打包项目到win64(清除 DerivedDataCache重新编译后)。第一次启动项目,和第二次启动,都崩溃在地图全部加载完后的ts 初始化时;但是第三次以后运行就正常了。不知道这个堆栈信息对你有没有帮助。 1.06p1版本,有一些小改动。 LogWindows: Error: [Callstack] a-Win64-DebugGame.exe!v8::internal::RootScavengeVisitor::VisitRootPointers() [] LogWindows: Error: [Callstack] a-Win64-DebugGame.exe!v8::internal::PersistentHandlesList::Iterate() [] LogWindows: Error: [Callstack] a-Win64-DebugGame.exe!v8::internal::Heap::IterateRoots() [] LogWindows: Error: [Callstack] a-Win64-DebugGame.exe!v8::internal::ScavengerCollector::CollectGarbage() [] LogWindows: Error: [Callstack] a-Win64-DebugGame.exe!v8::internal::Heap::Scavenge() [] LogWindows: Error: [Callstack] a-Win64-DebugGame.exe!v8::internal::Heap::PerformGarbageCollection() [] LogWindows: Error: [Callstack] a-Win64-DebugGame.exe!v8::internal::Heap::CollectGarbage() [] LogWindows: Error: [Callstack] a-Win64-DebugGame.exe!v8::internal::Heap::AllocateRawWithLightRetrySlowPath() [] LogWindows: Error: [Callstack] a-Win64-DebugGame.exe!v8::internal::Heap::AllocateRawWithRetryOrFailSlowPath() [] LogWindows: Error: [Callstack] a-Win64-DebugGame.exe!v8::internal::Factory::NewContextInternal() [] LogWindows: Error: [Callstack] a-Win64-DebugGame.exe!v8::internal::Factory::NewBlockContext() [] LogWindows: Error: [Callstack] a-Win64-DebugGame.exe!v8::internal::Runtime_PushBlockContext() [] LogWindows: Error: [Callstack] a-Win64-DebugGame.exe!Builtins_CEntry_Return1_DontSaveFPRegs_ArgvOnStack_NoBuiltinExit() [] ... LogWindows: Error: [Callstack] UnknownFunction [] LogWindows: Error: [Callstack] a-Win64-DebugGame.exe!Builtins_ArrayForEach() [] ... LogWindows: Error: [Callstack] UnknownFunction [] LogWindows: Error: [Callstack] a-Win64-DebugGame.exe!Builtins_ArrayForEach() [] LogWindows: Error: [Callstack] a-Win64-DebugGame.exe!Builtins_ArrayForEach() [] LogWindows: Error: [Callstack] a-Win64-DebugGame.exe!Builtins_InterpreterEntryTrampoline() [] LogWindows: Error: [Callstack] a-Win64-DebugGame.exe!Builtins_InterpreterEntryTrampoline() [] LogWindows: Error: [Callstack] a-Win64-DebugGame.exe!Builtins_InterpreterEntryTrampoline() [] LogWindows: Error: [Callstack] a-Win64-DebugGame.exe!Builtins_InterpreterEntryTrampoline() [] LogWindows: Error: [Callstack] a-Win64-DebugGame.exe!Builtins_InterpreterEntryTrampoline() [] LogWindows: Error: [Callstack] a-Win64-DebugGame.exe!Builtins_InterpreterEntryTrampoline() [] LogWindows: Error: [Callstack] a-Win64-DebugGame.exe!Builtins_InterpreterEntryTrampoline() [] LogWindows: Error: [Callstack] a-Win64-DebugGame.exe!Builtins_JSEntryTrampoline() [] LogWindows: Error: [Callstack] a-Win64-DebugGame.exe!Builtins_JSEntry() [] LogWindows: Error: [Callstack] a-Win64-DebugGame.exe!v8::internal::Execution::CallWasm() [] LogWindows: Error: [Callstack] a-Win64-DebugGame.exe!v8::internal::Execution::Call() [] LogWindows: Error: [Callstack] a-Win64-DebugGame.exe!v8::Function::Call() [] LogWindows: Error: [Callstack] a-Win64-DebugGame.exe!puerts::FFunctionTranslator::CallJs() [a\Plugins\Puerts\Source\JsEnv\Private\FunctionTranslator.cpp:595] LogWindows: Error: [Callstack] a-Win64-DebugGame.exe!puerts::FJsEnvImpl::InvokeTsMethod() [a\Plugins\Puerts\Source\JsEnv\Private\JsEnvImpl.cpp:2271] LogWindows: Error: [Callstack] a-Win64-DebugGame.exe!puerts::FJsEnvImpl::TsDynamicInvokerImpl::InvokeTsMethod() [a\Plugins\Puerts\Source\JsEnv\Private\JsEnvImpl.h:472] LogWindows: Error: [Callstack] a-Win64-DebugGame.exe!UTypeScriptGeneratedClass::execCallJS() [a\Plugins\Puerts\Source\JsEnv\Private\TypeScriptGeneratedClass.cpp:45] LogWindows: Error: [Callstack] a-Win64-DebugGame.exe!UFunction::Invoke() [Engine\Source\Runtime\CoreUObject\Private\UObject\Class.cpp:5684] LogWindows: Error: [Callstack] a-Win64-DebugGame.exe!ProcessLocalFunction() [Engine\Source\Runtime\CoreUObject\Private\UObject\ScriptCore.cpp:1147] LogWindows: Error: [Callstack] a-Win64-DebugGame.exe!UObject::ProcessContextOpcode() [Engine\Source\Runtime\CoreUObject\Private\UObject\ScriptCore.cpp:2896] LogWindows: Error: [Callstack] a-Win64-DebugGame.exe!ProcessLocalScriptFunction() [Engine\Source\Runtime\CoreUObject\Private\UObject\ScriptCore.cpp:1093]

你这个和本issue看上去毫无关系。有问题,应该另外提issue。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants