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
build python3Packages.cvxpy on darwin, this runs unittests and will crash with a segv
Expected behavior
unit tests pass when enabled, consumers of the package run without crashing with segv inside the cvxopt package.
Screenshots
..sssssssssssssssssssssssssssssssssssssssssssssssssssssFFatal Python error: Segmentation fault
Current thread 0x00000002007e6280 (most recent call first):
File "/nix/store/1p4s4ylfianyqgjg1gzbc8n4cqy9ib3m-python3.10-cvxopt-1.3.2/lib/python3.10/site-packages/cvxopt/coneprog.py", line 655 in conelp
File "/private/tmp/nix-build-python3.10-cvxpy-1.4.1.drv-0/cvxpy-1.4.1/cvxpy/reductions/solvers/conic_solvers/cvxopt_conif.py", line 201 in solve_via_data
File "/private/tmp/nix-build-python3.10-cvxpy-1.4.1.drv-0/cvxpy-1.4.1/cvxpy/reductions/solvers/solving_chain.py", line 453 in solve_via_data
File "/private/tmp/nix-build-python3.10-cvxpy-1.4.1.drv-0/cvxpy-1.4.1/cvxpy/problems/problem.py", line 1082 in _solve
File "/private/tmp/nix-build-python3.10-cvxpy-1.4.1.drv-0/cvxpy-1.4.1/cvxpy/problems/problem.py", line 503 in solve
File "/private/tmp/nix-build-python3.10-cvxpy-1.4.1.drv-0/cvxpy-1.4.1/cvxpy/tests/solver_test_helpers.py", line 38 in solve
File "/private/tmp/nix-build-python3.10-cvxpy-1.4.1.drv-0/cvxpy-1.4.1/cvxpy/tests/solver_test_helpers.py", line 1082 in test_lp_1
File "/private/tmp/nix-build-python3.10-cvxpy-1.4.1.drv-0/cvxpy-1.4.1/cvxpy/tests/test_conic_solvers.py", line 830 in test_cvxopt_lp_1
File "/nix/store/c7s2h40q4wqxfxwzbj5g9c3126wz6ryg-python3-3.10.13/lib/python3.10/unittest/case.py", line 549 in _callTestMethod
File "/nix/store/c7s2h40q4wqxfxwzbj5g9c3126wz6ryg-python3-3.10.13/lib/python3.10/unittest/case.py", line 591 in run
File "/nix/store/c7s2h40q4wqxfxwzbj5g9c3126wz6ryg-python3-3.10.13/lib/python3.10/unittest/case.py", line 650 in __call__
File "/nix/store/v6hql5n79bmn60jvg9f3v54gcbljycd6-python3.10-pytest-7.4.3/lib/python3.10/site-packages/_pytest/unittest.py", line 333 in runtest
File "/nix/store/v6hql5n79bmn60jvg9f3v54gcbljycd6-python3.10-pytest-7.4.3/lib/python3.10/site-packages/_pytest/runner.py", line 169 in pytest_runtest_call
File "/nix/store/d2hy2rx00l1zz0pgl46viqiivcbrjz63-python3.10-pluggy-1.3.0/lib/python3.10/site-packages/pluggy/_callers.py", line 77 in _multicall
File "/nix/store/d2hy2rx00l1zz0pgl46viqiivcbrjz63-python3.10-pluggy-1.3.0/lib/python3.10/site-packages/pluggy/_manager.py", line 115 in _hookexec
File "/nix/store/d2hy2rx00l1zz0pgl46viqiivcbrjz63-python3.10-pluggy-1.3.0/lib/python3.10/site-packages/pluggy/_hooks.py", line 493 in __call__
File "/nix/store/v6hql5n79bmn60jvg9f3v54gcbljycd6-python3.10-pytest-7.4.3/lib/python3.10/site-packages/_pytest/runner.py", line 262 in <lambda>
File "/nix/store/v6hql5n79bmn60jvg9f3v54gcbljycd6-python3.10-pytest-7.4.3/lib/python3.10/site-packages/_pytest/runner.py", line 341 in from_call
File "/nix/store/v6hql5n79bmn60jvg9f3v54gcbljycd6-python3.10-pytest-7.4.3/lib/python3.10/site-packages/_pytest/runner.py", line 261 in call_runtest_hook
File "/nix/store/v6hql5n79bmn60jvg9f3v54gcbljycd6-python3.10-pytest-7.4.3/lib/python3.10/site-packages/_pytest/runner.py", line 222 in call_and_report
File "/nix/store/v6hql5n79bmn60jvg9f3v54gcbljycd6-python3.10-pytest-7.4.3/lib/python3.10/site-packages/_pytest/runner.py", line 133 in runtestprotocol
File "/nix/store/v6hql5n79bmn60jvg9f3v54gcbljycd6-python3.10-pytest-7.4.3/lib/python3.10/site-packages/_pytest/runner.py", line 114 in pytest_runtest_protocol
File "/nix/store/d2hy2rx00l1zz0pgl46viqiivcbrjz63-python3.10-pluggy-1.3.0/lib/python3.10/site-packages/pluggy/_callers.py", line 77 in _multicall
File "/nix/store/d2hy2rx00l1zz0pgl46viqiivcbrjz63-python3.10-pluggy-1.3.0/lib/python3.10/site-packages/pluggy/_manager.py", line 115 in _hookexec
File "/nix/store/d2hy2rx00l1zz0pgl46viqiivcbrjz63-python3.10-pluggy-1.3.0/lib/python3.10/site-packages/pluggy/_hooks.py", line 493 in __call__
File "/nix/store/v6hql5n79bmn60jvg9f3v54gcbljycd6-python3.10-pytest-7.4.3/lib/python3.10/site-packages/_pytest/main.py", line 350 in pytest_runtestloop
File "/nix/store/d2hy2rx00l1zz0pgl46viqiivcbrjz63-python3.10-pluggy-1.3.0/lib/python3.10/site-packages/pluggy/_callers.py", line 77 in _multicall
File "/nix/store/d2hy2rx00l1zz0pgl46viqiivcbrjz63-python3.10-pluggy-1.3.0/lib/python3.10/site-packages/pluggy/_manager.py", line 115 in _hookexec
File "/nix/store/d2hy2rx00l1zz0pgl46viqiivcbrjz63-python3.10-pluggy-1.3.0/lib/python3.10/site-packages/pluggy/_hooks.py", line 493 in __call__
File "/nix/store/v6hql5n79bmn60jvg9f3v54gcbljycd6-python3.10-pytest-7.4.3/lib/python3.10/site-packages/_pytest/main.py", line 325 in _main
File "/nix/store/v6hql5n79bmn60jvg9f3v54gcbljycd6-python3.10-pytest-7.4.3/lib/python3.10/site-packages/_pytest/main.py", line 271 in wrap_session
File "/nix/store/v6hql5n79bmn60jvg9f3v54gcbljycd6-python3.10-pytest-7.4.3/lib/python3.10/site-packages/_pytest/main.py", line 318 in pytest_cmdline_main
File "/nix/store/d2hy2rx00l1zz0pgl46viqiivcbrjz63-python3.10-pluggy-1.3.0/lib/python3.10/site-packages/pluggy/_callers.py", line 77 in _multicall
File "/nix/store/d2hy2rx00l1zz0pgl46viqiivcbrjz63-python3.10-pluggy-1.3.0/lib/python3.10/site-packages/pluggy/_manager.py", line 115 in _hookexec
File "/nix/store/d2hy2rx00l1zz0pgl46viqiivcbrjz63-python3.10-pluggy-1.3.0/lib/python3.10/site-packages/pluggy/_hooks.py", line 493 in __call__
File "/nix/store/v6hql5n79bmn60jvg9f3v54gcbljycd6-python3.10-pytest-7.4.3/lib/python3.10/site-packages/_pytest/config/__init__.py", line 169 in main
File "/nix/store/v6hql5n79bmn60jvg9f3v54gcbljycd6-python3.10-pytest-7.4.3/lib/python3.10/site-packages/_pytest/config/__init__.py", line 192 in console_main
File "/nix/store/v6hql5n79bmn60jvg9f3v54gcbljycd6-python3.10-pytest-7.4.3/lib/python3.10/site-packages/pytest/__main__.py", line 5 in <module>
File "/nix/store/c7s2h40q4wqxfxwzbj5g9c3126wz6ryg-python3-3.10.13/lib/python3.10/runpy.py", line 86 in _run_code
File "/nix/store/c7s2h40q4wqxfxwzbj5g9c3126wz6ryg-python3-3.10.13/lib/python3.10/runpy.py", line 196 in _run_module_as_main
Additional context
issue will be fixed if this PR can get merged #270016
Describe the bug
python3Packages.cvxopt is built with the wrong libraries, disables unit tests and causes other packages which use it to crash or produce bad data.
see PR #270016 for a fix.
Steps To Reproduce
Steps to reproduce the behavior:
Expected behavior
unit tests pass when enabled, consumers of the package run without crashing with segv inside the cvxopt package.
Screenshots
Additional context
issue will be fixed if this PR can get merged #270016
bug introduced by PR #212983
Notify maintainers
@edwtjo
Metadata
Priorities
Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: