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

rspamd tells postfix: can’t read SMFIC_BODYEOB #2546

Closed
vandendal opened this issue Sep 27, 2018 · 18 comments
Closed

rspamd tells postfix: can’t read SMFIC_BODYEOB #2546

vandendal opened this issue Sep 27, 2018 · 18 comments

Comments

@vandendal
Copy link

@vandendal vandendal commented Sep 27, 2018

Classification (Please choose one option):

  • Serious bug

Reproducibility (Please choose one option):

  • Always

Rspamd version:

1.8.0-1~stretch

Operation system, CPU:

debian stretch
Intel(R) Xeon(R) CPU E5-2680 v4 @ 2.40GHz

Description (Please provide a descriptive summary of the issue):

With version 1.8.0 rspamd stopped working being addressed from postfix:
"can’t read SMFIC_BODYEOB"

Relevant logs (see details here):

Sep 25 12:25:41 v6 postfix/cleanup[2292]: warning: milter inet:127.0.0.1:11332: can’t read SMFIC_BODYEOB reply packet header: Success

Expected results:

Filtering

Actual results:

every mail got stucked

@vandendal

This comment has been minimized.

Copy link
Author

@vandendal vandendal commented Sep 28, 2018

Removing the original override.d/antivirus.conf from rspamds configuration gets spamfiltering up again. Without virus filtering obviously.

rspamd.log of error:

2018-09-28 00:00:53 #1263(controller) <533dwi>; map; http_map_finish: data is not modified for server updates.rspamd.com, next check at Thu, 27 Sep 2018 22:05:53 GMT
2018-09-28 00:08:24 #1262(rspamd_proxy) <8fd09b>; proxy; proxy_accept_socket: accepted milter connection from 127.0.0.1 port 48592
2018-09-28 00:08:24 #1262(rspamd_proxy) <8fd09b>; milter; rspamd_milter_process_command: got connection from xx.yy.215.239:51270
2018-09-28 00:08:24 #10717(normal) <9c48a5>; task; accept_socket: accepted connection from 127.0.0.1 port 40266, task ptr: 00007F030686E800
2018-09-28 00:08:24 #10717(normal) <9c48a5>; task; rspamd_message_parse: loaded message; id: <2711599.5j3ayu6jgK@zobel>; queue-id: <9854F9DD6A>; size: 277; checksum: <a6c35d8d41a723a910006559dea59d5e>
2018-09-28 00:08:24 #10717(normal) <9c48a5>; lua; settings.lua:358: check for settings
2018-09-28 00:08:24 #10717(normal) <9c48a5>; task; dkim_symbol_callback: skip DKIM checks for local networks and authorized users
2018-09-28 00:08:24 #10717(normal) <9c48a5>; task; spf_symbol_callback: skip SPF checks for local networks and authorized users
2018-09-28 00:08:24 #10717(normal) rspamd_inet_address_connect: connect unix:/var/run/clamav/clamd.ctl failed: 111, 'Verbindungsaufbau abgelehnt'
2018-09-28 00:08:24 #10717(normal) <9c48a5>; task; lua_tcp_make_connection: cannot connect to /var/run/clamav/clamd.ctl: Verbindungsaufbau abgelehnt
2018-09-28 00:08:24 #10717(normal) <9c48a5>; lua; once_received.lua:94: Skipping once_received for authenticated user or local network
2018-09-28 00:08:24 #10717(normal) <9c48a5>; lua; dmarc.lua:222: skip DMARC checks for local networks and authorized users
2018-09-28 00:08:24 #10717(normal) lua; dkim_signing.lua:166: dkim_signing
2018-09-28 00:08:24 #10717(normal) <9c48a5>; task; fuzzy_generate_commands: <2711599.5j3ayu6jgK@zobel>, part is shorter than 1000 bytes: 4 (2 * 2.00 bytes), use direct hash
2018-09-28 00:08:24 #10717(normal) <9c48a5>; task; fuzzy_generate_commands: <2711599.5j3ayu6jgK@zobel>, part hash empty, skip fuzzy check
2018-09-28 00:08:24 #10717(normal) <9c48a5>; surbl; surbl_test_url: disable surbl multi.uribl.com as it is reported to be offline
2018-09-28 00:08:24 #10717(normal) lua; arc.lua:587: arc
2018-09-28 00:08:24 #10717(normal) <9c48a5>; task; bayes_classify: skip classification as ham class has not enough learns: 150, 200 required
2018-09-28 00:08:24 #10717(normal) <9c48a5>; task; rspamd_task_write_log: id: <2711599.5j3ayu6jgK@zobel>, qid: <9854F9DD6A>, ip: 91.34.215.239, user: hilde@test.com, from: <hilde@test.com>, (default: F (no action): [0.90/15.00] [CTE_CASE(0.50){},MID_RHS_NOT_FQDN(0.50){},MIME_GOOD(-0.10){text/plain;},ARC_NA(0.00){},ASN(0.00){asn:3320, ipnet:91.0.0.0/10, country:DE;},FROM_EQ_ENVFROM(0.00){},FROM_HAS_DN(0.00){},RCPT_COUNT_ONE(0.00){1;},RCVD_COUNT_ZERO(0.00){0;},RCVD_TLS_ALL(0.00){},TO_DN_NONE(0.00){},TO_EQ_FROM(0.00){},TO_MATCH_ENVRCPT_ALL(0.00){}]), len: 277, time: 129.988ms real, 9.923ms virtual, dns req: 0, digest: <a6c35d8d41a723a910006559dea59d5e>, rcpts: <hilde@test.com>, mime_rcpts: <hilde@test.com>
2018-09-28 00:08:24 #10717(normal) <9c48a5>; task; rspamd_protocol_http_reply: regexp statistics: 0 pcre regexps scanned, 4 regexps matched, 175 regexps total, 91 regexps cached, 0B bytes scanned using pcre, 249B bytes scanned total
@vstakhov

This comment has been minimized.

Copy link
Member

@vstakhov vstakhov commented Sep 28, 2018

Could you enable debugging for milter module? https://rspamd.com/doc/faq.html#how-to-debug-some-module-in-rspamd

@vandendal

This comment has been minimized.

Copy link
Author

@vandendal vandendal commented Sep 28, 2018

Could you enable debugging for milter module?

definitely

With milter debugging enabled:
rspamd.log

@vandendal vandendal closed this Sep 28, 2018
@vandendal vandendal reopened this Sep 28, 2018
@vstakhov

This comment has been minimized.

Copy link
Member

@vstakhov vstakhov commented Sep 28, 2018

So it is actually a crash, not something you have described initially. Could you please get a proper core file for it:

https://rspamd.com/doc/faq.html#how-to-figure-out-why-rspamd-process-crashed

@vandendal

This comment has been minimized.

Copy link
Author

@vandendal vandendal commented Sep 28, 2018

So it is actually a crash, not something you have described initially.

First description: first symptoms

rspamd-28986.core.gz

@vstakhov

This comment has been minimized.

Copy link
Member

@vstakhov vstakhov commented Sep 28, 2018

Oh, could you please just do what's described here: https://rspamd.com/doc/faq.html#what-can-i-do-with-core-files ?

@vandendal

This comment has been minimized.

Copy link
Author

@vandendal vandendal commented Sep 28, 2018

Core was generated by `rspamd: normal process (localhost:11333) '.
Program terminated with signal SIGABRT, Aborted.
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
51 ../sysdeps/unix/sysv/linux/raise.c: Datei oder Verzeichnis nicht gefunden.

means File or folder not found.

@vstakhov

This comment has been minimized.

Copy link
Member

@vstakhov vstakhov commented Sep 28, 2018

No, it's fine. What is bt full output there?

@vandendal

This comment has been minimized.

Copy link
Author

@vandendal vandendal commented Sep 28, 2018

(gdb) bt full
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
set = {__val = {140724378663640, 18446744073709551615, 18302065926888881663, 18302615691494031347, 71209857688010751, 0, 1085102592571150095, 1085102592571150095, 18446744073709551615, 18446744073709551615,
18446744073709551615, 18446744073709551615, 18446178915941548031, 18374121330660605694, 0, 0}}
pid =
tid =
#1 0x00007f9e7ef8542a in __GI_abort () at abort.c:89
save_stage = 2
act = {__sigaction_handler = {sa_handler = 0x0, sa_sigaction = 0x0}, sa_mask = {__val = {0 <repeats 15 times>, 133}}, sa_flags = 2127799136, sa_restorer = 0x7f9e6b434f20}
sigs = {__val = {32, 0 <repeats 15 times>}}
#2 0x00007f9e7ea985a5 in g_assertion_message () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#3 0x00007f9e7ea9863a in g_assertion_message_expr () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#4 0x000056063f307711 in rspamd_session_watch_start ()
No symbol table info available.
#5 0x000056063f3a4357 in ?? ()
No symbol table info available.
#6 0x000056063f3a4af1 in ?? ()
No symbol table info available.
#7 0x000056063f30726a in rspamd_session_watcher_pop ()
No symbol table info available.
#8 0x000056063f3525dd in ?? ()
No symbol table info available.
#9 0x000056063f3546ff in ?? ()
No symbol table info available.
#10 0x000056063fa85e47 in ?? ()
No symbol table info available.
#11 0x000056063f32ec65 in ?? ()
No symbol table info available.
#12 0x000056063f3a43b6 in ?? ()
No symbol table info available.
#13 0x000056063f3a4af1 in ?? ()
No symbol table info available.
#14 0x000056063f30726a in rspamd_session_watcher_pop ()
No symbol table info available.
#15 0x000056063f2d9df1 in ?? ()
No symbol table info available.
#16 0x000056063f310af8 in ?? ()
No symbol table info available.
#17 0x000056063f30d854 in rspamd_session_remove_event ()
No symbol table info available.
#18 0x000056063f287a2c in rdns_process_read ()
No symbol table info available.
#19 0x00007f9e7e57b5a0 in event_base_loop () from /usr/lib/x86_64-linux-gnu/libevent-2.0.so.5
No symbol table info available.
#20 0x000056063f3c0a87 in start_worker ()
No symbol table info available.
#21 0x000056063f31fc70 in rspamd_fork_worker ()
No symbol table info available.
#22 0x000056063f3c18e3 in ?? ()
No symbol table info available.
#23 0x000056063f3c1bbe in ?? ()
No symbol table info available.
#24 0x000056063f270f6a in main ()
No symbol table info available.

@vstakhov

This comment has been minimized.

Copy link
Member

@vstakhov vstakhov commented Sep 28, 2018

Could you please install rspamd-dbg package and reiterate on gdb+bt full stage?

@vandendal

This comment has been minimized.

Copy link
Author

@vandendal vandendal commented Sep 28, 2018

Now with debug symbols:

Core was generated by `rspamd: normal process (localhost:11333) '.
Program terminated with signal SIGABRT, Aborted.
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
51 ../sysdeps/unix/sysv/linux/raise.c: Datei oder Verzeichnis nicht gefunden.
(gdb) bt full
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
set = {__val = {140724378663640, 18446744073709551615, 18302065926888881663, 18302615691494031347, 71209857688010751, 0, 1085102592571150095, 1085102592571150095, 18446744073709551615, 18446744073709551615,
18446744073709551615, 18446744073709551615, 18446178915941548031, 18374121330660605694, 0, 0}}
pid =
tid =
#1 0x00007f9e7ef8542a in __GI_abort () at abort.c:89
save_stage = 2
act = {__sigaction_handler = {sa_handler = 0x0, sa_sigaction = 0x0}, sa_mask = {__val = {0 <repeats 15 times>, 133}}, sa_flags = 2127799136, sa_restorer = 0x7f9e6b434f20}
sigs = {__val = {32, 0 <repeats 15 times>}}
#2 0x00007f9e7ea985a5 in g_assertion_message () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#3 0x00007f9e7ea9863a in g_assertion_message_expr () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#4 0x000056063f307711 in rspamd_session_watch_start (session=0x7f9e6c7de020, id=, cb=, ud=) at ./src/libserver/events.c:393
st_elt =
func = "rspamd_session_watch_start"
#5 0x000056063f3a4357 in rspamd_symbols_cache_check_symbol.isra.4 (task=task@entry=0x7f9e7a46e800, item=item@entry=0x7f9e6dbb4b00, total_diff=total_diff@entry=0x0) at ./src/libserver/symbols_cache.c:1362
pending_before = 3
pending_after =
t1 = 0
t2 = 0
diff =
ptask =
L =
check =
#6 0x000056063f3a4af1 in rspamd_symbols_cache_watcher_cb (sessiond=0x7f9e7a46e800, ud=0x7f9e7a5c4080) at ./src/libserver/symbols_cache.c:1302
task = 0x7f9e7a46e800
item = 0x7f9e7a5c4080
it = 0x7f9e6dbb4b00
checkpoint = 0x7f9e6c7df130
cache = 0x7f9e7a483020
i = 1
remain = 0
func = "rspamd_symbols_cache_watcher_cb"
#7 0x000056063f30726a in rspamd_session_call_watcher_stack () at ./src/libserver/events.c:236
No locals.
#8 rspamd_session_watcher_pop (session=, w=, w=, session=) at ./src/libserver/events.c:509
w = 0x7f9e6c7fa480
session = 0x7f9e6c7de020
func = "rspamd_session_watcher_pop"
#9 0x000056063f3525dd in lua_tcp_maybe_free (cbd=, cbd=) at ./src/lua/lua_tcp.c:498
No locals.
#10 0x000056063f3546ff in lua_tcp_request (L=0x40caa030) at ./src/lua/lua_tcp.c:1685
host =
stop_pattern = 0x7f9e6c263260 ""
port =
cbref = 132
tp =
conn_cbref = -1
plen = 1
ev_base = 0x7f9e7a4eb580
cbd =
resolver = 0x7f9e6c7d18b0
session = 0x7f9e6c7de020
task =
cfg = 0x7f9e7a473100
iov = 0x7f9e6c7d1d30
niov = 3
total_out = 1440
h =
timeout = 15000
partial = 0
do_shutdown = 0
do_read = 1
func = "lua_tcp_request"
#11 0x000056063fa85e47 in lj_BC_FUNCC ()
No symbol table info available.
#12 0x000056063f32ec65 in lua_do_resume () at ./src/lua/lua_thread_pool.c:196
narg =
L =
#13 lua_resume_thread_internal (thread_entry=0x7f9e7a44c500, narg=) at ./src/lua/lua_thread_pool.c:236
pool =
tb =
task =
func = "lua_resume_thread_internal"
---Type to continue, or q to quit---
#14 0x000056063f3a43b6 in rspamd_symbols_cache_check_symbol.isra.4 (task=task@entry=0x7f9e7a46e800, item=item@entry=0x7f9e7a5c4080, total_diff=total_diff@entry=0x0) at ./src/libserver/symbols_cache.c:1368
pending_before = 3
pending_after =
t1 =
t2 = 0
diff =
ptask =
L =
check =
#15 0x000056063f3a4af1 in rspamd_symbols_cache_watcher_cb (sessiond=0x7f9e7a46e800, ud=0x7f9e7a5d46a0) at ./src/libserver/symbols_cache.c:1302
task = 0x7f9e7a46e800
item = 0x7f9e7a5d46a0
it = 0x7f9e7a5c4080
checkpoint = 0x7f9e6c7df130
cache = 0x7f9e7a483020
i = 0
remain = 0
func = "rspamd_symbols_cache_watcher_cb"
#16 0x000056063f30726a in rspamd_session_call_watcher_stack () at ./src/libserver/events.c:236
No locals.
#17 rspamd_session_watcher_pop (session=, w=, w=, session=) at ./src/libserver/events.c:509
w = 0x7f9e6c7dfbb0
session = 0x7f9e6c7de020
func = "rspamd_session_watcher_pop"
#18 0x000056063f2d9df1 in rspamd_spf_maybe_return.part.11 (rec=0x7f9e6c7dfcc0) at ./src/libserver/spf.c:417
No locals.
#19 0x000056063f310af8 in rspamd_dns_fin_cb (arg=0x7f9e6c7fb980) at ./src/libserver/dns.c:73
fake_reply = {request = 0x7f9e7a48c980, resolver = 0x56063f30d65a <rspamd_event_hash+58>, entries = 0x56063f310ad0 <rspamd_dns_fin_cb>, requested_name = 0x7f9e6c7fb980 " \340}l\236\177", code = 1068502176,
authenticated = 6}
#20 0x000056063f30d854 in rspamd_session_remove_event (session=, fin=, ud=, ud=, fin=, session=) at ./src/libserver/events.c:283
search_ev = {subsystem = 1799573280, fin = 0x56063f310ad0 <rspamd_dns_fin_cb>, user_data = 0x7f9e6c7fb980, w = 0x7f9e7a48c980}
found_ev = 0x7f9e6c7fb9b0
ud = 0x7f9e6c7fb980
fin = 0x56063f310ad0 <rspamd_dns_fin_cb>
session = 0x7f9e6c7de020
func = "rspamd_session_remove_event"
#21 0x000056063f287a2c in rdns_process_read (fd=, arg=) at ./contrib/librdns/resolver.c:281
ioc =
resolver =
req = 0x7f9e7a48c980
r =
rep = 0x7f9e6c73c8e0
in = "\212\r\201\200\000\001\000\000\000\001\000\001\004smtp\027praxis-im-koelntriangle\002de\000\000\034\000\001\300\021\000\006\000\001\000\000\034\n\000B\020lvps92-51-129-45\tdedicated\nhosteurope\300)\003adm\300\021x+ \371\000\0000\000\000\016\020\000\t:\200\000\0000\000\000)\020\000\000\000\000\000\000\000\300V\300M\000\001\000\001\000\000\001]\000\004P\355\200\n\000\000)\020\000\000\000\000\000\000\000\004P\355\200\n\000\000)\020\000\000\000\000\000\000\000\000\001\000\000\000\000\000\000\000\374\002", '\000' <repeats 14 times>...
#22 0x00007f9e7e57b5a0 in event_base_loop () from /usr/lib/x86_64-linux-gnu/libevent-2.0.so.5
No symbol table info available.
#23 0x000056063f3c0a87 in start_worker (worker=0x7f9e6c199ec0) at ./src/worker.c:690
ctx = 0x7f9e798056b0
#24 0x000056063f31fc70 in rspamd_fork_worker (rspamd_main=0x7f9e7a467080, cf=0x7f9e7a5a5980, index=0, ev_base=) at ./src/libserver/worker_util.c:687
wrk = 0x7f9e6c199ec0
rc =
rlim = {rlim_cur = 104857600, rlim_max = 104857600}
func = "rspamd_fork_worker"
#25 0x000056063f3c18e3 in spawn_worker_type (rspamd_main=0x7f9e7a467080, ev_base=0x7f9e7a4eb580, cf=0x7f9e7a5a5980) at ./src/rspamd.c:536
i = 0
func = "spawn_worker_type"
#26 0x000056063f3c1bbe in spawn_workers (rspamd_main=0x7f9e7a467080, ev_base=0x7f9e7a4eb580) at ./src/rspamd.c:629
cur =
ls =
cf =
p =
bcf =
listen_ok =
seen_mandatory_workers = 0x7f9e6dbabac0
cw =
wrk =
i =
func = "spawn_workers"
#27 0x000056063f270f6a in main (argc=, argv=, env=) at ./src/rspamd.c:1463
i =
res = 0
signals = {__sigaction_handler = {sa_handler = 0x0, sa_sigaction = 0x0}, sa_mask = {__val = {0 <repeats 16 times>}}, sa_flags = 0, sa_restorer = 0x0}
sigpipe_act = {__sigaction_handler = {sa_handler = 0x1, sa_sigaction = 0x1}, sa_mask = {__val = {4096, 0 <repeats 15 times>}}, sa_flags = 0, sa_restorer = 0x0}
pworker =
---Type to continue, or q to quit---
type =
control_addr = 0x7f9e6e1ea0a0
ev_base = 0x7f9e7a4eb580
term_ev = {ev_active_next = {tqe_next = 0x0, tqe_prev = 0x0}, ev_next = {tqe_next = 0x7ffcf29a1d80, tqe_prev = 0x7f9e7a4eb6e0}, ev_timeout_pos = {ev_next_with_common_timeout = {tqe_next = 0xffffffff,
tqe_prev = 0x0}, min_heap_idx = -1}, ev_fd = 15, ev_base = 0x7f9e7a4eb580, _ev = {ev_io = {ev_io_next = {tqe_next = 0x0, tqe_prev = 0x7f9e6c224a60}, ev_timeout = {tv_sec = 0, tv_usec = 0}}, ev_signal = {
ev_signal_next = {tqe_next = 0x0, tqe_prev = 0x7f9e6c224a60}, ev_ncalls = 0, ev_pncalls = 0x0}}, ev_events = 24, ev_res = 0, ev_flags = 128, ev_pri = 0 '\000', ev_closure = 1 '\001', ev_timeout = {tv_sec = 0,
tv_usec = 0}, ev_callback = 0x56063f3c12b0 <rspamd_term_handler>, ev_arg = 0x7f9e7a467080}
int_ev = {ev_active_next = {tqe_next = 0x3abcacc17aad3784, tqe_prev = 0x41c46e72137051ff}, ev_next = {tqe_next = 0x7ffcf29a1c60, tqe_prev = 0x7f9e7a4eb6e0}, ev_timeout_pos = {ev_next_with_common_timeout = {
tqe_next = 0x8984d9aaffffffff, tqe_prev = 0x10a885732ce66744}, min_heap_idx = -1}, ev_fd = 2, ev_base = 0x7f9e7a4eb580, _ev = {ev_io = {ev_io_next = {tqe_next = 0x0, tqe_prev = 0x7f9e6c224a90}, ev_timeout = {
tv_sec = 3718359625221079040, tv_usec = 0}}, ev_signal = {ev_signal_next = {tqe_next = 0x0, tqe_prev = 0x7f9e6c224a90}, ev_ncalls = 0, ev_pncalls = 0x0}}, ev_events = 24, ev_res = 0, ev_flags = 128,
ev_pri = 0 '\000', ev_closure = 1 '\001', ev_timeout = {tv_sec = 0, tv_usec = 0}, ev_callback = 0x56063f3c12b0 <rspamd_term_handler>, ev_arg = 0x7f9e7a467080}
cld_ev = {ev_active_next = {tqe_next = 0xc008000000000000, tqe_prev = 0x0}, ev_next = {tqe_next = 0x7ffcf29a1bd0, tqe_prev = 0x7f9e7a4eb6e0}, ev_timeout_pos = {ev_next_with_common_timeout = {tqe_next = 0xffffffff,
tqe_prev = 0x0}, min_heap_idx = -1}, ev_fd = 17, ev_base = 0x7f9e7a4eb580, _ev = {ev_io = {ev_io_next = {tqe_next = 0x0, tqe_prev = 0x7f9e6c224a50}, ev_timeout = {tv_sec = 2356779834776944640, tv_usec = 0}},
ev_signal = {ev_signal_next = {tqe_next = 0x0, tqe_prev = 0x7f9e6c224a50}, ev_ncalls = 0, ev_pncalls = 0x0}}, ev_events = 24, ev_res = 0, ev_flags = 128, ev_pri = 0 '\000', ev_closure = 1 '\001', ev_timeout = {
tv_sec = 0, tv_usec = -4531805939643866011}, ev_callback = 0x56063f3c1310 <rspamd_cld_handler>, ev_arg = 0x7f9e7a467080}
hup_ev = {ev_active_next = {tqe_next = 0xc11bca822885a465, tqe_prev = 0x95e21a12c98c6175}, ev_next = {tqe_next = 0x7ffcf29a1cf0, tqe_prev = 0x7f9e7a4eb6e0}, ev_timeout_pos = {ev_next_with_common_timeout = {
tqe_next = 0x3abcacc1ffffffff, tqe_prev = 0x41c46e72137051ff}, min_heap_idx = -1}, ev_fd = 1, ev_base = 0x7f9e7a4eb580, _ev = {ev_io = {ev_io_next = {tqe_next = 0x0, tqe_prev = 0x7f9e6c224a20}, ev_timeout = {
tv_sec = 465055107795058688, tv_usec = 0}}, ev_signal = {ev_signal_next = {tqe_next = 0x0, tqe_prev = 0x7f9e6c224a20}, ev_ncalls = 0, ev_pncalls = 0x0}}, ev_events = 24, ev_res = 0, ev_flags = 128,
ev_pri = 0 '\000', ev_closure = 1 '\001', ev_timeout = {tv_sec = -7409445197117486138, tv_usec = 3718359625221091929}, ev_callback = 0x56063f3c21f0 <rspamd_hup_handler>, ev_arg = 0x7f9e7a467080}
usr1_ev = {ev_active_next = {tqe_next = 0x1, tqe_prev = 0x0}, ev_next = {tqe_next = 0x7f9e6c199de8, tqe_prev = 0x7f9e7a4eb6e0}, ev_timeout_pos = {ev_next_with_common_timeout = {tqe_next = 0x7ffcffffffff,
tqe_prev = 0x7f9e801ff29a <_dl_runtime_resolve_xsave+138>}, min_heap_idx = -1}, ev_fd = 10, ev_base = 0x7f9e7a4eb580, _ev = {ev_io = {ev_io_next = {tqe_next = 0x0, tqe_prev = 0x7f9e6c224a70}, ev_timeout = {
tv_sec = 0, tv_usec = 0}}, ev_signal = {ev_signal_next = {tqe_next = 0x0, tqe_prev = 0x7f9e6c224a70}, ev_ncalls = 0, ev_pncalls = 0x0}}, ev_events = 24, ev_res = 0, ev_flags = 128, ev_pri = 0 '\000',
ev_closure = 1 '\001', ev_timeout = {tv_sec = 7992068367243741812, tv_usec = 2356779834776960071}, ev_callback = 0x56063f3c16f0 <rspamd_usr1_handler>, ev_arg = 0x7f9e7a467080}
control_ev = {ev_active_next = {tqe_next = 0x2, tqe_prev = 0x0}, ev_next = {tqe_next = 0x0, tqe_prev = 0xffff00001f80}, ev_timeout_pos = {ev_next_with_common_timeout = {tqe_next = 0x56063fe2e850,
tqe_prev = 0x7ffcf29a2120}, min_heap_idx = 1071835216}, ev_fd = -224780040, ev_base = 0x4, _ev = {ev_io = {ev_io_next = {tqe_next = 0x4, tqe_prev = 0x7f9e801f7c54 <_dl_fixup+212>}, ev_timeout = {tv_sec = 1,
tv_usec = 94584841861776}}, ev_signal = {ev_signal_next = {tqe_next = 0x4, tqe_prev = 0x7f9e801f7c54 <_dl_fixup+212>}, ev_ncalls = 1, ev_pncalls = 0x56063fe67a90}}, ev_events = -6064, ev_res = 16354,
ev_flags = 22022, ev_pri = 0 '\000', ev_closure = 0 '\000', ev_timeout = {tv_sec = 140724378673440, tv_usec = 140724378673400}, ev_callback = 0x4, ev_arg = 0x7ffcf29a1fd0}
term_tv = {tv_sec = 140318721153432, tv_usec = 140318733284408}
skip_pid = 1
valgrind_mode = 0
func = "main"

@vstakhov

This comment has been minimized.

Copy link
Member

@vstakhov vstakhov commented Sep 28, 2018

What is in your antivirus.conf?

@vandendal

This comment has been minimized.

Copy link
Author

@vandendal vandendal commented Sep 28, 2018

antivirus.conf:

clamav {
attachments_only = false;
symbol = "CLAM_VIRUS";
type = "clamav";
action = "reject";
servers = "/var/run/clamav/clamd.ctl";
}

@vstakhov

This comment has been minimized.

Copy link
Member

@vstakhov vstakhov commented Sep 28, 2018

Hum, I cannot reproduce it but I have changed some stuff. Could you please try to install the recent experimental (1.8.1) package and test your case one more time?

@vandendal

This comment has been minimized.

Copy link
Author

@vandendal vandendal commented Sep 28, 2018

Could you please try to install the recent experimental (1.8.1) package and test your case one more time?

Claro, but unfortunately with 1.8.1-0git221ef80e47~stretch the error persists.

2018-09-28 22:07:05 #13874(rspamd_proxy) ; proxy; proxy_accept_socket: accepted milter connection from 127.0.0.1 port 55830
2018-09-28 22:07:05 #13874(rspamd_proxy) ; milter; rspamd_milter_process_command: got connection from 80.152.162.192:46214
2018-09-28 22:07:05 #14111(normal) ; task; accept_socket: accepted connection from ::1 port 0, task ptr: 00007F23F546E200
2018-09-28 22:07:05 #14111(normal) ; task; rspamd_message_parse: loaded message; id: zarafa.5bae89e7.201f.65194c7a3004cf71@zeus.jmhris.local; queue-id: <5E7519DD75>; size: 1430; checksum: <3e1d59a05b474b23a0f3dfae996a8efe>
2018-09-28 22:07:05 #14111(normal) ; lua; settings.lua:358: check for settings
2018-09-28 22:07:05 #14111(normal) rspamd_inet_address_connect: connect unix:/var/run/clamav/clamd.ctl failed: 111, 'Verbindungsaufbau abgelehnt'
2018-09-28 22:07:05 #14111(normal) ; task; lua_tcp_make_connection: cannot connect to /var/run/clamav/clamd.ctl: Verbindungsaufbau abgelehnt
2018-09-28 22:07:05 #14111(normal) glib; rspamd_glib_printerr_function: **
ERROR:/rspamd-1.8.1/src/libserver/events.c:393:rspamd_session_watch_start: assertion failed: (!RSPAMD_SESSION_IS_WATCHING (session))

2018-09-28 22:07:05 #14111(normal) rspamd_crash_sig_handler: caught fatal signal 6(Abgebrochen), pid: 14111, trace:
2018-09-28 22:07:05 #14111(normal) rspamd_print_crash: 0: 00007F23F9F54FFF: gsignal()+0xcf
2018-09-28 22:07:05 #14111(normal) rspamd_print_crash: 1: 00007F23F9F5642A: abort()+0x16a
2018-09-28 22:07:05 #14111(normal) rspamd_print_crash: 2: 00007F23F9A695A5: g_assertion_message()+0x145
2018-09-28 22:07:05 #14111(normal) rspamd_print_crash: 3: 00007F23F9A6963A: g_assertion_message_expr()+0x4a
2018-09-28 22:07:05 #14111(normal) rspamd_print_crash: 4: 0000555F11014841: rspamd_session_watch_start()+0x71
2018-09-28 22:07:05 #14111(normal) rspamd_print_crash: 5: 0000555F110B1567: rspamd_symbols_cache_check_symbol.isra.4()+0x1e7
2018-09-28 22:07:05 #14111(normal) rspamd_print_crash: 6: 0000555F110B1D01: rspamd_symbols_cache_watcher_cb()+0x1d1
2018-09-28 22:07:05 #14111(normal) rspamd_print_crash: 7: 0000555F110143BA: rspamd_session_watcher_pop()+0x9a
2018-09-28 22:07:05 #14111(normal) rspamd_print_crash: 8: 0000555F1105F74D: lua_tcp_maybe_free()+0x5d
2018-09-28 22:07:05 #14111(normal) rspamd_print_crash: 9: 0000555F1106186F: lua_tcp_request()+0x9bf
2018-09-28 22:07:05 #14111(normal) rspamd_print_crash: 10: 0000555F11793087: lj_BC_FUNCC()+0x34
2018-09-28 22:07:05 #14111(normal) rspamd_print_crash: 11: 0000555F1103BEA5: lua_resume_thread_internal()+0x15
2018-09-28 22:07:05 #14111(normal) rspamd_print_crash: 12: 0000555F110B15C6: rspamd_symbols_cache_check_symbol.isra.4()+0x246
2018-09-28 22:07:05 #14111(normal) rspamd_print_crash: 13: 0000555F110B1D01: rspamd_symbols_cache_watcher_cb()+0x1d1
2018-09-28 22:07:05 #14111(normal) rspamd_print_crash: 14: 0000555F110143BA: rspamd_session_watcher_pop()+0x9a
2018-09-28 22:07:05 #14111(normal) rspamd_print_crash: 15: 0000555F10FE6FC1: rspamd_spf_maybe_return.part.11()+0x81
2018-09-28 22:07:05 #14111(normal) rspamd_print_crash: 16: 0000555F1101DC78: rspamd_dns_fin_cb()+0x28
2018-09-28 22:07:05 #14111(normal) rspamd_print_crash: 17: 0000555F1101A9D4: rspamd_session_remove_event()+0x1d4
2018-09-28 22:07:05 #14111(normal) rspamd_print_crash: 18: 0000555F10F84E0C: rdns_process_read()+0x3ec
2018-09-28 22:07:05 #14111(normal) rspamd_print_crash: 19: 00007F23F954C5A0: event_base_loop()+0x6a0
2018-09-28 22:07:05 #14111(normal) rspamd_print_crash: 20: 0000555F110CDCD7: start_worker()+0x107
2018-09-28 22:07:05 #14111(normal) rspamd_print_crash: 21: 0000555F1102CE00: rspamd_fork_worker()+0x2a0
2018-09-28 22:07:05 #14111(normal) rspamd_print_crash: 22: 0000555F110CEA66: rspamd_fork_delayed_cb()+0x26
2018-09-28 22:07:05 #14111(normal) rspamd_print_crash: 23: 00007F23F954C5A0: event_base_loop()+0x6a0
2018-09-28 22:07:05 #14111(normal) rspamd_print_crash: 24: 0000555F10F7DFF9: main()+0xa89
2018-09-28 22:07:05 #14111(normal) rspamd_print_crash: 25: 00007F23F9F422E1: __libc_start_main()+0xf1
2018-09-28 22:07:05 #14111(normal) rspamd_print_crash: 26: 0000555F10F7EDFA: _start()+0x2a
2018-09-28 22:07:05 #14111(normal) rspamd_print_crash: 27: 0000000000000000:
2018-09-28 22:07:05 #13874(rspamd_proxy) ; proxy; proxy_backend_master_error_handler: abnormally closing connection from backend: ::1, error: IO read error: unexpected EOF, retries left: 5
2018-09-28 22:07:05 #13869(main) <8bd72c>; main; rspamd_cld_handler: catch SIGCHLD signal, finding terminated workers
2018-09-28 22:07:05 #13869(main) <8bd72c>; main; rspamd_cld_handler: normal process 14111 terminated abnormally by signal: Abgebrochen but NOT created core file

