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

PrusaSlicerfails to runtest on MSVC on Windows in debug and release mode #11289

Open
2 tasks
KawasakiNinjaH2R opened this issue Sep 12, 2023 · 0 comments
Open
2 tasks

Comments

@KawasakiNinjaH2R
Copy link

Description of the bug

Hi all, PrusaSlicer fails to runtest on MSVC on WIndows in debug and release mode. Can you please take a look at this issue? Thanks in advance!

Actual Results

Test project F:/gitP/prusa3d/PrusaSlicer/build_amd64
Start 1: arrange_tests
1/5 Test #1: arrange_tests ....................***Exception: SegFault 5.25 sec

Start 2: libslic3r_tests

2/5 Test #2: libslic3r_tests ..................***Exception: SegFault 5.17 sec

Start 3: slic3rutils_tests

3/5 Test #3: slic3rutils_tests ................***Exception: SegFault 7.39 sec

Start 4: fff_print_tests

4/5 Test #4: fff_print_tests ..................***Exception: SegFault 5.44 sec

Start 5: sla_print_tests

5/5 Test #5: sla_print_tests ..................***Exception: SegFault 4.95 sec

0% tests passed, 5 tests failed out of 5

Total Test time (real) = 28.38 sec

The following tests FAILED:
1 - arrange_tests (SEGFAULT)
2 - libslic3r_tests (SEGFAULT)
3 - slic3rutils_tests (SEGFAULT)
4 - fff_print_tests (SEGFAULT)
5 - sla_print_tests (SEGFAULT)

Expect Result

Test pass

Project file & How to reproduce

  1. Open x64 Native Tools Command Prompt for VS 2022

  2. git clone https://github.com/prusa3d/PrusaSlicer.git F:\gitP

  3. git reset --hard 16b7175

  4. cd F:\gitP\prusa3d\PrusaSlicer\deps

  5. mkdir PrusaSlicer-deps

  6. cd PrusaSlicer-deps

  7. cmake -G "Visual Studio 17 2022" -A x64 -DCMAKE_SYSTEM_VERSION=10.0.22621.0 -DCMAKE_BUILD_TYPE=Release .. 2>&1

  8. msbuild /m /p:Platform=x64 /p:Configuration=Debug ALL_BUILD.vcxproj /t:Rebuild 2>&1

  9. cd F:\gitP\prusa3d\PrusaSlicer\build_amd64

  10. cmake -G "Visual Studio 17 2022" -A x64 -DCMAKE_SYSTEM_VERSION=10.0.22621.0 -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=F:\gitP\prusa3d\PrusaSlicer\deps\PrusaSlicer-deps\destdir\usr\local .. 2>&1

  11. msbuild /m /p:Platform=x64 /p:Configuration=Release PrusaSlicer.sln /t:Rebuild 2>&1

  12. ctest --build-config Release --output-on-failure > test_debug.log

Checklist of files included above

  • Project file
  • Screenshot

Version of PrusaSlicer

git commit: 16b7175

Operating system

Windows 11 + VS2022

Printer model

none

@KawasakiNinjaH2R KawasakiNinjaH2R changed the title PrusaSlicerfails to runtest on MSVC on WIndows in debug and release mode PrusaSlicerfails to runtest on MSVC on Windows in debug and release mode Sep 12, 2023
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

1 participant