thomas-maeder/popeye

Bug: reading outside of zzzan (1)

JoshuaGreen opened this issue · 0 comments

When Popeye is tested on BEISPIEL/pieces.inp, UndefinedBehaviorSanitizer issues the following complaint:

pieces/walks/edgehog.c:43:28: runtime error: index 199 out of bounds for type 'SquareFlags[176]'
    #0 0x563275b71207 in edgehog_check /home/joshua/clean/popeye/pieces/walks/edgehog.c:43:28
    #1 0x563275b29178 in is_square_observed_ortho /home/joshua/clean/popeye/optimisations/orthodox_square_observation.c:185:13
    #2 0x563275a53dac in dispatch /home/joshua/clean/popeye/solving/machinery/dispatch.c:2472:28
    #3 0x563275b3ed22 in is_square_observed_nested /home/joshua/clean/popeye/solving/observation.c:724:3
    #4 0x563275b497ef in fork_is_square_observed_nested_delegate /home/joshua/clean/popeye/solving/fork.c:50:12
    #5 0x563275b3ec5f in is_square_observed /home/joshua/clean/popeye/solving/observation.c:676:10
    #6 0x563275b3f7c3 in king_square_observation_tester_is_in_check /home/joshua/clean/popeye/solving/check.c:145:12
    #7 0x563275b3f7c3 in is_in_check_recursive /home/joshua/clean/popeye/solving/check.c:239:16
    #8 0x563275b4962f in pipe_is_in_check_recursive_delegate /home/joshua/clean/popeye/solving/pipe.c:181:12
    #9 0x563275b3f6cd in king_square_observation_tester_ply_initialiser_is_in_check /home/joshua/clean/popeye/solving/check.c:83:12
    #10 0x563275b3f6cd in is_in_check_recursive /home/joshua/clean/popeye/solving/check.c:223:16
    #11 0x563275b4993f in fork_is_in_check_recursive_delegate /home/joshua/clean/popeye/solving/fork.c:107:12
    #12 0x563275b40193 in is_in_check /home/joshua/clean/popeye/solving/check.c:292:10
    #13 0x563275b3b3d3 in selfcheck_guard_solve /home/joshua/clean/popeye/solving/selfcheck_guard.c:58:7
    #14 0x563275a5227a in dispatch /home/joshua/clean/popeye/solving/machinery/dispatch.c:908:7
    #15 0x563275b493f8 in pipe_solve_delegate /home/joshua/clean/popeye/solving/pipe.c:93:3
    #16 0x563275b44144 in help_move_played_solve /home/joshua/clean/popeye/solving/move_played.c:90:3
    #17 0x563275a52511 in dispatch /home/joshua/clean/popeye/solving/machinery/dispatch.c:1490:7
    #18 0x563275b493f8 in pipe_solve_delegate /home/joshua/clean/popeye/solving/pipe.c:93:3
    #19 0x563275b38925 in castling_rights_adjuster_solve /home/joshua/clean/popeye/solving/castling.c:435:3
    #20 0x563275a53435 in dispatch /home/joshua/clean/popeye/solving/machinery/dispatch.c:1647:7
    #21 0x563275b493f8 in pipe_solve_delegate /home/joshua/clean/popeye/solving/pipe.c:93:3
    #22 0x563275c3daa1 in king_square_updater_solve /home/joshua/clean/popeye/position/effects/king_square.c:204:5
    #23 0x563275a52593 in dispatch /home/joshua/clean/popeye/solving/machinery/dispatch.c:2042:7
    #24 0x563275b493f8 in pipe_solve_delegate /home/joshua/clean/popeye/solving/pipe.c:93:3
    #25 0x563275b8a2f9 in en_passant_adjuster_solve /home/joshua/clean/popeye/pieces/walks/pawns/en_passant.c:468:3
    #26 0x563275a524d0 in dispatch /home/joshua/clean/popeye/solving/machinery/dispatch.c:732:7
    #27 0x563275b493f8 in pipe_solve_delegate /home/joshua/clean/popeye/solving/pipe.c:93:3
    #28 0x563275b87f98 in pawn_promoter_solve /home/joshua/clean/popeye/pieces/walks/pawns/promotion.c:309:5
    #29 0x563275a524dd in dispatch /home/joshua/clean/popeye/solving/machinery/dispatch.c:740:7
    #30 0x563275b3d255 in post_move_iteration_solve_recurse /home/joshua/clean/popeye/solving/post_move_iteration.c:131:3
    #31 0x563275b87fa9 in pawn_promoter_solve /home/joshua/clean/popeye/pieces/walks/pawns/promotion.c:320:7
    #32 0x563275a524dd in dispatch /home/joshua/clean/popeye/solving/machinery/dispatch.c:740:7
    #33 0x563275b493f8 in pipe_solve_delegate /home/joshua/clean/popeye/solving/pipe.c:93:3
    #34 0x563275b4431b in move_player_solve /home/joshua/clean/popeye/solving/move_player.c:59:3
    #35 0x563275a532f0 in dispatch /home/joshua/clean/popeye/solving/machinery/dispatch.c:728:7
    #36 0x563275b493f8 in pipe_solve_delegate /home/joshua/clean/popeye/solving/pipe.c:93:3
    #37 0x563275b3805d in castling_player_solve /home/joshua/clean/popeye/solving/castling.c:130:7
    #38 0x563275a532fd in dispatch /home/joshua/clean/popeye/solving/machinery/dispatch.c:724:7
    #39 0x563275b493f8 in pipe_solve_delegate /home/joshua/clean/popeye/solving/pipe.c:93:3
    #40 0x563275b3d2e8 in move_execution_post_move_iterator_solve /home/joshua/clean/popeye/solving/post_move_iteration.c:235:3
    #41 0x563275a5249c in dispatch /home/joshua/clean/popeye/solving/machinery/dispatch.c:712:7
    #42 0x563275b493f8 in pipe_solve_delegate /home/joshua/clean/popeye/solving/pipe.c:93:3
    #43 0x563275b31e78 in move_effect_journal_undoer_solve /home/joshua/clean/popeye/solving/move_effect_journal.c:250:3
    #44 0x563275a524c3 in dispatch /home/joshua/clean/popeye/solving/machinery/dispatch.c:716:7
    #45 0x563275b493f8 in pipe_solve_delegate /home/joshua/clean/popeye/solving/pipe.c:93:3
    #46 0x563275b36ea9 in for_each_attack_solve /home/joshua/clean/popeye/solving/for_each_move.c:150:5
    #47 0x563275a52468 in dispatch /home/joshua/clean/popeye/solving/machinery/dispatch.c:688:7
    #48 0x563275b493f8 in pipe_solve_delegate /home/joshua/clean/popeye/solving/pipe.c:93:3
    #49 0x563275b33eb8 in move_generator_solve /home/joshua/clean/popeye/solving/move_generator.c:440:3
    #50 0x563275a526b6 in dispatch /home/joshua/clean/popeye/solving/machinery/dispatch.c:684:7
    #51 0x563275b493f8 in pipe_solve_delegate /home/joshua/clean/popeye/solving/pipe.c:93:3
    #52 0x563275b21fec in help_hashed_solve /home/joshua/clean/popeye/optimisations/hash.c:2492:9
    #53 0x563275a528a1 in dispatch /home/joshua/clean/popeye/solving/machinery/dispatch.c:865:7
    #54 0x563275b49708 in fork_solve_delegate /home/joshua/clean/popeye/solving/fork.c:16:3
    #55 0x563275b4374c in binary_solve_if_then_else /home/joshua/clean/popeye/solving/binary.c:19:5
    #56 0x563275b32926 in fork_on_remaining_solve /home/joshua/clean/popeye/solving/fork_on_remaining.c:58:3
    #57 0x563275a5269c in dispatch /home/joshua/clean/popeye/solving/machinery/dispatch.c:849:7
    #58 0x563275b49363 in pipe_this_move_doesnt_solve_if /home/joshua/clean/popeye/solving/pipe.c:63:5
    #59 0x563275b437e8 in dead_end_solve /home/joshua/clean/popeye/solving/dead_end.c:36:3
    #60 0x563275a52260 in dispatch /home/joshua/clean/popeye/solving/machinery/dispatch.c:841:7
    #61 0x563275b493f8 in pipe_solve_delegate /home/joshua/clean/popeye/solving/pipe.c:93:3
    #62 0x563275b327e7 in find_by_increasing_length_solve /home/joshua/clean/popeye/solving/find_by_increasing_length.c:61:5
    #63 0x563275a5341b in dispatch /home/joshua/clean/popeye/solving/machinery/dispatch.c:1486:7
    #64 0x563275b493f8 in pipe_solve_delegate /home/joshua/clean/popeye/solving/pipe.c:93:3
    #65 0x563275b3b22f in reset_unsolvable_solve /home/joshua/clean/popeye/solving/avoid_unsolvable.c:235:3
    #66 0x563275a532d6 in dispatch /home/joshua/clean/popeye/solving/machinery/dispatch.c:893:7
    #67 0x563275b493f8 in pipe_solve_delegate /home/joshua/clean/popeye/solving/pipe.c:93:3
    #68 0x563275b4f5ac in help_adapter_solve /home/joshua/clean/popeye/solving/help_play/adapter.c:135:3
    #69 0x563275a52427 in dispatch /home/joshua/clean/popeye/solving/machinery/dispatch.c:1699:7
    #70 0x563275b493f8 in pipe_solve_delegate /home/joshua/clean/popeye/solving/pipe.c:93:3
    #71 0x563275c1b4f8 in output_plaintext_end_of_phase_writer_solve /home/joshua/clean/popeye/output/plaintext/end_of_phase_writer.c:46:3
    #72 0x563275a53bd3 in dispatch /home/joshua/clean/popeye/solving/machinery/dispatch.c:1832:7
    #73 0x563275b493f8 in pipe_solve_delegate /home/joshua/clean/popeye/solving/pipe.c:93:3
    #74 0x563275b3b3ee in selfcheck_guard_solve /home/joshua/clean/popeye/solving/selfcheck_guard.c:61:5
    #75 0x563275a5227a in dispatch /home/joshua/clean/popeye/solving/machinery/dispatch.c:908:7
    #76 0x563275b493f8 in pipe_solve_delegate /home/joshua/clean/popeye/solving/pipe.c:93:3
    #77 0x563275c1b528 in illegal_selfcheck_writer_solve /home/joshua/clean/popeye/output/plaintext/illegal_selfcheck_writer.c:46:3
    #78 0x563275a53bc6 in dispatch /home/joshua/clean/popeye/solving/machinery/dispatch.c:1828:7
    #79 0x563275b493f8 in pipe_solve_delegate /home/joshua/clean/popeye/solving/pipe.c:93:3
    #80 0x563275b30f15 in retro_play_null_move /home/joshua/clean/popeye/retro/retro.c:29:3
    #81 0x563275a532af in dispatch /home/joshua/clean/popeye/solving/machinery/dispatch.c:1720:7
    #82 0x563275b493f8 in pipe_solve_delegate /home/joshua/clean/popeye/solving/pipe.c:93:3
    #83 0x563275b30fc6 in retro_start_retro_move_ply /home/joshua/clean/popeye/retro/retro.c:100:3
    #84 0x563275a5244e in dispatch /home/joshua/clean/popeye/solving/machinery/dispatch.c:1740:7
    #85 0x563275b493f8 in pipe_solve_delegate /home/joshua/clean/popeye/solving/pipe.c:93:3
    #86 0x563275b30f38 in retro_start_retraction_ply /home/joshua/clean/popeye/retro/retro.c:57:3
    #87 0x563275a52434 in dispatch /home/joshua/clean/popeye/solving/machinery/dispatch.c:1716:7
    #88 0x563275b493f8 in pipe_solve_delegate /home/joshua/clean/popeye/solving/pipe.c:93:3
    #89 0x563275a5310f in dispatch /home/joshua/clean/popeye/solving/machinery/dispatch.c:1877:7
    #90 0x563275b493f8 in pipe_solve_delegate /home/joshua/clean/popeye/solving/pipe.c:93:3
    #91 0x563275bf3e8e in proxies_resolve /home/joshua/clean/popeye/stipulation/proxy.c:148:3
    #92 0x563275a5240d in dispatch /home/joshua/clean/popeye/solving/machinery/dispatch.c:588:7
    #93 0x563275b493f8 in pipe_solve_delegate /home/joshua/clean/popeye/solving/pipe.c:93:3
    #94 0x563275a53edf in adjust_slack_length /home/joshua/clean/popeye/solving/machinery/slack_length.c:42:3
    #95 0x563275a5241a in dispatch /home/joshua/clean/popeye/solving/machinery/dispatch.c:592:7
    #96 0x563275b493f8 in pipe_solve_delegate /home/joshua/clean/popeye/solving/pipe.c:93:3
    #97 0x563275a57c7b in build_solvers2 /home/joshua/clean/popeye/solving/machinery/solvers.c:824:3
    #98 0x563275a53261 in dispatch /home/joshua/clean/popeye/solving/machinery/dispatch.c:584:7
    #99 0x563275b493f8 in pipe_solve_delegate /home/joshua/clean/popeye/solving/pipe.c:93:3
    #100 0x563275c193eb in output_plaintext_instrument_solving /home/joshua/clean/popeye/output/plaintext/plaintext.c:1027:3
    #101 0x563275a52323 in dispatch /home/joshua/clean/popeye/solving/machinery/dispatch.c:459:7
    #102 0x563275b493f8 in pipe_solve_delegate /home/joshua/clean/popeye/solving/pipe.c:93:3
    #103 0x563275b2241d in hash_opener_solve /home/joshua/clean/popeye/optimisations/hash.c:2572:3
    #104 0x563275a5364a in dispatch /home/joshua/clean/popeye/solving/machinery/dispatch.c:853:7
    #105 0x563275b493f8 in pipe_solve_delegate /home/joshua/clean/popeye/solving/pipe.c:93:3
    #106 0x563275a5736b in build_solvers1 /home/joshua/clean/popeye/solving/machinery/solvers.c:690:3
    #107 0x563275a52400 in dispatch /home/joshua/clean/popeye/solving/machinery/dispatch.c:580:7
    #108 0x563275b493f8 in pipe_solve_delegate /home/joshua/clean/popeye/solving/pipe.c:93:3
    #109 0x563275b312d6 in move_effect_journal_reset /home/joshua/clean/popeye/solving/move_effect_journal.c:46:3
    #110 0x563275a523f3 in dispatch /home/joshua/clean/popeye/solving/machinery/dispatch.c:576:7
    #111 0x563275b493f8 in pipe_solve_delegate /home/joshua/clean/popeye/solving/pipe.c:93:3
    #112 0x563275a654b6 in verify_position /home/joshua/clean/popeye/solving/machinery/twin.c:1927:3
    #113 0x563275a523e6 in dispatch /home/joshua/clean/popeye/solving/machinery/dispatch.c:572:7
    #114 0x563275b493f8 in pipe_solve_delegate /home/joshua/clean/popeye/solving/pipe.c:93:3
    #115 0x563275c259fd in output_plaintext_end_of_position_writers_solve /home/joshua/clean/popeye/output/plaintext/position.c:862:3
    #116 0x563275a53bac in dispatch /home/joshua/clean/popeye/solving/machinery/dispatch.c:1816:7
    #117 0x563275b493f8 in pipe_solve_delegate /home/joshua/clean/popeye/solving/pipe.c:93:3
    #118 0x563275c2519c in output_plaintext_write_conditions /home/joshua/clean/popeye/output/plaintext/position.c:657:3
    #119 0x563275a52f7c in dispatch /home/joshua/clean/popeye/solving/machinery/dispatch.c:1784:7
    #120 0x563275b493f8 in pipe_solve_delegate /home/joshua/clean/popeye/solving/pipe.c:93:3
    #121 0x563275c2512e in output_plaintext_write_non_royal_attributes /home/joshua/clean/popeye/output/plaintext/position.c:628:3
    #122 0x563275a52f6f in dispatch /home/joshua/clean/popeye/solving/machinery/dispatch.c:1780:7
    #123 0x563275b493f8 in pipe_solve_delegate /home/joshua/clean/popeye/solving/pipe.c:93:3
    #124 0x563275c248e7 in output_plaintext_write_royal_piece_positions /home/joshua/clean/popeye/output/plaintext/position.c:549:3
    #125 0x563275a52f62 in dispatch /home/joshua/clean/popeye/solving/machinery/dispatch.c:1776:7
    #126 0x563275b493f8 in pipe_solve_delegate /home/joshua/clean/popeye/solving/pipe.c:93:3
    #127 0x563275c24529 in output_plaintext_write_piece_counts /home/joshua/clean/popeye/output/plaintext/position.c:520:3
    #128 0x563275a52f3b in dispatch /home/joshua/clean/popeye/solving/machinery/dispatch.c:1772:7
    #129 0x563275b493f8 in pipe_solve_delegate /home/joshua/clean/popeye/solving/pipe.c:93:3
    #130 0x563275c24d55 in output_plaintext_write_stipulation /home/joshua/clean/popeye/output/plaintext/position.c:599:3
    #131 0x563275a52f55 in dispatch /home/joshua/clean/popeye/solving/machinery/dispatch.c:1808:7
    #132 0x563275b493f8 in pipe_solve_delegate /home/joshua/clean/popeye/solving/pipe.c:93:3
    #133 0x563275c23ffe in output_plaintext_write_board /home/joshua/clean/popeye/output/plaintext/position.c:491:3
    #134 0x563275a52f2e in dispatch /home/joshua/clean/popeye/solving/machinery/dispatch.c:1768:7
    #135 0x563275b493f8 in pipe_solve_delegate /home/joshua/clean/popeye/solving/pipe.c:93:3
    #136 0x563275c23fa0 in output_plaintext_write_meta /home/joshua/clean/popeye/output/plaintext/position.c:461:3
    #137 0x563275a53b9f in dispatch /home/joshua/clean/popeye/solving/machinery/dispatch.c:1764:7
    #138 0x563275b493f8 in pipe_solve_delegate /home/joshua/clean/popeye/solving/pipe.c:93:3
    #139 0x563275a67999 in initialise_piece_flags_solve /home/joshua/clean/popeye/solving/machinery/twin.c:1943:3
    #140 0x563275a5322d in dispatch /home/joshua/clean/popeye/solving/machinery/dispatch.c:552:7
    #141 0x563275b493f8 in pipe_solve_delegate /home/joshua/clean/popeye/solving/pipe.c:93:3
    #142 0x563275a667f7 in royals_locator_solve /home/joshua/clean/popeye/solving/machinery/twin.c:1935:5
    #143 0x563275a5323a in dispatch /home/joshua/clean/popeye/solving/machinery/dispatch.c:556:7
    #144 0x563275b493f8 in pipe_solve_delegate /home/joshua/clean/popeye/solving/pipe.c:93:3
    #145 0x563275a686ae in pieces_counter_solve /home/joshua/clean/popeye/solving/machinery/twin.c:1949:3
    #146 0x563275a53220 in dispatch /home/joshua/clean/popeye/solving/machinery/dispatch.c:548:7
    #147 0x563275b493f8 in pipe_solve_delegate /home/joshua/clean/popeye/solving/pipe.c:93:3
    #148 0x563275a58aae in piece_walk_caches_initialiser_solve /home/joshua/clean/popeye/solving/machinery/twin.c:115:3
    #149 0x563275a523cc in dispatch /home/joshua/clean/popeye/solving/machinery/dispatch.c:544:7
    #150 0x563275b493f8 in pipe_solve_delegate /home/joshua/clean/popeye/solving/pipe.c:93:3
    #151 0x563275a687c8 in create_builder_setup_ply_solve /home/joshua/clean/popeye/solving/machinery/twin.c:1961:3
    #152 0x563275a53213 in dispatch /home/joshua/clean/popeye/solving/machinery/dispatch.c:540:7
    #153 0x563275b493f8 in pipe_solve_delegate /home/joshua/clean/popeye/solving/pipe.c:93:3
    #154 0x563275a6b5c4 in slices_deallocator_solve /home/joshua/clean/popeye/input/plaintext/twin.c:1115:3
    #155 0x563275a523b2 in dispatch /home/joshua/clean/popeye/solving/machinery/dispatch.c:528:7
    #156 0x563275b493f8 in pipe_solve_delegate /home/joshua/clean/popeye/solving/pipe.c:93:3
    #157 0x563275a6b34c in solving_machinery_intro_builder_solve /home/joshua/clean/popeye/input/plaintext/twin.c:1036:3
    #158 0x563275a52309 in dispatch /home/joshua/clean/popeye/solving/machinery/dispatch.c:512:7
    #159 0x563275b493f8 in pipe_solve_delegate /home/joshua/clean/popeye/solving/pipe.c:93:3
    #160 0x563275c194ab in output_plaintext_instrument_solving_builder_solve /home/joshua/clean/popeye/output/plaintext/plaintext.c:1047:3
    #161 0x563275a53177 in dispatch /home/joshua/clean/popeye/solving/machinery/dispatch.c:455:7
    #162 0x563275b493f8 in pipe_solve_delegate /home/joshua/clean/popeye/solving/pipe.c:93:3
    #163 0x563275a52253 in dispatch /home/joshua/clean/popeye/solving/machinery/dispatch.c:496:7
    #164 0x563275b493f8 in pipe_solve_delegate /home/joshua/clean/popeye/solving/pipe.c:93:3
    #165 0x563275a6b47d in stipulation_copier_solve /home/joshua/clean/popeye/input/plaintext/twin.c:1058:3
    #166 0x563275a522fc in dispatch /home/joshua/clean/popeye/solving/machinery/dispatch.c:407:7
    #167 0x563275b493f8 in pipe_solve_delegate /home/joshua/clean/popeye/solving/pipe.c:93:3
    #168 0x563275b4a42f in phase_solving_incomplete_solve /home/joshua/clean/popeye/solving/incomplete.c:86:3
    #169 0x563275a531ab in dispatch /home/joshua/clean/popeye/solving/machinery/dispatch.c:435:7
    #170 0x563275b493f8 in pipe_solve_delegate /home/joshua/clean/popeye/solving/pipe.c:93:3
    #171 0x563275a6b753 in stipulation_starter_detector_solve /home/joshua/clean/popeye/input/plaintext/twin.c:1156:7
    #172 0x563275a522ef in dispatch /home/joshua/clean/popeye/solving/machinery/dispatch.c:403:7
    #173 0x563275b493f8 in pipe_solve_delegate /home/joshua/clean/popeye/solving/pipe.c:93:3
    #174 0x563275a6b808 in twin_id_adjuster_solve /home/joshua/clean/popeye/input/plaintext/twin.c:1169:3
    #175 0x563275a522d5 in dispatch /home/joshua/clean/popeye/solving/machinery/dispatch.c:419:7
    #176 0x563275b493f8 in pipe_solve_delegate /home/joshua/clean/popeye/solving/pipe.c:93:3
    #177 0x563275c28ab8 in output_plaintext_twin_intro_writer_builder_solve /home/joshua/clean/popeye/output/plaintext/twinning.c:446:3
    #178 0x563275a5315d in dispatch /home/joshua/clean/popeye/solving/machinery/dispatch.c:520:7
    #179 0x563275b493f8 in pipe_solve_delegate /home/joshua/clean/popeye/solving/pipe.c:93:3
    #180 0x563275a6b96f in input_plaintext_twins_handle /home/joshua/clean/popeye/input/plaintext/twin.c:1272:7
    #181 0x563275a523a5 in dispatch /home/joshua/clean/popeye/solving/machinery/dispatch.c:508:7
    #182 0x563275b493f8 in pipe_solve_delegate /home/joshua/clean/popeye/solving/pipe.c:93:3
    #183 0x563275b4a2c3 in problem_solving_incomplete_solve /home/joshua/clean/popeye/solving/incomplete.c:19:3
    #184 0x563275a5319e in dispatch /home/joshua/clean/popeye/solving/machinery/dispatch.c:431:7
    #185 0x563275b493f8 in pipe_solve_delegate /home/joshua/clean/popeye/solving/pipe.c:93:3
    #186 0x563275c09698 in output_latex_problem_writer_solve /home/joshua/clean/popeye/output/latex/problem.c:91:5
    #187 0x563275a53c89 in dispatch /home/joshua/clean/popeye/solving/machinery/dispatch.c:1000:7
    #188 0x563275b493f8 in pipe_solve_delegate /home/joshua/clean/popeye/solving/pipe.c:93:3
    #189 0x563275a6d18f in input_plaintext_initial_twin_reader_solve /home/joshua/clean/popeye/input/plaintext/twin.c:1303:7
    #190 0x563275a52398 in dispatch /home/joshua/clean/popeye/solving/machinery/dispatch.c:504:7
    #191 0x563275b493f8 in pipe_solve_delegate /home/joshua/clean/popeye/solving/pipe.c:93:3
    #192 0x563275c297f8 in output_plaintext_problem_writer_solve /home/joshua/clean/popeye/output/plaintext/problem.c:44:3
    #193 0x563275a53c7c in dispatch /home/joshua/clean/popeye/solving/machinery/dispatch.c:972:7
    #194 0x563275b493f8 in pipe_solve_delegate /home/joshua/clean/popeye/solving/pipe.c:93:3
    #195 0x563275c44683 in timer_starter_solve /home/joshua/clean/popeye/platform/timer.c:7:3
    #196 0x563275a531df in dispatch /home/joshua/clean/popeye/solving/machinery/dispatch.c:475:7
    #197 0x563275b493f8 in pipe_solve_delegate /home/joshua/clean/popeye/solving/pipe.c:93:3
    #198 0x563275a7b64f in input_plaintext_problem_handle /home/joshua/clean/popeye/input/plaintext/problem.c:95:5
    #199 0x563275a5238b in dispatch /home/joshua/clean/popeye/solving/machinery/dispatch.c:500:7
    #200 0x563275b493f8 in pipe_solve_delegate /home/joshua/clean/popeye/solving/pipe.c:93:3
    #201 0x563275a7b44d in options_resetter_solve /home/joshua/clean/popeye/input/plaintext/option.c:429:3
    #202 0x563275a53191 in dispatch /home/joshua/clean/popeye/solving/machinery/dispatch.c:427:7
    #203 0x563275b493f8 in pipe_solve_delegate /home/joshua/clean/popeye/solving/pipe.c:93:3
    #204 0x563275a7a503 in conditions_resetter_solve /home/joshua/clean/popeye/input/plaintext/condition.c:2058:3
    #205 0x563275a53184 in dispatch /home/joshua/clean/popeye/solving/machinery/dispatch.c:423:7
    #206 0x563275b493f8 in pipe_solve_delegate /home/joshua/clean/popeye/solving/pipe.c:93:3
    #207 0x563275a6b11e in input_plaintext_iterate_problems /home/joshua/clean/popeye/input/plaintext/plaintext.c:43:5
    #208 0x563275a531f9 in dispatch /home/joshua/clean/popeye/solving/machinery/dispatch.c:491:7
    #209 0x563275b493f8 in pipe_solve_delegate /home/joshua/clean/popeye/solving/pipe.c:93:3
    #210 0x563275a6b209 in input_plaintext_detect_user_language /home/joshua/clean/popeye/input/plaintext/plaintext.c:76:5
    #211 0x563275a5237e in dispatch /home/joshua/clean/popeye/solving/machinery/dispatch.c:487:7
    #212 0x563275b493f8 in pipe_solve_delegate /home/joshua/clean/popeye/solving/pipe.c:93:3
    #213 0x563275c194fa in output_plaintext_writer_solve /home/joshua/clean/popeye/output/plaintext/plaintext.c:1066:3
    #214 0x563275a52371 in dispatch /home/joshua/clean/popeye/solving/machinery/dispatch.c:483:7
    #215 0x563275b493f8 in pipe_solve_delegate /home/joshua/clean/popeye/solving/pipe.c:93:3
    #216 0x563275b2b198 in check_dir_initialiser_solve /home/joshua/clean/popeye/optimisations/orthodox_check_directions.c:65:3
    #217 0x563275a52357 in dispatch /home/joshua/clean/popeye/solving/machinery/dispatch.c:479:7
    #218 0x563275b493f8 in pipe_solve_delegate /home/joshua/clean/popeye/solving/pipe.c:93:3
    #219 0x563275c44683 in timer_starter_solve /home/joshua/clean/popeye/platform/timer.c:7:3
    #220 0x563275a531df in dispatch /home/joshua/clean/popeye/solving/machinery/dispatch.c:475:7
    #221 0x563275b493f8 in pipe_solve_delegate /home/joshua/clean/popeye/solving/pipe.c:93:3
    #222 0x563275c049f3 in output_latex_closer_solve /home/joshua/clean/popeye/output/latex/latex.c:313:3
    #223 0x563275a52364 in dispatch /home/joshua/clean/popeye/solving/machinery/dispatch.c:451:7
    #224 0x563275b493f8 in pipe_solve_delegate /home/joshua/clean/popeye/solving/pipe.c:93:3
    #225 0x563275c44522 in hashtable_dimensioner_solve /home/joshua/clean/popeye/platform/maxmem.c:60:5
    #226 0x563275a531d2 in dispatch /home/joshua/clean/popeye/solving/machinery/dispatch.c:471:7
    #227 0x563275b493f8 in pipe_solve_delegate /home/joshua/clean/popeye/solving/pipe.c:93:3
    #228 0x563275c44663 in platform_initialiser_solve /home/joshua/clean/popeye/platform/platform.c:27:3
    #229 0x563275a531c5 in dispatch /home/joshua/clean/popeye/solving/machinery/dispatch.c:447:7
    #230 0x563275b493f8 in pipe_solve_delegate /home/joshua/clean/popeye/solving/pipe.c:93:3
    #231 0x563275a6a3c6 in input_plaintext_opener_solve /home/joshua/clean/popeye/input/plaintext/token.c:90:5
    #232 0x563275a531b8 in dispatch /home/joshua/clean/popeye/solving/machinery/dispatch.c:443:7
    #233 0x563275b493f8 in pipe_solve_delegate /home/joshua/clean/popeye/solving/pipe.c:93:3
    #234 0x563275a6a14f in command_line_options_parser_solve /home/joshua/clean/popeye/input/commandline.c:110:3
    #235 0x563275a5233d in dispatch /home/joshua/clean/popeye/solving/machinery/dispatch.c:439:7
    #236 0x563275a5218d in main /home/joshua/clean/popeye/pymain.c:87:5
    #237 0x7f3ee4829d8f in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
    #238 0x7f3ee4829e3f in __libc_start_main csu/../csu/libc-start.c:392:3
    #239 0x563275a29684 in _start (/home/joshua/clean/popeye/py+0x166684) (BuildId: af873bac9cb731a6d64baff3d8af4a133797c39f)

SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior pieces/walks/edgehog.c:43:28 in