I just updated Summit to the latest version (and I also applied a minor Android update too, so it could be that) and now Summit won’t start (exits after a few seconds). Here’s a (truncated) log if you’re interested:
type: crash
osVersion: google/redfin/redfin:14/UP1A.231105.001/2024022300:user/release-keys
package: com.idunnololz.summit:142
process: com.idunnololz.summit
processUptime: 67876 + 302 ms
installer: com.android.vending
java.lang.StackOverflowError: stack size 8188KB
at java.util.HashMap.hash(HashMap.java:336)
at java.util.HashMap.getNode(HashMap.java:566)
at java.util.HashMap.containsKey(HashMap.java:592)
at android.app.SharedPreferencesImpl.contains(SharedPreferencesImpl.java:377)
at wc.b.getFloat(SourceFile:20)
at wc.b.getFloat(SourceFile:26)
at wc.b.getFloat(SourceFile:26)
[TRUNCATED 1058050 CHARS]
.b.getFloat(SourceFile:26)
at wc.b.getFloat(SourceFile:26)
at wc.b.getFloat(SourceFile:26)
at wc.b.getFloat(SourceFile:26)
at wc.b.getFloat(SourceFile:26)
at wc.b.getFloat(SourceFile:26)
at com.idunnololz.summit.lemmy.community.CommunityFragment.i1(SourceFile:78)
at com.idunnololz.summit.lemmy.community.CommunityFragment$onViewCreated$7.c(SourceFile:223)
at com.idunnololz.summit.util.BaseFragment$runOnReady$1.c(SourceFile:11)
at com.idunnololz.summit.main.MainActivity$runOnReady$1.e(SourceFile:13)
at tc.z.b(SourceFile:13)
at androidx.lifecycle.j0.b(SourceFile:30)
at androidx.lifecycle.j0.c(SourceFile:56)
at androidx.lifecycle.p0.k(SourceFile:15)
at b.j.run(SourceFile:252)
at android.os.Handler.handleCallback(Handler.java:958)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:205)
at android.os.Looper.loop(Looper.java:294)
at android.app.ActivityThread.main(ActivityThread.java:8279)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552)
at com.android.internal.os.ExecInit.main(ExecInit.java:49)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:359)
Fix is live. Please try the release and let me know if the issue is resolved.
Fixed, thanks!
Sorry had a busy day at work so I couldn’t get a fix out sooner. The fix is on the way. It will be available on the Play Store in ~2 hours, Github ~20minutes.
Apologise for nothing, you’re doing a great job!
I also had som problems but deleted all data for summit and that made it work for me
I was hoping I wouldn’t need to wipe everything but this did fix the issue, thanks!
@[email protected] I can recreate it (or at least a similar crash) by deleting all data, opening Summit, logging in, going into settings and setting the post gesture size to 0.75, then trying to click on a post. Changing settings in general seems to put the app in a bad state.
Thank you for the report. I think I know what the cause is. I’ll have a fix out later today.
Cheers!