Kdenlive Render Crashing - Qt: Management Error

Hello everyone. I have been using kdenlive for a while and although it occasionally crashes, I am happy with its general operation and performance, but it has started to cause me serious problems in the last 2 days.

My pc specs:

System:
Kernel: 5.15.0-117-generic x86_64 bits: 64 compiler: gcc v: 11.4.0 Desktop: Cinnamon 6.0.4
tk: GTK 3.24.33 wm: muffin vt: 7 dm: LightDM 1.30.0 Distro: Linux Mint 21.3 Virginia
base: Ubuntu 22.04 jammy
Machine:
Type: Laptop System: HP product: HP Pavilion Gaming Laptop 15-ec1xxx v: N/A
serial: Chassis: type: 10 serial:
Mobo: HP model: 87B2 v: 31.23 serial: UEFI: AMI v: F.25 date: 08/18/2021
Battery:
ID-1: BAT0 charge: 45.8 Wh (100.0%) condition: 45.8/45.8 Wh (100.0%) volts: 12.7 min: 11.6
model: Hewlett-Packard Primary type: Li-ion serial: N/A status: Full cycles: 412
CPU:
Info: 6-core model: AMD Ryzen 5 4600H with Radeon Graphics bits: 64 type: MT MCP smt: enabled
arch: Zen 2 rev: 1 cache: L1: 384 KiB L2: 3 MiB L3: 8 MiB
Speed (MHz): avg: 2354 high: 3990 min/max: 1400/3000 boost: enabled cores: 1: 1572 2: 1753
3: 3501 4: 3394 5: 1734 6: 1652 7: 1773 8: 1525 9: 3833 10: 3990 11: 1769 12: 1762
bogomips: 71866
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
Device-1: NVIDIA TU117M [GeForce GTX 1650 Ti Mobile] vendor: Hewlett-Packard driver: nvidia
v: 535.183.01 pcie: speed: 2.5 GT/s lanes: 8 ports: active: none empty: HDMI-A-1 bus-ID: 01:00.0
chip-ID: 10de:1f95 class-ID: 0300
Device-2: AMD Renoir vendor: Hewlett-Packard driver: amdgpu v: kernel pcie: speed: 8 GT/s
lanes: 16 ports: active: eDP-1 empty: none bus-ID: 05:00.0 chip-ID: 1002:1636 class-ID: 0300
Device-3: Luxvisions Innotech HP TrueVision HD Camera type: USB driver: uvcvideo bus-ID: 3-3:2
chip-ID: 30c9:0013 class-ID: 0e02 serial:
Display: x11 server: XOrg v: 1.21.1.4 driver: X: loaded: amdgpu,ati,nvidia
unloaded: fbdev,modesetting,nouveau,vesa gpu: amdgpu display-ID: :0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 98 s-size: 499x280mm (19.6x11.0") s-diag: 572mm (22.5")
Monitor-1: eDP res: 1920x1080 hz: 60 dpi: 142 size: 344x193mm (13.5x7.6") diag: 394mm (15.5")
OpenGL: renderer: RENOIR (renoir LLVM 15.0.7 DRM 3.42 5.15.0-117-generic)
v: 4.6 Mesa 23.2.1-1ubuntu3.1~22.04.2 direct render: Yes
Audio:
Device-1: NVIDIA vendor: Hewlett-Packard driver: snd_hda_intel v: kernel pcie: speed: 2.5 GT/s
lanes: 8 bus-ID: 01:00.1 chip-ID: 10de:10fa class-ID: 0403
Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor vendor: Hewlett-Packard
driver: N/A pcie: speed: 8 GT/s lanes: 16 bus-ID: 05:00.5 chip-ID: 1022:15e2 class-ID: 0480
Device-3: AMD Family 17h HD Audio vendor: Hewlett-Packard driver: snd_hda_intel v: kernel
pcie: speed: 8 GT/s lanes: 16 bus-ID: 05:00.6 chip-ID: 1022:15e3 class-ID: 0403
Sound Server-1: ALSA v: k5.15.0-117-generic running: yes
Sound Server-2: PulseAudio v: 15.99.1 running: yes
Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Hewlett-Packard
driver: r8169 v: kernel pcie: speed: 2.5 GT/s lanes: 1 port: e000 bus-ID: 02:00.0
chip-ID: 10ec:8168 class-ID: 0200
IF: eno1 state: down mac:
Device-2: Realtek RTL8822CE 802.11ac PCIe Wireless Network Adapter vendor: Hewlett-Packard
driver: rtw_8822ce v: N/A pcie: speed: 2.5 GT/s lanes: 1 port: d000 bus-ID: 03:00.0
chip-ID: 10ec:c822 class-ID: 0280
IF: wlo1 state: up mac:
Bluetooth:
Device-1: Realtek 802.11ac WLAN Adapter type: USB driver: btusb v: 0.8 bus-ID: 1-4:3
chip-ID: 0bda:b00c class-ID: e001 serial:
Report: hciconfig ID: hci0 rfk-id: 1 state: up address: bt-v: 3.0 lmp-v: 5.1
sub-v: 6d7d hci-v: 5.1 rev: 19b7
Drives:
Local Storage: total: 1.14 TiB used: 282.41 GiB (24.1%)
ID-1: /dev/nvme0n1 vendor: Samsung model: MZVLB256HBHQ-000H1 size: 238.47 GiB speed: 31.6 Gb/s
lanes: 4 type: SSD serial: rev: HPS0NEXH temp: 48.9 C scheme: GPT
ID-2: /dev/sda vendor: Western Digital model: WD10SPSX-60A6WT0 size: 931.51 GiB
speed: 6.0 Gb/s type: HDD rpm: 7200 serial: rev: 1A01 scheme: GPT
Partition:
ID-1: / size: 233.18 GiB used: 141.2 GiB (60.6%) fs: ext4 dev: /dev/nvme0n1p2
ID-2: /boot/efi size: 511 MiB used: 6.1 MiB (1.2%) fs: vfat dev: /dev/nvme0n1p1
Swap:
ID-1: swap-1 type: file size: 2 GiB used: 1.91 GiB (95.4%) priority: -2 file: /swapfile
USB:
Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 4 rev: 2.0 speed: 480 Mb/s
chip-ID: 1d6b:0002 class-ID: 0900
Device-1: 1-2:2 info: Logitech G203 LIGHTSYNC Gaming Mouse type: Mouse,HID
driver: hid-generic,usbhid interfaces: 2 rev: 2.0 speed: 12 Mb/s power: 300mA chip-ID: 046d:c092
class-ID: 0300 serial:
Device-2: 1-4:3 info: Realtek 802.11ac WLAN Adapter type: Bluetooth driver: btusb
interfaces: 2 rev: 1.0 speed: 12 Mb/s power: 500mA chip-ID: 0bda:b00c class-ID: e001
serial:
Hub-2: 2-0:1 info: Super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s chip-ID: 1d6b:0003
class-ID: 0900
Hub-3: 3-0:1 info: Hi-speed hub with single TT ports: 4 rev: 2.0 speed: 480 Mb/s
chip-ID: 1d6b:0002 class-ID: 0900
Device-1: 3-3:2 info: Luxvisions Innotech HP TrueVision HD Camera type: Video driver: uvcvideo
interfaces: 2 rev: 2.0 speed: 480 Mb/s power: 500mA chip-ID: 30c9:0013 class-ID: 0e02
serial:
Hub-4: 4-0:1 info: Super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s chip-ID: 1d6b:0003
class-ID: 0900
Sensors:
System Temperatures: cpu: 49.0 C mobo: N/A gpu: amdgpu temp: 42.0 C
Fan Speeds (RPM): N/A
Repos:
Packages: 2967 apt: 2948 flatpak: 19
No active apt repos in: /etc/apt/sources.list
Active apt repos in: /etc/apt/sources.list.d/obsproject-obs-studio-jammy.list
1: deb [signed-by=/etc/apt/keyrings/obsproject-obs-studio-jammy.gpg] https: //ppalaunchpadcontentnet/obsproject/obs-studio/ubuntu jammy main
Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
1: deb http: //packageslinuxmintcom virginia main upstream import backport
2: deb http: //archiveubuntuom/ubuntu jammy main restricted universe multiverse
3: deb http: //archiveubuntucom/ubuntu jammy-updates main restricted universe multiverse
4: deb http: //archiveubuntucom/ubuntu jammy-backports main restricted universe multiverse
5: deb http: //securityubuntucom/ubuntu/ jammy-security main restricted universe multiverse
Active apt repos in: /etc/apt/sources.list.d/winehq-focal.sources
1: deb [arch=amd64 i386] https: //dlwinehqrg/wine-builds/ubuntu focal main
Info:
Processes: 344 Uptime: 2h 23m wakeups: 1 Memory: 14.98 GiB used: 7.6 GiB (50.7%) Init: systemd
v: 249 runlevel: 5 Compilers: gcc: 11.4.0 alt: 11/12 Client: Cinnamon v: 6.0.4 inxi: 3.3.13

First line of error is:
Qt: Session management error: Could not open network socket

Rest of the error code is:

Started render process: /app/bin/melt -progress /var/tmp/kdenlive-UxgXlw-1.mlt
Qt: Session management error: Could not open network socketx265 [info]: HEVC encoder version 3.5+1-f0c1022b6 x265 [info]: build info [Linux][GCC 13.2.0][64 bit] 8bitx265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 x265 [info]: Main profile, Level-5 (Main tier)x265 [info]: Thread pool created using 12 threads x265 [info]: Slices : 1 x265 [info]: frame threads / pool features : 12 / wpp(34 rows)x265 [info]: Coding QT: max CU size, min CU size : 64 / 8 x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra x265 [info]: ME / range / subpel / merge : hex / 57 / 1 / 2 x265 [info]: Keyframe min / max / scenecut / bias : 25 / 250 / 40 / 5.00 x265 [info]: Lookahead / bframes / badapt : 15 / 4 / 0 x265 [info]: b-pyramid / weightp / weightb : 1 / 1 / 0 x265 [info]: References / ref-limit cu / depth : 2 / on / on x265 [info]: AQ: mode / str / qg-size / cu-tree : 2 / 1.0 / 32 / 1 x265 [info]: Rate Control / qCompress : CRF-28.0 / 0.60 x265 [info]: tools: rd=2 psy-rd=2.00 early-skip rskip mode=1 signhide tmvp x265 [info]: tools: fast-intra strong-intra-smoothing lslices=8 deblock sao[mp3float @ 0x7fe6dc02efc0] Could not update timestamps for skipped samples.10 39 1
16 78 2
25 117 3
35 156 4
44 195 5
54 234 6
62 273 7
68 312 8
74 351 9
80 390 10
85 429 11
90 468 12
96 507 13
102 546 14
[in @ 0x7fe58b9f8780] Changing video frame properties on the fly is not supported by all filters. [in @ 0x7fe58b9f8780] filter context - w: 3840 h: 2160 fmt: 26 csp: unknown range: unknown, incoming frame - w: 3840 h: 2160 fmt: 26 csp: bt709 range: tv pts_time: 19.1111 585 15
124 624 16
134 663 17
143 702 18
152 741 19
162 780 20
175 819 21
184 858 22
190 897 23
195 936 24
201 974 25
208 1013 26
217 1052 27
223 1091 28
228 1130 29
234 1169 30
[in @ 0x7fe46f89fa00] Changing video frame properties on the fly is not supported by all filters. [in @ 0x7fe46f89fa00] filter context - w: 3840 h: 2160 fmt: 26 csp: unknown range: unknown, incoming frame - w: 3840 h: 2160 fmt: 26 csp: bt709 range: tv pts_time: 40241 1208 31
255 1247 32
265 1286 33
274 1325 34
285 1364 35
295 1403 36
303 1442 37
308 1481 38
314 1520 39
319 1559 40
325 1598 41
330 1637 42
336 1676 43
341 1715 44
[in @ 0x7fe403cb1000] Changing video frame properties on the fly is not supported by all filters. [in @ 0x7fe403cb1000] filter context - w: 3840 h: 2160 fmt: 26 csp: unknown range: unknown, incoming frame - w: 3840 h: 2160 fmt: 26 csp: bt709 range: tv pts_time: 57.666667354 1754 45
365 1793 46
375 1832 47
388 1871 48
398 1910 49
405 1948 50
410 1987 51
416 2026 52
[in @ 0x7fe3c09baf40] Changing video frame properties on the fly is not supported by all filters. [in @ 0x7fe3c09baf40] filter context - w: 3840 h: 2160 fmt: 26 csp: unknown range: unknown, incoming frame - w: 3840 h: 2160 fmt: 26 csp: bt709 range: tv pts_time: 68.033333428 2065 53
439 2104 54
450 2143 55
Rendering of /home/hkner/Videos/Top7Products_5.mp4 aborted, resulting video will probably be corrupted.
Frame: 2143

I don’t know why this is happening? Can you help me? Thank you so much.