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

Broken Xapian indexes in ZIM file lead to ZIM tools crash #398

Closed
kelson42 opened this issue Apr 5, 2024 · 2 comments
Closed

Broken Xapian indexes in ZIM file lead to ZIM tools crash #398

kelson42 opened this issue Apr 5, 2024 · 2 comments
Assignees
Labels
Milestone

Comments

@kelson42
Copy link
Contributor

kelson42 commented Apr 5, 2024

For example:

$ zimsearch /home/kelson/Downloads/wikipedia_en_all_maxi_2023-11-corrupted.zim toto
terminate called after throwing an instance of 'Xapian::DatabaseCorruptError'
Aborted (core dumped)

With https://tmp.kiwix.org/kiwix-apple_622/wikipedia_en_all_maxi_2023-11-corrupted.zim.

See kiwix/kiwix-apple#622 and openzim/libzim#870

@kelson42 kelson42 added the bug label Apr 5, 2024
@kelson42 kelson42 changed the title Borken Xapian indexes in ZIM file lead to ZIM tools crash Broken Xapian indexes in ZIM file lead to ZIM tools crash Apr 5, 2024
@kelson42 kelson42 self-assigned this May 2, 2024
@kelson42 kelson42 added this to the 3.5.0 milestone May 2, 2024
@kelson42
Copy link
Contributor Author

kelson42 commented May 2, 2024

I should verify this now that the libzim 9.2.0 transforms Xapian exceptions in Standart exceptions

@kelson42 kelson42 modified the milestones: 3.4.1, 3.5.0 May 16, 2024
@kelson42
Copy link
Contributor Author

kelson42 commented Jul 8, 2024

This has been fixed in the libzim

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant