Skip to content

decode key error #43

@KonstantinDjairo

Description

@KonstantinDjairo
int mdict::Mdict::decode_key_block_info(char*, long unsigned int, int, int): Assertion `num_entries_counter == this->entries_num' failed.
Aborted

happens in a few dictionaries.
it's worth noticing that those dictionaries were tested in goldendict-ng, so they're healthy.

maybe our function that does the key block decoding isn't tolerant to little mismatches across different dictionaries, the solution could be making a better error handling imo.
but since i have no knowledge of how it happens or how the low-level details of the mdict format are coded, i leave that problem in your hands @terasum

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