Skip to content

[wasm][aot] Uncaught errors in System.Runtime.Tests #74302

Closed

Description

@radical

Build, and log:

info: Discovering: System.Runtime.Tests.dll (method display = ClassAndMethod, method display options = None)
info: Discovered:  System.Runtime.Tests.dll (found 8909 of 9059 test cases)
info: Using random seed for test cases: 867690635
info: Using random seed for collections: 867690635
info: Starting:    System.Runtime.Tests.dll
fail: 143503392
fail: 143503392
fail: 143503392
fail: 143503392
info: WASM EXIT 1
info: Waiting to flush log messages with a timeout of 120 secs ..
fail: Application has finished with exit code TESTS_FAILED but 0 was expected
fail: [out of order message from the browser]: http://127.0.0.1:49190/test-main.js 342:0 Uncaught (in promise)
fail: [out of order message from the browser]: http://127.0.0.1:49190/dotnet.js 1882:6 Uncaught
XHarness exit code: 71 (GENERAL_FAILURE)

This is when building [wasm] Unwrap exception when calling entrypoint (#74235) on main.
/cc @maraf @pavelsavara

Activity

  1. ghost added
    untriagedNew issue has not been triaged by the area owner
    on Aug 20, 2022
  2. removed
    untriagedNew issue has not been triaged by the area owner
    on Aug 22, 2022
  3. added this to the 8.0.0 milestone on Aug 22, 2022
  4. self-assigned this
    on Aug 22, 2022
  5. pavelsavara commented on Aug 29, 2022

    @pavelsavara
    Member

    This seems that there is throw 143503392 which is probably pointer ? Do we know what could throw like this ?

  6. pavelsavara commented on Aug 29, 2022

    @pavelsavara
    Member

    Could this be

    function ___cxa_throw(ptr, type, destructor) {
          ...
          throw ptr;
    
  7. pavelsavara commented on Aug 29, 2022

    @pavelsavara
    Member

    @vargaz do you have any ideas ? Thanks!

  8. removed their assignment
    on Sep 1, 2022
  9. carlossanlop commented on Sep 2, 2022

    @carlossanlop
    Contributor

    @pavelsavara @radical @vargaz I am seeing this failure in this 7.0 backport PR: #74971

    Can you please determine if this is something that needs a fix to get backported to 7.0?

    From console.f9376408.log in the artifacts:

    [02:06:01] info: Starting:    System.Runtime.Tests.dll
    [02:06:57] info: /datadisks/disk1/work/BAC30A50/w/AD8509D5/e/wasm_build/AppBundle/dotnet.js:1883: 138656096
    [02:06:57] info:       throw ptr;
    

    The wasm-console.log file in the artifacts seems to tell that the execution suddenly crashed (I would've expected a summary at the end, not an abrupt stop):

    [PASS] System.Tests.RealFormatterTests.TestFormatterDouble_P20(value: 65747.125, expectedResult: "6,574,712.50000000000000000000 %")
    [PASS] System.Tests.RealFormatterTests.TestFormatterDouble_P20(value: 1844674407370955.2, expectedResult: "184,467,440,737,095,525.00000000000000000000 %")
    /datadisks/disk1/work/BAC30A50/w/AD8509D5/e/wasm_build/AppBundle/dotnet.js:1883: 138656096
          throw ptr;
          ^
    
  10. 18 remaining items

  11. added a commit that references this issue on Oct 27, 2022
  12. vargaz commented on Nov 11, 2022

    @vargaz
    Contributor

    Does this still happen ?

  13. vargaz commented on Nov 17, 2022

    @vargaz
    Contributor

    -> Fixed

  14. ghost locked as resolved and limited conversation to collaborators on Dec 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions