JopSchaap / trustchain-superapp

Kotlin implementation of Trustchain and IPv8 with rich networking: multihoming of local Bluetooth+4G, decentral social networking, UDP hole punching, etc.
GNU General Public License v3.0
0 stars 0 forks source link

Opening and closing an apk a bunch of times eventually causes the superapp to crash #53

Open JopSchaap opened 8 months ago

JopSchaap commented 8 months ago

It takes approximatly 10 tries but then the superapp crashes with the following error message:

2024-03-27 15:03:28.828  5704-5704  libc                    nl.tudelft.trustchain.debug          A  Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 in tid 5704 (rustchain.debug), pid 5704 (rustchain.debug)

I also get this error when opening apk files, but I'm not sure if it is related:

2024-03-27 15:03:22.315  5704-5715  System                  nl.tudelft.trustchain.debug          E  java.lang.AssertionError: Failed to close dex file in finalizer.
                                                                                                        at dalvik.system.DexFile.finalize(DexFile.java:353)
                                                                                                        at java.lang.Daemons$FinalizerDaemon.doFinalize(Daemons.java:319)
                                                                                                        at java.lang.Daemons$FinalizerDaemon.runInternal(Daemons.java:306)
                                                                                                        at java.lang.Daemons$Daemon.run(Daemons.java:140)
                                                                                                        at java.lang.Thread.run(Thread.java:1012)