Skip to content

[C#] AccessViolationException encountered using Microsoft.ML.LightGbm v4.3.0 NuGet package #6309

@boneatjp

Description

@boneatjp

Description

Having

System.AccessViolationException
HResult=0x80004003
Message=Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
Source=<例外のソースを評価できません>
スタック トレース:
<例外のスタック トレースを評価できません>

Reproducible example

Installing Version 4.3.0

Environment info

Using :
Microsoft.ML Version 3.0.1
Microsoft.ML.AutoML Version 0.21.1
Microsoft.ML.CpuMath Version 3.0.1
Microsoft.ML.DataView Version 3.0.1
Microsoft.ML.FastTree Version 3.0.1
Microsoft.ML.LightGbm Version 3.0.1
Microsoft.ML.Mkl.Compreonents Version 3.0.1
Microsoft.ML.Mkl.Redist Version 3.0.1

Under OS Version:
Windows 11 Pro Version 23H2
OS Build 22631.3007

LightGBM version or commit hash:
Without Installing LightGBM Version 4.3.0, it should be Version 3.3.5

Command(s) you used to install LightGBM
After installing LightGBM Version 4.3.0,

Having problem 'System.AccessViolationException' in Microsoft.ML.LightGbm.dll

Am I suppose to not use it in this case?

Additional Comments

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions