Skip to content

TextToTalk crash Dalamud due to an unhandled SSML parsing exception. #266

Description

@Waitsnake

Environment:

  • Windows 11
  • Dalamud 14.0.0.3
  • TextToTalk 1.35.3.0 (testing)
  • System backend (System.Speech)

Error excerpt:
System.FormatException: XML content not valid.
System.Xml.XmlException: Name cannot begin with the '3' character
at System.Speech.Internal.Synthesis.SsmlParser.Parse(...)
at TextToTalk.Backends.System.SystemSoundQueue.ASyncSpeak(...)

This occurs during normal playback (e.g. player chat), without TextAdvance or manual cancellation.
It appears that invalid SSML generated from runtime text is passed to System.Speech without validation or exception handling.

Result:
Unhandled exception on a worker thread causes a CLR crash and terminates Dalamud/FFXIV.

Expected:
Invalid SSML should be caught and ignored, sanitized, or fall back to plain text instead of crashing the host.

Dalamud crash log:

dalamud_appcrash_20260103_174753_645_3264.log

Activity

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions