X-Original-To: alpine-aports@lists.alpinelinux.org Received: from sdaoden.eu (sdaoden.eu [217.144.132.164]) by lists.alpinelinux.org (Postfix) with ESMTP id 7251F5C4E8B for ; Tue, 6 Mar 2018 00:03:00 +0000 (GMT) Received: by sdaoden.eu (Postfix, from userid 1000) id 1CDAE16045; Tue, 6 Mar 2018 01:03:00 +0100 (CET) Date: Tue, 06 Mar 2018 01:02:59 +0100 From: Steffen Nurpmeso To: alpine-aports@lists.alpinelinux.org Subject: Re: [alpine-aports] [PATCH] testing/s-nail: update to v14.9.8 Message-ID: <20180306000259.QyggZ%steffen@sdaoden.eu> References: <820ede1a9d1ce901618006eb839fdb732d233c9d.1520291514.git.steffen@sdaoden.eu> In-Reply-To: <820ede1a9d1ce901618006eb839fdb732d233c9d.1520291514.git.steffen@sdaoden.eu> Mail-Followup-To: alpine-aports@lists.alpinelinux.org User-Agent: s-nail v14.9.8 OpenPGP: id=EE19E1C1F2F7054F8D3954D8308964B51883A0DD; url=https://ftp.sdaoden.eu/steffen.asc BlahBlahBlah: Any stupid boy can crush a beetle. But all the professors in the world can make no bugs. X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: Hi. I justed noted it, but my dev machine is behind somewhat. I get a reproducable crash with "apk check" in t_behave_xxxheads_rfc2047-8. This actually happens in EVP_cleanup(). I cannot get that with gcc (but have not tried heavily), only with clang. Flags: #?0[steffen@essex s-nail]$ abuild check make[1]: Entering directory '/home/steffen/sec.arena/packwork.git/abuild-pkg/testing/s-nail/src/s-nail-14.9.8' clang -DNDEBUG -O1 -g -I./ -I/usr/include -c ./xssl.c clang -Wl,--as-needed -o mail accmacvar.o attachment.o auxlily.o cmd-cnd.o cmd-folder.o cmd-headers.o cmd-message.o cmd-misc.o cmd-resend.o cmd-tab.o cmd-write.o collect.o colour.o dotlock.o edit.o filter.o fio.o folder.o go.o head.o ignore.o imap-search.o maildir.o main.o memory.o message.o mime-enc.o mime-param.o mime- parse.o mime-types.o mime.o nam-a-grp.o obs-imap-cache.o obs-imap.o obs-lzw.o path.o pop3.o popen.o quit.o send.o sendout.o shexp.o signal.o smtp.o socket.o spam .o ssl.o strings.o termcap.o thread.o tty.o ui-str.o urlcrecry.o xssl.o -L/lib -L/usr/lib -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lidn -lcurse s text data bss dec hex filename 647086 15714 24384 687184 a7c50 mail And then (heavily instrumented of course): make[1]: Entering directory '/home/steffen/sec.arena/packwork.git/abuild-pkg/testing/s-nail/src/s-nail-14.9.8' /bin/sh ./cc-test.sh --check-only ./mail [..] [t_behave_xxxheads_rfc2047] reproducible_build: P(seudo)R(andomNumber)G(enerator): *SSL RAND_* >./go.c 1237 reproducible_build: READ 5 bytes >./go.c 274 EINS ZWEI DREI VIER FUENF 1 reproducible_build: >>> MTA: ./.tsendmail.sh, arguments: sendmail -i -- zaza@exam.ple dude@exam.ple reproducible_build: >>> Date: Wed, 02 Oct 1996 01:50:07 +0000 reproducible_build: >>> To: =?iso-8859-1?Q?z=E1za?= , dude reproducible_build: >>> Subject: Re: houston(...) reproducible_build: >>> References: reproducible_build: >>> In-Reply-To: reproducible_build: >>> MIME-Version: 1.0 reproducible_build: >>> Content-Type: text/plain; charset=us-ascii reproducible_build: >>> 3 4 5 6 out <./go.c 814 >./go.c 850 <./go.c 986 >./go.c 850 <./go.c 986 LEAVING MAIN LOP <./go.c 1400 AFTER MAINLOOP AFTER AFTER AFTER MAINLOOP CIAO 1 CIAO 2 CIAO 3 CIAO 10 CIAO 100 >ATEXIT =ATEXIT [And these are actually as below!] Segmentation fault behave:xxxheads_rfc2047-8: error: unexpected exit status: 139 != 0 ./cc-test.sh: line 5093: can't open ./.cc-test.mbox: no such file behave:xxxheads_rfc2047-8: error: checksum mismatch (got ) make[1]: Leaving directory '/home/steffen/sec.arena/packwork.git/abuild-pkg/testing/s-nail/src/s-nail-14.9.8' It is in xssl.c: # if defined HAVE_XSSL_CONFIG || defined HAVE_SSL_ALL_ALGORITHMS static void a_xssl_atexit(void){ NYD2_ENTER; fprintf(stderr, ">ATEXIT\n"); # ifdef HAVE_XSSL_CONFIG if(a_xssl_state & a_XSSL_S_CONF_LOAD) CONF_modules_free(); # endif fprintf(stderr, "=ATEXIT\n"); # ifdef HAVE_SSL_ALL_ALGORITHMS if(a_xssl_state & a_XSSL_S_ALGO_LOAD) EVP_cleanup(); # endif fprintf(stderr, "./go.c 1237 reproducible_build: READ 5 bytes >./go.c 274 EINS ZWEI DREI VIER FUENF 1 reproducible_build: >>> MTA: ./.tsendmail.sh, arguments: sendmail -i -- zaza@exam.ple dude@exam.ple reproducible_build: >>> Date: Wed, 02 Oct 1996 01:50:07 +0000 reproducible_build: >>> To: =?iso-8859-1?Q?z=E1za?= , dude reproducible_build: >>> Subject: Re: houston(...) reproducible_build: >>> References: reproducible_build: >>> In-Reply-To: reproducible_build: >>> MIME-Version: 1.0 reproducible_build: >>> Content-Type: text/plain; charset=us-ascii reproducible_build: >>> 3 4 5 6 out <./go.c 814 >./go.c 850 <./go.c 986 >./go.c 850 <./go.c 986 LEAVING MAIN LOP <./go.c 1400 AFTER MAINLOOP AFTER AFTER AFTER MAINLOOP CIAO 1 CIAO 2 CIAO 3 CIAO 10 CIAO 100 >ATEXIT =ATEXIT