Shotcut crash when deactivating filters in 23.05.07 (segfault)

What is your operating system?
Ubuntu 20.04.6, 32 GB RAM

What is your Shotcut version (see Help > About Shotcut)? Is it 32-bit?
Shotcut 23.05.07, installed from snap rev. 1097.

Can you repeat the problem? If so, what are the steps?
Yes, the crash occurs when unchecking two particular filters in sequence. Can’t reproduce the issue in another, simpler project.

I’ve got a project with an image sequence (300 PNG photos, 2880 x 2160, file size 29 MB each). There are 3 filters applied (stabilize, brightness, color grading). When I uncheck brightness and next color grading (or in the reverse order), application crashes. It won’t crash if I uncheck only one of these filters, see screencast.

Logs:
shotcut_shotcut.desktop[420302]: malloc(): corrupted top size
shotcut_shotcut.desktop[420271]: Aborted (core dumped)

Screencast: Screencast 2023-05-11 05:59:03.mp4 - Google Drive

I can reproduce this on the Flarpak version on Fedora 38.
Here is a simple project to reproduce

  • Open the project, select the count clip
  • select filters.
  • select the stabalize filter and run the analyze, to create a .stab file
  • disable the “Color Grading” filter
  • disable the “Brightness” shotcut crashes after a couple of seconds.

If the stabalize filter is not there or analyze has not been run, then no crash occurs

crash_test.mlt (5.1 KB)

1 Like

This is fixed for the next version.

2 Likes