Bug#1086128: [Sbcl-bugs] ppc64el changes cause error with cl-ironclad test suite
- To: Douglas Katzman <dougk@google.com>
- Cc: sbcl-devel@lists.sourceforge.net, 1086128@bugs.debian.org
- Subject: Bug#1086128: [Sbcl-bugs] ppc64el changes cause error with cl-ironclad test suite
- From: Sean Whitton <spwhitton@spwhitton.name>
- Date: Wed, 20 Nov 2024 11:27:20 +0800
- Message-id: <[🔎] 87y11e1t5z.fsf@melete.silentflame.com>
- Reply-to: Sean Whitton <spwhitton@spwhitton.name>, 1086128@bugs.debian.org
- In-reply-to: <CAOrNasxw6f4+v8_Bk5gzVUaTFeGKoSH=wYZ7XupAM5DsZpXjDQ@mail.gmail.com> (Douglas Katzman's message of "Fri, 18 Oct 2024 14:03:14 -0400")
- References: <87o7423u1a.fsf@melete.silentflame.com> <CAOrNasxpuBiko5tRVXBR0TuP7e19Qcv80=Qmi=9+Z8WZxbUZeA@mail.gmail.com> <87a5fc8muw.fsf@melete.silentflame.com> <CAOrNaszt=mqC-pxLtQZLT0MQuR4Ph1n+pdXu19XP4LSzL5KpNw@mail.gmail.com> <87v7xr4as2.fsf@melete.silentflame.com> <CAOrNasxw6f4+v8_Bk5gzVUaTFeGKoSH=wYZ7XupAM5DsZpXjDQ@mail.gmail.com> <d244e258-1471-40c2-bd1c-e9076a5a7666@debian.org>
Hello Doug,
I've been able to follow up on this now and gather a little more
information. Given that it's been a month, let me recap the problem
case:
- ppc64el KVM virtual machine on ppc64el hardware (now confirmed)
- cl-ironclad 0.61
- all other package versions are from Debian "trixie", our pre-release
- cl-ironclad test wrapper script has
#+sbcl
(setf (extern-alien "pre_verify_gen_0" int) 1
(extern-alien "verify_gens" char) 0
(extern-alien "gencgc_verbose" int) 1)
#+sbcl (gc)
- sbcl 2.4.7 -- ironclad test suite passes, piles of extra GC output
- sbcl 2.4.10 -- test suite exits with only output:
fatal error encountered in SBCL pid 815 tid 815:
no size function for object at 0x100009bf80 (widetag 0x33)
(in particular, no GC debugging output)
On Fri 18 Oct 2024 at 02:03pm -04, Douglas Katzman wrote:
> Can you confirm that gencgc_verbose does anything at all, irrespective
> of ironclad being tested or not?
I've now tested this by building sbcl 2.4.10 on ppc64el hardware, with
this hack:
> diff --git a/tests/run-tests.sh b/tests/run-tests.sh
> index d28c143f6..edef82eb1 100755
> --- a/tests/run-tests.sh
> +++ b/tests/run-tests.sh
> @@ -51,7 +51,8 @@ tenfour () {
> set +u
> run_sbcl \
> --eval '(with-compilation-unit () (load "run-tests.lisp"))' \
> - --eval '(run-tests::run-all)' $*
> + --eval '(setf (extern-alien "pre_verify_gen_0" int) 1 (extern-alien "verify_gens" char) 0 (extern-alien "gencgc_verbose" int) 1)' --eval '(gc)' \
> + $*
>
> tenfour $?
It gives this output:
Verify before GC [threads] [RO] [static] [permgen] [dynamic] passed
Verify after GC(0,1) [threads] [RO] [static] [permgen] [dynamic] passed
Next gc when 84718115 bytes have been consed
So I believe that gencgc_verbose does indeed do something.
Thank you.
--
Sean Whitton
Reply to: