Skip to content

Specific OGG file triggers "Error during vorbis synthesis -135" spam leading to crash #84712

@akien-mga

Description

@akien-mga

Godot version

4.2.beta5

System information

Mageia 9 - Vulkan (Forward+) - dedicated AMD Radeon RX Vega M GL Graphics (RADV VEGAM) () - Intel(R) Core(TM) i7-8705G CPU @ 3.10GHz (8 Threads)

Issue description

The Candy Wrapper open source project in the Asset Library (made with Godot 4.1) crashes when it's opened in 4.2, as of 4.2-beta5 / latest git.

This seems to be due to one OGG file which triggers this error spam on the audio stream preview generation:

ERROR: Error during vorbis synthesis -135
   at: _mix_frames_vorbis (modules/vorbis/audio_stream_ogg_vorbis.cpp:159)
ERROR: Error during vorbis synthesis -135
   at: _mix_frames_vorbis (modules/vorbis/audio_stream_ogg_vorbis.cpp:159)

The error keeps being repeated about a million times, until it exhausts the message queue size:

ERROR: Error during vorbis synthesis -135
   at: _mix_frames_vorbis (modules/vorbis/audio_stream_ogg_vorbis.cpp:159)
ERROR: Failed method: EditorLog::add_message. Message queue out of memory. Message queue out of memory. Try increasing 'memory/limits/message_queue/max_size_mb' in project settings.
   at: push_callablep (./core/object/message_queue.cpp:96)
ERROR: Failed method: EditorLog::add_message. Message queue out of memory. Message queue out of memory. Try increasing 'memory/limits/message_queue/max_size_mb' in project settings.
   at: push_callablep (./core/object/message_queue.cpp:96)

(which I thought should no longer happen as it's supposed to be growable)

And eventually segfaults.

Steps to reproduce

  • Open MRP in editor
  • Double click OST.ogg
  • See crash

Minimal reproduction project

ogg_error_spam.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions