[GH-ISSUE #7150] [Issue]: Advanced Memory Recall locks existing chats and disables recovery #3992

Closed
opened 2026-10-21 06:09:21 +07:00 by bsakaguchi · 2 comments
Owner

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

Originally assigned to: @SpicyMarinara on GitHub.

Summary

Enabling the memory manager on an existing chat made the chat lock up and become inaccessible. The entire app may freeze, while the memory setting is greyed out and cannot be disabled or purged.

Expected behavior

Enabling Advanced Memory should not make an existing chat inaccessible or lock the application. The memory setting should remain recoverable, allowing the user to disable it or purge the affected memory.

Actual behavior

The affected chat locks up when opened, and refreshing a message remains stuck indefinitely with no way to cancel. Chatroom settings open, but the Advanced Memory Manager toggle is greyed out. The entire program can lock up until it is fully restarted. Marinara indicated that Memory Recall was enabled and that Advanced Memory should disable the basic memory feature when enabled.

Steps to reproduce

  1. Open an existing chat.
  2. Set up or enable the memory manager, including Advanced Memory or Memory Recall.
  3. Reopen the affected chat.
  4. Attempt to refresh a message or open chatroom settings.
  5. Try to disable the memory manager or purge its data.

Environment

  • Marinara Engine version: 2.4.6 (build 2.4.6+12a0acd5b782, commit 12a0acd5b7)
  • Install type: termux
  • OS + version: Android 16; server OS Android / Termux 6.12.38-android16-5-g0de425e73a77-ab14804637-4k (arm64)
  • Browser or app shell: MarinaraEngine/Android app shell using WebView; Chrome 153.0.8010.36

Logs, screenshots, or video

Support Diagnostics reported 7 sessions ended without shutdown, the previous session ended without shutting down, and no freeze was detected. Active connection: Deepseek via OpenRouter; model: deepseek/deepseek-v4-flash. Screenshot showing the greyed-out setting: https://cdn.discordapp.com/attachments/1556857410185076837/1556861421575213156/Screenshot_20261006_034953_com_marinara_engine_MainActivity_edit_306406298026342.jpg?backend=b2&ex=6ac5b3af&is=6ac4622f&hm=1e367134e53a6233ace140db3aafe8283090d5af998ca18a27ceea65aa037dca

Additional context

The affected chat is an existing long-running chat the user wants to recover. Opening it can lock the entire program and requires a full restart before switching to another chat. Marinara stated that the greyed-out state occurs because Memory Recall is enabled and that enabling Advanced Memory should turn off the basic memory feature.

Discord thread: Advanced memory recall killed a chat entirely.
Discord thread link: https://discord.com/channels/1417099416812392641/1556857410185076837
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)

Discord thread transcript (6 messages)
[2026-10-06T02:35:31.600Z] Leytra: So I tried to set up the memory manager thing on a chat I've had for a while

*And it's destroyed that chat*

I can't open that chat without ME locking up anymore, which means I can't turn off memory manager.

Is it possible to somehow purge it? I'd really quite like that chat back but it's totally fried.

Refreshing a message just gets the message locked in forever jail of refreshing, can't cancel or anything.

Trying to open the chatroom settings works but I can't turn off advanced memory manager, it's greyed out and can't be toggled.

This also ends up locking up the entire program, forcing a full restart of things before I can swap back to a non broken chat.
[Discord message: https://discord.com/channels/1417099416812392641/1556857410185076837/1556857410185076837]

[2026-10-06T02:35:32.194Z] 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.`

If your report is about any of the **Agents**, please provide **the Agent's version** which you can grab from here:

`Agents -> Download Agents -> Installed Agents -> Selected Agent -> Installed Version`

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/1556857410185076837/1556857412676227125]

[2026-10-06T02:35:36.701Z] Leytra: Marinara Engine diagnostics
Version: 2.4.6
Build: 2.4.6+12a0acd5b782
Commit: 12a0acd5b782
Server OS: Android / Termux 6.12.38-android16-5-g0de425e73a77-ab14804637-4k (arm64)
Server memory: heap 519.3 / 8288 MiB; RSS 638.4 MiB
Background wake lock: acquired
Last detected freeze: none detected
Previous session: ended without shutting down - last alive 2026-10-06T02:22:14.266Z (up 1m, RSS 1413.6 MiB); device rebooted before next launch: no
Sessions ended without shutdown: 7 recorded
Client OS: Android 16
Browser / app shell: Mozilla/5.0 (Linux; Android 16; PNM-N49 Build/HONORPNM-N49; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/153.0.8010.36 Safari/537.36 MarinaraEngine/Android
Client runtime: {"build":"2.4.6+12a0acd5b782","page":"muw1zavs-b1kbqxju","persistence":"local","navigation":"navigate","standalone":false,"view":[856,0,0,0],"events":[{"at":1791253313557,"page":"muw03mez-a3e77gc2","build":"2.4.6+12a0acd5b782","kind":"visible","view":[856,0,0,0]},{"at":1791253319428,"page":"muw03mez-a3e77gc2","build":"2.4.6+12a0acd5b782","kind":"hidden","view":[856,0,0,0]},{"at":1791253324505,"page":"muw1zavs-b1kbqxju","build":"2.4.6+12a0acd5b782","kind":"page-start","view":[856,0,0,0]},{"at":1791253324517,"page":"muw1zavs-b1kbqxju","build":"2.4.6+12a0acd5b782","kind":"page-show","view":[856,0,0,0]},{"at":1791253425049,"page":"muw1zavs-b1kbqxju","build":"2.4.6+12a0acd5b782","kind":"hidden","view":[856,0,0,0]},{"at":1791253432218,"page":"muw1zavs-b1kbqxju","build":"2.4.6+12a0acd5b782","kind":"visible","view":[856,0,0,0]},{"at":1791253487536,"page":"muw1zavs-b1kbqxju","build":"2.4.6+12a0acd5b782","kind":"hidden","view":[856,0,0,0]},{"at":1791253492850,"page":"muw1zavs-b1kbqxju","build":"2.4.6+12a0acd5b782","kind":"visible","view":[856,0,0,0]},{"at":1791253509806,"page":"muw1zavs-b1kbqxju","build":"2.4.6+12a0acd5b782","kind":"hidden","view":[856,0,0,0]},{"at":1791253530411,"page":"muw1zavs-b1kbqxju","build":"2.4.6+12a0acd5b782","kind":"visible","view":[594,0,0,0]},{"at":1791253533840,"page":"muw1zavs-b1kbqxju","build":"2.4.6+12a0acd5b782","kind":"hidden","view":[856,0,0,0]},{"at":1791253536416,"page":"muw1zavs-b1kbqxju","build":"2.4.6+12a0acd5b782","kind":"visible","view":[594,0,0,0]},{"at":1791253554086,"page":"muw1zavs-b1kbqxju","build":"2.4.6+12a0acd5b782","kind":"hidden","view":[856,0,0,0]},{"at":1791253576880,"page":"muw1zavs-b1kbqxju","build":"2.4.6+12a0acd5b782","kind":"visible","view":[856,0,0,0]},{"at":1791253587971,"page":"muw1zavs-b1kbqxju","build":"2.4.6+12a0acd5b782","kind":"hidden","view":[856,0,0,0]},{"at":1791253592708,"page":"muw1zavs-b1kbqxju","build":"2.4.6+12a0acd5b782","kind":"visible","view":[567,0,0,0]}]}
GPU: Adreno (TM) 840
Active connection: Deepseek
Connection provider: openrouter
LLM model: deepseek/deepseek-v4-flash
Mari last acted on: Unavailable (workspace status not reachable)
[Discord message: https://discord.com/channels/1417099416812392641/1556857410185076837/1556857431579959427]

[2026-10-06T02:51:28.128Z] Leytra: Like this is how it greys out

[attached image 1: https://cdn.discordapp.com/attachments/1556857410185076837/1556861421575213156/Screenshot_20261006_034953_com_marinara_engine_MainActivity_edit_306406298026342.jpg?backend=b2&ex=6ac5b3af&is=6ac4622f&hm=1e367134e53a6233ace140db3aafe8283090d5af998ca18a27ceea65aa037dca&]
[Discord message: https://discord.com/channels/1417099416812392641/1556857410185076837/1556861422154285126]

[2026-10-06T05:47:16.435Z] Marinara: Because you have enabled Memory Recall.
[Discord message: https://discord.com/channels/1417099416812392641/1556857410185076837/1556905664960270347]

[2026-10-06T05:47:42.073Z] Marinara: I need to make it so if you enable Advanced Memory, it turns off basic one.
[Discord message: https://discord.com/channels/1417099416812392641/1556857410185076837/1556905772494102560]

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 (Oct 6, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7150 Originally assigned to: @SpicyMarinara on GitHub. ## Summary Enabling the memory manager on an existing chat made the chat lock up and become inaccessible. The entire app may freeze, while the memory setting is greyed out and cannot be disabled or purged. ## Expected behavior Enabling Advanced Memory should not make an existing chat inaccessible or lock the application. The memory setting should remain recoverable, allowing the user to disable it or purge the affected memory. ## Actual behavior The affected chat locks up when opened, and refreshing a message remains stuck indefinitely with no way to cancel. Chatroom settings open, but the Advanced Memory Manager toggle is greyed out. The entire program can lock up until it is fully restarted. Marinara indicated that Memory Recall was enabled and that Advanced Memory should disable the basic memory feature when enabled. ## Steps to reproduce 1. Open an existing chat. 2. Set up or enable the memory manager, including Advanced Memory or Memory Recall. 3. Reopen the affected chat. 4. Attempt to refresh a message or open chatroom settings. 5. Try to disable the memory manager or purge its data. ## Environment - Marinara Engine version: 2.4.6 (build 2.4.6+12a0acd5b782, commit 12a0acd5b782) - Install type: termux - OS + version: Android 16; server OS Android / Termux 6.12.38-android16-5-g0de425e73a77-ab14804637-4k (arm64) - Browser or app shell: MarinaraEngine/Android app shell using WebView; Chrome 153.0.8010.36 ## Logs, screenshots, or video Support Diagnostics reported 7 sessions ended without shutdown, the previous session ended without shutting down, and no freeze was detected. Active connection: Deepseek via OpenRouter; model: deepseek/deepseek-v4-flash. Screenshot showing the greyed-out setting: https://cdn.discordapp.com/attachments/1556857410185076837/1556861421575213156/Screenshot_20261006_034953_com_marinara_engine_MainActivity_edit_306406298026342.jpg?backend=b2&ex=6ac5b3af&is=6ac4622f&hm=1e367134e53a6233ace140db3aafe8283090d5af998ca18a27ceea65aa037dca ## Additional context The affected chat is an existing long-running chat the user wants to recover. Opening it can lock the entire program and requires a full restart before switching to another chat. Marinara stated that the greyed-out state occurs because Memory Recall is enabled and that enabling Advanced Memory should turn off the basic memory feature. Discord thread: Advanced memory recall killed a chat entirely. Discord thread link: https://discord.com/channels/1417099416812392641/1556857410185076837 Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653) <details> <summary>Discord thread transcript (6 messages)</summary> ```text [2026-10-06T02:35:31.600Z] Leytra: So I tried to set up the memory manager thing on a chat I've had for a while *And it's destroyed that chat* I can't open that chat without ME locking up anymore, which means I can't turn off memory manager. Is it possible to somehow purge it? I'd really quite like that chat back but it's totally fried. Refreshing a message just gets the message locked in forever jail of refreshing, can't cancel or anything. Trying to open the chatroom settings works but I can't turn off advanced memory manager, it's greyed out and can't be toggled. This also ends up locking up the entire program, forcing a full restart of things before I can swap back to a non broken chat. [Discord message: https://discord.com/channels/1417099416812392641/1556857410185076837/1556857410185076837] [2026-10-06T02:35:32.194Z] 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.` If your report is about any of the **Agents**, please provide **the Agent's version** which you can grab from here: `Agents -> Download Agents -> Installed Agents -> Selected Agent -> Installed Version` 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/1556857410185076837/1556857412676227125] [2026-10-06T02:35:36.701Z] Leytra: Marinara Engine diagnostics Version: 2.4.6 Build: 2.4.6+12a0acd5b782 Commit: 12a0acd5b782 Server OS: Android / Termux 6.12.38-android16-5-g0de425e73a77-ab14804637-4k (arm64) Server memory: heap 519.3 / 8288 MiB; RSS 638.4 MiB Background wake lock: acquired Last detected freeze: none detected Previous session: ended without shutting down - last alive 2026-10-06T02:22:14.266Z (up 1m, RSS 1413.6 MiB); device rebooted before next launch: no Sessions ended without shutdown: 7 recorded Client OS: Android 16 Browser / app shell: Mozilla/5.0 (Linux; Android 16; PNM-N49 Build/HONORPNM-N49; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/153.0.8010.36 Safari/537.36 MarinaraEngine/Android Client runtime: {"build":"2.4.6+12a0acd5b782","page":"muw1zavs-b1kbqxju","persistence":"local","navigation":"navigate","standalone":false,"view":[856,0,0,0],"events":[{"at":1791253313557,"page":"muw03mez-a3e77gc2","build":"2.4.6+12a0acd5b782","kind":"visible","view":[856,0,0,0]},{"at":1791253319428,"page":"muw03mez-a3e77gc2","build":"2.4.6+12a0acd5b782","kind":"hidden","view":[856,0,0,0]},{"at":1791253324505,"page":"muw1zavs-b1kbqxju","build":"2.4.6+12a0acd5b782","kind":"page-start","view":[856,0,0,0]},{"at":1791253324517,"page":"muw1zavs-b1kbqxju","build":"2.4.6+12a0acd5b782","kind":"page-show","view":[856,0,0,0]},{"at":1791253425049,"page":"muw1zavs-b1kbqxju","build":"2.4.6+12a0acd5b782","kind":"hidden","view":[856,0,0,0]},{"at":1791253432218,"page":"muw1zavs-b1kbqxju","build":"2.4.6+12a0acd5b782","kind":"visible","view":[856,0,0,0]},{"at":1791253487536,"page":"muw1zavs-b1kbqxju","build":"2.4.6+12a0acd5b782","kind":"hidden","view":[856,0,0,0]},{"at":1791253492850,"page":"muw1zavs-b1kbqxju","build":"2.4.6+12a0acd5b782","kind":"visible","view":[856,0,0,0]},{"at":1791253509806,"page":"muw1zavs-b1kbqxju","build":"2.4.6+12a0acd5b782","kind":"hidden","view":[856,0,0,0]},{"at":1791253530411,"page":"muw1zavs-b1kbqxju","build":"2.4.6+12a0acd5b782","kind":"visible","view":[594,0,0,0]},{"at":1791253533840,"page":"muw1zavs-b1kbqxju","build":"2.4.6+12a0acd5b782","kind":"hidden","view":[856,0,0,0]},{"at":1791253536416,"page":"muw1zavs-b1kbqxju","build":"2.4.6+12a0acd5b782","kind":"visible","view":[594,0,0,0]},{"at":1791253554086,"page":"muw1zavs-b1kbqxju","build":"2.4.6+12a0acd5b782","kind":"hidden","view":[856,0,0,0]},{"at":1791253576880,"page":"muw1zavs-b1kbqxju","build":"2.4.6+12a0acd5b782","kind":"visible","view":[856,0,0,0]},{"at":1791253587971,"page":"muw1zavs-b1kbqxju","build":"2.4.6+12a0acd5b782","kind":"hidden","view":[856,0,0,0]},{"at":1791253592708,"page":"muw1zavs-b1kbqxju","build":"2.4.6+12a0acd5b782","kind":"visible","view":[567,0,0,0]}]} GPU: Adreno (TM) 840 Active connection: Deepseek Connection provider: openrouter LLM model: deepseek/deepseek-v4-flash Mari last acted on: Unavailable (workspace status not reachable) [Discord message: https://discord.com/channels/1417099416812392641/1556857410185076837/1556857431579959427] [2026-10-06T02:51:28.128Z] Leytra: Like this is how it greys out [attached image 1: https://cdn.discordapp.com/attachments/1556857410185076837/1556861421575213156/Screenshot_20261006_034953_com_marinara_engine_MainActivity_edit_306406298026342.jpg?backend=b2&ex=6ac5b3af&is=6ac4622f&hm=1e367134e53a6233ace140db3aafe8283090d5af998ca18a27ceea65aa037dca&] [Discord message: https://discord.com/channels/1417099416812392641/1556857410185076837/1556861422154285126] [2026-10-06T05:47:16.435Z] Marinara: Because you have enabled Memory Recall. [Discord message: https://discord.com/channels/1417099416812392641/1556857410185076837/1556905664960270347] [2026-10-06T05:47:42.073Z] Marinara: I need to make it so if you enable Advanced Memory, it turns off basic one. [Discord message: https://discord.com/channels/1417099416812392641/1556857410185076837/1556905772494102560] ``` </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 06:09:21 +07:00
Author
Owner

@SpicyMarinara commented on GitHub (Oct 6, 2026):

This is on main, not on staging, looks like it's fixed already. Still, Advanced Memory Recall should not coexist with normal Memory Recall; enabling one should disable the other.

<!-- gh-comment-id:6010469136 --> @SpicyMarinara commented on GitHub (Oct 6, 2026): This is on main, not on staging, looks like it's fixed already. Still, Advanced Memory Recall should not coexist with normal Memory Recall; enabling one should disable the other.
Author
Owner

@SpicyMarinara commented on GitHub (Oct 6, 2026):

Taking ownership for the remaining staging fix as SpicyMarinara with Codex: make basic and advanced memory recall mutually exclusive while keeping existing chats recoverable. I will verify the staging behavior separately from the older main-build freeze report.

<!-- gh-comment-id:6010508248 --> @SpicyMarinara commented on GitHub (Oct 6, 2026): Taking ownership for the remaining staging fix as SpicyMarinara with Codex: make basic and advanced memory recall mutually exclusive while keeping existing chats recoverable. I will verify the staging behavior separately from the older main-build freeze report.
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#3992
No description provided.