Repository navigation
Description
What happened. A tester saved their project (PROJECT > SAVE PROJECT) and switched the Octatrack off right away. At the next start the project was empty: no patterns, no machines, no trigs. PROJECT > RELOAD brought everything back, including the changes made just before the save. Kits 0.1.1 was installed and in use in that project. Base 0.8.1 over USB, OS 1.40C.
What it means for musicians. The saved copy survived; the working copy the Octatrack loads at power-on did not. A musician who then saves the empty project overwrites the good copy and loses the song.
What is known. The save worked: stock's SAVE PROJECT copies the working files to the saved files, and the saved files held the latest state. The project was already empty at power-on, before any module ran (see details). Kits is the lead because it writes a 1.6 MB file into the project folder right after stock's save returns. Kits' own TESTING.md lists a save followed by a power cycle as never tested. Not reproduced, neither in the emulator nor on a unit.
Who acts / next step. Owner: decide whether to pause Kits for beta testers until a save and a power cycle pass with it. Next session: reproduce in the emulator by cutting power during Kits' copy after SAVE PROJECT, then check the project folder's files. The tester was told to wait 15 s after SAVE before switching off (not measured) and never to SAVE a project that comes up empty, but to RELOAD first.
Details
Evidence (the tester's shared diagnostics; summarised, not quoted)
- The unit's first record after the power cycle is written at power-on, before the base restores the module set (about 6 s later). It showed no machines and the default effects. The same record on the five starts before it, on the same project, showed the project's machines and effects. So stock's own power-on load already came up empty.
- The module set itself came back whole (RESTORED, all modules).
- Two earlier reports describe a project lost across a power cycle: one in October (the first record after the start already had default effects) and one in November (a project reset overnight). Neither has been explained, and neither is known to have had Kits. Base: a shorter rewrite of MODWERK0.SET or MODWERK1.SET leaves the file's chain ending in a free cluster #1830 (a set file's FAT chain ending in a free cluster on bases before 0.8) is a separate candidate for a card that ran 0.7.x; this unit ran 0.7.5 until the same day.
Why Kits (sdk/octatrack/modules/kits/kits.s)
kits_st_pstore_prewriteskits.workif dirty before stock's project store;kits_st_pstore_post(ev_project_stored) then copieskits.worktokits.strdwith stock'sF_COPY, 1.6 MB, after stock's save has returned. Whether the screen still shows the save during that copy is not known.kits_st_bankw_postalso writeskits.workafter every bank write, background saves included.- Suspected mechanism, reasoned only: power off during that copy leaves the project directory or FAT mid-update, and stock's power-on load cannot use the
.workfiles while the.strdfiles stay readable.
Also seen just before (probably separate)
Two syncs from the site were refused at the first step (enter) with unsafe ("Stop playback or finish recording") while the tester says the sequencer was stopped and nothing was recording. Nothing was staged. After the power cycle the same sync was kept at once. unsafe at enter means modwerk_runtime_volatile_busy() or !modwerk_machine_stopped() (sdk/runtime/loader/loader.c:965): a recorder row not idle, the transport or a track not stopped, or the volatile journal not idle. Which one is not recorded. The refusal message names only playback and recording.
Not established
- How long Kits' copy takes, and whether a power cut during it explains the empty start at all.
- Whether stock's background save could have run in those seconds too.
- What the project folder holds now (file sizes and dates requested from the tester).
Activity
Improvement: Octatrack base 0.8.2 cumulative draft (#2079)
repeat98 commentedon Nov 26, 2026
Fixed in Octatrack base 0.8.2 (#2223). At power-on, stock refused the whole current bank from battery RAM when one value was out of range, so the project came up empty even though the save was fine; Kits wasn't the cause. The base now lets stock's checks run first and keeps their fixes. Checked on a unit: SAVE PROJECT, then a power-off and power-on, and the project came back intact. We never learned which value the reporter's unit refused. If it happens again on 0.8.2, the new restore record names it: reply here and I'll reopen.
repeat98 commentedon Nov 26, 2026
Field evidence for the fix (#2223, base 0.8.2): a tester's unit sent the new RESTORE record on its first start on 0.8.2.
Still open: which field those values are. The record names the first Part that needed a fix, not the field or offset. Logging the offset of the first fixed byte would answer it.
🤖 Generated with Claude Code
Octatrack base 0.8.3: CPU back from the Part read, USB Audio streams …