Rive previewer segfaults on hot reload with mipmapped render-target GPUTextures

I was working with Opus 5.5 via CLI and Claude suggested I submit this bug report. Below is a quick summary with full details / Repro in the zip file:

rive . segfaults (exit 139) after 3–5 hot reloads when a Luau script creates per-mip-level views (tex:view({ baseMipLevel = k, mipCount = 1 })) of GPUTextures made with mipmaps > 1 and renderTarget = true. Headless runs are fine.

Environment: rive 1.5.0, Windows 11 (10.0.26200), NVIDIA GeForce RTX 4070 Ti.

Repro (attached rive-bug-mip-rt-reload.zip):

  1. Unzip, cd into the folder and run rive ..

  2. Save scripts/alloc.luau every few seconds, or run ./repro.sh.

  3. The previewer segfaults after the 3rd–5th reload.

It survives without the render-target flag, without the level views, or with a single texture. The isolation table, log and notes are in BUG_DETAILS.md in the zip.

rive-bug-mip-rt-reload.zip