dranger003 / llama.cpp-dotnet

Minimal C# bindings for llama.cpp + .NET core library with API host/client.
MIT License
63 stars 7 forks source link

Fatal error. System.AccessViolationException: Attempted to read or write protected memory #13

Closed arctocore closed 4 weeks ago

arctocore commented 6 months ago

I am using visual studio 2022 community edition.

I get this message when trying to run the SampleRaw: [00:00:12.2434398]> create c# console 4/32768 token(s) Fatal error. System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. Repeat 2 times:

dranger003 commented 6 months ago

Run the code in debug mode and paste the line where you get the crash.

dranger003 commented 4 weeks ago

Closing for now, re-open if you still are having an issue.