riok/Kreya

Mac OS - Kreya crashes immediately upon open

Closed this issue · 8 comments

Describe the bug
Downloaded mac OS X64. Unzipped and attempted to open the app. Immediately crashed

To Reproduce
Steps to reproduce the behavior:
Downloaded mac OS X64. Unzipped and attempted to open the app. Immediately crashed

Expected behavior
App to open

Screenshots
If applicable, add screenshots to help explain your problem.

Environment (if possible, copy the information from the error dialog or the About menu):

  • OS: Ventura 13.5
  • Kreya Version v 1.11 per download page.

Additional context
stack trace

Failed to initialize Kreya: System.TypeInitializationException: The type initializer for 'Microsoft.Data.Sqlite.SqliteConnection' threw an exception.
---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
---> System.DllNotFoundException: 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:
dlopen(/private/var/folders/dh/b1mvrx712bs_yxnw6_mbd2jh0000gn/T/AppTranslocation/066C2027-DE24-4B56-B8B0-032C32A06B30/d/Kreya.app/Contents/MacOS/e_sqlite3.dylib, 0x0001): tried: '/private/var/folders/dh/b1mvrx712bs_yxnw6_mbd2jh0000gn/T/AppTranslocation/066C2027-DE24-4B56-B8B0-032C32A06B30/d/Kreya.app/Contents/MacOS/e_sqlite3.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/private/var/folders/dh/b1mvrx712bs_yxnw6_mbd2jh0000gn/T/AppTranslocation/066C2027-DE24-4B56-B8B0-032C32A06B30/d/Kreya.app/Contents/MacOS/e_sqlite3.dylib' (no such file), '/private/var/folders/dh/b1mvrx712bs_yxnw6_mbd2jh0000gn/T/AppTranslocation/066C2027-DE24-4B56-B8B0-032C32A06B30/d/Kreya.app/Contents/MacOS/e_sqlite3.dylib' (no such file)
dlopen(e_sqlite3.dylib, 0x0001): tried: 'e_sqlite3.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSe_sqlite3.dylib' (no such file), '/usr/lib/e_sqlite3.dylib' (no such file, not in dyld cache), 'e_sqlite3.dylib' (no such file), '/usr/lib/e_sqlite3.dylib' (no such file, not in dyld cache)
dlopen(/private/var/folders/dh/b1mvrx712bs_yxnw6_mbd2jh0000gn/T/AppTranslocation/066C2027-DE24-4B56-B8B0-032C32A06B30/d/Kreya.app/Contents/MacOS/libe_sqlite3.dylib, 0x0001): tried: '/private/var/folders/dh/b1mvrx712bs_yxnw6_mbd2jh0000gn/T/AppTranslocation/066C2027-DE24-4B56-B8B0-032C32A06B30/d/Kreya.app/Contents/MacOS/libe_sqlite3.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/private/var/folders/dh/b1mvrx712bs_yxnw6_mbd2jh0000gn/T/AppTranslocation/066C2027-DE24-4B56-B8B0-032C32A06B30/d/Kreya.app/Contents/MacOS/libe_sqlite3.dylib' (no such file), '/private/var/folders/dh/b1mvrx712bs_yxnw6_mbd2jh0000gn/T/AppTranslocation/066C2027-DE24-4B56-B8B0-032C32A06B30/d/Kreya.app/Contents/MacOS/libe_sqlite3.dylib' (no such file)
dlopen(libe_sqlite3.dylib, 0x0001): tried: 'libe_sqlite3.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibe_sqlite3.dylib' (no such file), '/usr/lib/libe_sqlite3.dylib' (no such file, not in dyld cache), 'libe_sqlite3.dylib' (no such file), '/usr/lib/libe_sqlite3.dylib' (no such file, not in dyld cache)
dlopen(/private/var/folders/dh/b1mvrx712bs_yxnw6_mbd2jh0000gn/T/AppTranslocation/066C2027-DE24-4B56-B8B0-032C32A06B30/d/Kreya.app/Contents/MacOS/e_sqlite3, 0x0001): tried: '/private/var/folders/dh/b1mvrx712bs_yxnw6_mbd2jh0000gn/T/AppTranslocation/066C2027-DE24-4B56-B8B0-032C32A06B30/d/Kreya.app/Contents/MacOS/e_sqlite3' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/private/var/folders/dh/b1mvrx712bs_yxnw6_mbd2jh0000gn/T/AppTranslocation/066C2027-DE24-4B56-B8B0-032C32A06B30/d/Kreya.app/Contents/MacOS/e_sqlite3' (no such file), '/private/var/folders/dh/b1mvrx712bs_yxnw6_mbd2jh0000gn/T/AppTranslocation/066C2027-DE24-4B56-B8B0-032C32A06B30/d/Kreya.app/Contents/MacOS/e_sqlite3' (no such file)
dlopen(e_sqlite3, 0x0001): tried: 'e_sqlite3' (no such file), '/System/Volumes/Preboot/Cryptexes/OSe_sqlite3' (no such file), '/usr/lib/e_sqlite3' (no such file, not in dyld cache), 'e_sqlite3' (no such file), '/usr/lib/e_sqlite3' (no such file, not in dyld cache)
dlopen(/private/var/folders/dh/b1mvrx712bs_yxnw6_mbd2jh0000gn/T/AppTranslocation/066C2027-DE24-4B56-B8B0-032C32A06B30/d/Kreya.app/Contents/MacOS/libe_sqlite3, 0x0001): tried: '/private/var/folders/dh/b1mvrx712bs_yxnw6_mbd2jh0000gn/T/AppTranslocation/066C2027-DE24-4B56-B8B0-032C32A06B30/d/Kreya.app/Contents/MacOS/libe_sqlite3' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/private/var/folders/dh/b1mvrx712bs_yxnw6_mbd2jh0000gn/T/AppTranslocation/066C2027-DE24-4B56-B8B0-032C32A06B30/d/Kreya.app/Contents/MacOS/libe_sqlite3' (no such file), '/private/var/folders/dh/b1mvrx712bs_yxnw6_mbd2jh0000gn/T/AppTranslocation/066C2027-DE24-4B56-B8B0-032C32A06B30/d/Kreya.app/Contents/MacOS/libe_sqlite3' (no such file)
dlopen(libe_sqlite3, 0x0001): tried: 'libe_sqlite3' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibe_sqlite3' (no such file), '/usr/lib/libe_sqlite3' (no such file, not in dyld cache), 'libe_sqlite3' (no such file), '/usr/lib/libe_sqlite3' (no such file, not in dyld cache)

at SQLitePCL.SQLite3Provider_e_sqlite3.NativeMethods.sqlite3_libversion_number()
at SQLitePCL.SQLite3Provider_e_sqlite3.SQLitePCL.ISQLite3Provider.sqlite3_libversion_number()
at SQLitePCL.raw.SetProvider(ISQLite3Provider imp)
at SQLitePCL.Batteries_V2.Init()
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
--- End of inner exception stack trace ---
at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters

image

same problem for me

@zhengmou Are you also on Mac OS X64?

We are able to reproduce this error on Mac OS x64. ARM64 is not affected.

@CommonGuy nop, M1 Pro chip. ARM64

Thanks for the information. It looks like both x64 and ARM64 are affected from the bug, but only new installations (not updates from previous versions).

We are working on a fix

@CommonGuy Thanks, can you provide an old version?

We just released the 1.11.1 bugfix release, which fixes this issue.

If you encountered this problem, please download Kreya again from https://kreya.app/downloads/.