From 431e0bda17692ffa5b2ccc3aaf0d7337e052cb9b Mon Sep 17 00:00:00 2001 From: Diogo Netto <61364108+d-netto@users.noreply.github.com> Date: Tue, 12 Sep 2023 15:57:23 -0300 Subject: [PATCH] don't print corrupted chunk id on crash (#51283) This value will be corrupted if we reach this branch, so it seems pointless to print it. --- src/gc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gc.c b/src/gc.c index bc3526f742ddc..cf04641d1fb69 100644 --- a/src/gc.c +++ b/src/gc.c @@ -2237,7 +2237,7 @@ STATIC_INLINE void gc_mark_chunk(jl_ptls_t ptls, jl_gc_markqueue_t *mq, jl_gc_ch } default: { // `empty-chunk` should be checked by caller - jl_safe_printf("GC internal error: chunk mismatch cid=%d\n", c->cid); + jl_safe_printf("GC internal error: chunk mismatch\n"); abort(); } }