Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

New test class causes crash on x86 withPythonEngine.Initialize #946

Closed
@lostmsu

Description

@lostmsu

See the new test class in#901

AccessViolationException gets thrown in the linePyImport_ImportModule("platform") inRuntime.InitializePlatformData when a release build is tested using NUnit console runner.

nunit3-console.exe --x86 src\embed_tests\bin\publish\Python.EmbeddingTest.dll

Removal of initialization code makes tests succeed:

[OneTimeSetUp]publicvoidSetUp(){PythonEngine.Initialize();}[OneTimeTearDown]publicvoidDispose(){PythonEngine.Shutdown();}

The initialization code on its own may not be the cause, as there are other classes, that use the same pattern. Must be something in conjunction with the actual tests.

Note, that disabling feature implemented by#901 by commenting out code inTypeManager does not resolve the problem, e.g. it crashes anyway.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp