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

Segfault on PkgEval during lpsolve #77

Closed
maleadt opened this issue Nov 25, 2022 · 4 comments
Closed

Segfault on PkgEval during lpsolve #77

maleadt opened this issue Nov 25, 2022 · 4 comments

Comments

@maleadt
Copy link

maleadt commented Nov 25, 2022

Daily PkgEval testing of CDDLib.jl has been segfaulting for a while, e.g., https://s3.amazonaws.com/julialang-reports/nanosoldier/pkgeval/by_date/2022-11/24/CDDLib.primary.log:

[17] signal (11.1): Segmentation fault
in expression starting at /home/pkgeval/.julia/packages/CDDLib/ljSXl/test/MOI_wrapper.jl:10
__gmpn_lshift_zen at /opt/julia/bin/../lib/julia/libgmp.so (unknown line)
__gmpq_get_d at /opt/julia/bin/../lib/julia/libgmp.so (unknown line)
dd_LPgmp2LPf at /workspace/srcdir/cddlib/lib-src/cddlp.c:1856
dd_LPSolve at /workspace/srcdir/cddlib/lib-src/cddlp.c:1902
macro expansion at /home/pkgeval/.julia/packages/CDDLib/ljSXl/src/ccall.jl:13 [inlined]
dd_lpsolve at /home/pkgeval/.julia/packages/CDDLib/ljSXl/src/lp.jl:235 [inlined]
lpsolve at /home/pkgeval/.julia/packages/CDDLib/ljSXl/src/lp.jl:244 [inlined]
optimize! at /home/pkgeval/.julia/packages/CDDLib/ljSXl/src/MOI_wrapper.jl:81
optimize! at /home/pkgeval/.julia/packages/MathOptInterface/Ht8hE/src/MathOptInterface.jl:87 [inlined]
optimize! at /home/pkgeval/.julia/packages/MathOptInterface/Ht8hE/src/Utilities/cachingoptimizer.jl:316
optimize! at /home/pkgeval/.julia/packages/MathOptInterface/Ht8hE/src/Bridges/bridge_optimizer.jl:376 [inlined]
test_linear_open_intervals at /home/pkgeval/.julia/packages/MathOptInterface/Ht8hE/src/Test/test_linear.jl:4048

This doesn't seem like a Julia issue, but an issue with this package or cddl. As it's been at the top of PkgEval reports, could you take a look? If necessary, you can easily reproduce the PkgEval sandbox environment (on Linux):

pkg> add https://github.com/JuliaCI/PkgEval.jl

julia> using PkgEval

julia> config = Configuration(julia="nightly")
PkgEval configuration 'unnamed' (
  - julia: nightly
  - ...
)

julia> PkgEval.sandboxed_julia(config)

# this spawns a sandbox where you can install and test packages

(@v1.10) pkg> add CDDLib

(@v1.10) pkg> test CDDLib

[234] signal (11.1): Segmentation fault
maleadt added a commit to JuliaCI/PkgEval.jl that referenced this issue Nov 25, 2022
@odow
Copy link
Contributor

odow commented Feb 21, 2024

This can probably be closed once #87 is merged.

Tests are passing on recent versions of Julia, and no segfaults.

@odow
Copy link
Contributor

odow commented Feb 22, 2024

Closing because tests are now passing on master.

@odow odow closed this as completed Feb 22, 2024
@maleadt
Copy link
Author

maleadt commented Feb 22, 2024

Please ping me again when this is tagged; I'll remove the blacklist then.

@blegat
Copy link
Member

blegat commented Feb 22, 2024

@maleadt it is now tagged

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

No branches or pull requests

3 participants