{"action":"created","issue":{"url":"https://api.github.com/repos/vstakhov/rspamd/issues/688","repository_url":"https://api.github.com/repos/vstakhov/rspamd","labels_url":"https://api.github.com/repos/vstakhov/rspamd/issues/688/labels{/name}","comments_url":"https://api.github.com/repos/vstakhov/rspamd/issues/688/comments","events_url":"https://api.github.com/repos/vstakhov/rspamd/issues/688/events","html_url":"https://github.com/vstakhov/rspamd/issues/688","id":163086876,"number":688,"title":"rspamd accidentally crashes","user":{"login":"drook","id":2329493,"avatar_url":"https://avatars.githubusercontent.com/u/2329493?v=3","gravatar_id":"","url":"https://api.github.com/users/drook","html_url":"https://github.com/drook","followers_url":"https://api.github.com/users/drook/followers","following_url":"https://api.github.com/users/drook/following{/other_user}","gists_url":"https://api.github.com/users/drook/gists{/gist_id}","starred_url":"https://api.github.com/users/drook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drook/subscriptions","organizations_url":"https://api.github.com/users/drook/orgs","repos_url":"https://api.github.com/users/drook/repos","events_url":"https://api.github.com/users/drook/events{/privacy}","received_events_url":"https://api.github.com/users/drook/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-06-30T05:57:20Z","updated_at":"2016-07-21T08:55:04Z","closed_at":null,"body":"Rspamd 1.2.0\r\nFreeBSD 10-STABLE\r\n\r\nI have a bunch of cores from tonight, they look pretty similar.\r\nBacktraces follows:\r\n\r\n````bt1\r\n# gdb /usr/local/bin/rspamd rspamd-1.2.0.65534.10002.core \r\nGNU gdb 6.1.1 [FreeBSD]\r\nCopyright 2004 Free Software Foundation, Inc.\r\nGDB is free software, covered by the GNU General Public License, and you are\r\nwelcome to change it and/or distribute copies of it under certain conditions.\r\nType \"show copying\" to see the conditions.\r\nThere is absolutely no warranty for GDB.  Type \"show warranty\" for details.\r\nThis GDB was configured as \"amd64-marcel-freebsd\"...\r\n\r\nwarning: core file may not match specified executable file.\r\nCore was generated by `rspamd-1.2.0'.\r\nProgram terminated with signal 11, Segmentation fault.\r\nReading symbols from /usr/local/lib/rspamd/librspamd-actrie.so...done.\r\nLoaded symbols for /usr/local/lib/rspamd/librspamd-actrie.so\r\nReading symbols from /usr/local/lib/libhs.so.4.1...done.\r\nLoaded symbols for /usr/local/lib/libhs.so.4.1\r\nReading symbols from /lib/libutil.so.9...done.\r\nLoaded symbols for /lib/libutil.so.9\r\nReading symbols from /usr/local/lib/libglib-2.0.so.0...done.\r\nLoaded symbols for /usr/local/lib/libglib-2.0.so.0\r\nReading symbols from /usr/local/lib/libintl.so.8...done.\r\nLoaded symbols for /usr/local/lib/libintl.so.8\r\nReading symbols from /usr/local/lib/libgmodule-2.0.so.0...done.\r\nLoaded symbols for /usr/local/lib/libgmodule-2.0.so.0\r\nReading symbols from /usr/local/lib/libpcre.so.1...done.\r\nLoaded symbols for /usr/local/lib/libpcre.so.1\r\nReading symbols from /usr/local/lib/libgmime-2.4.so.2...done.\r\nLoaded symbols for /usr/local/lib/libgmime-2.4.so.2\r\nReading symbols from /usr/local/lib/libgobject-2.0.so.0...done.\r\nLoaded symbols for /usr/local/lib/libgobject-2.0.so.0\r\nReading symbols from /usr/local/lib/libgthread-2.0.so.0...done.\r\nLoaded symbols for /usr/local/lib/libgthread-2.0.so.0\r\nReading symbols from /usr/local/lib/libevent-2.0.so.5...done.\r\nLoaded symbols for /usr/local/lib/libevent-2.0.so.5\r\nReading symbols from /usr/local/lib/libsqlite3.so.0...done.\r\nLoaded symbols for /usr/local/lib/libsqlite3.so.0\r\nReading symbols from /usr/local/lib/libiconv.so.2...done.\r\nLoaded symbols for /usr/local/lib/libiconv.so.2\r\nReading symbols from /lib/libcrypto.so.7...done.\r\nLoaded symbols for /lib/libcrypto.so.7\r\nReading symbols from /usr/lib/libmagic.so.4...done.\r\nLoaded symbols for /usr/lib/libmagic.so.4\r\nReading symbols from /lib/libm.so.5...done.\r\nLoaded symbols for /lib/libm.so.5\r\nReading symbols from /usr/local/lib/libluajit-5.1.so.2...done.\r\nLoaded symbols for /usr/local/lib/libluajit-5.1.so.2\r\nReading symbols from /usr/lib/libc++.so.1...done.\r\nLoaded symbols for /usr/lib/libc++.so.1\r\nReading symbols from /lib/libcxxrt.so.1...done.\r\nLoaded symbols for /lib/libcxxrt.so.1\r\nReading symbols from /lib/libthr.so.3...done.\r\nLoaded symbols for /lib/libthr.so.3\r\nReading symbols from /lib/libc.so.7...done.\r\nLoaded symbols for /lib/libc.so.7\r\nReading symbols from /lib/libgcc_s.so.1...done.\r\nLoaded symbols for /lib/libgcc_s.so.1\r\nReading symbols from /lib/libz.so.6...done.\r\nLoaded symbols for /lib/libz.so.6\r\nReading symbols from /usr/local/lib/libffi.so.6...done.\r\nLoaded symbols for /usr/local/lib/libffi.so.6\r\nReading symbols from /usr/local/lib/nss_winbind.so.1...done.\r\nLoaded symbols for /usr/local/lib/nss_winbind.so.1\r\nReading symbols from /usr/local/lib/samba/libwinbind-client-samba4.so...done.\r\nLoaded symbols for /usr/local/lib/samba/libwinbind-client-samba4.so\r\nReading symbols from /usr/local/lib/samba/libreplace-samba4.so...done.\r\nLoaded symbols for /usr/local/lib/samba/libreplace-samba4.so\r\nReading symbols from /libexec/ld-elf.so.1...done.\r\nLoaded symbols for /libexec/ld-elf.so.1\r\n#0  redisAsyncFree (ac=0x0) at /usr/ports/mail/rspamd-devel/work/rspamd-3ba7a3c/contrib/hiredis/async.c:325\r\n325     /usr/ports/mail/rspamd-devel/work/rspamd-3ba7a3c/contrib/hiredis/async.c: No such file or directory.\r\n        in /usr/ports/mail/rspamd-devel/work/rspamd-3ba7a3c/contrib/hiredis/async.c\r\n[New Thread 805406400 (LWP 101095/<unknown>)]\r\n(gdb) bt\r\n#0  redisAsyncFree (ac=0x0) at /usr/ports/mail/rspamd-devel/work/rspamd-3ba7a3c/contrib/hiredis/async.c:325\r\n#1  0x00000000004ef0f7 in rspamd_redis_async_cbdata_cleanup (cbdata=0x8056d1200)\r\n    at /usr/ports/mail/rspamd-devel/work/rspamd-3ba7a3c/src/libstat/backends/redis_backend.c:429\r\n#2  0x00000000004ef6e4 in rspamd_redis_stat_keys (c=0x8054ddc80, r=0x0, priv=0x8056d1200)\r\n    at /usr/ports/mail/rspamd-devel/work/rspamd-3ba7a3c/src/libstat/backends/redis_backend.c:612\r\n#3  0x000000000056f512 in __redisAsyncFree (ac=0x8054ddc80)\r\n    at /usr/ports/mail/rspamd-devel/work/rspamd-3ba7a3c/contrib/hiredis/async.c:269\r\n#4  0x000000000056ff92 in redisAsyncHandleWrite (ac=<value optimized out>)\r\n    at /usr/ports/mail/rspamd-devel/work/rspamd-3ba7a3c/contrib/hiredis/async.c:348\r\n#5  0x00000000004ef0ca in redisLibeventWriteEvent (fd=31, event=4, arg=0x8055d4700) at libevent.h:51\r\n#6  0x0000000802856aed in event_process_active_single_queue (base=0x805552980, activeq=0x80571bde0) at event.c:1368\r\n#7  0x000000080285267c in event_process_active (base=0x805552980) at event.c:1438\r\n#8  0x00000008028516ff in event_base_loop (base=0x805552980, flags=0) at event.c:1639\r\n#9  0x000000000042648a in start_controller_worker (worker=0x805770600)\r\n    at /usr/ports/mail/rspamd-devel/work/rspamd-3ba7a3c/src/controller.c:2663\r\n#10 0x00000000004df61a in rspamd_fork_worker (rspamd_main=0x805458080, cf=0x8057786e0, index=0, ev_base=0x805552980)\r\n    at /usr/ports/mail/rspamd-devel/work/rspamd-3ba7a3c/src/libserver/worker_util.c:549\r\n#11 0x0000000000435300 in rspamd_fork_delayed_cb (signo=-1, what=1, arg=0x8056180c0)\r\n    at /usr/ports/mail/rspamd-devel/work/rspamd-3ba7a3c/src/rspamd.c:309\r\n#12 0x0000000802856aed in event_process_active_single_queue (base=0x805552980, activeq=0x80571bde0) at event.c:1368\r\n#13 0x000000080285267c in event_process_active (base=0x805552980) at event.c:1438\r\n#14 0x00000008028516ff in event_base_loop (base=0x805552980, flags=0) at event.c:1639\r\n#15 0x0000000000432cb9 in main (argc=1, argv=0x7fffffffeb80, env=0x7fffffffebc0)\r\n    at /usr/ports/mail/rspamd-devel/work/rspamd-3ba7a3c/src/rspamd.c:1232\r\nCurrent language:  auto; currently minimal\r\n(gdb)\r\n````\r\n````bt2\r\n# gdb /usr/local/bin/rspamd rspamd-1.2.0.65534.10157.core \r\nGNU gdb 6.1.1 [FreeBSD]\r\nCopyright 2004 Free Software Foundation, Inc.\r\nGDB is free software, covered by the GNU General Public License, and you are\r\nwelcome to change it and/or distribute copies of it under certain conditions.\r\nType \"show copying\" to see the conditions.\r\nThere is absolutely no warranty for GDB.  Type \"show warranty\" for details.\r\nThis GDB was configured as \"amd64-marcel-freebsd\"...\r\n\r\nwarning: core file may not match specified executable file.\r\nCore was generated by `rspamd-1.2.0'.\r\nProgram terminated with signal 11, Segmentation fault.\r\nReading symbols from /usr/local/lib/rspamd/librspamd-actrie.so...done.\r\nLoaded symbols for /usr/local/lib/rspamd/librspamd-actrie.so\r\nReading symbols from /usr/local/lib/libhs.so.4.1...done.\r\nLoaded symbols for /usr/local/lib/libhs.so.4.1\r\nReading symbols from /lib/libutil.so.9...done.\r\nLoaded symbols for /lib/libutil.so.9\r\nReading symbols from /usr/local/lib/libglib-2.0.so.0...done.\r\nLoaded symbols for /usr/local/lib/libglib-2.0.so.0\r\nReading symbols from /usr/local/lib/libintl.so.8...done.\r\nLoaded symbols for /usr/local/lib/libintl.so.8\r\nReading symbols from /usr/local/lib/libgmodule-2.0.so.0...done.\r\nLoaded symbols for /usr/local/lib/libgmodule-2.0.so.0\r\nReading symbols from /usr/local/lib/libpcre.so.1...done.\r\nLoaded symbols for /usr/local/lib/libpcre.so.1\r\nReading symbols from /usr/local/lib/libgmime-2.4.so.2...done.\r\nLoaded symbols for /usr/local/lib/libgmime-2.4.so.2\r\nReading symbols from /usr/local/lib/libgobject-2.0.so.0...done.\r\nLoaded symbols for /usr/local/lib/libgobject-2.0.so.0\r\nReading symbols from /usr/local/lib/libgthread-2.0.so.0...done.\r\nLoaded symbols for /usr/local/lib/libgthread-2.0.so.0\r\nReading symbols from /usr/local/lib/libevent-2.0.so.5...done.\r\nLoaded symbols for /usr/local/lib/libevent-2.0.so.5\r\nReading symbols from /usr/local/lib/libsqlite3.so.0...done.\r\nLoaded symbols for /usr/local/lib/libsqlite3.so.0\r\nReading symbols from /usr/local/lib/libiconv.so.2...done.\r\nLoaded symbols for /usr/local/lib/libiconv.so.2\r\nReading symbols from /lib/libcrypto.so.7...done.\r\nLoaded symbols for /lib/libcrypto.so.7\r\nReading symbols from /usr/lib/libmagic.so.4...done.\r\nLoaded symbols for /usr/lib/libmagic.so.4\r\nReading symbols from /lib/libm.so.5...done.\r\nLoaded symbols for /lib/libm.so.5\r\nReading symbols from /usr/local/lib/libluajit-5.1.so.2...done.\r\nLoaded symbols for /usr/local/lib/libluajit-5.1.so.2\r\nReading symbols from /usr/lib/libc++.so.1...done.\r\nLoaded symbols for /usr/lib/libc++.so.1\r\nReading symbols from /lib/libcxxrt.so.1...done.\r\nLoaded symbols for /lib/libcxxrt.so.1\r\nReading symbols from /lib/libthr.so.3...done.\r\nLoaded symbols for /lib/libthr.so.3\r\nReading symbols from /lib/libc.so.7...done.\r\nLoaded symbols for /lib/libc.so.7\r\nReading symbols from /lib/libgcc_s.so.1...done.\r\nLoaded symbols for /lib/libgcc_s.so.1\r\nReading symbols from /lib/libz.so.6...done.\r\nLoaded symbols for /lib/libz.so.6\r\nReading symbols from /usr/local/lib/libffi.so.6...done.\r\nLoaded symbols for /usr/local/lib/libffi.so.6\r\nReading symbols from /usr/local/lib/nss_winbind.so.1...done.\r\nLoaded symbols for /usr/local/lib/nss_winbind.so.1\r\nReading symbols from /usr/local/lib/samba/libwinbind-client-samba4.so...done.\r\nLoaded symbols for /usr/local/lib/samba/libwinbind-client-samba4.so\r\nReading symbols from /usr/local/lib/samba/libreplace-samba4.so...done.\r\nLoaded symbols for /usr/local/lib/samba/libreplace-samba4.so\r\nReading symbols from /usr/lib/i18n/libiconv_std.so.4...done.\r\nLoaded symbols for /usr/lib/i18n/libiconv_std.so.4\r\nReading symbols from /usr/lib/i18n/libUTF8.so.4...done.\r\nLoaded symbols for /usr/lib/i18n/libUTF8.so.4\r\nReading symbols from /usr/lib/i18n/libmapper_parallel.so.4...done.\r\nLoaded symbols for /usr/lib/i18n/libmapper_parallel.so.4\r\nReading symbols from /usr/lib/i18n/libmapper_std.so.4...done.\r\nLoaded symbols for /usr/lib/i18n/libmapper_std.so.4\r\nReading symbols from /usr/lib/i18n/libmapper_zone.so.4...done.\r\nLoaded symbols for /usr/lib/i18n/libmapper_zone.so.4\r\nReading symbols from /usr/lib/i18n/libmapper_none.so.4...done.\r\nLoaded symbols for /usr/lib/i18n/libmapper_none.so.4\r\nReading symbols from /libexec/ld-elf.so.1...done.\r\nLoaded symbols for /libexec/ld-elf.so.1\r\n#0  redisAsyncFree (ac=0x0) at /usr/ports/mail/rspamd-devel/work/rspamd-3ba7a3c/contrib/hiredis/async.c:325\r\n325     /usr/ports/mail/rspamd-devel/work/rspamd-3ba7a3c/contrib/hiredis/async.c: No such file or directory.\r\n        in /usr/ports/mail/rspamd-devel/work/rspamd-3ba7a3c/contrib/hiredis/async.c\r\n[New Thread 805406400 (LWP 100901/<unknown>)]\r\n(gdb) bt\r\n#0  redisAsyncFree (ac=0x0) at /usr/ports/mail/rspamd-devel/work/rspamd-3ba7a3c/contrib/hiredis/async.c:325\r\n#1  0x00000000004ef0f7 in rspamd_redis_async_cbdata_cleanup (cbdata=0x8056d1240)\r\n    at /usr/ports/mail/rspamd-devel/work/rspamd-3ba7a3c/src/libstat/backends/redis_backend.c:429\r\n#2  0x00000000004ef6e4 in rspamd_redis_stat_keys (c=0x8054ddc80, r=0x0, priv=0x8056d1240)\r\n    at /usr/ports/mail/rspamd-devel/work/rspamd-3ba7a3c/src/libstat/backends/redis_backend.c:612\r\n#3  0x000000000056f512 in __redisAsyncFree (ac=0x8054ddc80)\r\n    at /usr/ports/mail/rspamd-devel/work/rspamd-3ba7a3c/contrib/hiredis/async.c:269\r\n#4  0x000000000056ff92 in redisAsyncHandleWrite (ac=<value optimized out>)\r\n    at /usr/ports/mail/rspamd-devel/work/rspamd-3ba7a3c/contrib/hiredis/async.c:348\r\n#5  0x00000000004ef0ca in redisLibeventWriteEvent (fd=30, event=4, arg=0x8055d4700) at libevent.h:51\r\n#6  0x0000000802856aed in event_process_active_single_queue (base=0x805552980, activeq=0x80571bde0) at event.c:1368\r\n#7  0x000000080285267c in event_process_active (base=0x805552980) at event.c:1438\r\n#8  0x00000008028516ff in event_base_loop (base=0x805552980, flags=0) at event.c:1639\r\n#9  0x0000000000438bb5 in start_worker (worker=0x805770300)\r\n    at /usr/ports/mail/rspamd-devel/work/rspamd-3ba7a3c/src/worker.c:488\r\n#10 0x00000000004df61a in rspamd_fork_worker (rspamd_main=0x805458080, cf=0x8057787a0, index=0, ev_base=0x805552980)\r\n    at /usr/ports/mail/rspamd-devel/work/rspamd-3ba7a3c/src/libserver/worker_util.c:549\r\n#11 0x0000000000435300 in rspamd_fork_delayed_cb (signo=-1, what=1, arg=0x805618160)\r\n    at /usr/ports/mail/rspamd-devel/work/rspamd-3ba7a3c/src/rspamd.c:309\r\n#12 0x0000000802856aed in event_process_active_single_queue (base=0x805552980, activeq=0x80571bde0) at event.c:1368\r\n#13 0x000000080285267c in event_process_active (base=0x805552980) at event.c:1438\r\n#14 0x00000008028516ff in event_base_loop (base=0x805552980, flags=0) at event.c:1639\r\n#15 0x0000000000432cb9 in main (argc=1, argv=0x7fffffffeb80, env=0x7fffffffebc0)\r\n    at /usr/ports/mail/rspamd-devel/work/rspamd-3ba7a3c/src/rspamd.c:1232\r\nCurrent language:  auto; currently minimal\r\n(gdb)\r\n````\r\n````bt3\r\n# gdb /usr/local/bin/rspamd rspamd-1.2.0.65534.10159.core \r\nGNU gdb 6.1.1 [FreeBSD]\r\nCopyright 2004 Free Software Foundation, Inc.\r\nGDB is free software, covered by the GNU General Public License, and you are\r\nwelcome to change it and/or distribute copies of it under certain conditions.\r\nType \"show copying\" to see the conditions.\r\nThere is absolutely no warranty for GDB.  Type \"show warranty\" for details.\r\nThis GDB was configured as \"amd64-marcel-freebsd\"...\r\n\r\nwarning: core file may not match specified executable file.\r\nCore was generated by `rspamd-1.2.0'.\r\nProgram terminated with signal 11, Segmentation fault.\r\nReading symbols from /usr/local/lib/rspamd/librspamd-actrie.so...done.\r\nLoaded symbols for /usr/local/lib/rspamd/librspamd-actrie.so\r\nReading symbols from /usr/local/lib/libhs.so.4.1...done.\r\nLoaded symbols for /usr/local/lib/libhs.so.4.1\r\nReading symbols from /lib/libutil.so.9...done.\r\nLoaded symbols for /lib/libutil.so.9\r\nReading symbols from /usr/local/lib/libglib-2.0.so.0...done.\r\nLoaded symbols for /usr/local/lib/libglib-2.0.so.0\r\nReading symbols from /usr/local/lib/libintl.so.8...done.\r\nLoaded symbols for /usr/local/lib/libintl.so.8\r\nReading symbols from /usr/local/lib/libgmodule-2.0.so.0...done.\r\nLoaded symbols for /usr/local/lib/libgmodule-2.0.so.0\r\nReading symbols from /usr/local/lib/libpcre.so.1...done.\r\nLoaded symbols for /usr/local/lib/libpcre.so.1\r\nReading symbols from /usr/local/lib/libgmime-2.4.so.2...done.\r\nLoaded symbols for /usr/local/lib/libgmime-2.4.so.2\r\nReading symbols from /usr/local/lib/libgobject-2.0.so.0...done.\r\nLoaded symbols for /usr/local/lib/libgobject-2.0.so.0\r\nReading symbols from /usr/local/lib/libgthread-2.0.so.0...done.\r\nLoaded symbols for /usr/local/lib/libgthread-2.0.so.0\r\nReading symbols from /usr/local/lib/libevent-2.0.so.5...done.\r\nLoaded symbols for /usr/local/lib/libevent-2.0.so.5\r\nReading symbols from /usr/local/lib/libsqlite3.so.0...done.\r\nLoaded symbols for /usr/local/lib/libsqlite3.so.0\r\nReading symbols from /usr/local/lib/libiconv.so.2...done.\r\nLoaded symbols for /usr/local/lib/libiconv.so.2\r\nReading symbols from /lib/libcrypto.so.7...done.\r\nLoaded symbols for /lib/libcrypto.so.7\r\nReading symbols from /usr/lib/libmagic.so.4...done.\r\nLoaded symbols for /usr/lib/libmagic.so.4\r\nReading symbols from /lib/libm.so.5...done.\r\nLoaded symbols for /lib/libm.so.5\r\nReading symbols from /usr/local/lib/libluajit-5.1.so.2...done.\r\nLoaded symbols for /usr/local/lib/libluajit-5.1.so.2\r\nReading symbols from /usr/lib/libc++.so.1...done.\r\nLoaded symbols for /usr/lib/libc++.so.1\r\nReading symbols from /lib/libcxxrt.so.1...done.\r\nLoaded symbols for /lib/libcxxrt.so.1\r\nReading symbols from /lib/libthr.so.3...done.\r\nLoaded symbols for /lib/libthr.so.3\r\nReading symbols from /lib/libc.so.7...done.\r\nLoaded symbols for /lib/libc.so.7\r\nReading symbols from /lib/libgcc_s.so.1...done.\r\nLoaded symbols for /lib/libgcc_s.so.1\r\nReading symbols from /lib/libz.so.6...done.\r\nLoaded symbols for /lib/libz.so.6\r\nReading symbols from /usr/local/lib/libffi.so.6...done.\r\nLoaded symbols for /usr/local/lib/libffi.so.6\r\nReading symbols from /usr/local/lib/nss_winbind.so.1...done.\r\nLoaded symbols for /usr/local/lib/nss_winbind.so.1\r\nReading symbols from /usr/local/lib/samba/libwinbind-client-samba4.so...done.\r\nLoaded symbols for /usr/local/lib/samba/libwinbind-client-samba4.so\r\nReading symbols from /usr/local/lib/samba/libreplace-samba4.so...done.\r\nLoaded symbols for /usr/local/lib/samba/libreplace-samba4.so\r\nReading symbols from /usr/lib/i18n/libiconv_std.so.4...done.\r\nLoaded symbols for /usr/lib/i18n/libiconv_std.so.4\r\nReading symbols from /usr/lib/i18n/libUTF8.so.4...done.\r\nLoaded symbols for /usr/lib/i18n/libUTF8.so.4\r\nReading symbols from /usr/lib/i18n/libmapper_parallel.so.4...done.\r\nLoaded symbols for /usr/lib/i18n/libmapper_parallel.so.4\r\nReading symbols from /usr/lib/i18n/libmapper_std.so.4...done.\r\nLoaded symbols for /usr/lib/i18n/libmapper_std.so.4\r\nReading symbols from /usr/lib/i18n/libmapper_zone.so.4...done.\r\nLoaded symbols for /usr/lib/i18n/libmapper_zone.so.4\r\nReading symbols from /usr/lib/i18n/libmapper_none.so.4...done.\r\nLoaded symbols for /usr/lib/i18n/libmapper_none.so.4\r\nReading symbols from /libexec/ld-elf.so.1...done.\r\nLoaded symbols for /libexec/ld-elf.so.1\r\n#0  redisAsyncFree (ac=0x0) at /usr/ports/mail/rspamd-devel/work/rspamd-3ba7a3c/contrib/hiredis/async.c:325\r\n325     /usr/ports/mail/rspamd-devel/work/rspamd-3ba7a3c/contrib/hiredis/async.c: No such file or directory.\r\n        in /usr/ports/mail/rspamd-devel/work/rspamd-3ba7a3c/contrib/hiredis/async.c\r\n[New Thread 805406400 (LWP 102185/<unknown>)]\r\n(gdb) bt\r\n#0  redisAsyncFree (ac=0x0) at /usr/ports/mail/rspamd-devel/work/rspamd-3ba7a3c/contrib/hiredis/async.c:325\r\n#1  0x00000000004ef0f7 in rspamd_redis_async_cbdata_cleanup (cbdata=0x8056d1210)\r\n    at /usr/ports/mail/rspamd-devel/work/rspamd-3ba7a3c/src/libstat/backends/redis_backend.c:429\r\n#2  0x00000000004ef6e4 in rspamd_redis_stat_keys (c=0x8054ddb00, r=0x0, priv=0x8056d1210)\r\n    at /usr/ports/mail/rspamd-devel/work/rspamd-3ba7a3c/src/libstat/backends/redis_backend.c:612\r\n#3  0x000000000056f512 in __redisAsyncFree (ac=0x8054ddb00)\r\n    at /usr/ports/mail/rspamd-devel/work/rspamd-3ba7a3c/contrib/hiredis/async.c:269\r\n#4  0x000000000056ff92 in redisAsyncHandleWrite (ac=<value optimized out>)\r\n    at /usr/ports/mail/rspamd-devel/work/rspamd-3ba7a3c/contrib/hiredis/async.c:348\r\n#5  0x00000000004ef0ca in redisLibeventWriteEvent (fd=31, event=4, arg=0x8055d45c0) at libevent.h:51\r\n#6  0x0000000802856aed in event_process_active_single_queue (base=0x805552980, activeq=0x80571bde0) at event.c:1368\r\n#7  0x000000080285267c in event_process_active (base=0x805552980) at event.c:1438\r\n#8  0x00000008028516ff in event_base_loop (base=0x805552980, flags=0) at event.c:1639\r\n#9  0x0000000000438bb5 in start_worker (worker=0x805770500)\r\n    at /usr/ports/mail/rspamd-devel/work/rspamd-3ba7a3c/src/worker.c:488\r\n#10 0x00000000004df61a in rspamd_fork_worker (rspamd_main=0x805458080, cf=0x805778740, index=3, ev_base=0x805552980)\r\n    at /usr/ports/mail/rspamd-devel/work/rspamd-3ba7a3c/src/libserver/worker_util.c:549\r\n#11 0x0000000000435300 in rspamd_fork_delayed_cb (signo=-1, what=1, arg=0x805618200)\r\n    at /usr/ports/mail/rspamd-devel/work/rspamd-3ba7a3c/src/rspamd.c:309\r\n#12 0x0000000802856aed in event_process_active_single_queue (base=0x805552980, activeq=0x80571bde0) at event.c:1368\r\n#13 0x000000080285267c in event_process_active (base=0x805552980) at event.c:1438\r\n#14 0x00000008028516ff in event_base_loop (base=0x805552980, flags=0) at event.c:1639\r\n#15 0x0000000000432cb9 in main (argc=1, argv=0x7fffffffeb80, env=0x7fffffffebc0)\r\n    at /usr/ports/mail/rspamd-devel/work/rspamd-3ba7a3c/src/rspamd.c:1232\r\nCurrent language:  auto; currently minimal\r\n(gdb)\r\n````\r\n\r\nAnd so on, I have like dozens of them. To be honest, this can be related to the fact that my redis host recently lost half of it's memory, and while new memory is still on the way from Taiwan (hopefully, not on foot) it became rather slow sometimes. But I doubt rspamd shoudl crash even in this case."},"comment":{"url":"https://api.github.com/repos/vstakhov/rspamd/issues/comments/234195404","html_url":"https://github.com/vstakhov/rspamd/issues/688#issuecomment-234195404","issue_url":"https://api.github.com/repos/vstakhov/rspamd/issues/688","id":234195404,"user":{"login":"AloneShadow","id":20574744,"avatar_url":"https://avatars.githubusercontent.com/u/20574744?v=3","gravatar_id":"","url":"https://api.github.com/users/AloneShadow","html_url":"https://github.com/AloneShadow","followers_url":"https://api.github.com/users/AloneShadow/followers","following_url":"https://api.github.com/users/AloneShadow/following{/other_user}","gists_url":"https://api.github.com/users/AloneShadow/gists{/gist_id}","starred_url":"https://api.github.com/users/AloneShadow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AloneShadow/subscriptions","organizations_url":"https://api.github.com/users/AloneShadow/orgs","repos_url":"https://api.github.com/users/AloneShadow/repos","events_url":"https://api.github.com/users/AloneShadow/events{/privacy}","received_events_url":"https://api.github.com/users/AloneShadow/received_events","type":"User","site_admin":false},"created_at":"2016-07-21T08:55:04Z","updated_at":"2016-07-21T08:55:04Z","body":"Rspamd-1.2.8 on FreeBSD 11.0-ALPHA6 r302332: amd64 but in chroot environment has the same behavior.\r\n\r\n```\r\nCore was generated by `rspamd-1.2.8'.\r\nProgram terminated with signal 11, Segmentation fault.\r\nReading symbols from /usr/local/lib/rspamd/librspamd-actrie.so...(no debugging symbols found)...done.\r\nLoaded symbols for /usr/local/lib/rspamd/librspamd-actrie.so\r\nReading symbols from /lib/libutil.so.9...Reading symbols from /usr/lib/debug//lib/libutil.so.9.debug...done.\r\nLoaded symbols for /lib/libutil.so.9\r\nReading symbols from /usr/local/lib/libglib-2.0.so.0...done.\r\nLoaded symbols for /usr/local/lib/libglib-2.0.so.0\r\nReading symbols from /usr/local/lib/libintl.so.8...done.\r\nLoaded symbols for /usr/local/lib/libintl.so.8\r\nReading symbols from /usr/local/lib/libgmodule-2.0.so.0...done.\r\nLoaded symbols for /usr/local/lib/libgmodule-2.0.so.0\r\nReading symbols from /usr/local/lib/libpcre.so.1...done.\r\nLoaded symbols for /usr/local/lib/libpcre.so.1\r\nReading symbols from /usr/local/lib/libgmime-2.4.so.2...done.\r\nLoaded symbols for /usr/local/lib/libgmime-2.4.so.2\r\nReading symbols from /usr/local/lib/libgobject-2.0.so.0...done.\r\nLoaded symbols for /usr/local/lib/libgobject-2.0.so.0\r\nReading symbols from /usr/local/lib/libgthread-2.0.so.0...done.\r\nLoaded symbols for /usr/local/lib/libgthread-2.0.so.0\r\nReading symbols from /usr/local/lib/libevent-2.0.so.5...done.\r\nLoaded symbols for /usr/local/lib/libevent-2.0.so.5\r\nReading symbols from /usr/local/lib/libsqlite3.so.0...done.\r\nLoaded symbols for /usr/local/lib/libsqlite3.so.0\r\nReading symbols from /usr/local/lib/libiconv.so.2...done.\r\nLoaded symbols for /usr/local/lib/libiconv.so.2\r\nReading symbols from /lib/libcrypto.so.8...Reading symbols from /usr/lib/debug//lib/libcrypto.so.8.debug...done.\r\nLoaded symbols for /lib/libcrypto.so.8\r\nReading symbols from /usr/lib/libmagic.so.4...Reading symbols from /usr/lib/debug//usr/lib/libmagic.so.4.debug...done.\r\nLoaded symbols for /usr/lib/libmagic.so.4\r\nReading symbols from /lib/libthr.so.3...Reading symbols from /usr/lib/debug//lib/libthr.so.3.debug...done.\r\nLoaded symbols for /lib/libthr.so.3\r\nReading symbols from /lib/libm.so.5...Reading symbols from /usr/lib/debug//lib/libm.so.5.debug...done.\r\nLoaded symbols for /lib/libm.so.5\r\nReading symbols from /usr/local/lib/libluajit-5.1.so.2...done.\r\nLoaded symbols for /usr/local/lib/libluajit-5.1.so.2\r\nReading symbols from /lib/libc.so.7...Reading symbols from /usr/lib/debug//lib/libc.so.7.debug...done.\r\nLoaded symbols for /lib/libc.so.7\r\nReading symbols from /lib/libz.so.6...Reading symbols from /usr/lib/debug//lib/libz.so.6.debug...done.\r\nLoaded symbols for /lib/libz.so.6\r\nReading symbols from /usr/local/lib/libffi.so.6...done.\r\nLoaded symbols for /usr/local/lib/libffi.so.6\r\nReading symbols from /lib/libgcc_s.so.1...Reading symbols from /usr/lib/debug//lib/libgcc_s.so.1.debug...done.\r\nLoaded symbols for /lib/libgcc_s.so.1\r\nReading symbols from /usr/lib/i18n/libiconv_std.so.4...Reading symbols from /usr/lib/debug//usr/lib/i18n/libiconv_std.so.4.debug...done.\r\nLoaded symbols for /usr/lib/i18n/libiconv_std.so.4\r\nReading symbols from /usr/lib/i18n/libUTF8.so.4...Reading symbols from /usr/lib/debug//usr/lib/i18n/libUTF8.so.4.debug...done.\r\nLoaded symbols for /usr/lib/i18n/libUTF8.so.4\r\nReading symbols from /usr/lib/i18n/libmapper_std.so.4...Reading symbols from /usr/lib/debug//usr/lib/i18n/libmapper_std.so.4.debug...done.\r\nLoaded symbols for /usr/lib/i18n/libmapper_std.so.4\r\nReading symbols from /usr/lib/i18n/libmapper_parallel.so.4...Reading symbols from /usr/lib/debug//usr/lib/i18n/libmapper_parallel.so.4.debug...done.\r\nLoaded symbols for /usr/lib/i18n/libmapper_parallel.so.4\r\nReading symbols from /usr/lib/i18n/libmapper_none.so.4...Reading symbols from /usr/lib/debug//usr/lib/i18n/libmapper_none.so.4.debug...done.\r\nLoaded symbols for /usr/lib/i18n/libmapper_none.so.4\r\nReading symbols from /usr/lib/i18n/libmapper_646.so.4...Reading symbols from /usr/lib/debug//usr/lib/i18n/libmapper_646.so.4.debug...done.\r\nLoaded symbols for /usr/lib/i18n/libmapper_646.so.4\r\nReading symbols from /usr/lib/i18n/libGBK2K.so.4...Reading symbols from /usr/lib/debug//usr/lib/i18n/libGBK2K.so.4.debug...done.\r\nLoaded symbols for /usr/lib/i18n/libGBK2K.so.4\r\nReading symbols from /usr/lib/i18n/libEUC.so.4...Reading symbols from /usr/lib/debug//usr/lib/i18n/libEUC.so.4.debug...done.\r\nLoaded symbols for /usr/lib/i18n/libEUC.so.4\r\nReading symbols from /libexec/ld-elf.so.1...Reading symbols from /usr/lib/debug//libexec/ld-elf.so.1.debug...done.\r\nLoaded symbols for /libexec/ld-elf.so.1\r\n#0  0x00000008034bab54 in memmove () from /lib/libc.so.7\r\n[New Thread 804016000 (LWP 106277/<unknown>)]\r\n(gdb) bt\r\n#0  0x00000008034bab54 in memmove () from /lib/libc.so.7\r\n#1  0x0000000800e0d11b in g_strchug () from /usr/local/lib/libglib-2.0.so.0\r\n#2  0x00000000004ad693 in rspamd_message_parse ()\r\n#3  0x000000000049c13c in rspamd_task_process ()\r\n#4  0x000000000049c12c in rspamd_task_process ()\r\n#5  0x000000000049c12c in rspamd_task_process ()\r\n#6  0x0000000000432b94 in start_worker ()\r\n#7  0x000000000045302b in rspamd_http_date_format ()\r\n#8  0x0000000000517bbb in http_parser_execute ()\r\n#9  0x00000000004509da in rspamd_http_new_message ()\r\n#10 0x0000000801dec3b5 in event_base_loop () from /usr/local/lib/libevent-2.0.so.5\r\n#11 0x000000000043263f in start_worker ()\r\n#12 0x00000000004a12c3 in rspamd_fork_worker ()\r\n#13 0x000000000043083b in main ()\r\n\r\n```"}}
{"actor":{"display_login":"AloneShadow"}}