Closed osov closed 4 weeks ago
Did you try to increase the count of spinemodels ? I see you have
ERROR:SPINEC: Spine Model could not be created since the buffer is full (128).
If a model can't be created, then something can go wrong, so the very first step should be increasing of that counter.
it is not clear which parameter I should increase, previously the "Rig" section was used for this and key "max_instance_count" But now it gives a warning:
WARNING:ENGINE: `rig.max_instance_count` deprecated. Use component specific counters.
Yes, the error disappears if you increase the counter, but I gave an example of minimal reproduction. It just seems that in any case there should not be a crash, because in the web assembly or on the Mac there is no crash, there is just an error.
But information about this error is only part of the problem, because we are still sorting out crashes that do not create a spine warning about the buffer limit, but simply crash.
use
spine.max_count
Do you run game using cmd+b or f5?
Ctrl + B, but in any case there is a crash and through F5 too
thank you for the extra info
Yes, the error disappears if you increase the counter, but I gave an example of minimal reproduction. It just seems that in any case there should not be a crash, because in the web assembly or on the Mac there is no crash, there is just an error.
Just to make it clear: it doesn't crash if you increase model counter? (I agree that it shouldn't crash anyway, I just need to make sure this is the reason)
I'm moving this issue into spine extension
yes, the game does not crash if you increase the counter. But there are still cases of crash, which are extremely difficult to reproduce and there is no warning "Spine Model could not be created since the buffer is full" Perhaps they are not related, but it looks like they are something in common
Crash 1:
ERROR:CRASH: 0 0x7FF6EE269B70 dmCrash::GenerateCallstack D:\a\defold\defold\engine\crash\src\backtrace_win32.cpp:144
ERROR:CRASH: 1 0x7FF6EE535C08 _seh_filter_exe /tmp/job6544078687172901049/minkernel/crts/ucrt/src/appcrt/misc/exception_filter.cpp:219
ERROR:CRASH: 2 0x7FF6EE5892F1 `__scrt_common_main_seh'::`1'::filt$0 D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:304
ERROR:CRASH: 3 0x7FF6EE4F40C8 __C_specific_handler D:\a\_work\1\s\src\vctools\crt\vcruntime\src\eh\riscchandler.cpp:389
ERROR:CRASH: 4 0x7FF8B75911F0 __chkstk <unknown>:0
ERROR:CRASH: 5 0x7FF8B753B1B0 RtlRaiseException <unknown>:0
ERROR:CRASH: 6 0x7FF8B758FE10 KiUserExceptionDispatcher <unknown>:0
ERROR:CRASH: 7 0x7FF6EE260520 lua_rawgeti <unknown>:0
ERROR:CRASH: 8 0x7FF6EE28ADC0 dmScript::DestroyCallback D:\a\defold\defold\engine\script\src\script.cpp:1649
ERROR:CRASH: 9 0x7FF6EE36D350 dmScript::FreeTimer D:\a\defold\defold\engine\script\src\script_timer.cpp:176
ERROR:CRASH: 10 0x7FF6EE36C4B0 dmScript::UpdateTimers D:\a\defold\defold\engine\script\src\script_timer.cpp:271
ERROR:CRASH: 11 0x7FF6EE36C450 dmScript::TimerUpdateScriptWorld D:\a\defold\defold\engine\script\src\script_timer.cpp:466
ERROR:CRASH: 12 0x7FF6EE28C5C0 dmScript::UpdateScriptWorld D:\a\defold\defold\engine\script\src\script.cpp:1139
ERROR:CRASH: 13 0x7FF6EE2F6660 dmGameObject::CompScriptUpdate D:\a\defold\defold\engine\gameobject\src\gameobject\comp_script.cpp:258
ERROR:CRASH: 14 0x7FF6EE2CB700 dmGameObject::Update D:\a\defold\defold\engine\gameobject\src\gameobject\gameobject.cpp:2613
ERROR:CRASH: 15 0x7FF6EE3D9630 dmGameSystem::CompCollectionProxyUpdate D:\a\defold\defold\engine\gamesys\src\gamesys\components\comp_collection_proxy.cpp:381
ERROR:CRASH: 16 0x7FF6EE2CB700 dmGameObject::Update D:\a\defold\defold\engine\gameobject\src\gameobject\gameobject.cpp:2613
ERROR:CRASH: 17 0x7FF6EE355B00 dmEngine::StepFrame D:\a\defold\defold\engine\engine\src\engine.cpp:1718
ERROR:CRASH: 18 0x7FF6EE350860 dmEngineUpdate D:\a\defold\defold\engine\engine\src\engine.cpp:2274
ERROR:CRASH: 19 0x7FF6EE356660 dmEngine::RunLoop D:\a\defold\defold\engine\engine\src\engine_loop.cpp:83
ERROR:CRASH: 20 0x7FF6EE257010 engine_main D:\a\defold\defold\engine\engine\src\engine_main.cpp:152
ERROR:CRASH: 21 0x7FF6EE4F3C74 __scrt_common_main_seh D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288
ERROR:CRASH: 22 0x7FF8B63C7020 BaseThreadInitThunk <unknown>:0
ERROR:CRASH: 23 0x7FF8B753D0B0 RtlUserThreadStart <unknown>:0
ERROR:CRASH:
INFO:CRASH: Successfully wrote Crashdump to file: C:\Users\sov\AppData\Roaming\Defold/_crash
ERROR:CRASH: CALL STACK:
ERROR:CRASH: 0 0x7FF6EE260520 lua_rawgeti <unknown>:0
ERROR:CRASH: 1 0x7FF6EE28ADC0 dmScript::DestroyCallback D:\a\defold\defold\engine\script\src\script.cpp:1649
ERROR:CRASH: 2 0x7FF6EE36D350 dmScript::FreeTimer D:\a\defold\defold\engine\script\src\script_timer.cpp:176
ERROR:CRASH: 3 0x7FF6EE36C4B0 dmScript::UpdateTimers D:\a\defold\defold\engine\script\src\script_timer.cpp:271
ERROR:CRASH: 4 0x7FF6EE36C450 dmScript::TimerUpdateScriptWorld D:\a\defold\defold\engine\script\src\script_timer.cpp:466
ERROR:CRASH: 5 0x7FF6EE28C5C0 dmScript::UpdateScriptWorld D:\a\defold\defold\engine\script\src\script.cpp:1139
ERROR:CRASH: 6 0x7FF6EE2F6660 dmGameObject::CompScriptUpdate D:\a\defold\defold\engine\gameobject\src\gameobject\comp_script.cpp:258
ERROR:CRASH: 7 0x7FF6EE2CB700 dmGameObject::Update D:\a\defold\defold\engine\gameobject\src\gameobject\gameobject.cpp:2613
ERROR:CRASH: 8 0x7FF6EE3D9630 dmGameSystem::CompCollectionProxyUpdate D:\a\defold\defold\engine\gamesys\src\gamesys\components\comp_collection_proxy.cpp:381
ERROR:CRASH: 9 0x7FF6EE2CB700 dmGameObject::Update D:\a\defold\defold\engine\gameobject\src\gameobject\gameobject.cpp:2613
ERROR:CRASH: 10 0x7FF6EE355B00 dmEngine::StepFrame D:\a\defold\defold\engine\engine\src\engine.cpp:1718
ERROR:CRASH: 11 0x7FF6EE350860 dmEngineUpdate D:\a\defold\defold\engine\engine\src\engine.cpp:2274
ERROR:CRASH: 12 0x7FF6EE356660 dmEngine::RunLoop D:\a\defold\defold\engine\engine\src\engine_loop.cpp:83
ERROR:CRASH: 13 0x7FF6EE257010 engine_main D:\a\defold\defold\engine\engine\src\engine_main.cpp:152
ERROR:CRASH: 14 0x7FF6EE4F3C74 __scrt_common_main_seh D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288
ERROR:CRASH: 15 0x7FF8B63C7020 BaseThreadInitThunk <unknown>:0
ERROR:CRASH: 16 0x7FF8B753D0B0 RtlUserThreadStart <unknown>:0
Crash 2:
ERROR:CRASH: 0 0x7FF7869D9B70 dmCrash::GenerateCallstack D:\a\defold\defold\engine\crash\src\backtrace_win32.cpp:144
ERROR:CRASH: 1 0x7FF786CA5C08 _seh_filter_exe /tmp/job6544078687172901049/minkernel/crts/ucrt/src/appcrt/misc/exception_filter.cpp:219
ERROR:CRASH: 2 0x7FF786CF92F1 `__scrt_common_main_seh'::`1'::filt$0 D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:304
ERROR:CRASH: 3 0x7FF786C640C8 __C_specific_handler D:\a\_work\1\s\src\vctools\crt\vcruntime\src\eh\riscchandler.cpp:389
ERROR:CRASH: 4 0x7FF8B75911F0 __chkstk <unknown>:0
ERROR:CRASH: 5 0x7FF8B753B1B0 RtlRaiseException <unknown>:0
ERROR:CRASH: 6 0x7FF8B758FE10 KiUserExceptionDispatcher <unknown>:0
ERROR:CRASH: 7 0x7FF786B94B10 lj_alloc_f <unknown>:0
ERROR:CRASH: 8 0x7FF786ACF320 lj_tab_free <unknown>:0
ERROR:CRASH: 9 0x7FF786ACAE40 lj_mem_grow <unknown>:0
ERROR:CRASH: 10 0x7FF786ACA440 lj_gc_step <unknown>:0
ERROR:CRASH: 11 0x7FF7869D0620 lua_newuserdata <unknown>:0
ERROR:CRASH: 12 0x7FF786AB4F70 dmScript::URL_new D:\a\defold\defold\engine\script\src\script_msg.cpp:443
ERROR:CRASH: 13 0x7FF78695B16E lj_BC_FUNCC <unknown>:0
ERROR:CRASH: 14 0x7FF7869D0C80 lua_pcall <unknown>:0
ERROR:CRASH: 15 0x7FF786A00960 dmScript::PCallInternal D:\a\defold\defold\engine\script\src\script.cpp:1400
ERROR:CRASH: 16 0x7FF7869FD6E0 dmScript::InvokeCallback D:\a\defold\defold\engine\script\src\script.cpp:1792
ERROR:CRASH: 17 0x7FF786ADD930 dmScript::LuaTimerCallback D:\a\defold\defold\engine\script\src\script_timer.cpp:523
ERROR:CRASH: 18 0x7FF786ADC4B0 dmScript::UpdateTimers D:\a\defold\defold\engine\script\src\script_timer.cpp:234
ERROR:CRASH: 19 0x7FF786ADC450 dmScript::TimerUpdateScriptWorld D:\a\defold\defold\engine\script\src\script_timer.cpp:466
ERROR:CRASH: 20 0x7FF7869FC5C0 dmScript::UpdateScriptWorld D:\a\defold\defold\engine\script\src\script.cpp:1139
ERROR:CRASH: 21 0x7FF786A66660 dmGameObject::CompScriptUpdate D:\a\defold\defold\engine\gameobject\src\gameobject\comp_script.cpp:258
ERROR:CRASH: 22 0x7FF786A3B700 dmGameObject::Update D:\a\defold\defold\engine\gameobject\src\gameobject\gameobject.cpp:2613
ERROR:CRASH: 23 0x7FF786B49630 dmGameSystem::CompCollectionProxyUpdate D:\a\defold\defold\engine\gamesys\src\gamesys\components\comp_collection_proxy.cpp:381
ERROR:CRASH: 24 0x7FF786A3B700 dmGameObject::Update D:\a\defold\defold\engine\gameobject\src\gameobject\gameobject.cpp:2613
ERROR:CRASH: 25 0x7FF786AC5B00 dmEngine::StepFrame D:\a\defold\defold\engine\engine\src\engine.cpp:1718
ERROR:CRASH: 26 0x7FF786AC0860 dmEngineUpdate D:\a\defold\defold\engine\engine\src\engine.cpp:2274
ERROR:CRASH: 27 0x7FF786AC6660 dmEngine::RunLoop D:\a\defold\defold\engine\engine\src\engine_loop.cpp:83
ERROR:CRASH: 28 0x7FF7869C7010 engine_main D:\a\defold\defold\engine\engine\src\engine_main.cpp:152
ERROR:CRASH: 29 0x7FF786C63C74 __scrt_common_main_seh D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288
ERROR:CRASH: 30 0x7FF8B63C7020 BaseThreadInitThunk <unknown>:0
ERROR:CRASH: 31 0x7FF8B753D0B0 RtlUserThreadStart <unknown>:0
ERROR:CRASH:
INFO:CRASH: Successfully wrote Crashdump to file: C:\Users\sov\AppData\Roaming\Defold/_crash
ERROR:CRASH: CALL STACK:
ERROR:CRASH: 0 0x7FF786B94B10 lj_alloc_f <unknown>:0
ERROR:CRASH: 1 0x7FF786ACF320 lj_tab_free <unknown>:0
ERROR:CRASH: 2 0x7FF786ACAE40 lj_mem_grow <unknown>:0
ERROR:CRASH: 3 0x7FF786ACA440 lj_gc_step <unknown>:0
ERROR:CRASH: 4 0x7FF7869D0620 lua_newuserdata <unknown>:0
ERROR:CRASH: 5 0x7FF786AB4F70 dmScript::URL_new D:\a\defold\defold\engine\script\src\script_msg.cpp:443
ERROR:CRASH: 6 0x7FF78695B16E lj_BC_FUNCC <unknown>:0
ERROR:CRASH: 7 0x7FF7869D0C80 lua_pcall <unknown>:0
ERROR:CRASH: 8 0x7FF786A00960 dmScript::PCallInternal D:\a\defold\defold\engine\script\src\script.cpp:1400
ERROR:CRASH: 9 0x7FF7869FD6E0 dmScript::InvokeCallback D:\a\defold\defold\engine\script\src\script.cpp:1792
ERROR:CRASH: 10 0x7FF786ADD930 dmScript::LuaTimerCallback D:\a\defold\defold\engine\script\src\script_timer.cpp:523
ERROR:CRASH: 11 0x7FF786ADC4B0 dmScript::UpdateTimers D:\a\defold\defold\engine\script\src\script_timer.cpp:234
ERROR:CRASH: 12 0x7FF786ADC450 dmScript::TimerUpdateScriptWorld D:\a\defold\defold\engine\script\src\script_timer.cpp:466
ERROR:CRASH: 13 0x7FF7869FC5C0 dmScript::UpdateScriptWorld D:\a\defold\defold\engine\script\src\script.cpp:1139
ERROR:CRASH: 14 0x7FF786A66660 dmGameObject::CompScriptUpdate D:\a\defold\defold\engine\gameobject\src\gameobject\comp_script.cpp:258
ERROR:CRASH: 15 0x7FF786A3B700 dmGameObject::Update D:\a\defold\defold\engine\gameobject\src\gameobject\gameobject.cpp:2613
ERROR:CRASH: 16 0x7FF786B49630 dmGameSystem::CompCollectionProxyUpdate D:\a\defold\defold\engine\gamesys\src\gamesys\components\comp_collection_proxy.cpp:381
ERROR:CRASH: 17 0x7FF786A3B700 dmGameObject::Update D:\a\defold\defold\engine\gameobject\src\gameobject\gameobject.cpp:2613
ERROR:CRASH: 18 0x7FF786AC5B00 dmEngine::StepFrame D:\a\defold\defold\engine\engine\src\engine.cpp:1718
ERROR:CRASH: 19 0x7FF786AC0860 dmEngineUpdate D:\a\defold\defold\engine\engine\src\engine.cpp:2274
ERROR:CRASH: 20 0x7FF786AC6660 dmEngine::RunLoop D:\a\defold\defold\engine\engine\src\engine_loop.cpp:83
ERROR:CRASH: 21 0x7FF7869C7010 engine_main D:\a\defold\defold\engine\engine\src\engine_main.cpp:152
ERROR:CRASH: 22 0x7FF786C63C74 __scrt_common_main_seh D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288
ERROR:CRASH: 23 0x7FF8B63C7020 BaseThreadInitThunk <unknown>:0
ERROR:CRASH: 24 0x7FF8B753D0B0 RtlUserThreadStart <unknown>:0
these cases seem unrelated to the initial issue and looks like this one https://github.com/defold/defold/issues/9491
I'm closing this issue since the first issue is about counter limit , and the second is related to timers and fixed in 1.9.4
Describe the bug (REQUIRED) During playback of spine animation (many at the same time) the launched project in the editor crashes.
To Reproduce (REQUIRED) create more than 128 spine models at the same time
Defold version (REQUIRED):
Platforms (REQUIRED):
_crash.zip
Minimal Project: explode.zip