Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test_blake3_hash test is failing on the VM from the next branch #352

Open
greenhat opened this issue Oct 30, 2024 · 0 comments
Open

test_blake3_hash test is failing on the VM from the next branch #352

greenhat opened this issue Oct 30, 2024 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@greenhat
Copy link
Contributor

greenhat commented Oct 30, 2024

It appears that u32assert at

is blowing up.

It is reproducible in #349 branch.

Trace:

[tests/integration/src/rust_masm_tests/abi_transform/stdlib.rs:51:9] &ibytes = [
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
]
[tests/integration/src/rust_masm_tests/abi_transform/stdlib.rs:51:9] &frame = [
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    2,
    86016,
]
[tests/integration/src/rust_masm_tests/abi_transform/stdlib.rs:51:9] rs_out = [
    42,
    218,
    131,
    193,
    129,
    154,
    83,
    114,
    218,
    225,
    35,
    143,
    193,
    222,
    209,
    35,
    200,
    16,
    79,
    218,
    161,
    88,
    98,
    170,
    238,
    105,
    66,
    138,
    24,
    32,
    252,
    218,
]

Stack Trace:
 |-> #exec::#main in <unavailable>
 `-> entrypoint in <unavailable>:

Last 5 Instructions (of current frame):
 |   dup0
 |   dup4
 |   push(28)
 |   add
 |   pad
 `-> <error occured here>


Last 5 Instructions (any frame):
 |   dup0
 |   dup4
 |   push(28)
 |   add
 |   pad
 `-> <error occured here>


Last Known State (at most recent instruction which succeeded):
 | Frame Pointer: 1073741824 (starts at 2^30)
 | Operand Stack: [0, 11671305615285950913, 1048544, 1048544, 1048576, 15253023094703789604, 11671305615285950885, 8635338869442206704, 14327958870441829769, 4492299921045254967, 17467091117607601070, 5096858464874356363, 86018, 1310720, 1376256, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
 
Error:   x Main thread panicked.
  |-> at tests/integration/src/rust_masm_tests/abi_transform/stdlib.rs:65:26
  `->   × program execution failed at step 372 (cycle 371): An operation
      expected a u32 value, but received 11671305615285950913 (error code: 0)
      
  help: set the `RUST_BACKTRACE=1` environment variable to display a
        backtrace.

proptest: FileFailurePersistence::SourceParallel set, but no source file known
Error:   x Main thread panicked.
  |-> at tests/integration/src/rust_masm_tests/abi_transform/stdlib.rs:80:13
  `-> Found minimal(shrinked) failing case: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
      0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
  help: set the `RUST_BACKTRACE=1` environment variable to display a
        backtrace.
@greenhat greenhat added the bug Something isn't working label Oct 30, 2024
@greenhat greenhat added this to the Beta 1 milestone Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant