[Rspamd-Users] neural learning

Ralph Meyer ralph at schosemail.de
Thu Oct 31 20:20:03 UTC 2019



>> Version: 2.1-1~xenial
>> 
>> After "systemctl reload rspamd" I found :
>> 
>> 2019-10-31 12:08:48 #2877(main) rspamd_crash_sig_handler: caught fatal signal
>> 11(Segmentation fault), pid: 2877, trace:
>> 2019-10-31 12:08:48 #2877(main) rspamd_print_crash: 0: 000000000048FD1F:
>> nallocm()+0x12b3f
>> 2019-10-31 12:08:48 #2877(main) rspamd_print_crash: 1: 0000000000477A5D:
>> free()+0x31d
>> 2019-10-31 12:08:48 #2877(main) rspamd_print_crash: 2: 00007F683EAB939F:
>> corei7_hs_free_database()+0x1f
>> 2019-10-31 12:08:48 #2877(main) rspamd_print_crash: 3: 00007F683E723639:
>> rspamd_multipattern_destroy()+0x79
>> 2019-10-31 12:08:48 #2877(main) rspamd_print_crash: 4: 00007F683E771A81:
>> rspamd_url_init()+0x41
>> 2019-10-31 12:08:48 #2877(main) rspamd_print_crash: 5: 00007F683E726592:
>> rspamd_config_post_load()+0x322
>> 2019-10-31 12:08:48 #2877(main) rspamd_print_crash: 6: 000000000042276D:
>> _init()+0x10485
>> 2019-10-31 12:08:48 #2877(main) rspamd_print_crash: 7: 00007F683D5B2F71:
>> ev_invoke_pending()+0x71
>> 2019-10-31 12:08:48 #2877(main) rspamd_print_crash: 8: 00007F683D5B3C4C:
>> ev_run()+0xcbc
>> 2019-10-31 12:08:48 #2877(main) rspamd_print_crash: 9: 0000000000422156:
>> _init()+0xfe6e
>> 2019-10-31 12:08:48 #2877(main) rspamd_print_crash: 10: 00007F683F2DA830:
>> __libc_start_main()+0xf0
>> 2019-10-31 12:08:48 #2877(main) rspamd_print_crash: 11: 00000000004142D9:
>> _init()+0x1ff1
>> 2019-10-31 12:08:48 #2877(main) rspamd_print_crash: 12: 0000000000000000:
>> <unknown>
>> 2019-10-31 12:08:48 #2888(fuzzy) <b44d45>; main; rspamd_worker_term_handler:
>> terminating after receiving signal Terminated
>> 2019-10-31 12:08:48 #2887(normal) <b44d45>; main; rspamd_worker_term_handler:
>> terminating after receiving signal Terminated
>> 2019-10-31 12:08:48 #2885(controller) <b44d45>; main;
>> rspamd_worker_term_handler: terminating after receiving signal Terminated
>> 2019-10-31 12:08:48 #2887(normal) rspamd_worker_on_terminate: performing
>> finishing actions
>> 2019-10-31 12:08:48 #2886(normal) <b44d45>; main; rspamd_worker_term_handler:
>> terminating after receiving signal Terminated
>> 2019-10-31 12:08:48 #2891(fuzzy) <b44d45>; main; rspamd_worker_term_handler:
>> terminating after receiving signal Terminated
>> 2019-10-31 12:08:48 #2890(fuzzy) <b44d45>; main; rspamd_worker_term_handler:
>> terminating after receiving signal Terminated
>> 2019-10-31 12:08:48 #2892(hs_helper) <b44d45>; main; rspamd_worker_term_handler:
>> terminating after receiving signal Terminated
>> 2019-10-31 12:08:48 #2884(rspamd_proxy) <b44d45>; main;
>> rspamd_worker_term_handler: terminating after receiving signal Terminated
>> 2019-10-31 12:08:48 #2889(fuzzy) <b44d45>; main; rspamd_worker_term_handler:
>> terminating after receiving signal Terminated
>> 2019-10-31 12:08:48 #2886(normal) rspamd_worker_on_terminate: performing
>> finishing actions
>> 2019-10-31 12:08:48 #2885(controller) rspamd_controller_on_terminate: closing
>> rrd file: /var/lib/rspamd/rspamd.rrd
>> 2019-10-31 12:08:49 #3610(main) rspamd_logger_configure_modules: enable
>> debugging for module neural (36)
>> 2019-10-31 12:08:49 #3610(main) <>; lua; lua_util.lua:964: enable debug for Lua
>> module neural
>> 2019-10-31 12:08:49 #3610(main) lua; lua_cfg_transform.lua:161: group excessqp
>> has no symbols
>> 2019-10-31 12:08:49 #3610(main) lua; lua_cfg_transform.lua:161: group excessb64
>> has no symbols
>> 2019-10-31 12:08:49 #3610(main) <>; lua; lua_cfg_transform.lua:467: enable
>> `options.check_all_filters` for neural network
>> 
>> 
>> After that "our version" and "remote version" is 0 for all configured networks.

