Skip to content

Update DasherCore: crash fixes (#22, #23)#11

Merged
willwade merged 1 commit into
mainfrom
fix/crash-fixes-dashercore-bump
Jun 19, 2026
Merged

Update DasherCore: crash fixes (#22, #23)#11
willwade merged 1 commit into
mainfrom
fix/crash-fixes-dashercore-bump

Conversation

@willwade

Copy link
Copy Markdown
Contributor

Updates the DasherCore submodule to pull in two crash fixes for TestFlight build 32:

#22 — editOutput crash (3 of 4 TestFlight crashes)

  • dasher_reset_output_text(), dasher_reset(), and dasher_set_alphabet_id() cleared editBuffer without resetting cursorPos. Next editOutput() call hit std::string::insert(pos, text) with pos > size()std::out_of_range → SIGABRT.
  • Fix: reset cursorPos=0 in all three buffer-clear functions + defensive clamp in editOutput().

#23 — game mode crash (1 of 4 TestFlight crashes)

  • TextOutputAction::execute passes nullptr as the cause node to editOutput. CGameModule::HandleEditEvent dereferences node->offset() unconditionally → EXC_BAD_ACCESS at 0x54.
  • Fix: if (!node) return; guard at top of HandleEditEvent.

DasherCore: 3ddedde2581093ef

After merge, ship a new TestFlight build and all 4 crashes should be resolved.

Pulls in two DasherCore fixes for TestFlight crashes on build 32:

1. #22 — editOutput crash: reset cursorPos when editBuffer is cleared
   (3 of 4 TestFlight crashes — std::out_of_range in string::insert)

2. #23 — game mode crash: null-guard node in HandleEditEvent
   (1 of 4 TestFlight crashes — EXC_BAD_ACCESS at 0x54)

DasherCore: 3ddedde2 -> 581093ef

Signed-off-by: will wade <willwade@gmail.com>
@willwade willwade merged commit d4175b7 into main Jun 19, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant