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

Segmentation fault when running Xpress.jl tests #160

Closed
geoffroyleconte opened this issue Mar 8, 2022 · 1 comment · Fixed by #161
Closed

Segmentation fault when running Xpress.jl tests #160

geoffroyleconte opened this issue Mar 8, 2022 · 1 comment · Fixed by #161

Comments

@geoffroyleconte
Copy link

Hi! I have the following error when I run the tests:

     Testing Running tests...
[ Info: Xpress: Found license file /poly/tools/xpress8.13.1/bin/xpauth.xpr
[ Info: Xpress: Development license detected.
FICO Xpress Solver 64bit v8.13.3 Dec 17 2021
(c) Copyright Fair Isaac Corporation 1983-2020. All rights reserved
Optimizer version: 39.1.4
MOI.get(optimizer, MOI.RawOptimizerAttribute("XPRESSVERSION")) = "8.13.3"
┌ Warning: Xpress can't find IIS with invalid bounds, the constraints that keep the model infeasible can't be found, only the infeasible bounds will be available
└ @ Xpress ~/.julia/packages/Xpress/loX7T/src/MOI/MOI_wrapper.jl:3759
┌ Warning: Xpress can't find IIS with invalid bounds, the constraints that keep the model infeasible can't be found, only the infeasible bounds will be available
└ @ Xpress ~/.julia/packages/Xpress/loX7T/src/MOI/MOI_wrapper.jl:3759
┌ Warning: Xpress can't find IIS with invalid bounds, the constraints that keep the model infeasible can't be found, only the infeasible bounds will be available
└ @ Xpress ~/.julia/packages/Xpress/loX7T/src/MOI/MOI_wrapper.jl:3759
Test Summary:    | Pass  Total
MathOptInterface | 3429   3429
Test Summary:  | Pass  Total
xprs_callbacks |    4      4
Test Summary: | Pass  Total
Derivative    |    8      8

signal (11): Segmentation fault
in expression starting at /home/gelecd/.julia/packages/Xpress/loX7T/test/runtests.jl:17
unknown function (ip: 0x7f4fedb170fa)
unknown function (ip: 0x7f4fedf40175)
XPRScopyprob_internal at /poly/tools/xpress8.13.1/lib/libxprs.so (unknown line)
XPRScopyprob at /poly/tools/xpress8.13.1/lib/libxprs.so (unknown line)
XPRScopyprob at /home/gelecd/.julia/packages/Xpress/loX7T/src/lib.jl:14
macro expansion at /home/gelecd/.julia/packages/Xpress/loX7T/src/utils.jl:133 [inlined]
copyprob at /home/gelecd/.julia/packages/Xpress/loX7T/src/api.jl:45 [inlined]
copyprob at /home/gelecd/.julia/packages/Xpress/loX7T/src/api.jl:45
_jl_invoke at /buildworker/worker/package_linux64/build/src/gf.c:2247 [inlined]
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2429
jl_apply at /buildworker/worker/package_linux64/build/src/julia.h:1788 [inlined]
do_call at /buildworker/worker/package_linux64/build/src/interpreter.c:126
eval_value at /buildworker/worker/package_linux64/build/src/interpreter.c:215
eval_stmt_value at /buildworker/worker/package_linux64/build/src/interpreter.c:166 [inlined]
eval_body at /buildworker/worker/package_linux64/build/src/interpreter.c:587
eval_body at /buildworker/worker/package_linux64/build/src/interpreter.c:516
eval_body at /buildworker/worker/package_linux64/build/src/interpreter.c:516
eval_body at /buildworker/worker/package_linux64/build/src/interpreter.c:516
jl_interpret_toplevel_thunk at /buildworker/worker/package_linux64/build/src/interpreter.c:731
jl_toplevel_eval_flex at /buildworker/worker/package_linux64/build/src/toplevel.c:885
jl_toplevel_eval_flex at /buildworker/worker/package_linux64/build/src/toplevel.c:830
jl_toplevel_eval_in at /buildworker/worker/package_linux64/build/src/toplevel.c:944
eval at ./boot.jl:373 [inlined]
include_string at ./loading.jl:1196
_jl_invoke at /buildworker/worker/package_linux64/build/src/gf.c:2247 [inlined]
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2429
_include at ./loading.jl:1253
include at ./client.jl:451
_jl_invoke at /buildworker/worker/package_linux64/build/src/gf.c:2247 [inlined]
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2429
jl_apply at /buildworker/worker/package_linux64/build/src/julia.h:1788 [inlined]
do_call at /buildworker/worker/package_linux64/build/src/interpreter.c:126
eval_value at /buildworker/worker/package_linux64/build/src/interpreter.c:215
eval_stmt_value at /buildworker/worker/package_linux64/build/src/interpreter.c:166 [inlined]
eval_body at /buildworker/worker/package_linux64/build/src/interpreter.c:587
jl_interpret_toplevel_thunk at /buildworker/worker/package_linux64/build/src/interpreter.c:731
jl_toplevel_eval_flex at /buildworker/worker/package_linux64/build/src/toplevel.c:885
jl_toplevel_eval_flex at /buildworker/worker/package_linux64/build/src/toplevel.c:830
jl_toplevel_eval_in at /buildworker/worker/package_linux64/build/src/toplevel.c:944
eval at ./boot.jl:373 [inlined]
exec_options at ./client.jl:268
_start at ./client.jl:495
jfptr__start_40531.clone_1 at /apps/local-fci/tools/julia-1.7.1/lib/julia/sys.so (unknown line)
_jl_invoke at /buildworker/worker/package_linux64/build/src/gf.c:2247 [inlined]
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2429
jl_apply at /buildworker/worker/package_linux64/build/src/julia.h:1788 [inlined]
true_main at /buildworker/worker/package_linux64/build/src/jlapi.c:559
jl_repl_entrypoint at /buildworker/worker/package_linux64/build/src/jlapi.c:701
main at /buildworker/worker/package_linux64/build/cli/loader_exe.c:42
__libc_start_main at /lib64/libc.so.6 (unknown line)
_start at /apps/local-fci/tools/julia-1.7.1/bin/julia (unknown line)
Allocations: 303721483 (Pool: 303607283; Big: 114200); GC: 260
ERROR: Package Xpress errored during testing (received signal: 11)

Is there a way to solve this problem?

(@v1.7) pkg> st Xpress
      Status `~/.julia/environments/v1.7/Project.toml`
  [9e70acf3] Xpress v0.15.0

julia> VERSION
v"1.7.1"

julia> Sys.MACHINE
"x86_64-pc-linux-gnu"
@joaquimg
Copy link
Member

joaquimg commented Mar 9, 2022

That test is checking an Xpress error, so all things that should be working seem to be working.
This might be upstream, instead of express returning an error code it is breaking.
If it returned a proper error code, you would get a nice error message.
Can you try with express 8.11 and 8.12?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

2 participants