@vstakhov

This comment has been minimized.

Copy link
Member

@vstakhov vstakhov commented Sep 29, 2018

Could you please attach some core from this process?

vstakhov added a commit that referenced this issue Oct 1, 2018
@vandendal

This comment has been minimized.

Copy link
Author

@vandendal vandendal commented Oct 1, 2018

for 1.8.1-0git221ef80e47~stretch

(gdb) bt full
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
set = {__val = {140736080897176, 0, 1085102592571150095, 1085102592571150095, 18446744073709551615, 18446744073709551615, 18446744073709551615, 18446744073709551615, 18446178915941548031, 18374121330660605694,
140736081160688, 16540179585023194880, 17179869184, 0, 0, 0}}
pid =
tid =
#1 0x00007fbcdc42042a in __GI_abort () at abort.c:89
save_stage = 2
act = {__sigaction_handler = {sa_handler = 0x0, sa_sigaction = 0x0}, sa_mask = {__val = {0 <repeats 12 times>, 16540179585023194880, 93849058912088, 140448814780192, 133}}, sa_flags = -602057888,
sa_restorer = 0x7fbcc9b6cf20}
sigs = {__val = {32, 0 <repeats 15 times>}}
#2 0x00007fbcdbf335a5 in g_assertion_message () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#3 0x00007fbcdbf3363a in g_assertion_message_expr () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#4 0x0000555aef521841 in rspamd_session_watch_start (session=0x7fbcc9b11020, id=, cb=, ud=) at ./src/libserver/events.c:393
st_elt =
func = "rspamd_session_watch_start"
#5 0x0000555aef5be567 in rspamd_symbols_cache_check_symbol.isra.4 (task=task@entry=0x7fbcd786e200, item=item@entry=0x7fbcd7a51a30, total_diff=total_diff@entry=0x0) at ./src/libserver/symbols_cache.c:1362
pending_before = 3
pending_after =
t1 = 0
t2 = 0
diff =
ptask =
L =
check =
#6 0x0000555aef5bed01 in rspamd_symbols_cache_watcher_cb (sessiond=0x7fbcd786e200, ud=0x7fbcd79c3fc0) at ./src/libserver/symbols_cache.c:1302
task = 0x7fbcd786e200
item = 0x7fbcd79c3fc0
it = 0x7fbcd7a51a30
checkpoint = 0x7fbcc9b12130
cache = 0x7fbcd7883020
i = 1
remain = 0
func = "rspamd_symbols_cache_watcher_cb"
#7 0x0000555aef5213ba in rspamd_session_call_watcher_stack () at ./src/libserver/events.c:236
No locals.
#8 rspamd_session_watcher_pop (session=, w=, w=, session=) at ./src/libserver/events.c:522
w = 0x7fbcc9b42400
session = 0x7fbcc9b11020
func = "rspamd_session_watcher_pop"
#9 0x0000555aef56c74d in lua_tcp_maybe_free (cbd=, cbd=) at ./src/lua/lua_tcp.c:498
No locals.
#10 0x0000555aef56e86f in lua_tcp_request (L=0x40ad2030) at ./src/lua/lua_tcp.c:1685
host =
stop_pattern = 0x7fbccb858310 ""
port =
cbref = 131
tp =
conn_cbref = -1
plen = 1
ev_base = 0x7fbcd78e6d00
cbd =
resolver = 0x7fbcc96d8940
session = 0x7fbcc9b11020
task =
cfg = 0x7fbcd7873100
iov = 0x7fbcc96d8c10
niov = 3
total_out = 1429
h =
timeout = 15000
partial = 0
do_shutdown = 0
do_read = 1
func = "lua_tcp_request"
#11 0x0000555aefca0087 in lj_BC_FUNCC ()
No symbol table info available.
#12 0x0000555aef548ea5 in lua_do_resume () at ./src/lua/lua_thread_pool.c:196
narg =
L =
#13 lua_resume_thread_internal (thread_entry=0x7fbcd784c500, narg=) at ./src/lua/lua_thread_pool.c:236
pool =
tb =
task =
---Type to continue, or q to quit---
func = "lua_resume_thread_internal"
#14 0x0000555aef5be5c6 in rspamd_symbols_cache_check_symbol.isra.4 (task=task@entry=0x7fbcd786e200, item=item@entry=0x7fbcd79c3fc0, total_diff=total_diff@entry=0x0) at ./src/libserver/symbols_cache.c:1368
pending_before = 3
pending_after =
t1 =
t2 = 0
diff =
ptask =
L =
check =
#15 0x0000555aef5bed01 in rspamd_symbols_cache_watcher_cb (sessiond=0x7fbcd786e200, ud=0x7fbcd79d45f0) at ./src/libserver/symbols_cache.c:1302
task = 0x7fbcd786e200
item = 0x7fbcd79d45f0
it = 0x7fbcd79c3fc0
checkpoint = 0x7fbcc9b12130
cache = 0x7fbcd7883020
i = 0
remain = 0
func = "rspamd_symbols_cache_watcher_cb"
#16 0x0000555aef5213ba in rspamd_session_call_watcher_stack () at ./src/libserver/events.c:236
No locals.
#17 rspamd_session_watcher_pop (session=, w=, w=, session=) at ./src/libserver/events.c:522
w = 0x7fbcc9b12b70
session = 0x7fbcc9b11020
func = "rspamd_session_watcher_pop"
#18 0x0000555aef4f3fc1 in rspamd_spf_maybe_return.part.11 (rec=0x7fbcc9b12c60) at ./src/libserver/spf.c:417
No locals.
#19 0x0000555aef52ac78 in rspamd_dns_fin_cb (arg=0x7fbcc9b428d0) at ./src/libserver/dns.c:73
fake_reply = {request = 0x7fbcd788c980, resolver = 0x555aef5277da <rspamd_event_hash+58>, entries = 0x555aef52ac50 <rspamd_dns_fin_cb>, requested_name = 0x7fbcc9b428d0 " \020\261ɼ\177", code = -271470856,
authenticated = 90}
#20 0x0000555aef5279d4 in rspamd_session_remove_event (session=, fin=, ud=, ud=, fin=, session=) at ./src/libserver/events.c:283
search_ev = {subsystem = 3384200992, fin = 0x555aef52ac50 <rspamd_dns_fin_cb>, user_data = 0x7fbcc9b428d0, w = 0x7fbcd788c980}
found_ev = 0x7fbcc9b42900
ud = 0x7fbcc9b428d0
fin = 0x555aef52ac50 <rspamd_dns_fin_cb>
session = 0x7fbcc9b11020
func = "rspamd_session_remove_event"
#21 0x0000555aef491e0c in rdns_process_read (fd=, arg=) at ./contrib/librdns/resolver.c:281
ioc =
resolver =
req = 0x7fbcd788c980
r =
rep = 0x7fbcc96afdf0
in = "t\376\201\200\000\001\000\000\000\001\000\001\004smtp\027praxis-im-koelntriangle\002de\000\000\034\000\001\300\021\000\006\000\001\000\0000\000B\020lvps92-51-129-45\tdedicated\nhosteurope\300)\003adm\300\021xI,\275\000\0000\000\000\016\020\000\t:\200\000\000*0\000\000)\020\000\000\000\000\000\000\000\300V\300M\000\001\000\001\000\000\000\376\000\004P\355\200\n\300o\000\001\000\001\000\000\016\020\000\004\3\201-\000\000)\020\000\000\000\000\000\000\000\004\3\201-\000\000)\020\000\000\000\000\000\000\000\000"...
#22 0x00007fbcdba165a0 in event_base_loop () from /usr/lib/x86_64-linux-gnu/libevent-2.0.so.5
No symbol table info available.
#23 0x0000555aef5dacd7 in start_worker (worker=0x7fbcc97f5ec0) at ./src/worker.c:690
ctx = 0x7fbcd6c056b0
#24 0x0000555aef539e00 in rspamd_fork_worker (rspamd_main=0x7fbcd7867080, cf=0x7fbcd79a5980, index=0, ev_base=) at ./src/libserver/worker_util.c:687
wrk = 0x7fbcc97f5ec0
rc =
rlim = {rlim_cur = 104857600, rlim_max = 104857600}
func = "rspamd_fork_worker"
#25 0x0000555aef5dbb33 in spawn_worker_type (rspamd_main=0x7fbcd7867080, ev_base=0x7fbcd78e6d00, cf=0x7fbcd79a5980) at ./src/rspamd.c:536
i = 0
func = "spawn_worker_type"
#26 0x0000555aef5dbe0e in spawn_workers (rspamd_main=0x7fbcd7867080, ev_base=0x7fbcd78e6d00) at ./src/rspamd.c:629
cur =
ls =
cf =
p =
bcf =
listen_ok =
seen_mandatory_workers = 0x7fbcd7a09c60
cw =
wrk =
i =
func = "spawn_workers"
#27 0x0000555aef48af6a in main (argc=, argv=, env=) at ./src/rspamd.c:1463
i =
res = 0
signals = {__sigaction_handler = {sa_handler = 0x0, sa_sigaction = 0x0}, sa_mask = {__val = {0 <repeats 16 times>}}, sa_flags = 0, sa_restorer = 0x0}
sigpipe_act = {__sigaction_handler = {sa_handler = 0x1, sa_sigaction = 0x1}, sa_mask = {__val = {4096, 0 <repeats 15 times>}}, sa_flags = 0, sa_restorer = 0x0}
---Type to continue, or q to quit---
pworker =
type =
control_addr = 0x7fbccaf0a970
ev_base = 0x7fbcd78e6d00
term_ev = {ev_active_next = {tqe_next = 0x0, tqe_prev = 0x0}, ev_next = {tqe_next = 0x7fffac200620, tqe_prev = 0x7fbcd78e6e60}, ev_timeout_pos = {ev_next_with_common_timeout = {tqe_next = 0xffffffff,
tqe_prev = 0x0}, min_heap_idx = -1}, ev_fd = 15, ev_base = 0x7fbcd78e6d00, _ev = {ev_io = {ev_io_next = {tqe_next = 0x0, tqe_prev = 0x7fbcd79f57f0}, ev_timeout = {tv_sec = 0, tv_usec = 0}}, ev_signal = {
ev_signal_next = {tqe_next = 0x0, tqe_prev = 0x7fbcd79f57f0}, ev_ncalls = 0, ev_pncalls = 0x0}}, ev_events = 24, ev_res = 0, ev_flags = 128, ev_pri = 0 '\000', ev_closure = 1 '\001', ev_timeout = {tv_sec = 0,
tv_usec = 0}, ev_callback = 0x555aef5db500 <rspamd_term_handler>, ev_arg = 0x7fbcd7867080}
int_ev = {ev_active_next = {tqe_next = 0x8d5cf1c1c46be68c, tqe_prev = 0x2da583c3a58600a0}, ev_next = {tqe_next = 0x7fffac200500, tqe_prev = 0x7fbcd78e6e60}, ev_timeout_pos = {ev_next_with_common_timeout = {
tqe_next = 0x5825020dffffffff, tqe_prev = 0x9db42ae3ca6936e8}, min_heap_idx = -1}, ev_fd = 2, ev_base = 0x7fbcd78e6d00, _ev = {ev_io = {ev_io_next = {tqe_next = 0x0, tqe_prev = 0x7fbcd79f5820}, ev_timeout = {
tv_sec = -7628709487970942976, tv_usec = 0}}, ev_signal = {ev_signal_next = {tqe_next = 0x0, tqe_prev = 0x7fbcd79f5820}, ev_ncalls = 0, ev_pncalls = 0x0}}, ev_events = 24, ev_res = 0, ev_flags = 128,
ev_pri = 0 '\000', ev_closure = 1 '\001', ev_timeout = {tv_sec = -7961932922307218672, tv_usec = -7881178517152467396}, ev_callback = 0x555aef5db500 <rspamd_term_handler>, ev_arg = 0x7fbcd7867080}
cld_ev = {ev_active_next = {tqe_next = 0x92a06de519aff63c, tqe_prev = 0x69e27b20c495f0e9}, ev_next = {tqe_next = 0x7fffac200470, tqe_prev = 0x7fbcd78e6e60}, ev_timeout_pos = {ev_next_with_common_timeout = {
tqe_next = 0xc0080000ffffffff, tqe_prev = 0x0}, min_heap_idx = -1}, ev_fd = 17, ev_base = 0x7fbcd78e6d00, _ev = {ev_io = {ev_io_next = {tqe_next = 0x0, tqe_prev = 0x7fbcd79f57e0}, ev_timeout = {tv_sec = 0,
tv_usec = 0}}, ev_signal = {ev_signal_next = {tqe_next = 0x0, tqe_prev = 0x7fbcd79f57e0}, ev_ncalls = 0, ev_pncalls = 0x0}}, ev_events = 24, ev_res = 0, ev_flags = 128, ev_pri = 0 '\000',
ev_closure = 1 '\001', ev_timeout = {tv_sec = -8347921816078341356, tv_usec = 7489223542709674208}, ev_callback = 0x555aef5db560 <rspamd_cld_handler>, ev_arg = 0x7fbcd7867080}
hup_ev = {ev_active_next = {tqe_next = 0x67ef1121eab3e0e0, tqe_prev = 0xefcc9242c2691181}, ev_next = {tqe_next = 0x7fffac200590, tqe_prev = 0x7fbcd78e6e60}, ev_timeout_pos = {ev_next_with_common_timeout = {
tqe_next = 0x8d5cf1c1ffffffff, tqe_prev = 0x2da583c3a58600a0}, min_heap_idx = -1}, ev_fd = 1, ev_base = 0x7fbcd78e6d00, _ev = {ev_io = {ev_io_next = {tqe_next = 0x0, tqe_prev = 0x7fbcd79f57b0}, ev_timeout = {
tv_sec = 4528244276302643200, tv_usec = 0}}, ev_signal = {ev_signal_next = {tqe_next = 0x0, tqe_prev = 0x7fbcd79f57b0}, ev_ncalls = 0, ev_pncalls = 0x0}}, ev_events = 24, ev_res = 0, ev_flags = 128,
ev_pri = 0 '\000', ev_closure = 1 '\001', ev_timeout = {tv_sec = -2998933979993555092, tv_usec = -7628709487970917670}, ev_callback = 0x555aef5dc440 <rspamd_hup_handler>, ev_arg = 0x7fbcd7867080}
usr1_ev = {ev_active_next = {tqe_next = 0x7fffac200998, tqe_prev = 0x4}, ev_next = {tqe_next = 0x7fbcc97f5b68, tqe_prev = 0x7fbcd78e6e60}, ev_timeout_pos = {ev_next_with_common_timeout = {tqe_next = 0xffffffff,
tqe_prev = 0x0}, min_heap_idx = -1}, ev_fd = 10, ev_base = 0x7fbcd78e6d00, ev = {ev_io = {ev_io_next = {tqe_next = 0x0, tqe_prev = 0x7fbcd79f5800}, ev_timeout = {tv_sec = 9223372036854710272, tv_usec = 0}},
ev_signal = {ev_signal_next = {tqe_next = 0x0, tqe_prev = 0x7fbcd79f5800}, ev_ncalls = 0, ev_pncalls = 0x0}}, ev_events = 24, ev_res = 0, ev_flags = 128, ev_pri = 0 '\000', ev_closure = 1 '\001', ev_timeout = {
tv_sec = 140736081168792, tv_usec = 4}, ev_callback = 0x555aef5db940 <rspamd_usr1_handler>, ev_arg = 0x7fbcd7867080}
control_ev = {ev_active_next = {tqe_next = 0xffffffff, tqe_prev = 0x5d658eb1}, ev_next = {tqe_next = 0x7fbcdcd14998, tqe_prev = 0x7fbcdd8a6438}, ev_timeout_pos = {ev_next_with_common_timeout = {tqe_next = 0x0,
tqe_prev = 0x555aef48bf30 <ottery_wipe_stack
+48>}, min_heap_idx = 0}, ev_fd = 0, ev_base = 0xffff00001f80, _ev = {ev_io = {ev_io_next = {tqe_next = 0x555af0048870, tqe_prev = 0x7fffac2009c0}, ev_timeout = {
tv_sec = 140736081168792, tv_usec = 4}}, ev_signal = {ev_signal_next = {tqe_next = 0x555af0048870, tqe_prev = 0x7fffac2009c0}, ev_ncalls = 2456, ev_pncalls = 0x4}}, ev_events = 16464, ev_res = -10362,
ev_flags = 32700, ev_pri = 0 '\000', ev_closure = 0 '\000', ev_timeout = {tv_sec = 140449145236564, tv_usec = 1}, ev_callback = 0x555af0081a90, ev_arg = 0x555af0048870}
term_tv = {tv_sec = 93849049419884, tv_usec = 193502747}
skip_pid = 1
valgrind_mode = 0
func = "main"

@vandendal

This comment has been minimized.

Copy link
Author

@vandendal vandendal commented Oct 1, 2018

with 1.8.1-0git2222b32d54~stretch

no more crash

@vandendal vandendal closed this Oct 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.