Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 540026 - net-analyzer/fail2ban-0.9.1 - fail2ban-server: segfault at [...] error 4 in libsqlite3.so.0.8.6 while under high load
Summary: net-analyzer/fail2ban-0.9.1 - fail2ban-server: segfault at [...] error 4 in l...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on: 548642
Blocks:
  Show dependency tree
 
Reported: 2015-02-14 01:38 UTC by Rajil Saraswat
Modified: 2015-05-05 08:10 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rajil Saraswat 2015-02-14 01:38:12 UTC
Fail2ban-0.9.1 segafults under high I/O and cpu load. The error message is
"fail2ban-server[4061]: segfault at 40 ip 00007fa5c776b290 sp 00007fa5af7fb6c8 error 4 in libsqlite3.so.0.8.6[7fa5c774d000+bb000]"

This has been fixed upstream https://github.com/fail2ban/fail2ban/issues/844 with a fix at https://github.com/fail2ban/fail2ban/pull/839/files
Comment 1 Stéphane BARBARAY 2015-02-18 07:40:24 UTC
I also got the problem, 10 of my 21 servers have lost their fail2ban process in a period of a month. Since, I added a script into each server's cron to check process (and respawn if needed) every hours until fixed...
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2015-02-18 08:16:48 UTC
I'm pretty sure upstream previously said 0.9.1 was deemed stable. Going back to 0.8.14 would mean a significant loss of new features and general improvements, but it's the exact reason I left 0.8.* in the tree to begin with.
Comment 3 Stéphane BARBARAY 2015-03-03 06:50:06 UTC
Yes, it's probably "stable" on a test server that does nothing special :-/
I noticed that it mostly crashed during server backup time, the backup is a client side rsync launched by backuppc so under heavy I/O and CPU load...
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2015-04-30 16:24:19 UTC
0.9.2 is in the tree. Could you test that version?
Comment 5 Stéphane BARBARAY 2015-05-04 05:26:31 UTC
(In reply to Jeroen Roovers from comment #4)
> 0.9.2 is in the tree. Could you test that version?

Yes, I've started to update all my servers today. I'll give you the result before the end of May...
Comment 6 Hanno Böck gentoo-dev 2015-05-05 07:34:44 UTC
I had fail2ban segfaults on multiple servers several times a day.

Yesterday I updated them to 0.9.2 and this morning I had one segfault left. Then I noted that on that particular server I had forgot the update. So I'd say this is very strong evidence that 0.9.2 fixes the issue :-)

Haven't seen a segfault on any of the machines where 0.9.2 was running.

If others can confirm that this fixes the issue I'd suggest we try to stabilize 0.9.2 asap.
Comment 7 Thomas Wabner 2015-05-05 07:38:53 UTC
I have also updated to 0.9.2 and have not get any segfaults anymore.

For me it looks also, that this version solves the issue.