Search Unity

Uncaught abort() at Error - only in Chrome 42

Discussion in 'Web' started by btc_leigh, Apr 16, 2015.

Thread Status:
Not open for further replies.
  1. btc_leigh

    btc_leigh

    Joined:
    Oct 1, 2013
    Posts:
    2
    Having some trouble with a WebGL game that runs fine in Firefox 37, and was working in Chrome 41. In Chrome 42 with a development build and explicit exceptions allowed (no stripping) an alert is brought up early on with an Uncaught abort() message. Logs from around that time show:

    There's also a slightly different trace when running with Enable Exceptions: None

    Has anyone else come across this issue, or have any ideas I could pursue to track down the cause?
     
  2. Schubkraft

    Schubkraft

    Unity Technologies

    Joined:
    Dec 3, 2012
    Posts:
    1,073
    Hey btc,

    we are aware of issues with the new Chrome 42 and our WebGL export. We currently have no solution to the issue atm but hope to get this sorted out soon.
    Can you send in a report with your project or minimal repro attached? The more info we can get the better.
    And ping me the case number here.
     
  3. ProtonOne

    ProtonOne

    Joined:
    Mar 8, 2008
    Posts:
    406
    We're noticing a WebGL Chrome 42 issue as well with Time Clickers.

    It is also re-producible on the Angry Bots demo if you use Chrome 42 on Mac. Some players have also reported the exception being thrown on Windows, but we can't reproduce that.
     
    wenderRondonia likes this.
  4. Schubkraft

    Schubkraft

    Unity Technologies

    Joined:
    Dec 3, 2012
    Posts:
    1,073
    It seems like it is not just Unity WebGL content that is having troubles but generally bigger JS projects.
    We are in contact with Google and can hopefully resolve this soonish.
     
  5. PieterAlbers

    PieterAlbers

    Joined:
    Dec 2, 2014
    Posts:
    248
    Has something changed already?

    I ran into this issue yesterday, but I can't reproduce it anymore. Neither can my colleague.

    No chrome updates and no rebuilds of the WebGL build. I have no idea what is different.
     
  6. Schubkraft

    Schubkraft

    Unity Technologies

    Joined:
    Dec 3, 2012
    Posts:
    1,073
    We are still encountering the same issues and nothing got changed from our end. It is a bit of a random issue though. Maybe you got lucky.
     
  7. paul_eremin

    paul_eremin

    Joined:
    Apr 17, 2015
    Posts:
    2
    I have same issue. Version for IOS and Android is fine. but WebGL version has same error.
     
  8. jonas-echterhoff

    jonas-echterhoff

    Unity Technologies

    Joined:
    Aug 18, 2005
    Posts:
    1,666
    Apparently Google had an issue in their JavaScript engine slip into the release. They said they have a fix, and plan to ship that next Tuesday.
     
  9. Simon_says

    Simon_says

    Joined:
    Oct 19, 2013
    Posts:
    141
    Glad to hear this, I am also encountering this issue and it's frustrating that I can't publish a new build because of this. At least it's not a Unity's issue, which is good.
     
  10. TRsiew

    TRsiew

    Joined:
    Jul 5, 2013
    Posts:
    13
    i have same issue too . is it fix already ?
     
  11. Marco-Trivellato

    Marco-Trivellato

    Unity Technologies

    Joined:
    Jul 9, 2013
    Posts:
    1,654
    Could you please post the callstack from a Development Build ?
     
  12. zullo91

    zullo91

    Joined:
    Nov 1, 2013
    Posts:
    14
    I have a similar issue with Chrome 46.0.2490.71 (64Bit) on a Mac PC.
    But it's not always playable. :/
     

    Attached Files:

    • log.txt
      File size:
      31.9 KB
      Views:
      1,318
  13. jvalencia

    jvalencia

    Joined:
    Oct 23, 2015
    Posts:
    2
    Similar problem here occurs on firefox and chrome
    UnityLoader.js:3386 Invalid function pointer called with signature 'iiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)
    UnityLoader.js:3386 Build with ASSERTIONS=2 for more info.
    UnityLoader.js:3386 warning: a problem occurred in builtin C++ name demangling; build with -s DEMANGLE_SUPPORT=1 to link in libcxxabi demangling
    Invoking error handler due to
    Uncaught abort(153) at Error
    at jsStackTrace (blob:http%3A//localhost%3A49190/7e1262b6-12ca-4e61-a78d-457a091afeaf:1057:12)
    at stackTrace (blob:http%3A//localhost%3A49190/7e1262b6-12ca-4e61-a78d-457a091afeaf:1071:21)
    at abort (blob:http%3A//localhost%3A49190/7e1262b6-12ca-4e61-a78d-457a091afeaf:2372413:43)
    at nullFunc_iiii (blob:http%3A//localhost%3A49190/7e1262b6-12ca-4e61-a78d-457a091afeaf:15359:2)
    at Array.b153 (blob:http%3A//localhost%3A49190/7e1262b6-12ca-4e61-a78d-457a091afeaf:2356318:2)
    at __ZN16VirtFuncInvoker1IbP12Il2CppObjectE6InvokeEjPvS1_ [void undefined<undefined?n?>?o? VirtFuncInvoker1<bool, Il2CppObject?*, undefined?6?>?k()] (blob:http%3A//localhost%3A49190/7e1262b6-12ca-4e61-a78d-457a091afeaf:2168340:50)
    at _SetPropertyUtility_SetClass_TisIl2CppObject_m3678588200_gshared (blob:http%3A//localhost%3A49190/7e1262b6-12ca-4e61-a78d-457a091afeaf:2186904:16)
    at _Image_set_sprite_m1800056820 (blob:http%3A//localhost%3A49190/7e1262b6-12ca-4e61-a78d-457a091afeaf:2201093:6)
    at Array._U3CSetFrameU3Ec__AnonStorey48_U3CU3Em__8D_m2872324153 (blob:http%3A//localhost%3A49190/7e1262b6-12ca-4e61-a78d-457a091afeaf:1402088:3)
    at Array._Action_1_Invoke_m101203496_gshared (blob:http%3A//localhost%3A49190/7e1262b6-12ca-4e61-a78d-457a091afeaf:1804204:34)
     
  14. Marco-Trivellato

    Marco-Trivellato

    Unity Technologies

    Joined:
    Jul 9, 2013
    Posts:
    1,654
    nothing obvious in the callstack.

    Have you tried Unity 5.3.4?
    I am assuming it works fine on other platforms, right ?
    Could you please submit a bug report with a repro project ?
     
  15. Marco-Trivellato

    Marco-Trivellato

    Unity Technologies

    Joined:
    Jul 9, 2013
    Posts:
    1,654
    what do you mean ? That it's not 100% reproducible ?
     
  16. annaniks

    annaniks

    Joined:
    Feb 22, 2015
    Posts:
    2
    I have same issue too . is it fix already ?
     
  17. sreejit_730

    sreejit_730

    Joined:
    Jun 2, 2015
    Posts:
    5
    Hello,

    I am working on a multiplayer game for WebGL platform and i am using (http://lockstep.io/ - SocketIo & node.js server ) for handling the game.

    I am facing these issues as shown in the attached image.

    I have no idea about what these errors state?

    I don't think that the issue is from my coding side as my multiplayer game runs perfectly in standalone builds with more than 4 instances of the standalone build.

    But it does not even open in my WebGL build.


    Does WebGL does not support threading??

    Please guide.
    What are these errors all about?
    Can these issues be solved??
    or
    Do i have to change my whole project implementation?

    Thank you!
     

    Attached Files:

  18. Marco-Trivellato

    Marco-Trivellato

    Unity Technologies

    Joined:
    Jul 9, 2013
    Posts:
    1,654
    yes, you need to modify your project so that it does not create any thread since they are not currently supported, as per manual.
     
  19. shakthi-gs87

    shakthi-gs87

    Joined:
    Aug 5, 2013
    Posts:
    14
    We are randomly getting following error on webgl build while using the firefox. Any insights to share?
     

    Attached Files:

  20. jonas-echterhoff

    jonas-echterhoff

    Unity Technologies

    Joined:
    Aug 18, 2005
    Posts:
    1,666
    This thread is about a crash in Chrome, which has been fixed about a year ago. Please don't use it to post about random other problems.
     
Thread Status:
Not open for further replies.