1

Sea.exe给定抛出错误的可执行文件stderr,比较两者:

窗户cmd.exe

D:\Dev\Sea\Export\windows\neko\debug\bin>Sea.exe
Called from thx.fp._Map.Map_Impl_::$statics line 1
Called from ApplicationMain::main line 143
Called from ApplicationMain::create line 26
Called from lime.app.Preloader::create line 58
Called from openfl.display.Preloader::start line 93
Called from NMEPreloader::onLoaded line 107
Called from openfl.events.EventDispatcher::dispatchEvent line 95
Called from openfl.display.DisplayObject::__dispatchEvent line 269
Called from openfl.events.EventDispatcher::__dispatchEvent line 237
Called from openfl.display.Preloader::display_onComplete line 129
Called from lime.app.Preloader::start line 242
Called from lime.app.Event_Void_Void::dispatch line 145
Called from ApplicationMain::init line 87
Called from ApplicationMain::start line 173
Called from Type::createInstance line 109
Called from DocumentClass::$init line 212
Called from DocumentClass::new line 239
Called from Main::new line 13
Uncaught exception - Invalid operation (+)
AL lib: (EE) alc_cleanup: 1 device not closed

和 git bash/mingw64:

test@test-HP MINGW64 /d/Dev/Sea/Export/windows/neko/debug/bin (master)
$ ./Sea.exe
AL lib: (EE) alc_cleanup: 1 device not closed

我检查了异常是否被写入stderr,使用这个:

窗户cmd.exe

D:\Dev\Sea\Export\windows\neko\debug\bin>Sea.exe 2> nul

D:\Dev\Sea\Export\windows\neko\debug\bin>

并检查了neko VM 源代码

我知识渊博,无法找到原因。VM 是否检测到伪 Linux 环境并在某些不同的流中打印消息?

谢谢你。

4

0 回答 0