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

Segfaults while building sysimage(s) with MTK v8.4.0 #1453

Closed
thazhemadam opened this issue Feb 14, 2022 · 0 comments · Fixed by #1454
Closed

Segfaults while building sysimage(s) with MTK v8.4.0 #1453

thazhemadam opened this issue Feb 14, 2022 · 0 comments · Fixed by #1454

Comments

@thazhemadam
Copy link
Member

thazhemadam commented Feb 14, 2022

Trying to build a sysimage that has MTK v8.4.0 errors out with a segmentation fault.

  • This error occurs only with MTK v8.4.0 and not v8.3.2
  • Git-bisecting and rebasing around a little, I've identified start trying to precompile ModelingToolkit better #1215 as the PR that introduced this regression.
  • Building a sysimage with MTK v8.4.0 in it, with the changes in the PR dropped succeeds.

MWE

using Pkg
Pkg.add(["PackageCompiler", "ModelingToolkit"])
using PackageCompiler
PackageCompiler.create_sysimage(["ModelingToolkit"]; sysimage_path = "MTK-sysimage.so")

Stack Trace

signal (11): Segmentation fault
   in expression starting at none:0
   jl_serialize_value_ at /buildworker/worker/package_linux64/build/src/staticdata.c:448
   jl_serialize_value_ at /buildworker/worker/package_linux64/build/src/staticdata.c:506
   jl_serialize_value_ at /buildworker/worker/package_linux64/build/src/staticdata.c:466
   jl_serialize_value_ at /buildworker/worker/package_linux64/build/src/staticdata.c:506
   jl_serialize_module at /buildworker/worker/package_linux64/build/src/staticdata.c:394 [inlined]
   jl_serialize_value_ at /buildworker/worker/package_linux64/build/src/staticdata.c:487
   jl_serialize_value_ at /buildworker/worker/package_linux64/build/src/staticdata.c:506
   jl_serialize_value_ at /buildworker/worker/package_linux64/build/src/staticdata.c:506
   jl_serialize_value_ at /buildworker/worker/package_linux64/build/src/staticdata.c:466
   jl_serialize_value_ at /buildworker/worker/package_linux64/build/src/staticdata.c:506
   jl_serialize_value_ at /buildworker/worker/package_linux64/build/src/staticdata.c:457
   jl_serialize_value_ at /buildworker/worker/package_linux64/build/src/staticdata.c:506
   jl_serialize_value_ at /buildworker/worker/package_linux64/build/src/staticdata.c:506
   jl_serialize_value_ at /buildworker/worker/package_linux64/build/src/staticdata.c:506
   jl_serialize_value_ at /buildworker/worker/package_linux64/build/src/staticdata.c:506
   jl_serialize_value_ at /buildworker/worker/package_linux64/build/src/staticdata.c:506
   jl_serialize_value_ at /buildworker/worker/package_linux64/build/src/staticdata.c:506
   jl_serialize_value_ at /buildworker/worker/package_linux64/build/src/staticdata.c:497
   jl_serialize_value_ at /buildworker/worker/package_linux64/build/src/staticdata.c:506
   jl_serialize_value_ at /buildworker/worker/package_linux64/build/src/staticdata.c:446
   jl_serialize_module at /buildworker/worker/package_linux64/build/src/staticdata.c:394 [inlined]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant