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

[BUG] ScanNf Segmentation Fault #392

Closed
phutelmyer opened this issue Aug 14, 2023 · 1 comment · Fixed by #405
Closed

[BUG] ScanNf Segmentation Fault #392

phutelmyer opened this issue Aug 14, 2023 · 1 comment · Fixed by #405
Assignees
Labels
bug Something isn't working

Comments

@phutelmyer
Copy link
Contributor

Describe the bug
On testing of a new build, it seems as if "ScanNf" is incurring a segmentation fault.

Environment details

  • Operating System: Mac
  • Architecture: x64 Intel

Pytest Output

#0 15.18 tests/test_scan_nf.py Fatal Python error: Segmentation fault
#0 15.19 
#0 15.19 Current thread 0x00007f7af1a19000 (most recent call first):
#0 15.19   File "/strelka/strelka/scanners/scan_nf.py", line 30 in scan
#0 15.19   File "/strelka/strelka/strelka.py", line 779 in scan_wrapper
#0 15.19   File "/strelka/strelka/tests/__init__.py", line 26 in run_test_scan
#0 15.19   File "/strelka/strelka/tests/test_scan_nf.py", line 22 in test_scan_nf_jpg
#0 15.19   File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 195 in pytest_pyfunc_call
#0 15.19   File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 80 in _multicall
#0 15.19   File "/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py", line 112 in _hookexec
#0 15.19   File "/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py", line 433 in __call__
#0 15.19   File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1789 in runtest
#0 15.19   File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 167 in pytest_runtest_call
#0 15.19   File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 80 in _multicall
#0 15.19   File "/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py", line 112 in _hookexec
#0 15.19   File "/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py", line 433 in __call__
#0 15.19   File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 260 in <lambda>
#0 15.19   File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 339 in from_call
#0 15.19   File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 259 in call_runtest_hook
#0 15.19   File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 220 in call_and_report
#0 15.19   File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 131 in runtestprotocol
#0 15.19   File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 112 in pytest_runtest_protocol
#0 15.19   File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 80 in _multicall
#0 15.19   File "/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py", line 112 in _hookexec
#0 15.19   File "/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py", line 433 in __call__
#0 15.19   File "/usr/local/lib/python3.10/dist-packages/_pytest/main.py", line 349 in pytest_runtestloop
#0 15.19   File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 80 in _multicall
#0 15.19   File "/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py", line 112 in _hookexec
#0 15.19   File "/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py", line 433 in __call__
#0 15.19   File "/usr/local/lib/python3.10/dist-packages/_pytest/main.py", line 324 in _main
#0 15.19   File "/usr/local/lib/python3.10/dist-packages/_pytest/main.py", line 270 in wrap_session
#0 15.19   File "/usr/local/lib/python3.10/dist-packages/_pytest/main.py", line 317 in pytest_cmdline_main
#0 15.19   File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 80 in _multicall
#0 15.19   File "/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py", line 112 in _hookexec
#0 15.19   File "/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py", line 433 in __call__
#0 15.19   File "/usr/local/lib/python3.10/dist-packages/_pytest/config/__init__.py", line 167 in main
#0 15.19   File "/usr/local/lib/python3.10/dist-packages/_pytest/config/__init__.py", line 190 in console_main
#0 15.19   File "/usr/local/lib/python3.10/dist-packages/pytest/__main__.py", line 5 in <module>
#0 15.19   File "/usr/lib/python3.10/runpy.py", line 86 in _run_code
#0 15.19   File "/usr/lib/python3.10/runpy.py", line 196 in _run_module_as_main
#0 15.19 

Steps to reproduce
Steps to reproduce the behavior:

  1. Run docker-compose -f build/docker-compose.yaml build

Expected behavior
No error!

Screenshots
If applicable, add screenshots to help explain your problem.

Release

  • Release: Latest

Additional context
Add any other context about the problem here.

@phutelmyer phutelmyer added the bug Something isn't working label Aug 14, 2023
@phutelmyer phutelmyer self-assigned this Aug 14, 2023
@phutelmyer
Copy link
Contributor Author

Fixed in #405

@phutelmyer phutelmyer linked a pull request Oct 23, 2023 that will close this issue
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant