Skip to content

[BUG] 1.6.13 crashes on launch (SIGSEGV in TranscriptionHistoryStore.calculateTodaySummary) when history is non-empty #1418

Backlog

Description

@roidfree

Describe the bug

After auto-updating to 1.6.13, FluidVoice crashes on launch (SIGSEGV, exit code 139) whenever transcription history is non-empty. The app never shows any UI. The crash happens in TranscriptionHistoryStore.calculateTodaySummary(entries:day:), which refreshTodaySummary() calls at startup.

Reproduction steps

  1. Have an existing ~/Library/Application Support/FluidVoice/TranscriptionHistory.sqlite3 with at least one entry. The database came from earlier versions and is marked legacy_imported.
  2. Update to 1.6.13 and launch FluidVoice.
  3. The app exits immediately with a segfault.

To narrow it down, I bisected the history database:

  • Empty history table (schema and metadata kept): launches fine
  • Any single entry, whether the oldest or the newest: crashes
  • Any subset of entries: crashes

PRAGMA integrity_check returns ok, and all 860 payloads are valid JSON with the expected keys (id, timestamp, rawText, processedText, appName, windowTitle, characterCount, wasAIProcessed, isStarred, plus optional duration/model fields). Timestamps are ordinary reference-date doubles. None of the entries are from "today", so the summary should be empty. The data doesn't look corrupt; the crash seems to be in the summary code itself.

Rolling back to 1.6.12 with the same database fixes it: the app launches and history is intact.

Expected behavior

The app launches and shows today's summary (or zero) without crashing.

Actual behavior

Immediate EXC_BAD_ACCESS (SIGSEGV), KERN_INVALID_ADDRESS at 0x0000000000000000, on every launch.

App Version

1.6.13 (build 34). 1.6.12 works.

macOS Version

macOS 27.2 (26B5086k)

Architecture

Apple Silicon (arm64)

Logs or crash report

Faulting thread (the same in 4 crash reports, Nov 22 and Nov 24):

Exception: EXC_BAD_ACCESS (SIGSEGV) KERN_INVALID_ADDRESS at 0x0000000000000000
0  ???                         0x0
1  FluidVoice   specialized static TranscriptionHistoryStore.calculateTodaySummary(entries:day:) + 328
2  FluidVoice   closure #1 in closure #1 in TranscriptionHistoryStore.refreshTodaySummary() + 32
3  FluidVoice   <deduplicated_symbol>
4  FluidVoice   <deduplicated_symbol>
5  FluidVoice   <deduplicated_symbol>
6  libswift_Concurrency.dylib  completeTaskWithClosure(swift::AsyncContext*, swift::SwiftError*)

A call through a null function pointer inside a specialized generic function suggests a Swift codegen or metadata issue, possibly specific to the macOS 27.2 beta runtime. One earlier crash report (EXC_CRASH) also showed the faulting stack inside Swift runtime class-descriptor metadata resolution (TargetClassDescriptor trailing-objects lookup).

Activity

  1. github-actions commented on Dec 2, 2026

    @github-actions

    This issue has been marked stale because it has had no activity for 7 days. It will be closed in 3 days if there is no further activity. Add the keep-open or pinned label to prevent automatic closure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions