Skip to content

Some examples dont work (segfault and std::runtime_error) #316

Open
@2shaar2059

Description

@2shaar2059

I cloned the repo, made a build directory and made all of the examples. When trying to run them, however, certain ones worked and others didnt. The ones that simply segfaulted still displayed a plot. the ones that resulted in a runtime error didnt even show a plot.

System:
OS: Ubuntu 20.04.4 LTS x86_64
Kernel: 5.4.0-113-generic
"python3 --version" gives Python 3.8.10

$ ./animation
Segmentation fault (core dumped)

$ ./basic
Saving result to ./basic.png
Segmentation fault (core dumped)

$ ./contour
Segmentation fault (core dumped)

$ ./fill
Segmentation fault (core dumped)

$ ./bar
Segmentation fault (core dumped)

$ ./colorbar
Segmentation fault (core dumped)

$ ./lines3d
Segmentation fault (core dumped)

$ ./minimal
Segmentation fault (core dumped)

$ ./surface
Segmentation fault (core dumped)

$ ./modern
Segmentation fault (core dumped)

$ ./spy
Segmentation fault (core dumped)

$ ./subplot2grid
Segmentation fault (core dumped)

$ ./update
Segmentation fault (core dumped)

$ ./xkcd
findfont: Font family ['xkcd', 'xkcd Script', 'Humor Sans', 'Comic Neue', 'Comic Sans MS'] not found. Falling back to DejaVu Sans.
findfont: Font family ['xkcd', 'xkcd Script', 'Humor Sans', 'Comic Neue', 'Comic Sans MS'] not found. Falling back to DejaVu Sans.
Segmentation fault (core dumped)

$ ./fill_inbetween
terminate called after throwing an instance of 'std::runtime_error'
what(): Call to show() failed.
Aborted (core dumped)

$ ./nonblock
terminate called after throwing an instance of 'std::runtime_error'
what(): Call to subplot() failed.
Aborted (core dumped)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions