Re: [luatex] [tlbuild] Recent 'luatex' dumps core

2025-01-05 Thread luigi scarso
On Sun, 5 Jan 2025 at 12:41, Andreas Scherer  wrote:

> Am 04.01.25 um 16:40 schrieb Norbert Preining:
> > Thanks for looking into this.
> Not really, I stick with pdftex and xetex for my CWEB stuff. :o)
>
> However, I ran 'Build -disable-all-pkgs --enable-web2c' from scratch and
> apart from the three segfaults with 'luatex [-ini]' (simple 'luatex'
> still bombs) I do not find any unusual compiler warnings in build.log.
>
> I guess it's up to Luigi to deal with this issue.
>

checking it now,
I can now reproduce  it .

--
luigi


Re: [luatex] [tlbuild] Recent 'luatex' dumps core

2025-01-05 Thread Andreas Scherer

Am 04.01.25 um 16:40 schrieb Norbert Preining:

Thanks for looking into this.

Not really, I stick with pdftex and xetex for my CWEB stuff. :o)

However, I ran 'Build -disable-all-pkgs --enable-web2c' from scratch and 
apart from the three segfaults with 'luatex [-ini]' (simple 'luatex' 
still bombs) I do not find any unusual compiler warnings in build.log.


I guess it's up to Luigi to deal with this issue.

Andreas../../../texk/web2c/mfluadir/otfcc/src/luafunc.c:131:23: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result]
../../../texk/web2c/mfluadir/otfcc/lib/font/caryll-sfnt.c:27:31: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result]
../../../texk/web2c/mfluadir/otfcc/lib/table/otl/subtables/chaining/build.c:36:27: warning: passing argument 1 of 'reverseBacktracks' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
../../../texk/web2c/mfluadir/otfcc/lib/table/otl/subtables/chaining/build.c:151:27: warning: passing argument 1 of 'reverseBacktracks' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
../../../texk/web2c/mfluadir/luapeg/lpeg.h:53: warning: "luaL_newlib" redefined
../../../texk/web2c/luatexdir/luafontloader/fontforge/fontforge/parsettf.c:5186:36: warning: '%d' directive writing between 1 and 10 bytes into a region of size between 9 and 29 [-Wformat-overflow=]
../../../texk/web2c/luatexdir/luafontloader/fontforge/fontforge/parsettfatt.c:3462:61: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=]
../../../texk/web2c/luatexdir/luafontloader/fontforge/fontforge/splinesave.c:1428:59: warning: 'NumberHints.constprop' accessing 128 bytes in a region of size 8 [-Wstringop-overflow=]
../../../texk/web2c/luatexdir/luafontloader/fontforge/fontforge/splinestroke.c:637:18: warning: 'SplinesIntersect' accessing 80 bytes in a region of size 72 [-Wstringop-overflow=]
../../../texk/web2c/luatexdir/luafontloader/fontforge/fontforge/splinestroke.c:637:18: warning: 'SplinesIntersect' accessing 80 bytes in a region of size 72 [-Wstringop-overflow=]
../../../texk/web2c/luatexdir/luafilesystem/src/lfs.c:33: warning: "_LARGEFILE64_SOURCE" redefined
../../../texk/web2c/luatexdir/font/writet1.c:1220:70: warning: passing argument 2 of 'avl_probe' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
../../../texk/web2c/luatexdir/font/writet1.c:1221:70: warning: passing argument 2 of 'avl_probe' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
../../../texk/web2c/luatexdir/luafilesystem/src/lfs.c:33: warning: "_LARGEFILE64_SOURCE" redefined
../../../texk/web2c/luatexdir/font/writet1.c:1220:70: warning: passing argument 2 of 'avl_probe' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
../../../texk/web2c/luatexdir/font/writet1.c:1221:70: warning: passing argument 2 of 'avl_probe' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]


Re: [luatex] [tlbuild] Recent 'luatex' dumps core

2025-01-04 Thread Norbert Preining
Hi Luigi,

On Sun, 05 Jan 2025, luigi scarso wrote:
> Here rev.73298 under
> Ubuntu 22.04.5 LTS x86_64
> and
> Alpine Linux 3.21.0 x86_64
> 
> are ok, I don't see seg. faults.

Hmm, still fails on x86_64 (but not i38) on svn 73311
https://github.com/TeX-Live/texlive-source/actions/runs/12614970192/job/35154476160

Strange.

Norbert

--
PREINING Norbert  https://www.preining.info
arXiv / Cornell University   +   IFMGA Guide   +   TU Wien  +  TeX Live
GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13


Re: [luatex] [tlbuild] Recent 'luatex' dumps core

2025-01-04 Thread luigi scarso
On Sat, 4 Jan 2025 at 17:36, luigi scarso  wrote:

>
>
> On Sat, 4 Jan 2025 at 15:48, Andreas Scherer 
> wrote:
>
>> Happy New Year!
>>
>> Seeing that the recent Github Actions report "Segmentation fault (core
>> dumped)", see
>> , I
>> tried the usual test with the current TeX Live source tree.
>>
>>
> Build on x86_64-linuxmusl  should be fixed with the next commit
> (luatex 1.20.1)
> I am checking luatex -ini luaimage for x86_64
>
>
Here rev.73298 under
Ubuntu 22.04.5 LTS x86_64
and
Alpine Linux 3.21.0 x86_64

are ok, I don't see seg. faults.

--
luigi


Re: [luatex] [tlbuild] Recent 'luatex' dumps core

2025-01-04 Thread luigi scarso
On Sat, 4 Jan 2025 at 15:48, Andreas Scherer  wrote:

> Happy New Year!
>
> Seeing that the recent Github Actions report "Segmentation fault (core
> dumped)", see
> , I
> tried the usual test with the current TeX Live source tree.
>
>
Build on x86_64-linuxmusl  should be fixed with the next commit
(luatex 1.20.1)
I am checking luatex -ini luaimage for x86_64

--
luigi


Re: [luatex] [tlbuild] Recent 'luatex' dumps core

2025-01-04 Thread Norbert Preining
Hi Andreas!


> Seeing that the recent Github Actions report "Segmentation fault (core

Thanks for looking into this. I just returned from a skiing holiday and
working through the backlog, that was on my list.

Best regards

Norbert

--
PREINING Norbert  https://www.preining.info
arXiv / Cornell University   +   IFMGA Guide   +   TU Wien  +  TeX Live
GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13