Fork me on GitHub
#xtdb
<
2022-07-31
>
tbrooke21:07:12

I have been doing fine with XTDB on my Mac M1. I saw that there had been problems with RicksDB but it appears that they have beeen fixed - I recently upgraded to Monterrey 12.5 and I get the following error which makes me think it is back. Has anyone else run into this: found 0 vulnerabilities WARNING: abs already refers to: #'clojure.core/abs in namespace: juxt.clojars-mirrors.encore.v3v9v2.taoensso.encore, being replaced by: #'juxt.clojars-mirrors.encore.v3v9v2.taoensso.encore/abs [main] INFO com.biffweb.impl.util - starting: com.biffweb$use_config@ec9fc35 [main] INFO com.biffweb.impl.util - starting: com.biffweb$use_random_default_secrets@87e1b84 [main] WARN com.biffweb.impl.misc - :biff.middleware/cookie-secret is empty, using random value [main] WARN com.biffweb.impl.misc - :biff/jwt-secret is empty, using random value [main] INFO com.biffweb.impl.util - starting: com.biffweb$use_xt@7ed14356 [main] WARN xtdb.cache - Could not open ConcurrentHashMap.table field - falling back to LRU caching. Use --add-opens java.base/java.util.concurrent=ALL-UNNAMED` to use the second-chance cache.` [main] INFO xtdb.tx - Started tx-ingester [main] INFO com.biffweb.impl.util - starting: com.biffweb$use_tx_listener@bdcd43f [main] INFO com.biffweb.impl.util - starting: com.biffweb.impl.util$use_when$fn__2041@1c9413ea [main] INFO com.biffweb.impl.util - starting: com.biffweb$use_outer_default_middleware@73aa0c12 [main] INFO com.biffweb.impl.util - starting: com.biffweb$use_jetty@6e56bd6b [main] INFO org.eclipse.jetty.server.Server - jetty-10.0.7; built: 2021-10-06T19:34:02.766Z; git: da8a4553af9dd84080931fa0f8c678cd2d60f3d9; jvm 17.0.2+8-LTS [main] INFO org.eclipse.jetty.server.handler.ContextHandler - Started o.e.j.s.ServletContextHandler@411e16d{/,null,AVAILABLE} [main] INFO org.eclipse.jetty.server.AbstractConnector - Started ServerConnector@fc7a56e{HTTP/1.1, (http/1.1)}{0.0.0.0:8080} [main] INFO org.eclipse.jetty.server.Server - Started Server@57333ebe{STARTING}[10.0.7,sto=0] @8292ms [main] INFO com.biffweb.impl.misc - Jetty running on [main] INFO com.biffweb.impl.util - starting: com.biffweb.impl.util$use_when$fn__2041@1def8aaa [main] INFO com.biffweb.impl.util - starting: com.biffweb$use_chime@8a59a57 [main] INFO com.biffweb.impl.util - starting: com.biffweb.impl.util$use_when$fn__2041@73275b0d [main] INFO com.biffweb.impl.util - starting: com.biffweb$use_hawk@12fc3519 Execution error (UnsatisfiedLinkError) at java.lang.ClassLoader/loadLibrary (ClassLoader.java:2393). Can't load library: /var/folders/rx/7wp_8m0131sgkntjqsbpg90r0000gn/T/jna16145493131320624304.tmp Full report at: /var/folders/rx/7wp_8m0131sgkntjqsbpg90r0000gn/T/clojure-2226162883904484550.edn

refset21:07:15

Hey @U054219BT please could you share that "Full report" mentioned at the end also? /var/folders/rx/7wp_8m0131sgkntjqsbpg90r0000gn/T/clojure-2226162883904484550.edn I haven't seen anyone report anything about this recently.

tbrooke22:07:26

Here it is: (it is from Platypub/Biff - But I feel it is XTDB cat /var/folders/rx/7wp_8m0131sgkntjqsbpg90r0000gn/T/clojure-2226162883904484550.edn {:clojure.main/message "Execution error (UnsatisfiedLinkError) at java.lang.ClassLoader/loadLibrary (ClassLoader.java:2393).\nCan't load library: /var/folders/rx/7wp_8m0131sgkntjqsbpg90r0000gn/T/jna16145493131320624304.tmp\n", :clojure.main/triage {:clojure.error/class java.lang.UnsatisfiedLinkError, :clojure.error/line 2393, :clojure.error/cause "Can't load library: /var/folders/rx/7wp_8m0131sgkntjqsbpg90r0000gn/T/jna16145493131320624304.tmp", :clojure.error/symbol java.lang.ClassLoader/loadLibrary, :clojure.error/source "ClassLoader.java", :clojure.error/phase :execution}, :clojure.main/trace {:via [{:type java.lang.UnsatisfiedLinkError, :message "Can't load library: /var/folders/rx/7wp_8m0131sgkntjqsbpg90r0000gn/T/jna16145493131320624304.tmp", :at [java.lang.ClassLoader loadLibrary "ClassLoader.java" 2393]}], :trace [[java.lang.ClassLoader loadLibrary "ClassLoader.java" 2393] [java.lang.Runtime load0 "Runtime.java" 755] [java.lang.System load "System.java" 1953] [com.sun.jna.Native loadNativeLibraryFromJar "Native.java" 744] [com.sun.jna.Native loadNativeLibrary "Native.java" 678] [com.sun.jna.Native <clinit> "Native.java" 106] [com.barbarysoftware.jna.CarbonAPI <clinit> "CarbonAPI.java" 6] [com.barbarysoftware.jna.CFStringRef toCFString "CFStringRef.java" 10] [com.barbarysoftware.watchservice.MacOSXListeningWatchService register "MacOSXListeningWatchService.java" 30] [com.barbarysoftware.watchservice.WatchableFile register "WatchableFile.java" 30] [com.barbarysoftware.watchservice.WatchableFile register "WatchableFile.java" 39] [hawk.watcher$fn__133 invokeStatic "watcher.clj" 102] [hawk.watcher$fn__133 invoke "watcher.clj" 99] [hawk.watcher$fn__38$G__29__47 invoke "watcher.clj" 24] [hawk.core$watch_BANG_ invokeStatic "core.clj" 83] [hawk.core$watch_BANG_ doInvoke "core.clj" 59] [clojure.lang.RestFn invoke "RestFn.java" 410] [com.biffweb.impl.misc$use_hawk invokeStatic "misc.clj" 17] [com.biffweb.impl.misc$use_hawk invoke "misc.clj" 14] [com.biffweb$use_hawk invokeStatic "biffweb.clj" 193] [com.biffweb$use_hawk invoke "biffweb.clj" 179] [com.biffweb.impl.util$start_system invokeStatic "util.clj" 16] [com.biffweb.impl.util$start_system invoke "util.clj" 11] [com.biffweb$start_system invokeStatic "biffweb.clj" 27] [com.biffweb$start_system invoke "biffweb.clj" 21] [com.platypub$start invokeStatic "platypub.clj" 79] [com.platypub$start invoke "platypub.clj" 78] [com.platypub$_main invokeStatic "platypub.clj" 106] [com.platypub$_main doInvoke "platypub.clj" 105] [clojure.lang.RestFn applyTo "RestFn.java" 137] [clojure.lang.Var applyTo "Var.java" 705] [clojure.core$apply invokeStatic "core.clj" 667] [clojure.main$main_opt invokeStatic "main.clj" 514] [clojure.main$main_opt invoke "main.clj" 510] [clojure.main$main invokeStatic "main.clj" 664] [clojure.main$main doInvoke "main.clj" 616] [clojure.lang.RestFn applyTo "RestFn.java" 137] [clojure.lang.Var applyTo "Var.java" 705] [clojure.main main "main.java" 40]], :cause "Can't load library: /var/folders/rx/7wp_8m0131sgkntjqsbpg90r0000gn/T/jna16145493131320624304.tmp"}}

🙏 1
Jacob O'Bryant22:07:21

yeah looks like this is a hawk thing, unrelated to XTDB we could follow up in #biff

🙏 1
refset08:08:39

thanks for chiming in @U7YNGKDHA 🙂

🎅 1