Bug 439837 - Crash when Muting, Soloing, or Recording on a 4ch or 6ch (5.1) project.
Summary: Crash when Muting, Soloing, or Recording on a 4ch or 6ch (5.1) project.
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: User Interface & Miscellaneous (show other bugs)
Version: 21.04.2
Platform: unspecified All
: NOR crash
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-14 11:01 UTC by datlaunchystark
Modified: 2021-08-06 02:15 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 21.08
Sentry Crash Report:
fritzibaby: Brainstorm+


Attachments
crash_mute audio on 6-channel audio (41.85 KB, text/plain)
2021-08-03 15:51 UTC, emohr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description datlaunchystark 2021-07-14 11:01:01 UTC
SUMMARY
I discovered a bug which appears to be overlooked that makes muting, soloing, and recording on a 4ch or 5.1ch project impossible.

STEPS TO REPRODUCE
1. Create new project with 4ch or 6ch audio.
2. Click on either the Mute, Solo or Record.
3. Program crashes and closes.

OBSERVED RESULT
I tried doing this under Linux Mint and Windows 10 with the same result.  I even tried the latest nightly build with the same issue.
Comment 1 emohr 2021-08-01 10:16:43 UTC
I tested with a clip containing 8 audio channels (1440x1080i 25fps). Solo and mute doesn't lead to a crash. Please upload here the clip which leads to the crash.
Comment 2 datlaunchystark 2021-08-01 19:12:13 UTC
(In reply to emohr from comment #1)
> I tested with a clip containing 8 audio channels (1440x1080i 25fps). Solo
> and mute doesn't lead to a crash. Please upload here the clip which leads to
> the crash.

I didn't put any clips in, I just created a new 1080p 29.97fps project with 5.1 audio and clicked on the mute/solo/record buttons.  Crash!
I just updated to 21.04.3 and same result.
Comment 3 emohr 2021-08-03 15:51:08 UTC
Created attachment 140488 [details]
crash_mute audio on 6-channel audio

Thanks for the info. I can confirm the crash following your steps with a new project containing 6 channels. Attached the crash log.
Comment 4 Jean-Baptiste Mardelle 2021-08-03 17:00:35 UTC
Git commit 69173eb533c9948e9cb3ca959a19f66d16aca7e0 by Jean-Baptiste Mardelle.
Committed on 03/08/2021 at 17:00.
Pushed by mardelle into branch 'release/21.08'.

Fix crash on project with channels != 2 and track muting.

M  +13   -6    src/audiomixer/mixerwidget.cpp

https://invent.kde.org/multimedia/kdenlive/commit/69173eb533c9948e9cb3ca959a19f66d16aca7e0
Comment 5 emohr 2021-08-03 17:26:15 UTC
Commit https://invent.kde.org/multimedia/kdenlive/-/commit/69173eb533c9948e9cb3ca959a19f66d16aca7e0 fixed the crash.

Please try with tomorrows daily build.
Comment 6 datlaunchystark 2021-08-06 02:15:37 UTC
(In reply to emohr from comment #5)
> Commit
> https://invent.kde.org/multimedia/kdenlive/-/commit/
> 69173eb533c9948e9cb3ca959a19f66d16aca7e0 fixed the crash.
> 
> Please try with tomorrows daily build.

I just downloaded today's nightly build and the bug is fixed!
https://binary-factory.kde.org/job/Kdenlive_Nightly_mingw64/lastSuccessfulBuild/artifact/kdenlive-master-844-windows-mingw_64-gcc.exe