yqrashawn / GokuRakuJoudo

config karabiner with ease
GNU General Public License v3.0
1.13k stars 122 forks source link

Infinite loop in exit function #211

Open elmart-devo opened 1 year ago

elmart-devo commented 1 year ago

Hi, it seems I must be doing mistake when trying to use goku. But the real weird thing is that, when goku tries to exit and report an error, it seems to enter an infinite loop within the exit function, leading to a stack overflow.

Exception in thread "main" java.lang.StackOverflowError
    at com.oracle.svm.core.graal.snippets.StackOverflowCheckImpl.newStackOverflowError0(StackOverflowCheckImpl.java:328)
    at com.oracle.svm.core.graal.snippets.StackOverflowCheckImpl.newStackOverflowError(StackOverflowCheckImpl.java:324)
    at com.oracle.svm.core.graal.snippets.StackOverflowCheckImpl.throwNewStackOverflowError(StackOverflowCheckImpl.java:304)
    at clojure.lang.LazilyPersistentVector.createOwning(LazilyPersistentVector.java:25)
    at clojure.lang.RT.vector(RT.java:1609)
    at clojure.lang.Tuple.create(Tuple.java:26)
    at karabiner_configurator.core$exit.invokeStatic(core.clj:32)
    at karabiner_configurator.core$exit.invoke(core.clj:31)
    at karabiner_configurator.core$exit.invokeStatic(core.clj:32)
    at karabiner_configurator.core$exit.invoke(core.clj:31)
    at karabiner_configurator.core$exit.invokeStatic(core.clj:32)
    at karabiner_configurator.core$exit.invoke(core.clj:31)
    at karabiner_configurator.core$exit.invokeStatic(core.clj:32)
    at karabiner_configurator.core$exit.invoke(core.clj:31)
    at karabiner_configurator.core$exit.invokeStatic(core.clj:32)
    at karabiner_configurator.core$exit.invoke(core.clj:31)
    at karabiner_configurator.core$exit.invokeStatic(core.clj:32)

I'm on MacOS Ventura 13.0, with brew-installed goku 0.5.7.

yqrashawn commented 1 year ago

fixed in b429bfd541aa1277d4b95bb51b118c39a046e0c6, not published yet

Bargsteen commented 1 year ago

Could you publish this fix? Goku is not usable for me due to this bug. @yqrashawn