tex2img on mode 12 causes a segfault, but not in isolation.
Platform: Windows 10, python 3.11.1, tex2img 0.9.1
Steps to recreate:
comment out all other Tex2ImgCodec tests, so that only test_decompress_PVRTC14A_succeeds remains
run all tests in project
Observe error
============================= test session starts =============================
platform win32 -- Python 3.11.1, pytest-8.0.2, pluggy-1.4.0
rootdir: c:\Users\Trimatix\Documents\AEPi\AEPi
configfile: pyproject.toml
plugins: cov-4.1.0
collected 40 items
src\tests\codecs\test_Tex2ImgCodec.py Windows fatal exception: code 0xc0000374
Current thread 0x00006c40 (most recent call first):
File "C:\Users\Trimatix\Documents\AEPi\AEPi\src\AEPi\codecs\Tex2ImgCodec.py", line 29 in decompress
File "c:\Users\Trimatix\Documents\AEPi\AEPi\src\tests\codecs\test_Tex2ImgCodec.py", line 43 in test_decompress_PVRTC14A_succeeds
File "c:\Users\Trimatix\Documents\AEPi\env\Lib\site-packages\_pytest\python.py", line 194 in pytest_pyfunc_call
File "c:\Users\Trimatix\Documents\AEPi\env\Lib\site-packages\pluggy\_callers.py", line 102 in _multicall
File "c:\Users\Trimatix\Documents\AEPi\env\Lib\site-packages\pluggy\_manager.py", line 119 in _hookexec
File "c:\Users\Trimatix\Documents\AEPi\env\Lib\site-packages\pluggy\_hooks.py", line 501 in __call__
File "c:\Users\Trimatix\Documents\AEPi\env\Lib\site-packages\_pytest\python.py", line 1831 in runtest
File "c:\Users\Trimatix\Documents\AEPi\env\Lib\site-packages\_pytest\runner.py", line 170 in pytest_runtest_call
File "c:\Users\Trimatix\Documents\AEPi\env\Lib\site-packages\pluggy\_callers.py", line 102 in _multicall
File "c:\Users\Trimatix\Documents\AEPi\env\Lib\site-packages\pluggy\_manager.py", line 119 in _hookexec
File "c:\Users\Trimatix\Documents\AEPi\env\Lib\site-packages\pluggy\_hooks.py", line 501 in __call__
File "c:\Users\Trimatix\Documents\AEPi\env\Lib\site-packages\_pytest\runner.py", line 263 in <lambda>
File "c:\Users\Trimatix\Documents\AEPi\env\Lib\site-packages\_pytest\runner.py", line 342 in from_call
File "c:\Users\Trimatix\Documents\AEPi\env\Lib\site-packages\_pytest\runner.py", line 262 in call_runtest_hook
File "c:\Users\Trimatix\Documents\AEPi\env\Lib\site-packages\_pytest\runner.py", line 223 in call_and_report
File "c:\Users\Trimatix\Documents\AEPi\env\Lib\site-packages\_pytest\runner.py", line 134 in runtestprotocol
File "c:\Users\Trimatix\Documents\AEPi\env\Lib\site-packages\_pytest\runner.py", line 115 in pytest_runtest_protocol
File "c:\Users\Trimatix\Documents\AEPi\env\Lib\site-packages\pluggy\_callers.py", line 102 in _multicall
File "c:\Users\Trimatix\Documents\AEPi\env\Lib\site-packages\pluggy\_manager.py", line 119 in _hookexec
File "c:\Users\Trimatix\Documents\AEPi\env\Lib\site-packages\pluggy\_hooks.py", line 501 in __call__
File "c:\Users\Trimatix\Documents\AEPi\env\Lib\site-packages\_pytest\main.py", line 352 in pytest_runtestloop
File "c:\Users\Trimatix\Documents\AEPi\env\Lib\site-packages\pluggy\_callers.py", line 102 in _multicall
File "c:\Users\Trimatix\Documents\AEPi\env\Lib\site-packages\pluggy\_manager.py", line 119 in _hookexec
File "c:\Users\Trimatix\Documents\AEPi\env\Lib\site-packages\pluggy\_hooks.py", line 501 in __call__
File "c:\Users\Trimatix\Documents\AEPi\env\Lib\site-packages\_pytest\main.py", line 327 in _main
File "c:\Users\Trimatix\Documents\AEPi\env\Lib\site-packages\_pytest\main.py", line 273 in wrap_session
File "c:\Users\Trimatix\Documents\AEPi\env\Lib\site-packages\_pytest\main.py", line 320 in pytest_cmdline_main
File "c:\Users\Trimatix\Documents\AEPi\env\Lib\site-packages\pluggy\_callers.py", line 102 in _multicall
File "c:\Users\Trimatix\Documents\AEPi\env\Lib\site-packages\pluggy\_manager.py", line 119 in _hookexec
File "c:\Users\Trimatix\Documents\AEPi\env\Lib\site-packages\pluggy\_hooks.py", line 501 in __call__
File "c:\Users\Trimatix\Documents\AEPi\env\Lib\site-packages\_pytest\config\__init__.py", line 175 in main
File "c:\Users\Trimatix\.vscode\extensions\ms-python.python-2024.0.1\pythonFiles\vscode_pytest\run_pytest_script.py", line 68 in <module>
Finished running tests!
tex2img on mode 12 causes a segfault, but not in isolation.
Platform: Windows 10, python 3.11.1, tex2img 0.9.1
Steps to recreate:
test_decompress_PVRTC14A_succeeds
remains