{"action":"created","issue":{"url":"https://api.github.com/repos/vstakhov/rspamd/issues/288","labels_url":"https://api.github.com/repos/vstakhov/rspamd/issues/288/labels{/name}","comments_url":"https://api.github.com/repos/vstakhov/rspamd/issues/288/comments","events_url":"https://api.github.com/repos/vstakhov/rspamd/issues/288/events","html_url":"https://github.com/vstakhov/rspamd/issues/288","id":81087073,"number":288,"title":"Upgrading from 0.8.3 to 0.9.4 causes crashes","user":{"login":"msimerson","id":261635,"avatar_url":"https://avatars.githubusercontent.com/u/261635?v=3","gravatar_id":"","url":"https://api.github.com/users/msimerson","html_url":"https://github.com/msimerson","followers_url":"https://api.github.com/users/msimerson/followers","following_url":"https://api.github.com/users/msimerson/following{/other_user}","gists_url":"https://api.github.com/users/msimerson/gists{/gist_id}","starred_url":"https://api.github.com/users/msimerson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msimerson/subscriptions","organizations_url":"https://api.github.com/users/msimerson/orgs","repos_url":"https://api.github.com/users/msimerson/repos","events_url":"https://api.github.com/users/msimerson/events{/privacy}","received_events_url":"https://api.github.com/users/msimerson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-26T18:45:47Z","updated_at":"2015-05-26T20:30:10Z","closed_at":null,"body":"### From /var/log/messages:\r\n\r\n````\r\nMay  9 15:01:01 rspamd pkg: rspamd-0.8.3 installed\r\nMay 25 22:07:43 rspamd pkg: pkg upgraded: 1.5.1 -> 1.5.2 \r\nMay 25 22:08:05 rspamd pkg: perl5 upgraded: 5.18.4_14 -> 5.20.2_4 \r\nMay 25 22:08:06 rspamd pkg: pcre upgraded: 8.35_2 -> 8.37 \r\nMay 25 22:08:06 rspamd pkg: glib reinstalled: 2.42.2 -> 2.42.2 \r\nMay 25 22:08:06 rspamd pkg: sqlite3 upgraded: 3.8.9_1 -> 3.8.10.1 \r\nMay 25 22:08:06 rspamd pkg: luajit-2.0.3_1 installed\r\nMay 25 22:08:06 rspamd pkg: hiredis-0.13.1 installed\r\nMay 25 22:08:08 rspamd pkg: rspamd upgraded: 0.8.3 -> 0.9.4\r\n````\r\n\r\n### Host info:\r\n\r\n````\r\nFreeBSD rspamd.tnpi.net 10.1-RELEASE-p9 FreeBSD 10.1-RELEASE-p9 #0: Tue Apr  7 01:09:46 UTC 2015     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64\r\n````\r\n\r\n### New and undesirable results\r\n\r\n````\r\n2015-05-26 11:16:44 #77355(main) main: normal process 25281 terminated abnormally by signal: 10\r\n2015-05-26 11:16:54 #77355(main) main: normal process 32246 terminated abnormally by signal: 10\r\n2015-05-26 11:19:23 #77355(main) main: normal process 35599 terminated abnormally by signal: 10\r\n2015-05-26 11:19:40 #77355(main) main: normal process 32358 terminated abnormally by signal: 10\r\n2015-05-26 11:20:03 #77355(main) main: normal process 32143 terminated abnormally by signal: 10\r\n2015-05-26 11:20:21 #77355(main) main: normal process 35758 terminated abnormally by signal: 10\r\n2015-05-26 11:20:40 #77355(main) main: normal process 25125 terminated abnormally by signal: 10\r\n2015-05-26 11:21:29 #77355(main) main: normal process 25263 terminated abnormally by signal: 10\r\n2015-05-26 11:21:36 #77355(main) main: normal process 38592 terminated abnormally by signal: 10\r\n2015-05-26 11:22:08 #77355(main) main: normal process 38962 terminated abnormally by signal: 10\r\n2015-05-26 11:22:36 #77355(main) main: normal process 36219 terminated abnormally by signal: 10\r\n2015-05-26 11:22:42 #77355(main) main: normal process 32623 terminated abnormally by signal: 10\r\n2015-05-26 11:23:23 #77355(main) main: normal process 39514 terminated abnormally by signal: 10\r\n2015-05-26 11:23:58 #77355(main) main: normal process 77359 terminated abnormally by signal: 10\r\n2015-05-26 11:24:00 #77355(main) main: normal process 36176 terminated abnormally by signal: 10\r\n2015-05-26 11:26:04 #77355(main) main: normal process 39018 terminated abnormally by signal: 10\r\n2015-05-26 11:26:37 #77355(main) main: normal process 39227 terminated abnormally by signal: 10\r\n2015-05-26 11:26:39 #77355(main) main: normal process 35681 terminated abnormally by signal: 10\r\n2015-05-26 11:27:08 #77355(main) main: normal process 32177 terminated abnormally by signal: 10\r\n2015-05-26 11:27:13 #77355(main) main: normal process 39722 terminated abnormally by signal: 10\r\n````\r\n\r\nAfter initially installing via FreeBSD packages (pkg upgrade), I also rebuilt the package locally, with no change in behavior. The rspamd client (Haraka plugin) is reporting:\r\n\r\n````\r\nMay 26 11:16:26 [rspamd] query failed: socket hang up\r\nMay 26 11:16:44 [rspamd] query failed: socket hang up\r\nMay 26 11:16:54 [rspamd] query failed: socket hang up\r\nMay 26 11:19:23 [rspamd] query failed: socket hang up\r\nMay 26 11:19:40 [rspamd] query failed: read ECONNRESET\r\nMay 26 11:20:03 [rspamd] query failed: socket hang up\r\nMay 26 11:20:21 [rspamd] query failed: socket hang up\r\nMay 26 11:20:40 [rspamd] query failed: write EPIPE\r\nMay 26 11:21:29 [rspamd] query failed: socket hang up\r\nMay 26 11:21:36 [rspamd] query failed: write ECONNRESET\r\n````\r\n\r\nDo you have suggestions for troubleshooting further?\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/17919923-upgrading-from-0-8-3-to-0-9-4-causes-crashes?utm_campaign=plugin&utm_content=tracker%2F320726&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F320726&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/vstakhov/rspamd/issues/comments/105656072","html_url":"https://github.com/vstakhov/rspamd/issues/288#issuecomment-105656072","issue_url":"https://api.github.com/repos/vstakhov/rspamd/issues/288","id":105656072,"user":{"login":"baudehlo","id":662371,"avatar_url":"https://avatars.githubusercontent.com/u/662371?v=3","gravatar_id":"","url":"https://api.github.com/users/baudehlo","html_url":"https://github.com/baudehlo","followers_url":"https://api.github.com/users/baudehlo/followers","following_url":"https://api.github.com/users/baudehlo/following{/other_user}","gists_url":"https://api.github.com/users/baudehlo/gists{/gist_id}","starred_url":"https://api.github.com/users/baudehlo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baudehlo/subscriptions","organizations_url":"https://api.github.com/users/baudehlo/orgs","repos_url":"https://api.github.com/users/baudehlo/repos","events_url":"https://api.github.com/users/baudehlo/events{/privacy}","received_events_url":"https://api.github.com/users/baudehlo/received_events","type":"User","site_admin":false},"created_at":"2015-05-26T20:30:10Z","updated_at":"2015-05-26T20:30:10Z","body":"Matt check ulimit -c - it's usually set to 0 which prevents core dumps.\n\nThen load in gdb (gdb -c <corefile>) and type \"bt\" and copy-paste that.\n\nOn Tue, May 26, 2015 at 4:09 PM, Matt Simerson <notifications@github.com>\nwrote:\n\n> Could you please make a backtrace from some core file produced by rspamd?\n>\n> I'd be happy too, but I'm not skilled at such things. find / -name\n> '*.core' doesn't turn up anything, so apparently it's not dumping core.\n> How do I get it to do so? After having achieved that, how do I make a\n> backtrace?\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/vstakhov/rspamd/issues/288#issuecomment-105651127>.\n>\n"}}