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
Updated: to mention where the call to vega_lite_convert exists in the example repo.
Is there any additional setup to use this library, like some OS libraries to install? We discovered a segfault kept happening in CI when we would call VegaLite.Convert.to_svg(). We've since determined this happens reliably in Debian Bookworm and NixOS 24.11—we're currently using Debian Bookworm in Docker on CircleCI. We've not tested other distros. This isn't a problem in MacOS 15.2.
To work around this for now, we're using VegaLite.Export, which does not seem to have this issue but is also deprecated in favor of vega_lite_convert.
Testing other functions, these all cause a segmentation fault in both MacOS and Linux:
to_png/2
to_jpeg/2
However to_json/2 works fine on both OSs. I didn't test all conversion functions.
I've created a somewhat minimal repo that reproduces the issue: https://github.com/smartlogic/vega_lite_segfault. The no-graph-render branch removes the rendering and assigns part to show that the segfault is unrelated to rendering. The calls to vega_lite_convert are in VegaLiteSegfaultWeb.SegFaultExampleLive.Index.
Is there any additional info that would be useful?
The text was updated successfully, but these errors were encountered:
Updated: to mention where the call to
vega_lite_convert
exists in the example repo.Is there any additional setup to use this library, like some OS libraries to install? We discovered a segfault kept happening in CI when we would call
VegaLite.Convert.to_svg()
. We've since determined this happens reliably in Debian Bookworm and NixOS 24.11—we're currently using Debian Bookworm in Docker on CircleCI. We've not tested other distros. This isn't a problem in MacOS 15.2.To work around this for now, we're using
VegaLite.Export
, which does not seem to have this issue but is also deprecated in favor ofvega_lite_convert
.Testing other functions, these all cause a segmentation fault in both MacOS and Linux:
to_png/2
to_jpeg/2
However
to_json/2
works fine on both OSs. I didn't test all conversion functions.I've created a somewhat minimal repo that reproduces the issue: https://github.com/smartlogic/vega_lite_segfault. The
no-graph-render
branch removes the rendering and assigns part to show that the segfault is unrelated to rendering. The calls tovega_lite_convert
are inVegaLiteSegfaultWeb.SegFaultExampleLive.Index
.Is there any additional info that would be useful?
The text was updated successfully, but these errors were encountered: