Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Memory bug when Bloqade and PyPlot are imported together #593

Open
epelofske-LANL opened this issue Aug 16, 2023 · 0 comments
Open
Labels
bug Something isn't working

Comments

@epelofske-LANL
Copy link

Describe the bug

This particular error happens only when both PyPlot and Bloqade are imported together, imported separately the error does not happen.

julia(17086,0x100f58580) malloc: *** error for object 0x29e69c2b0: pointer being freed was not allocated
julia(17086,0x100f58580) malloc: *** set a breakpoint in malloc_error_break to debug

[17086] signal (6): Abort trap: 6
in expression starting at code.jl:2
__pthread_kill at /usr/lib/system/libsystem_kernel.dylib (unknown line)
Allocations: 19404558 (Pool: 19392619; Big: 11939); GC: 30
zsh: abort      /julia/bin/code.j

To Reproduce
Run the command julia code.jl

where code.jl is:

using PyPlot
using Bloqade

Expected behavior
No error

Version Info

  • Julia version 1.9.2

  • Package Version:
    Bloqade v0.1.24
    PyPlot v2.11.2

  • macOS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant