From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 6q1uHs4s32DQUgEAgWs5BA (envelope-from ) for ; Fri, 02 Jul 2021 17:12:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id sNB0Gc4s32BlFQAA1q6Kng (envelope-from ) for ; Fri, 02 Jul 2021 15:12:14 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8B04123746 for ; Fri, 2 Jul 2021 17:12:13 +0200 (CEST) Received: from localhost ([::1]:60234 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lzKpw-0007Gh-Hq for larch@yhetil.org; Fri, 02 Jul 2021 11:12:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36490) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lzKpm-0007Ca-RQ for bug-guix@gnu.org; Fri, 02 Jul 2021 11:12:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53578) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lzKpm-0001sN-Ip for bug-guix@gnu.org; Fri, 02 Jul 2021 11:12:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lzKpm-0002qZ-Ew for bug-guix@gnu.org; Fri, 02 Jul 2021 11:12:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#48064: [Dev-luatex] bug#48064: texlive-* packages fail to build non-deterministically Resent-From: Thiago Jung Bauermann Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 02 Jul 2021 15:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48064 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: luigi scarso Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , luatex development list , 48064@debbugs.gnu.org Received: via spool by 48064-submit@debbugs.gnu.org id=B48064.162523868110878 (code B ref 48064); Fri, 02 Jul 2021 15:12:02 +0000 Received: (at 48064) by debbugs.gnu.org; 2 Jul 2021 15:11:21 +0000 Received: from localhost ([127.0.0.1]:36885 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lzKp6-0002pN-99 for submit@debbugs.gnu.org; Fri, 02 Jul 2021 11:11:21 -0400 Received: from mx.kolabnow.com ([95.128.36.41]:46422) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lzKp3-0002p9-Ko for 48064@debbugs.gnu.org; Fri, 02 Jul 2021 11:11:19 -0400 Received: from localhost (unknown [127.0.0.1]) by ext-mx-out001.mykolab.com (Postfix) with ESMTP id B2A9B14FD; Fri, 2 Jul 2021 17:11:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= content-type:content-type:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:date:subject:subject :from:from:received:received:received; s=dkim20160331; t= 1625238670; x=1627053071; bh=V9ggvnAuS8CvAWLPakMjbfgO6NGkV6Y4U7k KHp2TXJM=; b=GeXnbOqEyliYJsp1ZHyWDhncgHI++XlYksIu86/6a59PTxoH6Mp Y+3kz9H2DAPY/GGBBCygtm0Yn52GJGGXDSseBok1OY2BSLyEeneKLHW8ORBsyWy3 1UNmozpfgoVd1k4xs6PBnIt25HNYFO5h+WU4vki8Adga169zivSEgYm3kwpdODan 9Cg7CRISVDKsII3fXz/YZ3KemGszVxeSE4CW4OHiIzgCrmR2peh7NMr84PHhCvkL XAT+KSRE/YABR9pZOeeKU7K3BH0tgdjWeg1d34xCQOIF4LS1Jk/gKL0BTeflTGRU ZcvAwgIJTkxyyEg1UpyzHN+sVkvwb3CAhfyj88yRTn7LY863VdJenwGPjgsbbfxz LWR1shKatq/6scp6hh7C2gL/fSd6i8dGpY++aB+Y9Y+jNtjRzid8FsITRyBHiLOM KUc5rHMbdwcGhARS5/Zfb+5nP8peaZCwkWZAk8s0706Nl0FqXGq6WNxCb9P0toFE hEufQxbpIYfVvOk36nkJqF5QAjszfJvHE3eueYT0pHc+wNHGjJD+FuQ4HiUNt6zr LtEVEvhfiFA9RmPdYVTU8NW70c8wfvdfsOB8cqVA8EkqdXRapLSjM3W7+DoRoZG4 zAZby3XNHtS8yRQk4YEC6Vogeq11RVkl1I+wVTGxI8HkBfRkAM6K8RLE= X-Virus-Scanned: amavisd-new at mykolab.com Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out001.mykolab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qw41KE3WIbud; Fri, 2 Jul 2021 17:11:10 +0200 (CEST) Received: from int-mx001.mykolab.com (unknown [10.9.13.1]) by ext-mx-out001.mykolab.com (Postfix) with ESMTPS id D5AF514F6; Fri, 2 Jul 2021 17:11:09 +0200 (CEST) Received: from ext-subm002.mykolab.com (unknown [10.9.6.2]) by int-mx001.mykolab.com (Postfix) with ESMTPS id 5CB3E412; Fri, 2 Jul 2021 17:11:07 +0200 (CEST) Date: Fri, 02 Jul 2021 12:11:00 -0300 Message-ID: <2640745.LZQS8YVrSi@popigai> In-Reply-To: References: <871rav68km.fsf@inria.fr> <877dicr9k7.fsf@gnu.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" Reply-to: Thiago Jung Bauermann From: Thiago Jung Bauermann via Bug reports for GNU Guix X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1625238734; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=V9ggvnAuS8CvAWLPakMjbfgO6NGkV6Y4U7kKHp2TXJM=; b=E9cRSeYsyP/BpVjtU+6pKqNNFU5qtSRKL9yBkEW0hSAe8nZgaIW+++EdVyQERkYWmLPpb3 m3V2b27qFj+5yTy5gp1+6iu6mPMQdlvL9raNMKNDzceT4gVa7QA4WwwlgqW6042/3Kvfe+ Mp1raZoqXfv932iR0eFV0bjIu9lQ9PvA0IUGoLSKAKGtRJp2lLGY+fORtUGlQE3edyp5aT oF7ZhjluXHu37BYacL/9LScV6BNQulxbm/N9iSOqq9svVAXTndrjPgqHoHl6sQjgxiTdAf zSMuDWMU4LtrjhSEzJGoPUnWl0oOVQpxymCT9rBgTatuR2FqZH4gTv14AccJOg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1625238734; a=rsa-sha256; cv=none; b=baJFS/O72FknRou4R/7hV+sfHt0TQFUeNBODyD87e4ZpxHfqDRmmgNk0F5vckSyGtklzv3 +exZjf1hMvACC9VfJR4LP/o0ZV+amgxG5Xo5e+4E40nrgBusWNYEz0irLExX4F/K1f0j9K fwtaEHCSFoDFWAYz8YxI6ukS38y/Xjm7QFTxqAxCPHnrIjhwosqr33bLME4iY/Ekflis7b kppcxap1sooKGd//iE/fDD3MLZOi0pOrRs5hG4xsK00U9BcfG+mlCnLMdh4NJ4/FVipeg8 EghZJPniMVZixD9LOyplvqBT+9OfGAN+pOhHBAko8or8ecXL9M3eNhmRNN3pxg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=kolabnow.com header.s=dkim20160331 header.b=GeXnbOqE; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -0.91 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=kolabnow.com header.s=dkim20160331 header.b=GeXnbOqE; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 8B04123746 X-Spam-Score: -0.91 X-Migadu-Scanner: scn0.migadu.com X-TUID: ailQE6Yo5HVe Em quarta-feira, 30 de junho de 2021, =C3=A0s 08:53:41 -03, luigi scarso es= creveu: > On Wed, Jun 30, 2021 at 8:20 AM Ludovic Court=C3=A8s wrote: > > Hi, > >=20 > > Ludovic Court=C3=A8s skribis: > > > While investigating luatex crashes in the TeX Live 2020 package of > > > GNU Guix=C2=B9, we identified the following heap corruption reported = by > >=20 > > > Valgrind (this is on GNU/Linux, with glibc 2.33): > > This time with debug info for luatex: > Thank you for the report, I will check asap. Thanks! I was able to run Valgrind on LuaTeX 1.13.0, which is the latest=20 one in TeX Live 2021. The invalid reads and writes don=E2=80=99t happen on every run. I had to re= =2Drun the=20 command 3 or 4 times until I got the result below (which matches our=20 experience with the build failures in Guix packages) =2D-=20 Thanks, Thiago $ valgrind --extra-debuginfo-path=3D/gnu/store/rkhx3pj1qi7fx6pi9p2cg2sb9zn5= 9qmg-profile/lib/debug luatex amsclass.ins =3D=3D239904=3D=3D Memcheck, a memory error detector =3D=3D239904=3D=3D Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward= et al. =3D=3D239904=3D=3D Using Valgrind-3.17.0 and LibVEX; rerun with -h for copy= right info =3D=3D239904=3D=3D Command: luatex amsclass.ins =3D=3D239904=3D=3D This is LuaTeX, Version 1.13.0 (TeX Live 2021) restricted system commands enabled. =3D=3D239904=3D=3D Invalid write of size 8 =3D=3D239904=3D=3D at 0x4860691: lua_pushlstring (lapi.c:483) =3D=3D239904=3D=3D by 0x56A963: load_hyphenation (texlang.c:306) =3D=3D239904=3D=3D by 0x56D0CC: undump_one_language (texlang.c:1277) =3D=3D239904=3D=3D by 0x56D0CC: undump_language_data (texlang.c:1290) =3D=3D239904=3D=3D by 0x4E0D7F: load_fmt_file (dumpdata.c:520) =3D=3D239904=3D=3D by 0x4F03DD: main_body (mainbody.c:540) =3D=3D239904=3D=3D by 0x45118D: main (luatex.c:609) =3D=3D239904=3D=3D Address 0x894aa30 is 0 bytes after a block of size 1,18= 4 alloc'd =3D=3D239904=3D=3D at 0x484242B: realloc (in /gnu/store/a4xjjppiw7x0vgd2= jimmzssj9i22jf5f-valgrind-3.17.0/libexec/valgrind/vgpreload_memcheck-amd64-= linux.so) =3D=3D239904=3D=3D by 0x466BCD: my_luaalloc (luastuff.c:115) =3D=3D239904=3D=3D by 0x48719C2: luaM_realloc_ (lmem.c:86) =3D=3D239904=3D=3D by 0x486A122: luaD_reallocstack (ldo.c:182) =3D=3D239904=3D=3D by 0x486CC17: traversethread (lgc.c:549) =3D=3D239904=3D=3D by 0x486CC17: propagatemark (lgc.c:588) =3D=3D239904=3D=3D by 0x486CFFF: singlestep (lgc.c:1057) =3D=3D239904=3D=3D by 0x486D8BB: luaC_step (lgc.c:1137) =3D=3D239904=3D=3D by 0x48606BB: lua_pushlstring (lapi.c:485) =3D=3D239904=3D=3D by 0x56A963: load_hyphenation (texlang.c:306) =3D=3D239904=3D=3D by 0x56D0CC: undump_one_language (texlang.c:1277) =3D=3D239904=3D=3D by 0x56D0CC: undump_language_data (texlang.c:1290) =3D=3D239904=3D=3D by 0x4E0D7F: load_fmt_file (dumpdata.c:520) =3D=3D239904=3D=3D by 0x4F03DD: main_body (mainbody.c:540) =3D=3D239904=3D=3D =3D=3D239904=3D=3D Invalid write of size 4 =3D=3D239904=3D=3D at 0x48606A2: lua_pushlstring (lapi.c:483) =3D=3D239904=3D=3D by 0x56A963: load_hyphenation (texlang.c:306) =3D=3D239904=3D=3D by 0x56D0CC: undump_one_language (texlang.c:1277) =3D=3D239904=3D=3D by 0x56D0CC: undump_language_data (texlang.c:1290) =3D=3D239904=3D=3D by 0x4E0D7F: load_fmt_file (dumpdata.c:520) =3D=3D239904=3D=3D by 0x4F03DD: main_body (mainbody.c:540) =3D=3D239904=3D=3D by 0x45118D: main (luatex.c:609) =3D=3D239904=3D=3D Address 0x894aa38 is 8 bytes after a block of size 1,18= 4 alloc'd =3D=3D239904=3D=3D at 0x484242B: realloc (in /gnu/store/a4xjjppiw7x0vgd2= jimmzssj9i22jf5f-valgrind-3.17.0/libexec/valgrind/vgpreload_memcheck-amd64-= linux.so) =3D=3D239904=3D=3D by 0x466BCD: my_luaalloc (luastuff.c:115) =3D=3D239904=3D=3D by 0x48719C2: luaM_realloc_ (lmem.c:86) =3D=3D239904=3D=3D by 0x486A122: luaD_reallocstack (ldo.c:182) =3D=3D239904=3D=3D by 0x486CC17: traversethread (lgc.c:549) =3D=3D239904=3D=3D by 0x486CC17: propagatemark (lgc.c:588) =3D=3D239904=3D=3D by 0x486CFFF: singlestep (lgc.c:1057) =3D=3D239904=3D=3D by 0x486D8BB: luaC_step (lgc.c:1137) =3D=3D239904=3D=3D by 0x48606BB: lua_pushlstring (lapi.c:485) =3D=3D239904=3D=3D by 0x56A963: load_hyphenation (texlang.c:306) =3D=3D239904=3D=3D by 0x56D0CC: undump_one_language (texlang.c:1277) =3D=3D239904=3D=3D by 0x56D0CC: undump_language_data (texlang.c:1290) =3D=3D239904=3D=3D by 0x4E0D7F: load_fmt_file (dumpdata.c:520) =3D=3D239904=3D=3D by 0x4F03DD: main_body (mainbody.c:540) =3D=3D239904=3D=3D =3D=3D239904=3D=3D Invalid read of size 16 =3D=3D239904=3D=3D at 0x4861269: lua_rawset (lapi.c:809) =3D=3D239904=3D=3D by 0x56A974: load_hyphenation (texlang.c:307) =3D=3D239904=3D=3D by 0x56D0CC: undump_one_language (texlang.c:1277) =3D=3D239904=3D=3D by 0x56D0CC: undump_language_data (texlang.c:1290) =3D=3D239904=3D=3D by 0x4E0D7F: load_fmt_file (dumpdata.c:520) =3D=3D239904=3D=3D by 0x4F03DD: main_body (mainbody.c:540) =3D=3D239904=3D=3D by 0x45118D: main (luatex.c:609) =3D=3D239904=3D=3D Address 0x894aa30 is 0 bytes after a block of size 1,18= 4 alloc'd =3D=3D239904=3D=3D at 0x484242B: realloc (in /gnu/store/a4xjjppiw7x0vgd2= jimmzssj9i22jf5f-valgrind-3.17.0/libexec/valgrind/vgpreload_memcheck-amd64-= linux.so) =3D=3D239904=3D=3D by 0x466BCD: my_luaalloc (luastuff.c:115) =3D=3D239904=3D=3D by 0x48719C2: luaM_realloc_ (lmem.c:86) =3D=3D239904=3D=3D by 0x486A122: luaD_reallocstack (ldo.c:182) =3D=3D239904=3D=3D by 0x486CC17: traversethread (lgc.c:549) =3D=3D239904=3D=3D by 0x486CC17: propagatemark (lgc.c:588) =3D=3D239904=3D=3D by 0x486CFFF: singlestep (lgc.c:1057) =3D=3D239904=3D=3D by 0x486D8BB: luaC_step (lgc.c:1137) =3D=3D239904=3D=3D by 0x48606BB: lua_pushlstring (lapi.c:485) =3D=3D239904=3D=3D by 0x56A963: load_hyphenation (texlang.c:306) =3D=3D239904=3D=3D by 0x56D0CC: undump_one_language (texlang.c:1277) =3D=3D239904=3D=3D by 0x56D0CC: undump_language_data (texlang.c:1290) =3D=3D239904=3D=3D by 0x4E0D7F: load_fmt_file (dumpdata.c:520) =3D=3D239904=3D=3D by 0x4F03DD: main_body (mainbody.c:540) =3D=3D239904=3D=3D =3D=3D239904=3D=3D Invalid read of size 1 =3D=3D239904=3D=3D at 0x486127D: lua_rawset (lapi.c:811) =3D=3D239904=3D=3D by 0x56A974: load_hyphenation (texlang.c:307) =3D=3D239904=3D=3D by 0x56D0CC: undump_one_language (texlang.c:1277) =3D=3D239904=3D=3D by 0x56D0CC: undump_language_data (texlang.c:1290) =3D=3D239904=3D=3D by 0x4E0D7F: load_fmt_file (dumpdata.c:520) =3D=3D239904=3D=3D by 0x4F03DD: main_body (mainbody.c:540) =3D=3D239904=3D=3D by 0x45118D: main (luatex.c:609) =3D=3D239904=3D=3D Address 0x894aa38 is 8 bytes after a block of size 1,18= 4 alloc'd =3D=3D239904=3D=3D at 0x484242B: realloc (in /gnu/store/a4xjjppiw7x0vgd2= jimmzssj9i22jf5f-valgrind-3.17.0/libexec/valgrind/vgpreload_memcheck-amd64-= linux.so) =3D=3D239904=3D=3D by 0x466BCD: my_luaalloc (luastuff.c:115) =3D=3D239904=3D=3D by 0x48719C2: luaM_realloc_ (lmem.c:86) =3D=3D239904=3D=3D by 0x486A122: luaD_reallocstack (ldo.c:182) =3D=3D239904=3D=3D by 0x486CC17: traversethread (lgc.c:549) =3D=3D239904=3D=3D by 0x486CC17: propagatemark (lgc.c:588) =3D=3D239904=3D=3D by 0x486CFFF: singlestep (lgc.c:1057) =3D=3D239904=3D=3D by 0x486D8BB: luaC_step (lgc.c:1137) =3D=3D239904=3D=3D by 0x48606BB: lua_pushlstring (lapi.c:485) =3D=3D239904=3D=3D by 0x56A963: load_hyphenation (texlang.c:306) =3D=3D239904=3D=3D by 0x56D0CC: undump_one_language (texlang.c:1277) =3D=3D239904=3D=3D by 0x56D0CC: undump_language_data (texlang.c:1290) =3D=3D239904=3D=3D by 0x4E0D7F: load_fmt_file (dumpdata.c:520) =3D=3D239904=3D=3D by 0x4F03DD: main_body (mainbody.c:540) =3D=3D239904=3D=3D =3D=3D239904=3D=3D Invalid write of size 8 =3D=3D239904=3D=3D at 0x485F068: auxgetstr (lapi.c:596) =3D=3D239904=3D=3D by 0x463955: check_texconfig_init (luainit.c:1198) =3D=3D239904=3D=3D by 0x4F0507: main_body (mainbody.c:565) =3D=3D239904=3D=3D by 0x45118D: main (luatex.c:609) =3D=3D239904=3D=3D Address 0x894aa30 is 0 bytes after a block of size 1,18= 4 alloc'd =3D=3D239904=3D=3D at 0x484242B: realloc (in /gnu/store/a4xjjppiw7x0vgd2= jimmzssj9i22jf5f-valgrind-3.17.0/libexec/valgrind/vgpreload_memcheck-amd64-= linux.so) =3D=3D239904=3D=3D by 0x466BCD: my_luaalloc (luastuff.c:115) =3D=3D239904=3D=3D by 0x48719C2: luaM_realloc_ (lmem.c:86) =3D=3D239904=3D=3D by 0x486A122: luaD_reallocstack (ldo.c:182) =3D=3D239904=3D=3D by 0x486CC17: traversethread (lgc.c:549) =3D=3D239904=3D=3D by 0x486CC17: propagatemark (lgc.c:588) =3D=3D239904=3D=3D by 0x486CFFF: singlestep (lgc.c:1057) =3D=3D239904=3D=3D by 0x486D8BB: luaC_step (lgc.c:1137) =3D=3D239904=3D=3D by 0x48606BB: lua_pushlstring (lapi.c:485) =3D=3D239904=3D=3D by 0x56A963: load_hyphenation (texlang.c:306) =3D=3D239904=3D=3D by 0x56D0CC: undump_one_language (texlang.c:1277) =3D=3D239904=3D=3D by 0x56D0CC: undump_language_data (texlang.c:1290) =3D=3D239904=3D=3D by 0x4E0D7F: load_fmt_file (dumpdata.c:520) =3D=3D239904=3D=3D by 0x4F03DD: main_body (mainbody.c:540) =3D=3D239904=3D=3D =3D=3D239904=3D=3D Invalid write of size 4 =3D=3D239904=3D=3D at 0x485F07A: auxgetstr (lapi.c:596) =3D=3D239904=3D=3D by 0x463955: check_texconfig_init (luainit.c:1198) =3D=3D239904=3D=3D by 0x4F0507: main_body (mainbody.c:565) =3D=3D239904=3D=3D by 0x45118D: main (luatex.c:609) =3D=3D239904=3D=3D Address 0x894aa38 is 8 bytes after a block of size 1,18= 4 alloc'd =3D=3D239904=3D=3D at 0x484242B: realloc (in /gnu/store/a4xjjppiw7x0vgd2= jimmzssj9i22jf5f-valgrind-3.17.0/libexec/valgrind/vgpreload_memcheck-amd64-= linux.so) =3D=3D239904=3D=3D by 0x466BCD: my_luaalloc (luastuff.c:115) =3D=3D239904=3D=3D by 0x48719C2: luaM_realloc_ (lmem.c:86) =3D=3D239904=3D=3D by 0x486A122: luaD_reallocstack (ldo.c:182) =3D=3D239904=3D=3D by 0x486CC17: traversethread (lgc.c:549) =3D=3D239904=3D=3D by 0x486CC17: propagatemark (lgc.c:588) =3D=3D239904=3D=3D by 0x486CFFF: singlestep (lgc.c:1057) =3D=3D239904=3D=3D by 0x486D8BB: luaC_step (lgc.c:1137) =3D=3D239904=3D=3D by 0x48606BB: lua_pushlstring (lapi.c:485) =3D=3D239904=3D=3D by 0x56A963: load_hyphenation (texlang.c:306) =3D=3D239904=3D=3D by 0x56D0CC: undump_one_language (texlang.c:1277) =3D=3D239904=3D=3D by 0x56D0CC: undump_language_data (texlang.c:1290) =3D=3D239904=3D=3D by 0x4E0D7F: load_fmt_file (dumpdata.c:520) =3D=3D239904=3D=3D by 0x4F03DD: main_body (mainbody.c:540) =3D=3D239904=3D=3D =3D=3D239904=3D=3D Invalid write of size 4 =3D=3D239904=3D=3D at 0x4880608: luaV_finishget (lvm.c:176) =3D=3D239904=3D=3D by 0x485F089: auxgetstr (lapi.c:598) =3D=3D239904=3D=3D by 0x463955: check_texconfig_init (luainit.c:1198) =3D=3D239904=3D=3D by 0x4F0507: main_body (mainbody.c:565) =3D=3D239904=3D=3D by 0x45118D: main (luatex.c:609) =3D=3D239904=3D=3D Address 0x894aa38 is 8 bytes after a block of size 1,18= 4 alloc'd =3D=3D239904=3D=3D at 0x484242B: realloc (in /gnu/store/a4xjjppiw7x0vgd2= jimmzssj9i22jf5f-valgrind-3.17.0/libexec/valgrind/vgpreload_memcheck-amd64-= linux.so) =3D=3D239904=3D=3D by 0x466BCD: my_luaalloc (luastuff.c:115) =3D=3D239904=3D=3D by 0x48719C2: luaM_realloc_ (lmem.c:86) =3D=3D239904=3D=3D by 0x486A122: luaD_reallocstack (ldo.c:182) =3D=3D239904=3D=3D by 0x486CC17: traversethread (lgc.c:549) =3D=3D239904=3D=3D by 0x486CC17: propagatemark (lgc.c:588) =3D=3D239904=3D=3D by 0x486CFFF: singlestep (lgc.c:1057) =3D=3D239904=3D=3D by 0x486D8BB: luaC_step (lgc.c:1137) =3D=3D239904=3D=3D by 0x48606BB: lua_pushlstring (lapi.c:485) =3D=3D239904=3D=3D by 0x56A963: load_hyphenation (texlang.c:306) =3D=3D239904=3D=3D by 0x56D0CC: undump_one_language (texlang.c:1277) =3D=3D239904=3D=3D by 0x56D0CC: undump_language_data (texlang.c:1290) =3D=3D239904=3D=3D by 0x4E0D7F: load_fmt_file (dumpdata.c:520) =3D=3D239904=3D=3D by 0x4F03DD: main_body (mainbody.c:540) =3D=3D239904=3D=3D =3D=3D239904=3D=3D Invalid read of size 4 =3D=3D239904=3D=3D at 0x485F092: auxgetstr (lapi.c:601) =3D=3D239904=3D=3D by 0x463955: check_texconfig_init (luainit.c:1198) =3D=3D239904=3D=3D by 0x4F0507: main_body (mainbody.c:565) =3D=3D239904=3D=3D by 0x45118D: main (luatex.c:609) =3D=3D239904=3D=3D Address 0x894aa38 is 8 bytes after a block of size 1,18= 4 alloc'd =3D=3D239904=3D=3D at 0x484242B: realloc (in /gnu/store/a4xjjppiw7x0vgd2= jimmzssj9i22jf5f-valgrind-3.17.0/libexec/valgrind/vgpreload_memcheck-amd64-= linux.so) =3D=3D239904=3D=3D by 0x466BCD: my_luaalloc (luastuff.c:115) =3D=3D239904=3D=3D by 0x48719C2: luaM_realloc_ (lmem.c:86) =3D=3D239904=3D=3D by 0x486A122: luaD_reallocstack (ldo.c:182) =3D=3D239904=3D=3D by 0x486CC17: traversethread (lgc.c:549) =3D=3D239904=3D=3D by 0x486CC17: propagatemark (lgc.c:588) =3D=3D239904=3D=3D by 0x486CFFF: singlestep (lgc.c:1057) =3D=3D239904=3D=3D by 0x486D8BB: luaC_step (lgc.c:1137) =3D=3D239904=3D=3D by 0x48606BB: lua_pushlstring (lapi.c:485) =3D=3D239904=3D=3D by 0x56A963: load_hyphenation (texlang.c:306) =3D=3D239904=3D=3D by 0x56D0CC: undump_one_language (texlang.c:1277) =3D=3D239904=3D=3D by 0x56D0CC: undump_language_data (texlang.c:1290) =3D=3D239904=3D=3D by 0x4E0D7F: load_fmt_file (dumpdata.c:520) =3D=3D239904=3D=3D by 0x4F03DD: main_body (mainbody.c:540) =3D=3D239904=3D=3D =3D=3D239904=3D=3D Invalid read of size 4 =3D=3D239904=3D=3D at 0x485F6D9: lua_type (lapi.c:253) =3D=3D239904=3D=3D by 0x463966: check_texconfig_init (luainit.c:1199) =3D=3D239904=3D=3D by 0x4F0507: main_body (mainbody.c:565) =3D=3D239904=3D=3D by 0x45118D: main (luatex.c:609) =3D=3D239904=3D=3D Address 0x894aa38 is 8 bytes after a block of size 1,18= 4 alloc'd =3D=3D239904=3D=3D at 0x484242B: realloc (in /gnu/store/a4xjjppiw7x0vgd2= jimmzssj9i22jf5f-valgrind-3.17.0/libexec/valgrind/vgpreload_memcheck-amd64-= linux.so) =3D=3D239904=3D=3D by 0x466BCD: my_luaalloc (luastuff.c:115) =3D=3D239904=3D=3D by 0x48719C2: luaM_realloc_ (lmem.c:86) =3D=3D239904=3D=3D by 0x486A122: luaD_reallocstack (ldo.c:182) =3D=3D239904=3D=3D by 0x486CC17: traversethread (lgc.c:549) =3D=3D239904=3D=3D by 0x486CC17: propagatemark (lgc.c:588) =3D=3D239904=3D=3D by 0x486CFFF: singlestep (lgc.c:1057) =3D=3D239904=3D=3D by 0x486D8BB: luaC_step (lgc.c:1137) =3D=3D239904=3D=3D by 0x48606BB: lua_pushlstring (lapi.c:485) =3D=3D239904=3D=3D by 0x56A963: load_hyphenation (texlang.c:306) =3D=3D239904=3D=3D by 0x56D0CC: undump_one_language (texlang.c:1277) =3D=3D239904=3D=3D by 0x56D0CC: undump_language_data (texlang.c:1290) =3D=3D239904=3D=3D by 0x4E0D7F: load_fmt_file (dumpdata.c:520) =3D=3D239904=3D=3D by 0x4F03DD: main_body (mainbody.c:540) =3D=3D239904=3D=3D (./amsclass.ins (/gnu/store/rkhx3pj1qi7fx6pi9p2cg2sb9zn59qmg-profile/share/= texmf-dist/tex/latex/base/docstrip.tex=3D=3D239904=3D=3D Conditional jump o= r move depends on uninitialised value(s) =3D=3D239904=3D=3D at 0x4647BD: tprint (printing.c:484) =3D=3D239904=3D=3D by 0x4E5E6B: write_out (extensions.c:583) =3D=3D239904=3D=3D by 0x4E62EA: wrapup_leader (extensions.c:1324) =3D=3D239904=3D=3D by 0x4E62EA: do_extension (extensions.c:423) =3D=3D239904=3D=3D by 0x4F4860: main_control (maincontrol.c:1030) =3D=3D239904=3D=3D by 0x4F0537: main_body (mainbody.c:577) =3D=3D239904=3D=3D by 0x45118D: main (luatex.c:609) =3D=3D239904=3D=3D =3D=3D239904=3D=3D Conditional jump or move depends on uninitialised value(= s) =3D=3D239904=3D=3D at 0x4647BD: tprint (printing.c:484) =3D=3D239904=3D=3D by 0x4E5DED: write_out (extensions.c:585) =3D=3D239904=3D=3D by 0x4E62EA: wrapup_leader (extensions.c:1324) =3D=3D239904=3D=3D by 0x4E62EA: do_extension (extensions.c:423) =3D=3D239904=3D=3D by 0x4F4860: main_control (maincontrol.c:1030) =3D=3D239904=3D=3D by 0x4F0537: main_body (mainbody.c:577) =3D=3D239904=3D=3D by 0x45118D: main (luatex.c:609) =3D=3D239904=3D=3D Utility: `docstrip' v2.6a <2020-07-07> English documentation <2020-07-11> =3D=3D239904=3D=3D Conditional jump or move depends on uninitialised value(= s) =3D=3D239904=3D=3D at 0x464523: tprint (printing.c:512) =3D=3D239904=3D=3D by 0x4E5DED: write_out (extensions.c:585) =3D=3D239904=3D=3D by 0x4E62EA: wrapup_leader (extensions.c:1324) =3D=3D239904=3D=3D by 0x4E62EA: do_extension (extensions.c:423) =3D=3D239904=3D=3D by 0x4F4860: main_control (maincontrol.c:1030) =3D=3D239904=3D=3D by 0x4F0537: main_body (mainbody.c:577) =3D=3D239904=3D=3D by 0x45118D: main (luatex.c:609) =3D=3D239904=3D=3D ********************************************************** * This program converts documented macro-files into fast * * loadable files by stripping off (nearly) all comments! * ********************************************************** ******************************************************** * No Configuration file found, using default settings. * ******************************************************** ) Generating file(s) amsthm.sty amsart.cls amsbook.cls amsproc.cls Processing file amsclass.dtx (amsthm) -> amsthm.sty (amsart,classes) -> amsart.cls (amsbook,classes) -> amsbook.cls (amsproc,classes) -> amsproc.cls =46ile amsclass.dtx ended by \endinput. Lines processed: 5197 Comments removed: 2926 Comments passed: 21 Codelines passed: 2062 ) warning (pdf backend): no pages of output. Transcript written on amsclass.log. =3D=3D239904=3D=3D Invalid write of size 8 =3D=3D239904=3D=3D at 0x486C013: GCTM (lgc.c:819) =3D=3D239904=3D=3D by 0x486D779: callallpendingfinalizers (lgc.c:862) =3D=3D239904=3D=3D by 0x486D779: luaC_freeallobjects (lgc.c:971) =3D=3D239904=3D=3D by 0x4877A0B: close_state (lstate.c:245) =3D=3D239904=3D=3D by 0x4E33A5: do_final_end (errors.c:257) =3D=3D239904=3D=3D by 0x45118D: main (luatex.c:609) =3D=3D239904=3D=3D Address 0x894aa40 is 16 bytes after a block of size 1,1= 84 alloc'd =3D=3D239904=3D=3D at 0x484242B: realloc (in /gnu/store/a4xjjppiw7x0vgd2= jimmzssj9i22jf5f-valgrind-3.17.0/libexec/valgrind/vgpreload_memcheck-amd64-= linux.so) =3D=3D239904=3D=3D by 0x466BCD: my_luaalloc (luastuff.c:115) =3D=3D239904=3D=3D by 0x48719C2: luaM_realloc_ (lmem.c:86) =3D=3D239904=3D=3D by 0x486A122: luaD_reallocstack (ldo.c:182) =3D=3D239904=3D=3D by 0x486CC17: traversethread (lgc.c:549) =3D=3D239904=3D=3D by 0x486CC17: propagatemark (lgc.c:588) =3D=3D239904=3D=3D by 0x486CFFF: singlestep (lgc.c:1057) =3D=3D239904=3D=3D by 0x486D8BB: luaC_step (lgc.c:1137) =3D=3D239904=3D=3D by 0x48606BB: lua_pushlstring (lapi.c:485) =3D=3D239904=3D=3D by 0x56A963: load_hyphenation (texlang.c:306) =3D=3D239904=3D=3D by 0x56D0CC: undump_one_language (texlang.c:1277) =3D=3D239904=3D=3D by 0x56D0CC: undump_language_data (texlang.c:1290) =3D=3D239904=3D=3D by 0x4E0D7F: load_fmt_file (dumpdata.c:520) =3D=3D239904=3D=3D by 0x4F03DD: main_body (mainbody.c:540) =3D=3D239904=3D=3D valgrind: m_mallocfree.c:303 (get_bszB_as_is): Assertion 'bszB_lo =3D=3D bs= zB_hi' failed. valgrind: Heap block lo/hi size mismatch: lo =3D 1248, hi =3D 102. This is probably caused by your program erroneously writing past the end of a heap block and corrupting heap metadata. If you fix any invalid writes reported by Memcheck, this assertion failure will probably go away. Please try that before reporting this as a bug. host stacktrace: =3D=3D239904=3D=3D at 0x5803F050: ??? (in /gnu/store/a4xjjppiw7x0vgd2jim= mzssj9i22jf5f-valgrind-3.17.0/libexec/valgrind/memcheck-amd64-linux) =3D=3D239904=3D=3D by 0x5803F157: ??? (in /gnu/store/a4xjjppiw7x0vgd2jim= mzssj9i22jf5f-valgrind-3.17.0/libexec/valgrind/memcheck-amd64-linux) =3D=3D239904=3D=3D by 0x5803F2DE: ??? (in /gnu/store/a4xjjppiw7x0vgd2jim= mzssj9i22jf5f-valgrind-3.17.0/libexec/valgrind/memcheck-amd64-linux) =3D=3D239904=3D=3D by 0x58048742: ??? (in /gnu/store/a4xjjppiw7x0vgd2jim= mzssj9i22jf5f-valgrind-3.17.0/libexec/valgrind/memcheck-amd64-linux) =3D=3D239904=3D=3D by 0x58037DCB: ??? (in /gnu/store/a4xjjppiw7x0vgd2jim= mzssj9i22jf5f-valgrind-3.17.0/libexec/valgrind/memcheck-amd64-linux) =3D=3D239904=3D=3D by 0x58036637: ??? (in /gnu/store/a4xjjppiw7x0vgd2jim= mzssj9i22jf5f-valgrind-3.17.0/libexec/valgrind/memcheck-amd64-linux) =3D=3D239904=3D=3D by 0x5803AAB2: ??? (in /gnu/store/a4xjjppiw7x0vgd2jim= mzssj9i22jf5f-valgrind-3.17.0/libexec/valgrind/memcheck-amd64-linux) =3D=3D239904=3D=3D by 0x58035988: ??? (in /gnu/store/a4xjjppiw7x0vgd2jim= mzssj9i22jf5f-valgrind-3.17.0/libexec/valgrind/memcheck-amd64-linux) =3D=3D239904=3D=3D by 0x100417A3ED: ??? =3D=3D239904=3D=3D by 0x1002CB9F2F: ??? =3D=3D239904=3D=3D by 0xBF0E: ??? sched status: running_tid=3D1 Thread 1: status =3D VgTs_Runnable (lwpid 239904) =3D=3D239904=3D=3D at 0x486C01B: GCTM (lgc.c:820) =3D=3D239904=3D=3D by 0x486D779: callallpendingfinalizers (lgc.c:862) =3D=3D239904=3D=3D by 0x486D779: luaC_freeallobjects (lgc.c:971) =3D=3D239904=3D=3D by 0x4877A0B: close_state (lstate.c:245) =3D=3D239904=3D=3D by 0x4E33A5: do_final_end (errors.c:257) =3D=3D239904=3D=3D by 0x45118D: main (luatex.c:609) client stack range: [0x1FFEFB0000 0x1FFF000FFF] client SP: 0x1FFF000130 valgrind stack range: [0x1002BBA000 0x1002CB9FFF] top usage: 9624 of 1048576 Note: see also the FAQ in the source distribution. It contains workarounds to several common problems. In particular, if Valgrind aborted or crashed after identifying problems in your program, there's a good chance that fixing those problems will prevent Valgrind aborting or crashing, especially if it happened in m_mallocfree.c. If that doesn't help, please report this bug to: www.valgrind.org In the bug report, send all the above text, the valgrind version, and what OS and version you are using. Thanks. $ echo $? 1