leinlin / Miku-LuaProfiler

Apache License 2.0
1.88k stars 435 forks source link

二次运行 crash #36

Closed zcb0821 closed 3 years ago

zcb0821 commented 3 years ago

编辑器下第一次运行游戏能记录数据,二次启动会crash

Stacktrace:

  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) object.wrapper_native_00007FFED4C42DC0 (intptr) [0x00009] in <fb001e01371b4adca20013e0ac763896>:0
  at MikuLuaProfiler.LuaLib.DoRefLuaFun (intptr,string,int,MikuLuaProfiler.LuaDLL/tolua_getref_fun) [0x00001] in Assets\ThirdParty\LuaProfiler\Core\LuaHookSetup.cs:710
  at MikuLuaProfiler.LuaHook.HookUnRef (intptr,int,MikuLuaProfiler.LuaDLL/tolua_getref_fun) [0x0000b] in Assets\ThirdParty\LuaProfiler\Core\LuaHookSetup.cs:328
  at MikuLuaProfiler.LuaDLL.luaL_unref_replace (intptr,int,int) [0x0001d] in Assets\ThirdParty\LuaProfiler\Core\Driver\LuaDLL.cs:1190
  at (wrapper native-to-managed) MikuLuaProfiler.LuaDLL.luaL_unref_replace (intptr,int,int) [0x00022] in <233898f79033455eb9478bd74704edea>:0
  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) XLua.LuaDLL.Lua.lua_pcall (intptr,int,int,int) [0x0000c] in <233898f79033455eb9478bd74704edea>:0
  at XLua.DelegateBridge.PCall (intptr,int,int,int) [0x00001] in Assets\ThirdParty\XLua\Src\DelegateBridge.cs:138
  at XLua.DelegateBridge.__Gen_Delegate_Imp25 () [0x00020] in Assets\XLua\Gen\DelegatesGensBridge.cs:603
  at Main.Update () [0x00020] in Assets\Scripts\Main.cs:143
  at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) [0x00020] in <fb001e01371b4adca20013e0ac763896>:0

=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================