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

Pizza Tower panics #2

Open
TheDrawingCoder-Gamer opened this issue Feb 13, 2023 · 0 comments
Open

Pizza Tower panics #2

TheDrawingCoder-Gamer opened this issue Feb 13, 2023 · 0 comments

Comments

@TheDrawingCoder-Gamer
Copy link

Running gm_modding_tool -a -s -t crashes with thread 'main' panicked at 'slice index starts at 18446744073708544524 but ends at 9180', src/file_structs/track_slice.rs:22:14. It looks like this has to do with fonts. Backtrace:

stack backtrace:
   0: rust_begin_unwind
             at /rustc/5c8bff74bc1c52bef0c79f3689bb227f51f3e82d/library/std/src/panicking.rs:575:5
   1: core::panicking::panic_fmt
             at /rustc/5c8bff74bc1c52bef0c79f3689bb227f51f3e82d/library/core/src/panicking.rs:65:14
   2: core::slice::index::slice_index_order_fail_rt
             at /rustc/5c8bff74bc1c52bef0c79f3689bb227f51f3e82d/library/core/src/slice/index.rs:97:5
   3: core::slice::index::slice_index_order_fail
             at /rustc/5c8bff74bc1c52bef0c79f3689bb227f51f3e82d/library/core/src/slice/index.rs:91:14
   4: gm_data_win::file_structs::font::get_char_entry_at_offset
   5: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter
   6: gm_data_win::file_structs::font::get_font_entry_at_offset
   7: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter
   8: <gm_data_win::file_structs::font::Font as gm_data_win::file_structs::section_header::ParseSection>::take
   9: gm_data_win::file_structs::Section::take
  10: gm_data_win::file_structs::take_data_win_file
  11: gm_data_win::main
  12: gm_modding_tool::main
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant