Skip to content

Segfaults #53

@t-bltg

Description

@t-bltg

Segfaults not on all images, doesn't seem to be related to the PNGFiles version.

bug.jl

import PNGFiles, Downloads

@show 100
PNGFiles.load(Downloads.download("https://github.com/JuliaLang/julia-logo-graphics/raw/master/images/julia-logo-color.png"))

@show 200
PNGFiles.load(Downloads.download("https://github.com/JuliaPlots/PlotReferenceImages.jl/raw/master/Plots/gr/1.22.1/ref24.png"))
$ julia bug.jl
100 = 100
200 = 200
malloc(): corrupted top size

Xref JuliaPlots/Plots.jl#4091. The reference image for Plots here is quite old so this must be a regression somewhere else.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions