Skip to content

surface plot yields segmentation fault  #39443

Closed
@crsqq

Description

@crsqq

Every time I try to plot a surface, julia just gives me a segfault.. for example with this code:

using Plots
f(x,y) = x^2 + y^2
x = -10:10
y = x
surface(x, y, f)

..the interpreter crashes: zsh: segmentation fault (core dumped)

core dump attached.

I'm using the most recent stable of julia:


julia> versioninfo()
Julia Version 1.5.3
Commit 788b2c77c1* (2020-11-09 13:37 UTC)
Platform Info:
  OS: Linux (x86_64-pc-linux-gnu)
  CPU: AMD Ryzen 7 PRO 4750U with Radeon Graphics
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-10.0.1 (ORCJIT, znver2)

(@v1.5) pkg> st
Status `~/.julia/environments/v1.5/Project.toml`
  [28b8d3ca] GR v0.53.0
  [91a5bcdd] Plots v1.10.1

How can this be fixed?

coredump.txt

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