Skip to content

an error was encountered when using annotation #18

@constellation39

Description

@constellation39

an error was encountered when using annotation

`std::terminate' is called after throwing an instance of `boost::exception_detail::error_info_injector<std::logic_error>'.
/opt/kanachan/src/annotation/annotation.cpp:472: Kanachan::Annotation::Annotation(uint_fast8_t, const std::array<Kanachan::PlayerState, 4>&, const Kanachan::RoundProgress&, const std::vector<lq::OptionalOperation>&, const lq::RecordDiscardTile&): 4,8,52,60,68,76,80,108,116,120,132,140       142
Backtrace:
 0# Kanachan::Annotation::Annotation(unsigned char, std::array<Kanachan::PlayerState, 4ul> const&, Kanachan::RoundProgress const&, std::vector<lq::OptionalOperation, std::allocator<lq::OptionalOperation> > const&, lq::RecordDiscardTile const&) in build/src/annotation/annotate
 1# (anonymous namespace)::convert(std::filesystem::__cxx11::path const&) in build/src/annotation/annotate
 2# main in build/src/annotation/annotate
 3# 0x00007F6CFD767D90 in /lib/x86_64-linux-gnu/libc.so.6
 4# __libc_start_main in /lib/x86_64-linux-gnu/libc.so.6
 5# _start in build/src/annotation/annotate

I put
/kanachan/src/annotation/annotation.cpp:456
std::uint_fast16_t const moqie = 1;
when the moqie value is set to 0, the error disappears, but should I do this?

used game records : 191218-b60ab11a-e2f1-406e-8b20-f94c25aec469

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions