Acode icon indicating copy to clipboard operation
Acode copied to clipboard

Terminal crashes silently

Open Victozee26 opened this issue 11 months ago • 10 comments

Check for existing issues

  • [x] Completed

Describe the bug / provide steps to reproduce it

https://github.com/user-attachments/assets/4f476c6d-bc1a-4d53-8d99-63ad707a5ebf

built-in Terminal crashes silently and terminal doesn't respond

it crashes while am even in Acode coding no minimize

if i run same program on termux even multiple it barely or never crashes on background

how to possibly reproduce the crash:

  1. run a vite dev server
  2. and do what a person coding would do
  3. edit and save files repeatedly

Environment

Device Information: WebView Info: Package Name: com.google.android.webview Version: 143.0.7499.34

App Info: Name: Acode Package Name: com.foxdebug.acodefree Version: 1.11.7 Version Code: 966

Device Info: Android Version: 12 Manufacturer: TECNO Model: TECNO BF6 Platform: Android Cordova Version: 14.0.1

Screen Info: Width: 351 Height: 784 Color Depth: 24

Additional Info: Language: en-US User Agent: Mozilla/5.0 (Linux; Android 12; TECNO BF6 Build/SP1A.210812.001; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/143.0.7499.34 Mobile Safari/537.36

If applicable, add mockups / screenshots regarding your vision

https://github.com/user-attachments/assets/4f476c6d-bc1a-4d53-8d99-63ad707a5ebf

If applicable, attach your Acode.log file to this issue.

Acode.log

Acode.log

Victozee26 avatar Dec 26 '25 18:12 Victozee26

if needed more info am here 👍

Victozee26 avatar Dec 26 '25 18:12 Victozee26

Image

Was there anything like this in your notification panel when terminal opened of not then it started terminal in background service and which was killed by your system

bajrangCoder avatar Dec 26 '25 19:12 bajrangCoder

yes totally

Image

Victozee26 avatar Dec 26 '25 19:12 Victozee26

Image Was there anything like this in your notification panel when terminal opened of not then it started terminal in background service and which was killed by your system

at least if it crashes maybe make the terminal restart automatically instead of users killing the terminal manually and create a new one manually 🤌👌

Victozee26 avatar Dec 26 '25 20:12 Victozee26

@Victozee26 Have you tried disabling phantom process killer from developer options

RohitKushvaha01 avatar Dec 27 '25 01:12 RohitKushvaha01

@RohitKushvaha01 could not find that setting in developer options Android 12

Victozee26 avatar Dec 27 '25 10:12 Victozee26

@RohitKushvaha01 could not find that setting in developer options Android 12

Screenshot_2025-12-27-16-22-56-259_com.android.settings.jpg

RohitKushvaha01 avatar Dec 27 '25 10:12 RohitKushvaha01

@RohitKushvaha01 that really is not in my developer options

Victozee26 avatar Dec 27 '25 11:12 Victozee26

@RohitKushvaha01 that really is not in my developer options

Then you have to do it using adb or rish (Shizuku) you can also use adb apps like bugjegear or Ashell you

adb shell "/system/bin/device_config set_sync_disabled_for_tests persistent"
adb shell "/system/bin/device_config put activity_manager max_phantom_processes 2147483647"
adb shell settings put global settings_enable_monitor_phantom_procs false   

RohitKushvaha01 avatar Dec 27 '25 11:12 RohitKushvaha01

@RohitKushvaha01 Yeah, I’ve noticed the improvement

However, it would be great if Acode could handle terminal crashes more gracefully. For example, instead of leaving the terminal frozen, it could show a UI message like:

“Terminal crashed. Do you want to restart the terminal?”

This would make recovery much smoother and improve the overall user experience.

Thanks 🙏

Victozee26 avatar Dec 29 '25 09:12 Victozee26