[GH-ISSUE #5154] [Issue]: Termux randomly hard-crashes while Marinara Engine is running #2849

Closed
opened 2026-10-21 05:56:50 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @SpicyMarinara on GitHub (Aug 16, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5154

Originally assigned to: @SpicyMarinara on GitHub.

Summary

Marinara Engine starts and works normally on a OnePlus 10 Pro via Termux, but Termux later hard-crashes and restarts without a consistent trigger.

Expected behavior

Marinara Engine and Termux should continue running without unexpectedly crashing or restarting.

Actual behavior

After a seemingly random amount of time, Termux hard-crashes and restarts entirely, causing Marinara Engine to stop functioning. The crash occurs during active use and while the phone is idle.

Steps to reproduce

  1. Run Marinara Engine 2.4.3 staging through Termux on a OnePlus 10 Pro.
  2. Use Marinara Engine normally or leave the phone idle.
  3. Wait for an inconsistent amount of time.
  4. Observe that Termux may hard-crash and restart.

Environment

  • Marinara Engine version: 2.4.3 latest staging
  • Install type: termux
  • OS + version: Android on OnePlus 10 Pro; Android version not provided
  • Browser or app shell: Termux; version not provided

Logs, screenshots, or video

The reporter attempted to generate a Termux log, but no log file was created after the crash. No screenshots or video were provided.

Additional context

There is no consistent reproduction pattern. The reporter is concerned that the sudden crash could cause corruption or data-integrity issues. Support Diagnostics were not provided.

Discord thread: Termux hard crashing for unknown reason
Discord thread link: https://discord.com/channels/1417099416812392641/1538613675261427863
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)

Discord thread transcript (2 messages)
[2026-08-16T18:21:26.242Z] DSBwizzard: Android installation via Termux on OnePlus 10 pro 
2.4.3 latest staging 

This is a hard one to nail down - I do not have any sort of consistent repro. The issue I am seeing is ME will start up fine and allow normal usage for a short while, but after a seemingly random amount of time (whether actively using ME, or with my phone idle in my pocket), my Termux hard-crashes and restarts entirely. This not only causes my ME to stop functioning, I worry about corruption or data integrity since it seems like a very hard, sudden crash.

I have tried using Termux to generate a log but it does not generate the file after the crash, so I am having trouble even identifying information about what is happening. 😥
[Discord message: https://discord.com/channels/1417099416812392641/1538613675261427863/1538613675261427863]

[2026-08-16T18:21:26.899Z] Professor Mari [bot]: Howdy!

Thank you for submitting a new bug report/feature request, your support means a lot. A member of the team will look into it as soon as possible, and if they find it valid, they will open a GitHub Issue out of it. You can check whether it was addressed on the staging build of Marinara Engine. **Do not ping any of the developers, this will not speed up the process.**

**Please include a Support Diagnostic in the post if you haven't done it yet.** Otherwise, ignore this step. To grab it, go to the Marinara Engine tab:

`Settings -> Advanced -> Support Diagnostics -> Copy Support Diagnostics.`

Thank you, this will help tremendously.

This is an automated message, but if you reply to it, I will do my best to assist you using my LLM-powered brain. That said, it's best for a human to handle this case.

Cheers!
[Discord message: https://discord.com/channels/1417099416812392641/1538613675261427863/1538613678016827524]

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @SpicyMarinara on GitHub (Aug 16, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5154 Originally assigned to: @SpicyMarinara on GitHub. ## Summary Marinara Engine starts and works normally on a OnePlus 10 Pro via Termux, but Termux later hard-crashes and restarts without a consistent trigger. ## Expected behavior Marinara Engine and Termux should continue running without unexpectedly crashing or restarting. ## Actual behavior After a seemingly random amount of time, Termux hard-crashes and restarts entirely, causing Marinara Engine to stop functioning. The crash occurs during active use and while the phone is idle. ## Steps to reproduce 1. Run Marinara Engine 2.4.3 staging through Termux on a OnePlus 10 Pro. 2. Use Marinara Engine normally or leave the phone idle. 3. Wait for an inconsistent amount of time. 4. Observe that Termux may hard-crash and restart. ## Environment - Marinara Engine version: 2.4.3 latest staging - Install type: termux - OS + version: Android on OnePlus 10 Pro; Android version not provided - Browser or app shell: Termux; version not provided ## Logs, screenshots, or video The reporter attempted to generate a Termux log, but no log file was created after the crash. No screenshots or video were provided. ## Additional context There is no consistent reproduction pattern. The reporter is concerned that the sudden crash could cause corruption or data-integrity issues. Support Diagnostics were not provided. Discord thread: Termux hard crashing for unknown reason Discord thread link: https://discord.com/channels/1417099416812392641/1538613675261427863 Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653) <details> <summary>Discord thread transcript (2 messages)</summary> ```text [2026-08-16T18:21:26.242Z] DSBwizzard: Android installation via Termux on OnePlus 10 pro 2.4.3 latest staging This is a hard one to nail down - I do not have any sort of consistent repro. The issue I am seeing is ME will start up fine and allow normal usage for a short while, but after a seemingly random amount of time (whether actively using ME, or with my phone idle in my pocket), my Termux hard-crashes and restarts entirely. This not only causes my ME to stop functioning, I worry about corruption or data integrity since it seems like a very hard, sudden crash. I have tried using Termux to generate a log but it does not generate the file after the crash, so I am having trouble even identifying information about what is happening. 😥 [Discord message: https://discord.com/channels/1417099416812392641/1538613675261427863/1538613675261427863] [2026-08-16T18:21:26.899Z] Professor Mari [bot]: Howdy! Thank you for submitting a new bug report/feature request, your support means a lot. A member of the team will look into it as soon as possible, and if they find it valid, they will open a GitHub Issue out of it. You can check whether it was addressed on the staging build of Marinara Engine. **Do not ping any of the developers, this will not speed up the process.** **Please include a Support Diagnostic in the post if you haven't done it yet.** Otherwise, ignore this step. To grab it, go to the Marinara Engine tab: `Settings -> Advanced -> Support Diagnostics -> Copy Support Diagnostics.` Thank you, this will help tremendously. This is an automated message, but if you reply to it, I will do my best to assist you using my LLM-powered brain. That said, it's best for a human to handle this case. Cheers! [Discord message: https://discord.com/channels/1417099416812392641/1538613675261427863/1538613678016827524] ``` </details> ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 05:56:50 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@SpicyMarinara commented on GitHub (Aug 16, 2026):

PR #5166 adds durable per-run Termux server logs under ~/.marinara-engine/logs/, keeps 14 days of history, preserves Node's real exit code through tee, and documents Termux:API wake-lock plus vendor battery-optimization exclusions.

I am intentionally leaving this issue open: the report contains no surviving crash log, and a OnePlus/Android process kill outside Node cannot be distinguished from an Engine crash by code inspection. After #5166 lands, please reproduce and attach the newest server-*.log. A normal Node/Engine exception at the end gives us a fixable callsite; a log that simply stops points to Android/vendor process management.

<!-- gh-comment-id:5310015267 --> @SpicyMarinara commented on GitHub (Aug 16, 2026): PR #5166 adds durable per-run Termux server logs under `~/.marinara-engine/logs/`, keeps 14 days of history, preserves Node's real exit code through `tee`, and documents Termux:API wake-lock plus vendor battery-optimization exclusions. I am intentionally leaving this issue open: the report contains no surviving crash log, and a OnePlus/Android process kill outside Node cannot be distinguished from an Engine crash by code inspection. After #5166 lands, please reproduce and attach the newest `server-*.log`. A normal Node/Engine exception at the end gives us a fixable callsite; a log that simply stops points to Android/vendor process management.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#2849
No description provided.