Skip to content

using Compose then using Fontconfig corrupts /juliapkg/logs/repl_history.jl #443

Description

@jkhamphousone

MWE:

> using Compose
> using Fontconfig
> exit()
$
$ julia -qi
$ julia>
ERROR: Invalid history file (/home/lamsade/jkhamphousone/juliapkg/logs/repl_history.jl) format:
If you have a history file left over from an older version of Julia,
try renaming or deleting it.
Invalid character: '\0' at line 801
Stacktrace:
  [1] error(::String, ::String, ::String, ::Int64)
    @ Base ./error.jl:44
  [2] hist_from_file(hp::REPL.REPLHistoryProvider, path::String)
    @ REPL ~/.julia/juliaup/julia-1.10.4+0.x64.linux.gnu/share/julia/stdlib/v1.10/REPL/src/REPL.jl:618
  [3] setup_interface(repl::REPL.LineEditREPL, hascolor::Bool, extra_repl_keymap::Any)
    @ REPL ~/.julia/juliaup/julia-1.10.4+0.x64.linux.gnu/share/julia/stdlib/v1.10/REPL/src/REPL.jl:1065
  [4] setup_interface
    @ ~/.julia/juliaup/julia-1.10.4+0.x64.linux.gnu/share/julia/stdlib/v1.10/REPL/src/REPL.jl:971 [inlined]
  [5] (::Pkg.var"#3#4")(repl::REPL.LineEditREPL)
    @ Pkg ~/.julia/juliaup/julia-1.10.4+0.x64.linux.gnu/share/julia/stdlib/v1.10/Pkg/src/Pkg.jl:728
  [6] __atreplinit(repl::REPL.LineEditREPL)
    @ Base ./client.jl:383
  [7] #invokelatest#2
    @ ./essentials.jl:892 [inlined]
  [8] invokelatest
    @ ./essentials.jl:889 [inlined]
  [9] _atreplinit
    @ ./client.jl:390 [inlined]
 [10] (::Base.var"#1013#1015"{Bool, Bool, Bool})(REPL::Module)
    @ Base ./client.jl:431
 [11] #invokelatest#2
    @ ./essentials.jl:892 [inlined]
 [12] invokelatest
    @ ./essentials.jl:889 [inlined]
 [13] run_main_repl(interactive::Bool, quiet::Bool, banner::Bool, history_file::Bool, color_set::Bool)
    @ Base ./client.jl:416
 [14] exec_options(opts::Base.JLOptions)
    @ Base ./client.jl:333
 [15] _start()
    @ Base ./client.jl:552

[ Info: Disabling history file for this session

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions