Hangfire.Storage.SQLite icon indicating copy to clipboard operation
Hangfire.Storage.SQLite copied to clipboard

Apple M1 not supported

Open CunesPoort8 opened this issue 1 year ago • 1 comments

Due to the use of an old version of sqlite-net-pcl, this package does not work on Apple M1 machines. Updating sqlite-net-pcl package to 1.9.172 fixes the issue.

Error message (partly):

"Unable to load shared library 'e_sqlite3' or one of its dependencies. In order to help diagnose loading problems, consider setting the DYLD_PRINT_LIBRARIES environment variable: \ndlopen(/usr/local/share/dotnet/shared/Microsoft.NETCore.App/7.0.17/e_sqlite3.dylib, 0x0001): tried: '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/7.0.17/e_sqlite3.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/share/dotnet/shared/Microsoft.NETCore.App/7.0.17/e_sqlite3.dylib' (no such file), '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/7.0.17/e_sqlite3.dylib' (no such file)

CunesPoort8 avatar Apr 05 '24 08:04 CunesPoort8

sqlite-net-pcl 1.9.172 sometimes causes runtime errors with ACCESS VIOLATION (read after free) kind of issues. Either the Storage implementation does something weird or the updated library now uses less-safe code to access data.

I'll try to reproduce the mentioned issue(s) to get a clear view on them to file the apropriate issues.

kirides avatar Apr 25 '24 13:04 kirides