You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to create a union of a square and a circle using Manim, the script crashes with a fatal error related to the Skia library. The error message is:
../../../../../../src/cpp/skia-builder/skia/src/base/SkContainers.cpp:106: fatal error: "Requested capacity is too large."
Expected behavior
The script should create and display the union of the square and circle without crashing.
How to reproduce the issue
The issue can be reproduced with the following code:
No additional media files were generated due to the crash.
Logs
Terminal output
Manim Community v0.18.1
../../../../../../src/cpp/skia-builder/skia/src/base/SkContainers.cpp:106: fatal error: "Requested capacity is too large."
[1] 77190 trace trap
==> mactex-no-gui: 2024.0312
https://www.tug.org/mactex/
Installed
/opt/homebrew/Caskroom/mactex-no-gui/2024.0312 (5.6GB)
From: https://github.com/Homebrew/homebrew-cask/blob/HEAD/Casks/m/mactex-no-gui.rb
==> Name
MacTeX
==> Description
Full TeX Live distribution without GUI applications
==> Artifacts
mactex-20240312.pkg (Pkg)
==> Caveats
You must restart your terminal window for the installation of MacTeX CLI
tools to take effect.
Additional comments
This issue seems related to the memory allocation in the Skia library when performing complex shape operations. Simplifying the shapes or avoiding complex operations may be a temporary workaround, but a proper fix would be ideal.
The text was updated successfully, but these errors were encountered:
I tried re-installing the Skia package using the command conda install skia-pathops --force-reinstall, and it did not resolve the issue for me. The script still crashes with the same fatal error.
Description of bug / unexpected behavior
When trying to create a union of a square and a circle using Manim, the script crashes with a fatal error related to the Skia library. The error message is:
Expected behavior
The script should create and display the union of the square and circle without crashing.
How to reproduce the issue
The issue can be reproduced with the following code:
Code for reproducing the problem
Additional media files
No additional media files were generated due to the crash.
Logs
Terminal output
System specifications
System Details
LaTeX details
Additional comments
This issue seems related to the memory allocation in the Skia library when performing complex shape operations. Simplifying the shapes or avoiding complex operations may be a temporary workaround, but a proper fix would be ideal.
The text was updated successfully, but these errors were encountered: