Skip to content

Remove blank line from .pronto_spell.pws that segfaults aspell#28

Open
Vitalini wants to merge 1 commit into
talkable:masterfrom
Vitalini:fix-pronto-spell-pws-segfault
Open

Remove blank line from .pronto_spell.pws that segfaults aspell#28
Vitalini wants to merge 1 commit into
talkable:masterfrom
Vitalini:fix-pronto-spell-pws-segfault

Conversation

@Vitalini

@Vitalini Vitalini commented Jul 7, 2026

Copy link
Copy Markdown

Problem

Since late April, the Pronto job fails on every non-Dependabot PR in talkable-integration (and any other repo that consumes shared/.pronto_spell.pws) with a hard Ruby crash:

ffi-aspell-1.1.0/lib/ffi/aspell/speller.rb:219: [BUG] Segmentation fault at 0x0000000000000010

Example failing run: https://github.com/talkable/talkable-integration/actions/runs/28809252490/job/85598894544?pr=846

Dependabot PRs pass only because their diffs contain nothing for the spell checker to inspect, so the speller is never exercised.

Root cause

Commit cd8d62d ("Update spellcheck words", Apr 23) introduced a blank line right after the personal_ws-1.1 en 0 header. aspell chokes on the empty entry in the personal word list and segfaults on the very first aspell_speller_check call.

Reproduced locally (macOS arm64, aspell 0.60.8.2, ffi-aspell 1.1.0, Ruby 4.0.3) — matches CI (ubuntu 24.04 arm64, Ruby 4.0.2):

  • current word list → segfault on the first Speller#correct? call
  • same word list with the blank line removed → loads fine, words from the list (grecaptcha, gusieva, …) are recognized as correct

Fix

Delete the blank line. One-line change, no words added or removed.

A blank line right after the personal_ws header (introduced in cd8d62d)
makes aspell segfault on the first speller_check call, so every Pronto
run that reaches spell checking dies with:

  ffi-aspell-1.1.0/lib/ffi/aspell/speller.rb:219: [BUG] Segmentation fault

This has been failing the Pronto job on all non-Dependabot PRs in
talkable-integration (and any other repo using this shared word list)
since late April. Reproduced locally: with the blank line aspell
crashes; with it removed the word list loads and checks fine.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant