Skip to content

[3.x] Crash importing possibly empty/corrupted .wav #40320

Closed
@rcorre

Description

@rcorre

Godot version:

3.2.2.stable.custom_build.0fe60f842

OS/device including version:

Linux 5.7.7-arch1-1

Issue description:

I tried to generate a voice clip using espeak.
There's probably something else wrong, as I hear nothing when I play back the file with mplayer.
However, this file completely crashed Godot, which isn't ideal even if it is corrupted.

Steps to reproduce:

  1. Create a .wav file using espeak:
espeak "Target Acquired!" -v en-us -p 0 -s 210 -g 1 --stdout > target_acquired.wav
  1. Move target_acquired.wav into a godot project directory
  2. Open the project, see godot try to auto-import the wav
  3. Godot crashes

Minimal reproduction project:

This includes the offending file:

example.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions