Skip to content

julia crashed when i was training https://github.com/iamthebesthackerandcoder/AlphaZero.jl #1223

@iamthebestcodeer

Description

@iamthebestcodeer

"name" = "Juliaup launcher"
"operating_system" = "Windows 10.0.26100 (Windows 11 Core) [64-bit]"
"crate_version" = "1.17.13"
"explanation" = '''
Panic occurred in file 'std\src\env.rs' at line 859
'''
"cause" = '''called Result::unwrap() on an Err value: "\ninclude("Types.jl")\ninclude("Moves.jl") \ninclude("Rules.jl")\ninclude("Vectorization.jl")\ninclude("game.jl")\n\nprintln("Testing checkers implementation after forty-move rule removal...")\n\n# Initialize a game\nspec = CheckersSpec()\nenv = GI.init(spec)\n\n# Test 1: High halfmove_clock should not cause game over\nenv.halfmove_clock = 150\nif is_game_over(env)\n println("❌ FAIL: Game should not be over with high halfmove_clock")\n exit(1)\nelse\n println("✓ PASS: Game continues with halfmove_clock = $(env.halfmove_clock)")\nend\n\n# Test 2: Threefold repetition should still work\ninitial_hash = hash((env.board, env.side_to_move))\n\n println("❌ FAIL: Threefold repetition should be detected")\n exit(1)\nelse\n println("✓ PASS: Threefold repetition correctly detected")\nend\n\n println("❌ FAIL: Game should be over due to threefold repetition")\n exit(1)\nelse\n println("✓ PASS: Game correctly ends on threefold repetition")\nend\n\n# Test 3: Check that determine_winner returns draw for threefold repetition\noutcome = determine_winner(env)\nif outcome != Int8(0)\n println("❌ FAIL: Expected draw (0), got $outcome")\n exit(1)\nelse\n println("✓ PASS: Threefold repetition correctly results in draw")\nend\n\nprintln("\n\u{df89} All tests passed! Forty-move rule successfully removed.")\nprintln(" - Halfmove clock is still tracked but doesn't cause draws")\nprintln(" - Threefold repetition draw rule still works correctly")\n"'''
"method" = "Panic"
"backtrace" = """
0: 0x7ff76f60694c -
1: 0x7ff76f62620d -
2: 0x7ff76f5b1038 -
3: 0x7ff76f710722 -
4: 0x7ff76f71033a -
5: 0x7ff76f71028f -
6: 0x7ff76f71027e -
7: 0x7ff76f724241 -
8: 0x7ff76f7245a0 -
9: 0x7ff76f6fc8f7 -
10: 0x7ff76f5c219f -
11: 0x7ff76f5cd861 -
12: 0x7ff76f5b2b96 -
13: 0x7ff76f5cee7a -
14: 0x7ff76f72235c -
15: 0x7ff8af85e8d7 - BaseThreadInitThunk
16: 0x7ff8b15bc34c - RtlUserThreadStart
"""

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions