Andreas Jobs
2016-Apr-29 21:43 UTC
Panic: file message-part-serialize.c: line 90 (part_serialize): assertion failed: (part->children == NULL)
Hi, I just found this in my logs: Apr 29 11:05:20 lmtp(joerg.eggenstein at ruhr-uni-bochum.de): Panic: file message-part-serialize.c: line 90 (part_serialize): assertion failed: (part->children == NULL) Apr 29 11:05:20 lmtp(joerg.eggenstein at ruhr-uni-bochum.de): Error: Raw backtrace: /usr/local/dovecot/lib/dovecot/libdovecot.so.0(+0x9c7f9) [0x7fa88bfbf7f9] -> /usr/local/dovecot/lib/dovecot/libdovecot.so.0(+0x9db92) [0x7fa88bfc0b92] -> /usr/local/dovecot/lib/dovecot/libdovecot.so.0(i_fatal+0) [0x7fa88bfbfb3f] -> /usr/local/dovecot/lib/dovecot/libdovecot.so.0(+0x8a1bf) [0x7fa88bfad1bf] -> /usr/local/dovecot/lib/dovecot/libdovecot.so.0(+0x8a163) [0x7fa88bfad163] -> /usr/local/dovecot/lib/dovecot/libdovecot.so.0(message_part_serialize+0x27) [0x7fa88bfad20c] -> /usr/local/dovecot/lib/dovecot/libdovecot-storage.so.0(+0xccf29) [0x7fa88c327f29] -> /usr/local/dovecot/lib/dovecot/libdovecot-storage.so.0(+0xcdd01) [0x7fa88c328d01] -> /usr/local/dovecot/lib/dovecot/libdovecot-storage.so.0(index_mail_cache_parse_deinit+0xc9) [0x7fa88c32b236] -> /usr/local/dovecot/lib/dovecot/libdovecot-storage.so.0(dbox_save_end+0x1c4) [0x7fa88c2bed50] -> /usr/local/dovecot/lib/dovecot/libdovecot-storage.so.0(+0x5a6d5) [0x7fa88c2b56d5] -> /usr/local/dovecot/lib/dovecot/libdovecot-storage.so.0(mdbox_save_finish+0x18) [0x7fa88c2b5840] -> /usr/local/dovecot/lib/dovecot/lib10_quota_plugin.so(+0xe512) [0x7fa88b751512] -> /usr/local/dovecot/lib/dovecot/libdovecot-storage.so.0(mailbox_save_finish+0xb4) [0x7fa88c298dee] -> /usr/local/dovecot/lib/dovecot/libdovecot-storage.so.0(mail_storage_copy+0x6c) [0x7fa88c28a757] -> /usr/local/dovecot/lib/dovecot/libdovecot-storage.so.0(mdbox_copy+0x85) [0x7fa88c2b601e] -> /usr/local/dovecot/lib/dovecot/lib10_quota_plugin.so(+0xe322) [0x7fa88b751322] -> /usr/local/dovecot/lib/dovecot/libdovecot-storage.so.0(mailbox_copy+0xec) [0x7fa88c2990b4] -> /usr/local/dovecot/lib/dovecot/libdovecot-storage.so.0(mailbox_save_using_mail+0x34) [0x7fa88c29921a] -> /usr/local/dovecot/lib/dovecot/libdovecot-sieve.so.0(+0x51899) [0x7fa88b2b5899] -> /usr/local/dovecot/lib/dovecot/libdovecot-sieve.so.0(+0x45bc5) [0x7fa88b2a9bc5] -> /usr/local/dovecot/lib/dovecot/libdovecot-sieve.so.0(sieve_result_execute+0xbf) [0x7fa88b2aa250] -> /usr/local/dovecot/lib/dovecot/libdovecot-sieve.so.0(sieve_execute+0x7c) [0x7fa88b2c0597] -> /usr/local/dovecot/lib/dovecot/lib90_sieve_plugin.so(+0x32d8) [0x7fa88b53f2d8] -> /usr/local/dovecot/lib/dovecot/lib90_sieve_plugin.so(+0x40e1) [0x7fa88b5400e1] -> /usr/local/dovecot/lib/dovecot/lib90_sieve_plugin.so(+0x435c) [0x7fa88b54035c] -> /usr/local/dovecot/lib/dovecot/libdovecot-lda.so.0(mail_deliver+0x68) [0x7fa88c5db90c] -> dovecot/lmtp [DATA 134.147.53.148 redacted at ruhr-uni-bochum.de](+0x92ea) [0x7fa88ca102ea] Apr 29 11:05:20 lmtp(redacted at ruhr-uni-bochum.de): Fatal: master: service(lmtp): child 12080 killed with signal 6 (core dumped) It looks like that this may be caused by a mail where there is the blank line after a part header missing: I attach Backtrace and configuration. --Andreas -- ! Andreas Jobs Network Operation Center ! ! Ruhr-Universitaet Bochum ! ! One Day I Will Find This Peer Guy and Then I Will Reset HIS Connection ! -------------- next part -------------- # 2.2.24 (a82c823): /usr/local/dovecot/etc/dovecot/dovecot.conf # Pigeonhole version 0.4.14 (099a97c) # OS: Linux 3.13.0-74-generic x86_64 Ubuntu 14.04.4 LTS auth_master_user_separator = * auth_worker_max_count = 50 dict { quota = mysql:/usr/local/dovecot/etc/dovecot-dict-mysql.conf } disable_plaintext_auth = no doveadm_password = # hidden, use -P to show it import_environment = TZ CORE_OUTOFMEM CORE_ERROR USER lda_mailbox_autocreate = yes lmtp_rcpt_check_quota = yes lock_method = flock log_path = /var/log/dovecot.log login_trusted_networks = 134.147.42.224/28 mail_access_groups = nofiles mail_fsync = never mail_location = mdbox:~/mdbox mail_plugins = " quota zlib mail_log notify virtual" managesieve_notify_capability = mailto managesieve_sieve_capability = fileinto envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date index ihave duplicate mime foreverypart extracttext vnd.dovecot.debug vnd.dovecot.filter mdbox_rotate_size = 5 M mmap_disable = yes namespace { hidden = no inbox = yes location = mailbox Drafts { special_use = \Drafts } mailbox Sent { special_use = \Sent } mailbox Trash { special_use = \Trash } mailbox UCE-TMP { special_use = \Junk } prefix = separator = / type = private } namespace restore { hidden = yes inbox = no list = children location = mdbox:/var/qmail/data/emptyreadonlymdbox/ prefix = "#RESTORE/" separator = / subscriptions = no type = private } passdb { args = /var/qmail/data/dovecot.disabled deny = yes driver = passwd-file } passdb { args = /usr/local/dovecot/etc/dovecot-auth-mysql.conf driver = sql } passdb { driver = pam } passdb { args = /usr/local/dovecot/etc/passwd.dovcot.master driver = passwd-file master = yes } plugin { antispam_allow_append_to_spam = yes antispam_backend = spool2dir antispam_spam = UCE-TMP;UCE-MELDEN antispam_spam_pattern_ignorecase = junk* antispam_spool2dir_notspam = /opt/rubmail/data/antispam/ham/ham-%%020lu-%u-%%05lu antispam_spool2dir_spam = /opt/rubmail/data/antispam/spam/spam-%%020lu-%u-%%05lu antispam_trash = Trash;Papierkorb antispam_trash_pattern_ignorecase = gel?scht*;gel&APY-scht*;deleted* mail_log_events = mailbox_delete mailbox_rename mailbox_create mail_log_fields = uid box msgid size quota = dict:User quota:%i:noenforcing:proxy::quota quota_over_flag_value = * quota_over_script = quota-warning mismatch %u sieve_extensions = -reject +vnd.dovecot.filter +vnd.dovecot.debug sieve_filter_bin_dir = /opt/rubmail/sieve_bin sieve_max_actions = 200 sieve_max_redirects = 200 sieve_plugins = sieve_extprograms sieve_quota_max_scripts = 10 stats_refresh = 30 secs stats_track_cmds = yes } protocols = pop3 imap lmtp sieve quota_full_tempfail = yes sendmail_path = /opt/rubmail/bin/sendmailwrapper.dovecot service auth { client_limit = 5300 user = root } service dict { process_limit = 5120 unix_listener dict { group = nofiles mode = 0666 } } service doveadm { inet_listener { port = 542 } vsz_limit = 512 M } service imap-hibernate { unix_listener imap-hibernate { group = mode = 0666 user = } } service imap-login { inet_listener imap { address = 10.21.8.21 port = 143 } process_min_avail = 4 service_count = 0 } service imap { drop_priv_before_exec = yes process_limit = 5120 vsz_limit = 1 G } service lmtp { executable = lmtp inet_listener lmtp { address = 10.21.8.21 port = 24 } process_limit = 50 } service managesieve-login { inet_listener sieve { address = 10.21.8.21 } } service pop3-login { inet_listener pop3 { address = 10.21.8.21 port = 110 } process_min_avail = 4 service_count = 0 } service pop3 { drop_priv_before_exec = yes process_limit = 2048 vsz_limit = 512 M } service postlogin { executable = script-login -d rawlog -t } service quota-warning { executable = script /opt/rubmail/bin/quota-warning.pl unix_listener quota-warning { group = nofiles mode = 0666 user = nobody } user = dovecot } service stats { fifo_listener stats-mail { group = nofiles mode = 0666 } unix_listener stats { mode = 0666 } } ssl = no stats_memory_limit = 512 M userdb { driver = prefetch } userdb { args = /usr/local/dovecot/etc/dovecot-mysql.conf driver = sql } verbose_proctitle = yes protocol lda { mail_fsync = optimized mail_plugins = " quota zlib mail_log notify virtual sieve" } protocol lmtp { mail_fsync = optimized mail_plugins = quota sieve } protocol imap { mail_max_userip_connections = 30 mail_plugins = " quota zlib mail_log notify virtual imap_quota imap_zlib antispam" } -------------- next part -------------- GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1 Copyright (C) 2014 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /usr/local/dovecot/libexec/dovecot/lmtp...done. [New LWP 12080] Core was generated by `dovecot/lmtp'. Program terminated with signal SIGABRT, Aborted. #0 0x00007fa88bb94cc9 in __GI_raise (sig=sig at entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 #0 0x00007fa88bb94cc9 in __GI_raise (sig=sig at entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 resultvar = 0 pid = 12080 selftid = 12080 #1 0x00007fa88bb980d8 in __GI_abort () at abort.c:89 save_stage = 2 act = {__sigaction_handler = {sa_handler = 0x7ffdac80a208, sa_sigaction = 0x7ffdac80a208}, sa_mask = {__val = {192, 65528, 8443530669362135150, 140361882767898, 140361919380704, 140361866058693, 140361919380760, 0, 140361919380704, 140727497564592, 140361880008349, 140361886185740, 140361919380704, 140727497564640, 140361879753968, 0}}, sa_flags = -1400856056, sa_restorer = 0x7fa88c012a48} sigs = {__val = {32, 0 <repeats 15 times>}} #2 0x00007fa88bfbf848 in default_fatal_finish (type=LOG_TYPE_PANIC, status=0) at failures.c:201 backtrace = 0x7fa88e583d18 "/usr/local/dovecot/lib/dovecot/libdovecot.so.0(+0x9c7f9) [0x7fa88bfbf7f9] -> /usr/local/dovecot/lib/dovecot/libdovecot.so.0(+0x9db92) [0x7fa88bfc0b92] -> /usr/local/dovecot/lib/dovecot/libdovecot.so.0"... #3 0x00007fa88bfc0b92 in i_internal_fatal_handler (ctx=0x7ffdac80a270, format=0x7fa88c012a48 "file %s: line %d (%s): assertion failed: (%s)", args=0x7ffdac80a288) at failures.c:670 status = 0 #4 0x00007fa88bfbfb3f in i_panic (format=0x7fa88c012a48 "file %s: line %d (%s): assertion failed: (%s)") at failures.c:275 ctx = {type = LOG_TYPE_PANIC, exit_status = 0, timestamp = 0x0, timestamp_usecs = 0} args = {{gp_offset = 40, fp_offset = 48, overflow_arg_area = 0x7ffdac80a360, reg_save_area = 0x7ffdac80a2a0}} #5 0x00007fa88bfad1bf in part_serialize (part=0x7fa88e5ead90, dest=0x7fa88e583890, children_count_r=0x7ffdac80a3e0) at message-part-serialize.c:90 count = 1 children_count = 0 children_offset = 84 root = false __FUNCTION__ = "part_serialize" #6 0x00007fa88bfad163 in part_serialize (part=0x7fa88e5eab30, dest=0x7fa88e583890, children_count_r=0x7ffdac80a41c) at message-part-serialize.c:82 count = 0 children_count = 0 children_offset = 36 root = false __FUNCTION__ = "part_serialize" #7 0x00007fa88bfad20c in message_part_serialize (part=0x7fa88e5eab30, dest=0x7fa88e583890) at message-part-serialize.c:104 children_count = 32680 #8 0x00007fa88c327f29 in index_mail_body_parsed_cache_message_parts (mail=0x7fa88e5ea320) at index-mail.c:681 _data_stack_cur_id = 6 _mail = 0x7fa88e5ea320 data = 0x7fa88e5ea498 cache_field = 12 decision = MAIL_CACHE_DECISION_TEMP buffer = 0x7fa88e583890 #9 0x00007fa88c328d01 in index_mail_parse_body_finish (mail=0x7fa88e5ea320, field=MAIL_CACHE_FLAGS, success=true) at index-mail.c:1034 parser_input = 0x0 error = 0x0 ret = 1 __FUNCTION__ = "index_mail_parse_body_finish" #10 0x00007fa88c32b236 in index_mail_cache_parse_deinit (_mail=0x7fa88e5ea320, received_date=1461920720, success=true) at index-mail.c:1957 mail = 0x7fa88e5ea320 #11 0x00007fa88c2bed50 in dbox_save_end (ctx=0x7fa88e5eeb00) at dbox-save.c:127 mdata = 0x7fa88e5eeb10 dbox_output = 0x7fa88e5f7d20 __FUNCTION__ = "dbox_save_end" #12 0x00007fa88c2b56d5 in mdbox_save_finish_write (_ctx=0x7fa88e5eeb00) at mdbox-save.c:200 ctx = 0x7fa88e5eeb00 mail = 0x7fa88e65bc28 #13 0x00007fa88c2b5840 in mdbox_save_finish (ctx=0x7fa88e5eeb00) at mdbox-save.c:230 ret = 32680 #14 0x00007fa88b751512 in quota_save_finish (ctx=0x7fa88e5eeb00) at quota-storage.c:288 qbox = 0x7fa88e65be30 #15 0x00007fa88c298dee in mailbox_save_finish (_ctx=0x7ffdac80a628) at mail-storage.c:2084 _data_stack_cur_id = 5 ctx = 0x7fa88e5eeb00 t = 0x7fa88e5e95e0 keywords = 0x0 pvt_flags = 0 copying_via_save = true ret = 32680 __FUNCTION__ = "mailbox_save_finish" #16 0x00007fa88c28a757 in mail_storage_copy (ctx=0x0, mail=0x7fa88e633180) at mail-copy.c:107 No locals. #17 0x00007fa88c2b601e in mdbox_copy (_ctx=0x7fa88e5eeb00, mail=0x7fa88e633180) at mdbox-save.c:427 ctx = 0x7fa88e5eeb00 save_mail = 0x7fa88e65bc28 src_mbox = 0x8 rec = {map_uid = 2894112400, save_date = 32765} guid_data = 0x7ffdac80a690 wanted_guid = "\260\246\200\254\375\177\000\000(\274e\216\250\177\000" #18 0x00007fa88b751322 in quota_copy (ctx=0x7fa88e5eeb00, mail=0x7fa88e633180) at quota-storage.c:227 t = 0x7fa88e5e95e0 qt = 0x7fa88e5ea270 qbox = 0x7fa88e65be30 #19 0x00007fa88c2990b4 in mailbox_copy (_ctx=0x7ffdac80a7a8, mail=0x7fa88e633180) at mail-storage.c:2154 _data_stack_cur_id = 4 ctx = 0x7fa88e5eeb00 t = 0x7fa88e5e95e0 keywords = 0x0 pvt_flags = 0 backend_mail = 0x7fa88e633180 ret = 32680 __FUNCTION__ = "mailbox_copy" #20 0x00007fa88c29921a in mailbox_save_using_mail (ctx=0x7ffdac80a7a8, mail=0x7fa88e633180) at mail-storage.c:2187 No locals. #21 0x00007fa88b2b5899 in act_store_execute (action=0x7fa88e65e020, aenv=0x7fa88e65dee8, tr_context=0x7fa88e65e088) at sieve-actions.c:585 trans = 0x7fa88e65e088 mail = 0x7fa88e633180 save_ctx = 0x0 keywords = 0x0 backends_equal = false status = 1 #22 0x00007fa88b2a9bc5 in sieve_result_transaction_execute (result=0x7fa88e65dec0, first=0x7fa88e65e020) at sieve-result.c:1153 act = 0x7fa88e65e020 rsef = 0x0 sef = 0x7fa88e65e020 rac = 0x7fa88e65e020 status = 1 #23 0x00007fa88b2aa250 in sieve_result_execute (result=0x7fa88e65dec0, keep=0x0, ehandler=0x7fa88e65b040, flags=SIEVE_EXECUTE_FLAG_NOGLOBAL) at sieve-result.c:1370 status = 1 result_status = -1905954768 first_action = 0x7fa88e65e020 last_action = 0x0 implicit_keep = true ret = 32680 #24 0x00007fa88b2c0597 in sieve_execute (sbin=0x7fa88e657030, msgdata=0x7ffdac80a9a0, senv=0x7ffdac80a9d0, exec_ehandler=0x7fa88e64b500, action_ehandler=0x7fa88e65b040, flags=SIEVE_EXECUTE_FLAG_NOGLOBAL, keep=0x0) at sieve.c:565 result = 0x7fa88e65dec0 ret = 1 #25 0x00007fa88b53f2d8 in lda_sieve_singlescript_execute (srctx=0x7ffdac80aac0) at lda-sieve-plugin.c:449 svinst = 0x7fa88e647f40 mdctx = 0x7ffdac80ac10 script = 0x7fa88e64bd20 user_script = true exec_ehandler = 0x7fa88e64b500 action_ehandler = 0x7fa88e65b040 sbin = 0x7fa88e657030 debug = false cpflags = SIEVE_COMPILE_FLAG_NOGLOBAL exflags = SIEVE_EXECUTE_FLAG_NOGLOBAL error = SIEVE_ERROR_NONE ret = 32680 #26 0x00007fa88b5400e1 in lda_sieve_execute (srctx=0x7ffdac80aac0, storage_r=0x7ffdac80aba8) at lda-sieve-plugin.c:856 mdctx = 0x7ffdac80ac10 svinst = 0x7fa88e647f40 msgdata = {mail = 0x7fa88e633180, return_path = 0x7fa88e593228 "root at ancientmariner.szoccer.com", orig_envelope_to = 0x7fa88e5934c0 "redacted at ruhr-uni-bochum.de", final_envelope_to = 0x7fa88e5934c0 "redacted at ruhr-uni-bochum.de", auth_user = 0x7fa88e5bdcf8 "redacted at ruhr-uni-bochum.de", id = 0x7fa88e59dc20 "<20160429072540135 at szoccer.com>"} scriptenv = {user = 0x7fa88e5bdc00, default_mailbox = 0x7fa88ca1314a "INBOX", postmaster_address = 0x7fa88e5ad510 "postmaster at ruhr-uni-bochum.de", mailbox_autocreate = true, mailbox_autosubscribe = false, script_context = 0x7ffdac80ac10, smtp_start = 0x7fa88b53e890 <lda_sieve_smtp_start>, smtp_add_rcpt = 0x7fa88b53e8c5 <lda_sieve_smtp_add_rcpt>, smtp_send = 0x7fa88b53e8f6 <lda_sieve_smtp_send>, smtp_finish = 0x7fa88b53e91c <lda_sieve_smtp_finish>, duplicate_check = 0x7fa88b53e998 <lda_sieve_duplicate_check>, duplicate_mark = 0x7fa88b53e9e0 <lda_sieve_duplicate_mark>, duplicate_flush = 0x7fa88b53ea30 <lda_sieve_duplicate_flush>, reject_mail = 0x7fa88b53e95f <lda_sieve_reject_mail>, exec_status = 0x7ffdac80a990, trace_log = 0x0, trace_config = {level = SIEVE_TRLVL_NONE, flags = 0}} estatus = {last_storage = 0x7fa88e5c3040, message_saved = 0, message_forwarded = 0, tried_default_save = 1, keep_original = 0, store_failed = 0} trace_config = {level = SIEVE_TRLVL_NONE, flags = 0} trace_log = 0x0 debug = false ret = 32680 #27 0x00007fa88b54035c in lda_sieve_deliver_mail (mdctx=0x7ffdac80ac10, storage_r=0x7ffdac80aba8) at lda-sieve-plugin.c:920 _data_stack_cur_id = 3 srctx = {svinst = 0x7fa88e647f40, mdctx = 0x7ffdac80ac10, home_dir = 0x7fa88e5c0000 "/net/storage-6/home/37/eggenjb6", scripts = 0x7fa88e583768, script_count = 1, user_script = 0x7fa88e64bd20, main_script = 0x7fa88e64bd20, msgdata = 0x7ffdac80a9a0, scriptenv = 0x7ffdac80a9d0, user_ehandler = 0x7fa88e64b500, master_ehandler = 0x7fa88e64b3f0, action_ehandler = 0x0, userlog = 0x7fa88e5837e8 "/net/storage-6/home/37/eggenjb6/.dovecot.sieve.log"} debug = false svenv = {hostname = 0x7fa88e5aa300 "mbx4.mail.ruhr-uni-bochum.de", domainname = 0x0, base_dir = 0x7fa88e5bf0e0 "/var/run/dovecot", username = 0x7fa88e5bdcf8 "redacted at ruhr-uni-bochum.de", home_dir = 0x7fa88e5c0000 "/net/storage-6/home/37/eggenjb6", temp_dir = 0x7fa88e5c02a8 "/tmp", flags = SIEVE_FLAG_HOME_RELATIVE, location = SIEVE_ENV_LOCATION_MDA, delivery_phase = SIEVE_DELIVERY_PHASE_DURING} i = 2388214520 ret = 0 #28 0x00007fa88c5db90c in mail_deliver (ctx=0x7ffdac80ac10, storage_r=0x7ffdac80aba8) at mail-deliver.c:440 ret = 32680 #29 0x00007fa88ca102ea in client_deliver (client=0x7fa88e5ad0b0, rcpt=0x7fa88e593480, src_mail=0x7fa88e633180, session=0x7fa88e5a1ac0) at commands.c:878 dctx = {pool = 0x7fa88e5a1aa0, set = 0x7fa88e5aa2a0, session = 0x7fa88e5a1ac0, timeout_secs = 30, session_time_msecs = 42, delivery_time_started = {tv_sec = 1461920720, tv_usec = 838237}, dup_ctx = 0x7fa88e5e76e0, session_id = 0x7fa88e593210 "oEp/JlMjI1cwLwAAyCUETg", src_mail = 0x7fa88e633180, src_envelope_sender = 0x7fa88e593228 "root at ancientmariner.szoccer.com", dest_user = 0x7fa88e5bdc00, dest_addr = 0x7fa88e5934c0 "redacted at ruhr-uni-bochum.de", final_dest_addr = 0x7fa88e5934c0 "redacted at ruhr-uni-bochum.de", dest_mailbox_name = 0x7fa88ca1314a "INBOX", dest_mail = 0x0, var_expand_table = 0x0, tempfail_error = 0x0, tried_default_save = false, saved_mail = false, save_dest_mail = false, mailbox_full = false, dsn = false} storage = 0x0 input = 0x7fa88e5a8e90 mail_set = 0x7fa88e5a9250 lda_set = 0x7fa88e5aa2a0 ns = 0xe2790 set_parser = 0x7fa88e6376b0 delivery_time_started = {tv_sec = 1461920720, tv_usec = 838237} sets = 0x7fa88e583500 line = 0x7ffdac80ac10 "\240\032Z\216\250\177" error = 0x400 <error: Cannot access memory at address 0x400> username = 0x7fa88e5820b0 "redacted at ruhr-uni-bochum.de" str = 0x7fa88e5833b8 mail_error = 2894113744 ret = 32765 __FUNCTION__ = "client_deliver" #30 0x00007fa88ca105aa in client_deliver_next (client=0x7fa88e5ad0b0, src_mail=0x7fa88e633180, session=0x7fa88e5a1ac0) at commands.c:923 rcpts = 0x7fa88e593280 count = 1 ret = 32680 #31 0x00007fa88ca109bf in client_input_data_write_local (client=0x7fa88e5ad0b0, input=0x7fa88e5a4a60) at commands.c:1019 session = 0x7fa88e5a1ac0 src_mail = 0x7fa88e633180 old_uid = 29337 first_uid = 4294967295 __FUNCTION__ = "client_input_data_write_local" #32 0x00007fa88ca10ea1 in client_input_data_write (client=0x7fa88e5ad0b0) at commands.c:1154 input = 0x7fa88e5a4a60 #33 0x00007fa88ca112c5 in client_input_data_handle (client=0x7fa88e5ad0b0) at commands.c:1249 data = 0x7fa88e5aa67c "" size = 664 ret = -1 #34 0x00007fa88ca112fe in client_input_data (client=0x7fa88e5ad0b0) at commands.c:1259 No locals. #35 0x00007fa88bfdc1e4 in io_loop_call_io (io=0x7fa88e5a4eb0) at ioloop.c:564 ioloop = 0x7fa88e58a720 t_id = 2 __FUNCTION__ = "io_loop_call_io" #36 0x00007fa88bfde5dc in io_loop_handler_run_internal (ioloop=0x7fa88e58a720) at ioloop-epoll.c:220 ctx = 0x7fa88e590340 events = 0x7fa88e591f10 event = 0x7fa88e591f10 list = 0x7fa88e5931b0 io = 0x7fa88e5a4eb0 tv = {tv_sec = 299, tv_usec = 999238} events_count = 5 msecs = 300000 ret = 1 i = 0 j = 0 call = true __FUNCTION__ = "io_loop_handler_run_internal" #37 0x00007fa88bfdc38a in io_loop_handler_run (ioloop=0x7fa88e58a720) at ioloop.c:612 No locals. #38 0x00007fa88bfdc2d8 in io_loop_run (ioloop=0x7fa88e58a720) at ioloop.c:588 __FUNCTION__ = "io_loop_run" #39 0x00007fa88bf4b89d in master_service_run (service=0x7fa88e58a5c0, callback=0x7fa88ca0c195 <client_connected>) at master-service.c:640 No locals. #40 0x00007fa88ca0c48d in main (argc=1, argv=0x7fa88e58a390) at main.c:127 set_roots = {0x7fa88c7e0740 <lda_setting_parser_info>, 0x7fa88cc15740 <lmtp_setting_parser_info>, 0x0} service_flags = (MASTER_SERVICE_FLAG_KEEP_CONFIG_OPEN | MASTER_SERVICE_FLAG_USE_SSL_SETTINGS) storage_service_flags = (MAIL_STORAGE_SERVICE_FLAG_DISALLOW_ROOT | MAIL_STORAGE_SERVICE_FLAG_USERDB_LOOKUP | MAIL_STORAGE_SERVICE_FLAG_TEMP_PRIV_DROP | MAIL_STORAGE_SERVICE_FLAG_NO_LOG_INIT | MAIL_STORAGE_SERVICE_FLAG_NO_IDLE_TIMEOUT | MAIL_STORAGE_SERVICE_FLAG_AUTOEXPUNGE) c = -1
Timo Sirainen
2016-Apr-30 11:27 UTC
Panic: file message-part-serialize.c: line 90 (part_serialize): assertion failed: (part->children == NULL)
On 30 Apr 2016, at 00:43, Andreas Jobs <andreas.jobs at ruhr-uni-bochum.de> wrote:> > Hi, > > I just found this in my logs: > > Apr 29 11:05:20 lmtp(joerg.eggenstein at ruhr-uni-bochum.de): Panic: file message-part-serialize.c: line 90 (part_serialize): assertion failed: (part->children == NULL)> It looks like that this may be caused by a mail where there is the blank > line after a part header missing:Thanks, this should fix it not to crash: https://github.com/dovecot/core/commit/12fd7a30563f3256642070ef9528dda0d089cb41
Andreas Jobs
2016-Apr-30 12:23 UTC
Panic: file message-part-serialize.c: line 90 (part_serialize): assertion failed: (part->children == NULL)
On Sat, Apr 30, 2016 at 02:27:56PM +0300, Timo Sirainen wrote:> Thanks, this should fix it not to crash: > https://github.com/dovecot/core/commit/12fd7a30563f3256642070ef9528dda0d089cb41Yes, it does. Thank you. --Andreas -- ! Andreas Jobs Network Operation Center ! ! Ruhr-Universitaet Bochum ! ! One Day I Will Find This Peer Guy and Then I Will Reset HIS Connection !