all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: dev-luatex@ntg.nl
Cc: 48064@debbugs.gnu.org
Subject: bug#48064: texlive-* packages fail to build non-deterministically
Date: Tue, 29 Jun 2021 17:10:16 +0200	[thread overview]
Message-ID: <877dicr9k7.fsf@gnu.org> (raw)
In-Reply-To: <874kdgsr9h.fsf@gnu.org> ("Ludovic Courtès"'s message of "Tue, 29 Jun 2021 16:02:34 +0200")

Hi,

Ludovic Courtès <ludo@gnu.org> skribis:

> While investigating luatex crashes in the TeX Live 2020 package of
> GNU Guix¹, we identified the following heap corruption reported by
> Valgrind (this is on GNU/Linux, with glibc 2.33):

This time with debug info for luatex:

--8<---------------cut here---------------start------------->8---
sh-5.0$  ~ludo/.guix-profile/bin/valgrind --extra-debuginfo-path=/gnu/store/f933bvd6ab6l2lg6xl6k1a6jwvcls0z6-glibc-2.33-debug/lib/debug "/gnu/store/00addvl34y6qj8k9k0bnx9jrgxqwry6q-texlive-bin-20200406/bin/luatex" "-interaction=nonstopmode" "-output-directory=build" "&luatex" "amsbsy.dtx"
==21562== Memcheck, a memory error detector
==21562== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==21562== Using Valgrind-3.16.1 and LibVEX; rerun with -h for copyright info
==21562== Command: /gnu/store/00addvl34y6qj8k9k0bnx9jrgxqwry6q-texlive-bin-20200406/bin/luatex -interaction=nonstopmode -output-directory=build &luatex amsbsy.dtx
==21562== 
This is LuaTeX, Version 1.12.0 (TeX Live 2020) 
 restricted system commands enabled.
==21562== Invalid write of size 8
==21562==    at 0x485C691: lua_pushlstring (lapi.c:483)
==21562==    by 0x568E03: load_hyphenation (texlang.c:306)
==21562==    by 0x56B41C: undump_one_language (texlang.c:1259)
==21562==    by 0x56B41C: undump_language_data (texlang.c:1272)
==21562==    by 0x4DFB9F: load_fmt_file (dumpdata.c:520)
==21562==    by 0x4EF0ED: main_body (mainbody.c:530)
==21562==    by 0x45118D: main (luatex.c:609)
==21562==  Address 0xac0fc30 is 0 bytes after a block of size 1,168 alloc'd
==21562==    at 0x483EBE1: realloc (in /gnu/store/jlmh0jbgr6zn4iyvhfbvxps8pykzj5ry-valgrind-3.16.1/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==21562==    by 0x46695D: my_luaalloc (luastuff.c:115)
==21562==    by 0x486D932: luaM_realloc_ (lmem.c:86)
==21562==    by 0x48660F2: luaD_reallocstack (ldo.c:182)
==21562==    by 0x4868BE7: traversethread (lgc.c:549)
==21562==    by 0x4868BE7: propagatemark (lgc.c:588)
==21562==    by 0x4868FCF: singlestep (lgc.c:1057)
==21562==    by 0x486988B: luaC_step (lgc.c:1137)
==21562==    by 0x485C6BB: lua_pushlstring (lapi.c:485)
==21562==    by 0x568E03: load_hyphenation (texlang.c:306)
==21562==    by 0x56B41C: undump_one_language (texlang.c:1259)
==21562==    by 0x56B41C: undump_language_data (texlang.c:1272)
==21562==    by 0x4DFB9F: load_fmt_file (dumpdata.c:520)
==21562==    by 0x4EF0ED: main_body (mainbody.c:530)
==21562== 
==21562== Invalid write of size 4
==21562==    at 0x485C6A2: lua_pushlstring (lapi.c:483)
==21562==    by 0x568E03: load_hyphenation (texlang.c:306)
==21562==    by 0x56B41C: undump_one_language (texlang.c:1259)
==21562==    by 0x56B41C: undump_language_data (texlang.c:1272)
==21562==    by 0x4DFB9F: load_fmt_file (dumpdata.c:520)
==21562==    by 0x4EF0ED: main_body (mainbody.c:530)
==21562==    by 0x45118D: main (luatex.c:609)
==21562==  Address 0xac0fc38 is 8 bytes after a block of size 1,168 alloc'd
==21562==    at 0x483EBE1: realloc (in /gnu/store/jlmh0jbgr6zn4iyvhfbvxps8pykzj5ry-valgrind-3.16.1/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==21562==    by 0x46695D: my_luaalloc (luastuff.c:115)
==21562==    by 0x486D932: luaM_realloc_ (lmem.c:86)
==21562==    by 0x48660F2: luaD_reallocstack (ldo.c:182)
==21562==    by 0x4868BE7: traversethread (lgc.c:549)
==21562==    by 0x4868BE7: propagatemark (lgc.c:588)
==21562==    by 0x4868FCF: singlestep (lgc.c:1057)
==21562==    by 0x486988B: luaC_step (lgc.c:1137)
==21562==    by 0x485C6BB: lua_pushlstring (lapi.c:485)
==21562==    by 0x568E03: load_hyphenation (texlang.c:306)
==21562==    by 0x56B41C: undump_one_language (texlang.c:1259)
==21562==    by 0x56B41C: undump_language_data (texlang.c:1272)
==21562==    by 0x4DFB9F: load_fmt_file (dumpdata.c:520)
==21562==    by 0x4EF0ED: main_body (mainbody.c:530)
==21562== 
==21562== Invalid read of size 16
==21562==    at 0x485D269: lua_rawset (lapi.c:809)
==21562==    by 0x568E14: load_hyphenation (texlang.c:307)
==21562==    by 0x56B41C: undump_one_language (texlang.c:1259)
==21562==    by 0x56B41C: undump_language_data (texlang.c:1272)
==21562==    by 0x4DFB9F: load_fmt_file (dumpdata.c:520)
==21562==    by 0x4EF0ED: main_body (mainbody.c:530)
==21562==    by 0x45118D: main (luatex.c:609)
==21562==  Address 0xac0fc30 is 0 bytes after a block of size 1,168 alloc'd
==21562==    at 0x483EBE1: realloc (in /gnu/store/jlmh0jbgr6zn4iyvhfbvxps8pykzj5ry-valgrind-3.16.1/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==21562==    by 0x46695D: my_luaalloc (luastuff.c:115)
==21562==    by 0x486D932: luaM_realloc_ (lmem.c:86)
==21562==    by 0x48660F2: luaD_reallocstack (ldo.c:182)
==21562==    by 0x4868BE7: traversethread (lgc.c:549)
==21562==    by 0x4868BE7: propagatemark (lgc.c:588)
==21562==    by 0x4868FCF: singlestep (lgc.c:1057)
==21562==    by 0x486988B: luaC_step (lgc.c:1137)
==21562==    by 0x485C6BB: lua_pushlstring (lapi.c:485)
==21562==    by 0x568E03: load_hyphenation (texlang.c:306)
==21562==    by 0x56B41C: undump_one_language (texlang.c:1259)
==21562==    by 0x56B41C: undump_language_data (texlang.c:1272)
==21562==    by 0x4DFB9F: load_fmt_file (dumpdata.c:520)
==21562==    by 0x4EF0ED: main_body (mainbody.c:530)
--8<---------------cut here---------------end--------------->8---

Ludo’.




  reply	other threads:[~2021-06-29 15:11 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-27 15:39 bug#48064: texlive-* packages fail to build non-deterministically Ludovic Courtès
2021-06-06  1:36 ` Thiago Jung Bauermann via Bug reports for GNU Guix
2021-06-29 14:02   ` Ludovic Courtès
2021-06-29 15:10     ` Ludovic Courtès [this message]
2021-06-30 11:53       ` bug#48064: [Dev-luatex] " luigi scarso
2021-07-02 15:11         ` Thiago Jung Bauermann via Bug reports for GNU Guix
2021-12-31 17:40           ` luigi scarso
2021-06-09  0:28 ` Thiago Jung Bauermann via Bug reports for GNU Guix
2021-06-30 10:05   ` Ludovic Courtès
2021-06-30 12:46     ` Thiago Jung Bauermann via Bug reports for GNU Guix
2021-06-30 14:54       ` Thiago Jung Bauermann via Bug reports for GNU Guix
2021-07-01 13:07         ` Ludovic Courtès
2021-07-02 15:17           ` Thiago Jung Bauermann via Bug reports for GNU Guix
2021-06-29 19:59 ` Thiago Jung Bauermann via Bug reports for GNU Guix
2021-07-05  8:42   ` Ludovic Courtès
2021-07-02 16:00 ` bug#48064: [PATCH core-updates] build-system/texlive: Change default format to pdftex Thiago Jung Bauermann via Bug reports for GNU Guix
2021-07-05  9:20   ` bug#48064: texlive-* packages fail to build non-deterministically Ludovic Courtès
2021-07-05 17:27     ` Thiago Jung Bauermann via Bug reports for GNU Guix

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877dicr9k7.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=48064@debbugs.gnu.org \
    --cc=dev-luatex@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.