AndroidIDE icon indicating copy to clipboard operation
AndroidIDE copied to clipboard

Random crash or restart

Open al-99892 opened this issue 1 year ago • 0 comments

Issue Checklist

  • [X] I confirm that this issue is not a duplicate and hasn't been reported before.
  • [X] I agree to follow the project's code of conduct.
  • [X] I have checked and verified that I am using the latest version of AndroidIDE from GitHub or F-Droid.

Additional terms

  • [X] I understand that providing incomplete or inaccurate information may result in the issue being closed.
  • [X] I agree to provide all requested details promptly for a comprehensive bug report.

Issue explanation

Whilst editing the ide either crashes (see included stack trace) or occasionally restarts. I can see no real pattern to the crashes except that they happen whilst editing a file. Crashes are frequent ~4 or so an hour, but not predictable. I have been using the ide for several months without this issue. The issue began after the tablet closed down due to low battery. I have deleted the project directory and re-copied it back. I have also deleted the app data and allowed it to automatically download and reinstall all required files.

Expected behavior

No crash

Version name

Version : v2.7.1-beta (27102) CI Build : true Branch : main Commit : 55bb46b31 Variant : arm64-v8a (release) Build type : OFFICIAL F-Droid Build : false F-Droid Version : null F-Droid Version code : -1 SDK Version : 34 Supported ABIs : [arm64-v8a, armeabi-v7a, armeabi] Manufacturer : samsung Device : SM-X700

Download source

GitHub

Relevant log output

AndroidIDE Crash Report
Version : v2.7.1-beta (27102)
CI Build : true
Branch : main
Commit : 55bb46b31
Variant : arm64-v8a (release)
Build type : OFFICIAL
F-Droid Build : false
F-Droid Version : null
F-Droid Version code : -1
SDK Version : 34
Supported ABIs : [arm64-v8a, armeabi-v7a, armeabi]
Manufacturer : samsung
Device : SM-X700

Stacktrace:
android.system.ErrnoException: close failed: EIO (I/O error)
	at libcore.io.Linux.close(Native Method)
	at libcore.io.ForwardingOs.close(ForwardingOs.java:176)
	at libcore.io.BlockGuardOs.close(BlockGuardOs.java:113)
	at libcore.io.ForwardingOs.close(ForwardingOs.java:176)
	at libcore.io.IoBridge.closeAndSignalBlockedThreads(IoBridge.java:311)
 Caused by: java.io.IOException: close failed: EIO (I/O error)
	at libcore.io.IoBridge.closeAndSignalBlockedThreads(IoBridge.java:313)
	at java.io.RandomAccessFile.close(RandomAccessFile.java:726)
	at java.util.zip.ZipFile$Source.close(ZipFile.java:1460)
	at java.util.zip.ZipFile$Source.release(ZipFile.java:1407)
	at java.util.zip.ZipFile$CleanableResource.run(ZipFile.java:849)
 Caused by: java.io.UncheckedIOException: java.io.IOException: close failed: EIO (I/O error)
	at java.util.zip.ZipFile$CleanableResource.run(ZipFile.java:858)
	at jdk.internal.ref.CleanerImpl$PhantomCleanableRef.performCleanup(CleanerImpl.java:212)
	at jdk.internal.ref.PhantomCleanable.clean(PhantomCleanable.java:133)
	at java.lang.Daemons$FinalizerDaemon.doClean(Daemons.java:388)
	at java.lang.Daemons$FinalizerDaemon.processReference(Daemons.java:358)
	at java.lang.Daemons$FinalizerDaemon.runInternal(Daemons.java:335)
	at java.lang.Daemons$Daemon.run(Daemons.java:131)
	at java.lang.Thread.run(Thread.java:1012)

al-99892 avatar Sep 25 '24 18:09 al-99892