I have configured it. 

systemctl reload rspamd

Core was generated by `rspamd: main process; 0.1 msg/sec, 0.1 msg/sec'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x000000000048fd1f in je_huge_salloc ()
(gdb) bt full
#0  0x000000000048fd1f in je_huge_salloc ()
No symbol table info available.
#1  0x0000000000477a5d in free ()
No symbol table info available.
#2  0x00007ff5cd08e39f in corei7_hs_free_database () from /usr/lib/rspamd/librspamd-server.so
No symbol table info available.
#3  0x00007ff5cccf8639 in rspamd_multipattern_destroy (mp=0x7ff5bcc16400) at /rspamd-2.1/src/libutil/multipattern.c:717
        p = <optimized out>
        pat = <optimized out>
        i = <optimized out>
#4  0x00007ff5ccd46a81 in rspamd_url_deinit () at /rspamd-2.1/src/libserver/url.c:506
No locals.
#5  rspamd_url_init (tld_file=0x7ff5b6000990 "/usr/share/rspamd/effective_tld_names.dat") at /rspamd-2.1/src/libserver/url.c:521
        err = 0x0
        ret = 1
#6  0x00007ff5cccfb592 in rspamd_config_post_load (cfg=<optimized out>, 
    opts=(RSPAMD_CONFIG_INIT_URL | RSPAMD_CONFIG_INIT_LIBS | RSPAMD_CONFIG_INIT_SYMCACHE | RSPAMD_CONFIG_INIT_VALIDATE | RSPAMD_CONFIG_INIT_PRELOAD_MAPS | RSPAMD_CONFIG_INIT_POST_LOAD_LUA))
    at /rspamd-2.1/src/libserver/cfg_utils.c:833
        ts = <optimized out>
        ret = 1
#7  0x000000000042276d in reread_config (rspamd_main=0x7ff5c5095140) at /rspamd-2.1/src/rspamd.c:327
        load_opts = 15
        tmp_cfg = 0x7ff5b6000028
        cfg_file = <optimized out>
        old_cfg = 0x7ff5bc000028
#8  rspamd_hup_handler (loop=<optimized out>, w=<optimized out>, revents=<optimized out>) at /rspamd-2.1/src/rspamd.c:1049
        rspamd_main = 0x7ff5c5095140
#9  0x00007ff5cbb87f71 in ev_invoke_pending (loop=0x7ff5cbd90808 <default_loop_struct>) at /rspamd-2.1/contrib/libev/ev.c:3340
No locals.
#10 0x00007ff5cbb88c4c in ev_run (loop=0x7ff5cbd90808 <default_loop_struct>, flags=<optimized out>) at /rspamd-2.1/contrib/libev/ev.c:3744
No locals.
#11 0x0000000000422156 in ev_loop (loop=<optimized out>, flags=0) at /rspamd-2.1/contrib/libev/ev.h:822
No locals.
#12 main (argc=<optimized out>, argv=<optimized out>, env=<optimized out>) at /rspamd-2.1/src/rspamd.c:1460
        control_addr = <optimized out>
        skip_pid = 1
        rspamd_main = 0x7ff5c5095140
        i = <optimized out>
        type = <optimized out>
        sigpipe_act = {__sigaction_handler = {sa_handler = 0x1, sa_sigaction = 0x1}, sa_mask = {__val = {4096, 0 <repeats 15 times>}}, sa_flags = 0, sa_restorer = 0x7ff5cbdc94ba}
        event_loop = 0x7ff5cbd90808 <default_loop_struct>


Ralph


More information about the Users mailing list