Search Unity

WebGL build - Abort(120) on scene change

Discussion in 'Web' started by peterworth, Sep 28, 2015.

  1. peterworth

    peterworth

    Joined:
    Mar 4, 2014
    Posts:
    7
    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...

    Code (csharp):
    1.  
    2. [Log] Invoking error handler due to (UnityConfig.js, line 76)
    3.  
    4. abort(120) at jsStackTrace@http://localhost:57023/Release/WebBuild.js:1179:22
    5.  
    6. stackTrace@http://localhost:57023/Release/WebBuild.js:1196:34
    7.  
    8. abort@http://localhost:57023/Release/WebBuild.js:4541729:54
    9.  
    10. b120@http://localhost:57023/Release/WebBuild.js:4537194:26
    11.  
    12. __ZN6il2cpp2vm8Liveness5BeginEP8TypeInfoiPFvPPviS4_ES4_PFvvES9_ [il2cpp::vm::Liveness::Begin?S(int*, undefined?F?*, void, void**, int)]@http://localhost:57023/Release/WebBuild.js:83094:45
    13.  
    14. _il2cpp_unity_liveness_calculation_begin@http://localhost:57023/Release/WebBuild.js:32517:71
    15.  
    16. __Z36scripting_liveness_calculation_beginP14ScriptingClassiPFvPPviS1_ES1_ [scripting_liveness_calculation_begin?S(int*, undefined?F?*, void, void**, int)]@http://localhost:57023/Release/WebBuild.js:1330206:48
    17.  
    18. __Z26GarbageCollectSharedAssetsb [GarbageCollectSharedAssets(bool)]@http://localhost:57023/Release/WebBuild.js:1540376:84
    19.  
    20. __ZN27UnloadUnusedAssetsOperation19IntegrateMainThreadEv [UnloadUnusedAssetsOperation::IntegrateMainThread()]@http://localhost:57023/Release/WebBuild.js:1549028:34
    21.  
    22. __ZN14PreloadManager26UpdatePreloadingSingleStepENS_21UpdatePreloadingFlagsE [PreloadManager::UpdatePreloadingSingleStep?N()]@http://localhost:57023/Release/WebBuild.js:1547466:31
    23.  
    24. __ZN14PreloadManager16UpdatePreloadingEv [PreloadManager::UpdatePreloading()]@http://localhost:57023/Release/WebBuild.js:1547569:79
    25.  
    26. __Z10PlayerLoopbbP10IHookEvent [PlayerLoop(bool, bool, IHookEvent?*)]@http://localhost:57023/Release/WebBuild.js:1546171:43
    27.  
    28. __ZL8mainloopv [mainloop()]@http://localhost:57023/Release/WebBuild.js:2631114:32
    29.  
    30. dynCall_v@http://localhost:57023/Release/WebBuild.js:4536446:30
    31.  
    32. dynCall@http://localhost:57023/Release/WebBuild.js:290:43
    33.  
    34. http://localhost:57023/Release/WebBuild.js:9147:28
    35.  
    36. runIter@http://localhost:57023/Release/WebBuild.js:10688:17
    37.  
    38. Browser_mainLoop_runner@http://localhost:57023/Release/WebBuild.js:9143:33
    39.  
    40. If this abort() is unexpected, build with -s ASSERTIONS=1 which can give more information.
    41.  
    42. [Error] abort(120) at jsStackTrace@http://localhost:57023/Release/WebBuild.js:1179:22
    43.  
    44. stackTrace@http://localhost:57023/Release/WebBuild.js:1196:34
    45.  
    46. abort@http://localhost:57023/Release/WebBuild.js:4541729:54
    47.  
    48. b120@http://localhost:57023/Release/WebBuild.js:4537194:26
    49.  
    50. __ZN6il2cpp2vm8Liveness5BeginEP8TypeInfoiPFvPPviS4_ES4_PFvvES9_ [il2cpp::vm::Liveness::Begin?S(int*, undefined?F?*, void, void**, int)]@http://localhost:57023/Release/WebBuild.js:83094:45
    51.  
    52. _il2cpp_unity_liveness_calculation_begin@http://localhost:57023/Release/WebBuild.js:32517:71
    53.  
    54. __Z36scripting_liveness_calculation_beginP14ScriptingClassiPFvPPviS1_ES1_ [scripting_liveness_calculation_begin?S(int*, undefined?F?*, void, void**, int)]@http://localhost:57023/Release/WebBuild.js:1330206:48
    55.  
    56. __Z26GarbageCollectSharedAssetsb [GarbageCollectSharedAssets(bool)]@http://localhost:57023/Release/WebBuild.js:1540376:84
    57.  
    58. __ZN27UnloadUnusedAssetsOperation19IntegrateMainThreadEv [UnloadUnusedAssetsOperation::IntegrateMainThread()]@http://localhost:57023/Release/WebBuild.js:1549028:34
    59.  
    60. __ZN14PreloadManager26UpdatePreloadingSingleStepENS_21UpdatePreloadingFlagsE [PreloadManager::UpdatePreloadingSingleStep?N()]@http://localhost:57023/Release/WebBuild.js:1547466:31
    61.  
    62. __ZN14PreloadManager16UpdatePreloadingEv [PreloadManager::UpdatePreloading()]@http://localhost:57023/Release/WebBuild.js:1547569:79
    63.  
    64. __Z10PlayerLoopbbP10IHookEvent [PlayerLoop(bool, bool, IHookEvent?*)]@http://localhost:57023/Release/WebBuild.js:1546171:43
    65.  
    66. __ZL8mainloopv [mainloop()]@http://localhost:57023/Release/WebBuild.js:2631114:32
    67.  
    68. dynCall_v@http://localhost:57023/Release/WebBuild.js:4536446:30
    69.  
    70. dynCall@http://localhost:57023/Release/WebBuild.js:290:43
    71.  
    72. http://localhost:57023/Release/WebBuild.js:9147:28
    73.  
    74. runIter@http://localhost:57023/Release/WebBuild.js:10688:17
    75.  
    76. Browser_mainLoop_runner@http://localhost:57023/Release/WebBuild.js:9143:33
    77.  
    78. If this abort() is unexpected, build with -s ASSERTIONS=1 which can give more information.
    79.  
    80.     runIter (WebBuild.js, line 10694)
    81.  
    82.     Browser_mainLoop_runner (WebBuild.js, line 9143)
    83.  
    84.  
     
  2. jonas-echterhoff

    jonas-echterhoff

    Unity Technologies

    Joined:
    Aug 18, 2005
    Posts:
    1,666
    This might be an il2cpp errror. Could you file a bug report with a repro case, and post the bug number here?
     
  3. Stranger-Games

    Stranger-Games

    Joined:
    May 10, 2014
    Posts:
    393
    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.

    Code (CSharp):
    1.  01pro.js:1:184476
    2. 120 index_facebook.html:330:9
    3. 120 index_facebook.html:334:7
    4.  
    5. Invoking error handler due to
    6. uncaught exception: abort(120) at jsStackTrace@/Release/01pro.js:1:21890
    7. stackTrace@/Release/01pro.js:1:22073
    8. abort@/Release/01pro.js:48:52896
    9. XIq@/Release/01pro.js:41:66217
    10. _Ua@/Release/01pro.js:25:149962
    11. VUa@/Release/01pro.js:25:146660
    12. uXb@/Release/01pro.js:23:193450
    13. vXb@/Release/01pro.js:23:193805
    14. NWb@/Release/01pro.js:23:164072
    15. ZOb@/Release/01pro.js:26:721095
    16. JWa@/Release/01pro.js:25:184274
    17. ACb@/Release/01pro.js:26:278354
    18. BCb@/Release/01pro.js:26:287832
    19. ZDb@/Release/01pro.js:26:336011
    20. vDb@/Release/01pro.js:26:319632
    21. xDb@/Release/01pro.js:26:320243
    22. mDb@/Release/01pro.js:26:310756
    23. qWd@/Release/01pro.js:19:141965
    24. sCq@/Release/01pro.js:41:37630
    25. Runtime.dynCall@/Release/01pro.js:1:5961
    26. Browser_mainLoop_runner/<@/Release/01pro.js:1:202365
    27. Browser.mainLoop.runIter@/Release/01pro.js:1:240371
    28. Browser_mainLoop_runner@/Release/01pro.js:1:202261
    29.  
    30. If this abort() is unexpected, build with -s ASSERTIONS=1 which can give more information. UnityConfig.js:76:9
    31. uncaught exception: abort(120) at jsStackTrace@/Release/01pro.js:1:21890
    32. stackTrace@/Release/01pro.js:1:22073
    33. abort@/Release/01pro.js:48:52896
    34. XIq@/Release/01pro.js:41:66217
    35. _Ua@/Release/01pro.js:25:149962
    36. VUa@/Release/01pro.js:25:146660
    37. uXb@/Release/01pro.js:23:193450
    38. vXb@/Release/01pro.js:23:193805
    39. NWb@/Release/01pro.js:23:164072
    40. ZOb@/Release/01pro.js:26:721095
    41. JWa@/Release/01pro.js:25:184274
    42. ACb@/Release/01pro.js:26:278354
    43. BCb@/Release/01pro.js:26:287832
    44. ZDb@/Release/01pro.js:26:336011
    45. vDb@/Release/01pro.js:26:319632
    46. xDb@/Release/01pro.js:26:320243
    47. mDb@/Release/01pro.js:26:310756
    48. qWd@/Release/01pro.js:19:141965
    49. sCq@/Release/01pro.js:41:37630
    50. Runtime.dynCall@/Release/01pro.js:1:5961
    51. Browser_mainLoop_runner/<@/Release/01pro.js:1:202365
    52. Browser.mainLoop.runIter@/Release/01pro.js:1:240371
    53. Browser_mainLoop_runner@/Release/01pro.js:1:202261
    54.  
    55. If this abort() is unexpected, build with -s ASSERTIONS=1 which can give more information
    Any progress on the issue?
     
  4. Marco-Trivellato

    Marco-Trivellato

    Unity Technologies

    Joined:
    Jul 9, 2013
    Posts:
    1,654
    could you post the stacktrace from a Development build ?
     
  5. Stranger-Games

    Stranger-Games

    Joined:
    May 10, 2014
    Posts:
    393
    @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.

    Code (CSharp):
    1. warning: a problem occurred in builtin C++ name demangling; build with  -s DEMANGLE_SUPPORT=1  to link in libcxxabi demangling index2.html:220:7
    2.  
    3. Invoking error handler due to
    4. uncaught exception: abort() at jsStackTrace@http://localhost:810/Development/01pro.js:1205:13
    5. stackTrace@http://localhost:810/Development/01pro.js:1222:22
    6. abort@http://localhost:810/Development/01pro.js:3790079:44
    7. _abort@http://localhost:810/Development/01pro.js:8473:7
    8. _free@http://localhost:810/Development/01pro.js:3747114:3
    9. __ZN13MemoryManager12LowLevelFreeEPvj [MemoryManager::LowLevelFree(void*, unsigned int)]@http://localhost:810/Development/01pro.js:581419:3
    10. __ZN17LowLevelAllocator4FreeEPvj [LowLevelAllocator::Free(void*, unsigned int)]@http://localhost:810/Development/01pro.js:584779:2
    11. __ZN21UnityDefaultAllocatorI17LowLevelAllocatorE10DeallocateEPv [Deallocate? UnityDefaultAllocator<LowLevelAllocator?>(void*)]@http://localhost:810/Development/01pro.js:583145:2
    12. __ZN13MemoryManager10DeallocateEPvRK10MemLabelId [MemoryManager::Deallocate(void*, MemLabelId?&)]@http://localhost:810/Development/01pro.js:581095:4
    13. __Z19free_alloc_internalPvRK10MemLabelId [free_alloc_internal(void*, MemLabelId?&)]@http://localhost:810/Development/01pro.js:580507:2
    14. __ZN14SharedMeshDataD2Ev [SharedMeshData?D()]@http://localhost:810/Development/01pro.js:2008165:3
    15. __ZN2UI14CanvasRenderer13SyncVertexPtrENS0_8SyncFlagE [UI::CanvasRenderer::SyncVertexPtr?N()]@http://localhost:810/Development/01pro.js:1192123:5
    16. __ZN2UI14CanvasRenderer17SyncDirtyElementsEv [UI::CanvasRenderer::SyncDirtyElements()]@http://localhost:810/Development/01pro.js:1191604:3
    17. __ZN2UI13CanvasManager20UpdateDirtyRenderersEPNS_6CanvasE [UI::CanvasManager::UpdateDirtyRenderers(UI::Canvas*)]@http://localhost:810/Development/01pro.js:1199709:4
    18. __ZN2UI6Canvas13UpdateBatchesEb [UI::Canvas::UpdateBatches(bool)]@http://localhost:810/Development/01pro.js:1197769:2
    19. __ZZN2UI23InitializeCanvasManagerEvEN18WillRenderCanvases7ForwardEv [undefined?Z()]@http://localhost:810/Development/01pro.js:1707700:3
    20. __Z10PlayerLoopbbP10IHookEvent [PlayerLoop(bool, bool, IHookEvent?*)]@http://localhost:810/Development/01pro.js:808650:4
    21. __ZL8MainLoopv [MainLoop()]@http://localhost:810/Development/01pro.js:1713223:3
    22. dynCall_v@http://localhost:810/Development/01pro.js:3784317:3
    23. Runtime.dynCall@http://localhost:810/Development/01pro.js:322:14
    24. Browser_mainLoop_runner/<@http://localhost:810/Development/01pro.js:9420:13
    25. Browser.mainLoop.runIter@http://localhost:810/Development/01pro.js:11276:13
    26. Browser_mainLoop_runner@http://localhost:810/Development/01pro.js:9416:9
    27. UnityConfig.js:76:9
    28. uncaught exception: abort() at jsStackTrace@http://localhost:810/Development/01pro.js:1205:13
    29. stackTrace@http://localhost:810/Development/01pro.js:1222:22
    30. abort@http://localhost:810/Development/01pro.js:3790079:44
    31. _abort@http://localhost:810/Development/01pro.js:8473:7
    32. _free@http://localhost:810/Development/01pro.js:3747114:3
    33. __ZN13MemoryManager12LowLevelFreeEPvj [MemoryManager::LowLevelFree(void*, unsigned int)]@http://localhost:810/Development/01pro.js:581419:3
    34. __ZN17LowLevelAllocator4FreeEPvj [LowLevelAllocator::Free(void*, unsigned int)]@http://localhost:810/Development/01pro.js:584779:2
    35. __ZN21UnityDefaultAllocatorI17LowLevelAllocatorE10DeallocateEPv [Deallocate? UnityDefaultAllocator<LowLevelAllocator?>(void*)]@http://localhost:810/Development/01pro.js:583145:2
    36. __ZN13MemoryManager10DeallocateEPvRK10MemLabelId [MemoryManager::Deallocate(void*, MemLabelId?&)]@http://localhost:810/Development/01pro.js:581095:4
    37. __Z19free_alloc_internalPvRK10MemLabelId [free_alloc_internal(void*, MemLabelId?&)]@http://localhost:810/Development/01pro.js:580507:2
    38. __ZN14SharedMeshDataD2Ev [SharedMeshData?D()]@http://localhost:810/Development/01pro.js:2008165:3
    39. __ZN2UI14CanvasRenderer13SyncVertexPtrENS0_8SyncFlagE [UI::CanvasRenderer::SyncVertexPtr?N()]@http://localhost:810/Development/01pro.js:1192123:5
    40. __ZN2UI14CanvasRenderer17SyncDirtyElementsEv [UI::CanvasRenderer::SyncDirtyElements()]@http://localhost:810/Development/01pro.js:1191604:3
    41. __ZN2UI13CanvasManager20UpdateDirtyRenderersEPNS_6CanvasE [UI::CanvasManager::UpdateDirtyRenderers(UI::Canvas*)]@http://localhost:810/Development/01pro.js:1199709:4
    42. __ZN2UI6Canvas13UpdateBatchesEb [UI::Canvas::UpdateBatches(bool)]@http://localhost:810/Development/01pro.js:1197769:2
    43. __ZZN2UI23InitializeCanvasManagerEvEN18WillRenderCanvases7ForwardEv [undefined?Z()]@http://localhost:810/Development/01pro.js:1707700:3
    44. __Z10PlayerLoopbbP10IHookEvent [PlayerLoop(bool, bool, IHookEvent?*)]@http://localhost:810/Development/01pro.js:808650:4
    45. __ZL8MainLoopv [MainLoop()]@http://localhost:810/Development/01pro.js:1713223:3
    46. dynCall_v@http://localhost:810/Development/01pro.js:3784317:3
    47. Runtime.dynCall@http://localhost:810/Development/01pro.js:322:14
    48. Browser_mainLoop_runner/<@http://localhost:810/Development/01pro.js:9420:13
    49. Browser.mainLoop.runIter@http://localhost:810/Development/01pro.js:11276:13
    50. Browser_mainLoop_runner@http://localhost:810/Development/01pro.js:9416:9
     
  6. Marco-Trivellato

    Marco-Trivellato

    Unity Technologies

    Joined:
    Jul 9, 2013
    Posts:
    1,654
    It is indeed different. Is it 100% reproducible ? Any chance you could submit a bug report with a project to look at ?
     
  7. Stranger-Games

    Stranger-Games

    Joined:
    May 10, 2014
    Posts:
    393
    @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.
     
  8. jonas-echterhoff

    jonas-echterhoff

    Unity Technologies

    Joined:
    Aug 18, 2005
    Posts:
    1,666
    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.
     
    Stranger-Games likes this.
  9. dharmendra597

    dharmendra597

    Joined:
    May 10, 2016
    Posts:
    4
    @jonas-echterhoff
    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<LowLevelAllocator>::Deallocate(void*)] (blob:http://52.57.53.74/5404ea30-f9fb-4dab-acdf-5bd33baac6d3:3870469:2)
    at __ZN13MemoryManager10DeallocateEPvRK10MemLabelId [MemoryManager::Deallocate(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)
     
    Last edited: Nov 30, 2016
  10. Marco-Trivellato

    Marco-Trivellato

    Unity Technologies

    Joined:
    Jul 9, 2013
    Posts:
    1,654
    I don't think I have seen this one before. Could you please submit a bug report with a repro project?
     
  11. dharmendra597

    dharmendra597

    Joined:
    May 10, 2016
    Posts:
    4
    @Marco-Trivellato
    Thanks for the reply.
    I have submitted the bug report (856634). I can not submit the project because of confidentiality.