V1.11 `SYSTEM: caught exception of type :TypeError while trying to print a failed Task notice; giving up`

Today I updated to v1.11 and I get the following error when I go to package mode

(@v1.11) pkg>
SYSTEM: caught exception of type :TypeError while trying to print a failed Task notice; giving up

This only happens when I startup julia with --startup-file=yes with the startup.jl containing a single command: using Revise.
If startup.jl is empty the error doesn’t happen.
If I start without startup file and load using Revise manually the error doesn’t exist.

The error makes the package mode totally unusable and generally the kernel unpredictable (e.g. I get a stack trace when I call versioninfo())

julia> versioninfo()
Julia Version 1.11.0
Commit 501a4f25c2b (2024-10-07 11:40 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: 64 × AMD EPYC 7282 16-Core Processor
  WORD_SIZE: 64
  LLVM: libLLVM-16.0.6 (ORCJIT, znver2)
Threads: 1 default, 0 interactive, 1 GC (on 64 virtual cores)
Environment:
  JULIA_DEPOT_PATH = /u/bulk/home/wima/fchrstou/julia

I deleted all ~/.julia/{compiled, packages, artifacts} but still the same happens.
1.10.4 keeps working normally.

Not sure how I managed, but I got this error during a local package loading which I think it’s related:

ERROR: LoadError: InitError: MethodError: no method matching
Stacktrace:
  [1] __init__()
    @ REPLExt /u/bulk/home/wima/fchrstou/julia/juliaup/julia-1.11.0+0.x64.linux.gnu/share/julia/stdlib/v1.11/Pkg/ext/REPLExt/REPLExt.jl:305
  [2]
SYSTEM (REPL): showing an error caused an error
ERROR: TypeError:
Stacktrace:
  [1] active_module()
    @ REPL /u/bulk/home/wima/fchrstou/julia/juliaup/julia-1.11.0+0.x64.linux.gnu/share/julia/stdlib/v1.11/REPL/src/REPL.jl:593
  [2] #invokelatest#2
    @ ./essentials.jl:1054 [inlined]
  [3] invokelatest
    @ ./essentials.jl:1051 [inlined]
  [4] active_module
    @ ./show.jl:519 [inlined]
  [5]
SYSTEM (REPL): caught exception of type TypeError while trying to handle a nested exception; giving up

Same happened to me at some point. I think it was resolved by deleteing ~/.julia/compiled/v1.11 if I recall correctly.