Skip to content

"double free or corruption" when trying to zoom in Song Editor, when there's a large sample loaded #7576

@0xf0xx0

Description

@0xf0xx0

System Information

EndeavourOS (Arch Linux)

LMMS Version(s)

1.3.0-alpha.1.720+gada836c98

Most Recent Working Version

e0ae8a1 (it's not happy, but it doesn't crash)

Bug Summary

When trying to zoom in the song editor, LMMS freezes and crashes with a "double free or corruption (!prev)". A project file + sample to reproduce is attached.

doin a bisect revealed 0363ee6 as the offending commit.

Expected Behaviour

LMMS shouldn't freeze and crash.

Steps To Reproduce

  1. Load a long sample (the one im usin is 7m)
  2. try to use the slider to zoom
  3. behold, your wallpaper

Logs

double free or corruption (!prev)
[1]    111944 IOT instruction (core dumped)  lmms

Screenshots / Minimum Reproducible Project

longcrash.zip

Please search the issue tracker for existing bug reports before submitting your own.

  • I have searched all existing issues and confirmed that this is not a duplicate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions