WebGL build - Abort(120) on scene change

at the point i call Application.LoadLevel for the first time, i get the following error. Not sure how to debug it, thanks for any help…

[Log] Invoking error handler due to (UnityConfig.js, line 76)

abort(120) at jsStackTrace@http://localhost:57023/Release/WebBuild.js:1179:22

stackTrace@http://localhost:57023/Release/WebBuild.js:1196:34

abort@http://localhost:57023/Release/WebBuild.js:4541729:54

b120@http://localhost:57023/Release/WebBuild.js:4537194:26

__ZN6il2cpp2vm8Liveness5BeginEP8TypeInfoiPFvPPviS4_ES4_PFvvES9_ [il2cpp::vm::Liveness::Begin?S(int*, undefined?F?*, void, void**, int)]@http://localhost:57023/Release/WebBuild.js:83094:45

_il2cpp_unity_liveness_calculation_begin@http://localhost:57023/Release/WebBuild.js:32517:71

__Z36scripting_liveness_calculation_beginP14ScriptingClassiPFvPPviS1_ES1_ [scripting_liveness_calculation_begin?S(int*, undefined?F?*, void, void**, int)]@http://localhost:57023/Release/WebBuild.js:1330206:48

__Z26GarbageCollectSharedAssetsb [GarbageCollectSharedAssets(bool)]@http://localhost:57023/Release/WebBuild.js:1540376:84

__ZN27UnloadUnusedAssetsOperation19IntegrateMainThreadEv [UnloadUnusedAssetsOperation::IntegrateMainThread()]@http://localhost:57023/Release/WebBuild.js:1549028:34

__ZN14PreloadManager26UpdatePreloadingSingleStepENS_21UpdatePreloadingFlagsE [PreloadManager::UpdatePreloadingSingleStep?N()]@http://localhost:57023/Release/WebBuild.js:1547466:31

__ZN14PreloadManager16UpdatePreloadingEv [PreloadManager::UpdatePreloading()]@http://localhost:57023/Release/WebBuild.js:1547569:79

__Z10PlayerLoopbbP10IHookEvent [PlayerLoop(bool, bool, IHookEvent?*)]@http://localhost:57023/Release/WebBuild.js:1546171:43

__ZL8mainloopv [mainloop()]@http://localhost:57023/Release/WebBuild.js:2631114:32

dynCall_v@http://localhost:57023/Release/WebBuild.js:4536446:30

dynCall@http://localhost:57023/Release/WebBuild.js:290:43

http://localhost:57023/Release/WebBuild.js:9147:28

runIter@http://localhost:57023/Release/WebBuild.js:10688:17

Browser_mainLoop_runner@http://localhost:57023/Release/WebBuild.js:9143:33

If this abort() is unexpected, build with -s ASSERTIONS=1 which can give more information.

[Error] abort(120) at jsStackTrace@http://localhost:57023/Release/WebBuild.js:1179:22

stackTrace@http://localhost:57023/Release/WebBuild.js:1196:34

abort@http://localhost:57023/Release/WebBuild.js:4541729:54

b120@http://localhost:57023/Release/WebBuild.js:4537194:26

__ZN6il2cpp2vm8Liveness5BeginEP8TypeInfoiPFvPPviS4_ES4_PFvvES9_ [il2cpp::vm::Liveness::Begin?S(int*, undefined?F?*, void, void**, int)]@http://localhost:57023/Release/WebBuild.js:83094:45

_il2cpp_unity_liveness_calculation_begin@http://localhost:57023/Release/WebBuild.js:32517:71

__Z36scripting_liveness_calculation_beginP14ScriptingClassiPFvPPviS1_ES1_ [scripting_liveness_calculation_begin?S(int*, undefined?F?*, void, void**, int)]@http://localhost:57023/Release/WebBuild.js:1330206:48

__Z26GarbageCollectSharedAssetsb [GarbageCollectSharedAssets(bool)]@http://localhost:57023/Release/WebBuild.js:1540376:84

__ZN27UnloadUnusedAssetsOperation19IntegrateMainThreadEv [UnloadUnusedAssetsOperation::IntegrateMainThread()]@http://localhost:57023/Release/WebBuild.js:1549028:34

__ZN14PreloadManager26UpdatePreloadingSingleStepENS_21UpdatePreloadingFlagsE [PreloadManager::UpdatePreloadingSingleStep?N()]@http://localhost:57023/Release/WebBuild.js:1547466:31

__ZN14PreloadManager16UpdatePreloadingEv [PreloadManager::UpdatePreloading()]@http://localhost:57023/Release/WebBuild.js:1547569:79

__Z10PlayerLoopbbP10IHookEvent [PlayerLoop(bool, bool, IHookEvent?*)]@http://localhost:57023/Release/WebBuild.js:1546171:43

__ZL8mainloopv [mainloop()]@http://localhost:57023/Release/WebBuild.js:2631114:32

dynCall_v@http://localhost:57023/Release/WebBuild.js:4536446:30

dynCall@http://localhost:57023/Release/WebBuild.js:290:43

http://localhost:57023/Release/WebBuild.js:9147:28

runIter@http://localhost:57023/Release/WebBuild.js:10688:17

Browser_mainLoop_runner@http://localhost:57023/Release/WebBuild.js:9143:33

If this abort() is unexpected, build with -s ASSERTIONS=1 which can give more information.

    runIter (WebBuild.js, line 10694)

    Browser_mainLoop_runner (WebBuild.js, line 9143)

This might be an il2cpp errror. Could you file a bug report with a repro case, and post the bug number here?

Hi, I am getting the same 120 error on the instance of Application.LoadLevel, but on random basis.
I have a lot of scenes, and sometimes the error appears with the first click to change the scenes, sometimes it appears after using it for sometime.
When I build with a development build, or full exception handling to debug it, I usually do not get that error, but I get memory related errors, which I guess because of the larger size of the debug build and is not related to the original build.
I am using unity 5.2.3f1, but something like that error appeared on earlier versions of unity too.
Here is my log on firefox.

 01pro.js:1:184476
120 index_facebook.html:330:9
120 index_facebook.html:334:7

Invoking error handler due to
uncaught exception: abort(120) at jsStackTrace@/Release/01pro.js:1:21890
stackTrace@/Release/01pro.js:1:22073
abort@/Release/01pro.js:48:52896
XIq@/Release/01pro.js:41:66217
_Ua@/Release/01pro.js:25:149962
VUa@/Release/01pro.js:25:146660
uXb@/Release/01pro.js:23:193450
vXb@/Release/01pro.js:23:193805
NWb@/Release/01pro.js:23:164072
ZOb@/Release/01pro.js:26:721095
JWa@/Release/01pro.js:25:184274
ACb@/Release/01pro.js:26:278354
BCb@/Release/01pro.js:26:287832
ZDb@/Release/01pro.js:26:336011
vDb@/Release/01pro.js:26:319632
xDb@/Release/01pro.js:26:320243
mDb@/Release/01pro.js:26:310756
qWd@/Release/01pro.js:19:141965
sCq@/Release/01pro.js:41:37630
Runtime.dynCall@/Release/01pro.js:1:5961
Browser_mainLoop_runner/<@/Release/01pro.js:1:202365
Browser.mainLoop.runIter@/Release/01pro.js:1:240371
Browser_mainLoop_runner@/Release/01pro.js:1:202261

If this abort() is unexpected, build with -s ASSERTIONS=1 which can give more information. UnityConfig.js:76:9
uncaught exception: abort(120) at jsStackTrace@/Release/01pro.js:1:21890
stackTrace@/Release/01pro.js:1:22073
abort@/Release/01pro.js:48:52896
XIq@/Release/01pro.js:41:66217
_Ua@/Release/01pro.js:25:149962
VUa@/Release/01pro.js:25:146660
uXb@/Release/01pro.js:23:193450
vXb@/Release/01pro.js:23:193805
NWb@/Release/01pro.js:23:164072
ZOb@/Release/01pro.js:26:721095
JWa@/Release/01pro.js:25:184274
ACb@/Release/01pro.js:26:278354
BCb@/Release/01pro.js:26:287832
ZDb@/Release/01pro.js:26:336011
vDb@/Release/01pro.js:26:319632
xDb@/Release/01pro.js:26:320243
mDb@/Release/01pro.js:26:310756
qWd@/Release/01pro.js:19:141965
sCq@/Release/01pro.js:41:37630
Runtime.dynCall@/Release/01pro.js:1:5961
Browser_mainLoop_runner/<@/Release/01pro.js:1:202365
Browser.mainLoop.runIter@/Release/01pro.js:1:240371
Browser_mainLoop_runner@/Release/01pro.js:1:202261

If this abort() is unexpected, build with -s ASSERTIONS=1 which can give more information

Any progress on the issue?

could you post the stacktrace from a Development build ?

@Marco-Trivellato
Thank you for your reply.

Here is the error I get from the development build.
It looks different, but it happens usually at the same time for the release build error.
I want to get rid of this crash to start publishing my work, so thank you for advance.

warning: a problem occurred in builtin C++ name demangling; build with  -s DEMANGLE_SUPPORT=1  to link in libcxxabi demangling index2.html:220:7

Invoking error handler due to
uncaught exception: abort() at jsStackTrace@http://localhost:810/Development/01pro.js:1205:13
stackTrace@http://localhost:810/Development/01pro.js:1222:22
abort@http://localhost:810/Development/01pro.js:3790079:44
_abort@http://localhost:810/Development/01pro.js:8473:7
_free@http://localhost:810/Development/01pro.js:3747114:3
__ZN13MemoryManager12LowLevelFreeEPvj [MemoryManager::LowLevelFree(void*, unsigned int)]@http://localhost:810/Development/01pro.js:581419:3
__ZN17LowLevelAllocator4FreeEPvj [LowLevelAllocator::Free(void*, unsigned int)]@http://localhost:810/Development/01pro.js:584779:2
__ZN21UnityDefaultAllocatorI17LowLevelAllocatorE10DeallocateEPv [Deallocate? UnityDefaultAllocator<LowLevelAllocator?>(void*)]@http://localhost:810/Development/01pro.js:583145:2
__ZN13MemoryManager10DeallocateEPvRK10MemLabelId [MemoryManager::smile:eallocate(void*, MemLabelId?&)]@http://localhost:810/Development/01pro.js:581095:4
__Z19free_alloc_internalPvRK10MemLabelId [free_alloc_internal(void*, MemLabelId?&)]@http://localhost:810/Development/01pro.js:580507:2
__ZN14SharedMeshDataD2Ev [SharedMeshData?D()]@http://localhost:810/Development/01pro.js:2008165:3
__ZN2UI14CanvasRenderer13SyncVertexPtrENS0_8SyncFlagE [UI::CanvasRenderer::SyncVertexPtr?N()]@http://localhost:810/Development/01pro.js:1192123:5
__ZN2UI14CanvasRenderer17SyncDirtyElementsEv [UI::CanvasRenderer::SyncDirtyElements()]@http://localhost:810/Development/01pro.js:1191604:3
__ZN2UI13CanvasManager20UpdateDirtyRenderersEPNS_6CanvasE [UI::CanvasManager::UpdateDirtyRenderers(UI::Canvas*)]@http://localhost:810/Development/01pro.js:1199709:4
__ZN2UI6Canvas13UpdateBatchesEb [UI::Canvas::UpdateBatches(bool)]@http://localhost:810/Development/01pro.js:1197769:2
__ZZN2UI23InitializeCanvasManagerEvEN18WillRenderCanvases7ForwardEv [undefined?Z()]@http://localhost:810/Development/01pro.js:1707700:3
__Z10PlayerLoopbbP10IHookEvent [PlayerLoop(bool, bool, IHookEvent?*)]@http://localhost:810/Development/01pro.js:808650:4
__ZL8MainLoopv [MainLoop()]@http://localhost:810/Development/01pro.js:1713223:3
dynCall_v@http://localhost:810/Development/01pro.js:3784317:3
Runtime.dynCall@http://localhost:810/Development/01pro.js:322:14
Browser_mainLoop_runner/<@http://localhost:810/Development/01pro.js:9420:13
Browser.mainLoop.runIter@http://localhost:810/Development/01pro.js:11276:13
Browser_mainLoop_runner@http://localhost:810/Development/01pro.js:9416:9
UnityConfig.js:76:9
uncaught exception: abort() at jsStackTrace@http://localhost:810/Development/01pro.js:1205:13
stackTrace@http://localhost:810/Development/01pro.js:1222:22
abort@http://localhost:810/Development/01pro.js:3790079:44
_abort@http://localhost:810/Development/01pro.js:8473:7
_free@http://localhost:810/Development/01pro.js:3747114:3
__ZN13MemoryManager12LowLevelFreeEPvj [MemoryManager::LowLevelFree(void*, unsigned int)]@http://localhost:810/Development/01pro.js:581419:3
__ZN17LowLevelAllocator4FreeEPvj [LowLevelAllocator::Free(void*, unsigned int)]@http://localhost:810/Development/01pro.js:584779:2
__ZN21UnityDefaultAllocatorI17LowLevelAllocatorE10DeallocateEPv [Deallocate? UnityDefaultAllocator<LowLevelAllocator?>(void*)]@http://localhost:810/Development/01pro.js:583145:2
__ZN13MemoryManager10DeallocateEPvRK10MemLabelId [MemoryManager::smile:eallocate(void*, MemLabelId?&)]@http://localhost:810/Development/01pro.js:581095:4
__Z19free_alloc_internalPvRK10MemLabelId [free_alloc_internal(void*, MemLabelId?&)]@http://localhost:810/Development/01pro.js:580507:2
__ZN14SharedMeshDataD2Ev [SharedMeshData?D()]@http://localhost:810/Development/01pro.js:2008165:3
__ZN2UI14CanvasRenderer13SyncVertexPtrENS0_8SyncFlagE [UI::CanvasRenderer::SyncVertexPtr?N()]@http://localhost:810/Development/01pro.js:1192123:5
__ZN2UI14CanvasRenderer17SyncDirtyElementsEv [UI::CanvasRenderer::SyncDirtyElements()]@http://localhost:810/Development/01pro.js:1191604:3
__ZN2UI13CanvasManager20UpdateDirtyRenderersEPNS_6CanvasE [UI::CanvasManager::UpdateDirtyRenderers(UI::Canvas*)]@http://localhost:810/Development/01pro.js:1199709:4
__ZN2UI6Canvas13UpdateBatchesEb [UI::Canvas::UpdateBatches(bool)]@http://localhost:810/Development/01pro.js:1197769:2
__ZZN2UI23InitializeCanvasManagerEvEN18WillRenderCanvases7ForwardEv [undefined?Z()]@http://localhost:810/Development/01pro.js:1707700:3
__Z10PlayerLoopbbP10IHookEvent [PlayerLoop(bool, bool, IHookEvent?*)]@http://localhost:810/Development/01pro.js:808650:4
__ZL8MainLoopv [MainLoop()]@http://localhost:810/Development/01pro.js:1713223:3
dynCall_v@http://localhost:810/Development/01pro.js:3784317:3
Runtime.dynCall@http://localhost:810/Development/01pro.js:322:14
Browser_mainLoop_runner/<@http://localhost:810/Development/01pro.js:9420:13
Browser.mainLoop.runIter@http://localhost:810/Development/01pro.js:11276:13
Browser_mainLoop_runner@http://localhost:810/Development/01pro.js:9416:9

