-
-
Notifications
You must be signed in to change notification settings - Fork 87
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
kiwix-serve was SIGSEGV-ed while performing search after running for a while #573
Comments
@DarkmatterUAE You confirm you have compiled the binary yourself? Could you please post here the result of |
I downloaded it from download.kiwix.org , sorry for my bad memory. kiwix@darkmatter-sbc:~# kiwix-serve --version libkiwix 11.0.0
libzim 7.2.2
|
@DarkmatterUAE OK, so I guess, if you redo the same the |
This bug is kind of strange, it almost never reproduce, but all the time it crashes kiwix-serve crash during my visit (it always crashes when I have one or two pages opened, or is searching something. It have not crashed once while it's just running in the background and no one is reading), and it has not crashed in the first few days of starting up. I don't have any other ZIM files served from this platform, though I do start it with command md5sum is: |
I managed to let strace traced the process and reproduced the bug just by repeatedly searching random strings. Will the logs be helpful? |
@DarkmatterUAE Thx for all the information. The trace might be useful yes. It seems you have no obvious problem so it might be a bug in the software indeed. You could maybe try with a nighlty from http://download.kiwix.org/nightly/2022-09-04/ considering that we will do a new release soon. @veloman-yunkan Could you please take the lead on this bug report? |
The last few hundred lines of trace is posted here: Please comment if you need the full log. |
@DarkmatterUAE Thx, out of curiosity, you run on wich hardware? Would you be able to generate a core dump? |
@kelson42 I can try, how can I generate the core dump file? |
@DarkmatterUAE Here is a tutorial https://jvns.ca/blog/2018/04/28/debugging-a-segfault-on-linux/ |
Got it. Core dump file link: |
Oh, sorry. Forgot to mention that, before trying to create core dump I updated kiwix-serve to 3.3.0-1, link below: kiwix-serve --version:
|
Hopefuly this is a duplicate of #579, so there will be a fix in 3.3.1 |
Closing, please reopen if not fixed in next kiwix-tools release |
Confirm, fixed in 3.4.0. Thx :) |
kiwix-serve running on armhf platform failed with segmentation fault after running for some time (at least for a few days), while I was searching something. Running kiwix-serve with --verbose captured some logs but it seems not very helpful.
Logs:
https://www.verybin.com/?343fca9b5395a26b#fyMr9ZfziGmWSbhfN8Ob9UerV3K+5JvsynUrSj9iSbA=
Platform architecture:
armhf
OS Version:
Armbian (5.88) armv7l based on Debian 11 Bullseye
Linux kernel version:
5.1.0
Kiwix-tools version:
3.3.0 (downloaded from download.kiwix.org)
The text was updated successfully, but these errors were encountered: