• Joined on 2022年05月13日
bakul closed issue ngn/k#65 2023年12月08日 22:32:17 +01:00
repl.k seems to be broken on freebsd
bakul commented on issue ngn/k#65 2023年12月08日 22:32:17 +01:00
repl.k seems to be broken on freebsd

This seems to have been fixed in 14.0 release. On 13.2-STABLE:

$ tput
usage: tput [-T term] attribute ...

Can be closed.

bakul commented on issue ngn/k#72 2023年12月07日 20:12:20 +01:00
0:"aoc/22/i/06" causes segmentation violation on FreeBSD

Thanks. The only other test that currently fails for me is aoc/23/04 but that is due to #!/usr/bin/env k instead of #!../../k

bakul commented on issue ngn/k#72 2023年12月06日 06:29:37 +01:00
0:"aoc/22/i/06" causes segmentation violation on FreeBSD

I tracked it down to this:

#1 0x000000000023b357 in aV (t=9 '\t', n=4095, v=0x821001000) at m.c:27
27 A aV(C t,U n,O V*v)_(A x=an(n,t);MC(xV,v,(W)n*TW[t]+63>>3);x)

When n-4095,...

bakul opened issue ngn/k#72 2023年12月06日 04:51:02 +01:00
0:"aoc/22/i/06" causes segmentation violation on FreeBSD
bakul opened issue ngn/k#65 2023年08月10日 20:14:32 +02:00
repl.k seems to be broken on freebsd
bakul commented on issue ngn/k#30 2022年12月18日 04:47:26 +01:00
Bus error when loading file

It does help! make CC=gcc-12 passes most tests. Though there seems to be a dependency on having k parent dir in $PATH. The tests that fail:

cp o/k-dflt/bin k
o/t;dy/a.sh;cd...
bakul commented on issue ngn/k#30 2022年08月19日 01:30:25 +02:00
Bus error when loading file

FYI: On Apple M1, the pagesize (what you get with the pagesize command or the getpagesize() syscall) is 16384 but setting ZP to that value makes tests fail (more or less) the same way as with...

bakul commented on issue ngn/k#30 2022年05月13日 18:35:02 +02:00
Bus error when loading file

Not sure how to proceed since it seems to have crashed without leaving anything behind for me to examine.

It dies in line 8 of repl.k. It may be easier to first debug tests that fail.

For...