It is indeed different. Is it 100% reproducible ? Any chance you could submit a bug report with a project to look at ?

@Marco-Trivellato
Thank you for your reply.
I have two new points.

  1. The Abort(120) doesn’t happen in the development build no matter how hard I try
  2. The "ZN13MemoryManager12LowLevelFreeEPvj " error don’t seem to occur in the release build of the same project.

The project is big, but I will try to submit a bug report as I need to start publishing my work.

These two errors are most likely identical. The difference is that a development build will give you more information on the error, so instead of saying abort 120, it will give you a full stack trace instead.

1 Like

@jonas-echterhoff_1
Hi,
I am getting the below error in development build made by unity 5.5.0f2.
Uncaught abort() at Error
at jsStackTrace (blob:http://52.57.53.74/cd1c28bd-9410-44e9-a7eb-9d4579af0589:859:12)
at stackTrace (blob:http://52.57.53.74/cd1c28bd-9410-44e9-a7eb-9d4579af0589:873:11)
at Object.abort (blob:http://52.57.53.74/cd1c28bd-9410-44e9-a7eb-9d4579af0589:19543:43)
at _abort (blob:http://52.57.53.74/cd1c28bd-9410-44e9-a7eb-9d4579af0589:8345:17)
at _free (blob:http://52.57.53.74/5404ea30-f9fb-4dab-acdf-5bd33baac6d3:1209525:60)
at __ZN13MemoryManager12LowLevelFreeEPvj [MemoryManager::LowLevelFree(void*, unsigned int)] (blob:http://52.57.53.74/5404ea30-f9fb-4dab-acdf-5bd33baac6d3:4195647:14)
at __ZN17LowLevelAllocator4FreeEPvj [LowLevelAllocator::Free(void*, unsigned int)] (blob:http://52.57.53.74/5404ea30-f9fb-4dab-acdf-5bd33baac6d3:4188534:2)
at Array.__ZN21UnityDefaultAllocatorI17LowLevelAllocatorE10DeallocateEPv [UnityDefaultAllocator::smile:eallocate(void*)] (blob:http://52.57.53.74/5404ea30-f9fb-4dab-acdf-5bd33baac6d3:3870469:2)
at __ZN13MemoryManager10DeallocateEPvRK10MemLabelId [MemoryManager::smile:eallocate(void*, MemLabelId const&)] (blob:http://52.57.53.74/5404ea30-f9fb-4dab-acdf-5bd33baac6d3:3064078:70)
at __Z19free_alloc_internalPvRK10MemLabelId [free_alloc_internal(void*, MemLabelId const&)] (blob:http://52.57.53.74/5404ea30-f9fb-4dab-acdf-5bd33baac6d3:4062380:2)
at Array.__ZN14SharedMeshDataD2Ev [SharedMeshData::~SharedMeshData()] (blob:http://52.57.53.74/5404ea30-f9fb-4dab-acdf-5bd33baac6d3:3131076:3)
at __ZN2UI14CanvasRenderer13SyncVertexPtrER8JobFenceNS0_8SyncFlagE [UI::CanvasRenderer::SyncVertexPtr(JobFence&, UI::CanvasRenderer::SyncFlag)] (blob:http://52.57.53.74/5404ea30-f9fb-4dab-acdf-5bd33baac6d3:2229060:59)
at __ZN2UI14CanvasRenderer17SyncDirtyElementsER8JobFence [UI::CanvasRenderer::SyncDirtyElements(JobFence&)] (blob:http://52.57.53.74/5404ea30-f9fb-4dab-acdf-5bd33baac6d3:2025348:3)
at __ZN2UI13CanvasManager20UpdateDirtyRenderersER8JobFencePNS_6CanvasE [UI::CanvasManager::UpdateDirtyRenderers(JobFence&, UI::Canvas*)] (blob:http://52.57.53.74/5404ea30-f9fb-4dab-acdf-5bd33baac6d3:2650408:4)
at __ZN2UI6Canvas13UpdateBatchesEb [UI::Canvas::UpdateBatches(bool)] (blob:http://52.57.53.74/5404ea30-f9fb-4dab-acdf-5bd33baac6d3:2639088:2)
at Array.__ZZN2UI23InitializeCanvasManagerEvEN32UIEventsWillRenderCanvasesstruct7ForwardEv [UI::InitializeCanvasManager()::UIEventsWillRenderCanvasesstruct::Forward()] (blob:http://52.57.53.74/5404ea30-f9fb-4dab-acdf-5bd33baac6d3:3672561:3)
at Array.__ZZ23InitPlayerLoopCallbacksvEN40PostLateUpdatePlayerUpdateCanvasesstruct7ForwardEv [InitPlayerLoopCallbacks()::postLateUpdatePlayerUpdateCanvasesstruct::Forward()] (blob:http://52.57.53.74/5404ea30-f9fb-4dab-acdf-5bd33baac6d3:4130491:28)
at __Z10PlayerLoopv [PlayerLoop()] (blob:http://52.57.53.74/5404ea30-f9fb-4dab-acdf-5bd33baac6d3:1499503:40)
at Array.__ZL8MainLoopv [MainLoop()] (blob:http://52.57.53.74/5404ea30-f9fb-4dab-acdf-5bd33baac6d3:3115053:3)
at dynCall_v (blob:http://52.57.53.74/5404ea30-f9fb-4dab-acdf-5bd33baac6d3:4208088:28)
at Object.dynCall (blob:http://52.57.53.74/cd1c28bd-9410-44e9-a7eb-9d4579af0589:299:36)
at browserIterationFunc (blob:http://52.57.53.74/cd1c28bd-9410-44e9-a7eb-9d4579af0589:1979:12)
at Object.runIter (blob:http://52.57.53.74/cd1c28bd-9410-44e9-a7eb-9d4579af0589:2081:5)
at Browser_mainLoop_runner (blob:http://52.57.53.74/cd1c28bd-9410-44e9-a7eb-9d4579af0589:2017:20)

I don’t think I have seen this one before. Could you please submit a bug report with a repro project?

@Marco-Trivellato
Thanks for the reply.
I have submitted the bug report (856634). I can not submit the project because of confidentiality.