https://bugs.kde.org/show_bug.cgi?id=524130
Bug ID: 524130
Summary: Crash when loading video recorded with OBS on Void
Linux
Classification: Applications
Product: kdenlive
Version First 26.04.3
Reported In:
Platform: Other
OS: Linux
Status: REPORTED
Severity: crash
Priority: NOR
Component: Project Bin & Import
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 195050
--> https://bugs.kde.org/attachment.cgi?id=195050&action=edit
video that crashes kdenlive
DESCRIPTION
Kdenlive on Void Linux crashes when loading a media segment (video recorded
with OBS).
I cut it down to 1 second with `ffmpeg -i in.mp4 -c copy -t 1 raw.mp4` and it
still crashes.
ffplay plays it fine, melt plays it fine.
STEPS TO REPRODUCE
1. open kdenlive
2. download my video file (attached)
3. try to add it to an empty project
OBSERVED RESULT
[segmentation fault]
(gdb) bt
#0 0x00007ff18d0fdd39 in ff_nv12ToUV_avx.loop_a () from
/usr/lib/libswscale.so.7
#1 0x00007ff18d113378 in deinterleaveBytes_avx (
src=0x7ff11d9dce80
"~\203~\203~\203~\203~\203~\203~\203~\203~\203~\203~\203~\203~\203~\203~\203~\203~\203~\203~\203~\203~\203~\203~\203~\203~\203~\203~\203~\203~\203~\203~\203~\203~\203~\203~\203~\203~\203~\203~\203~\203~\203~\203~\203~\203~\203~\203~\203~\203~\204~\204~\204~\204~\204~\204~\204~\204~\204~\204~\204~\204~\204~\204~\204~\204~\204~\204~\204~\204~\204~\204~\204~\204~\204~\204~\204~\204~\204~\204~\204~\204~\204~\204~\204~\204~\204~\204~\204~\204~\203~\203~\203~\203~\203~\203~\203~\203~\202~\202~\202~\202"...,
dst1=<optimized out>, dst2=<optimized out>, width=808, height=540,
srcStride=1632,
dst1Stride=808, dst2Stride=808) at libswscale/x86/rgb2rgb_template.c:1834
#2 0x00007ff18d0f7450 in nv12ToPlanarWrapper (c=0x7ff11dd3d500, src=<optimized
out>, srcStride=<optimized out>, srcSliceY=<optimized out>, srcSliceH=1080,
dstParam=<optimized out>,
dstStride=<optimized out>) at libswscale/swscale_unscaled.c:178
#3 0x00007ff18d0e21d9 in scale_internal (c=<optimized out>,
srcSlice=<optimized out>, srcStride=<optimized out>, srcSliceY=<optimized out>,
srcSliceH=<optimized out>, dstSlice=<optimized out>,
dstStride=0x7ff12e6670e0, dstSliceY=0, dstSliceH=1080) at
libswscale/swscale.c:1042
#4 0x00007ff18d0e3fa5 in sws_scale (c=<optimized out>, c@entry=0x7ff11dd3d500,
srcSlice=srcSlice@entry=0x7ff11c3590c0,
srcStride=srcStride@entry=0x7ff11c359100, srcSliceY=srcSliceY@entry=0,
srcSliceH=srcSliceH@entry=1080, dst=dst@entry=0x7ff12e667100,
dstStride=0x7ff12e6670e0) at libswscale/swscale.c:1214
#5 0x00007ff1ac019ed8 in convert_image_yuvp (profile=<optimized out>,
self=0x7ff11c00c9d0, frame=0x7ff11c3590c0,
buffer=0x7ff11dd7c7c0 "\027\027\027\027\027\027\027\027", '\026' <repeats
16 times>, "\025\025\025\025\025\025\025\025", '\026' <repeats 136 times>,
"\025\025\025\025\025\025\025\025", '\026' <repeats 16 times>,
"\025\025\025\025\025\025\025\025"..., format=mlt_image_yuv420p, width=1616,
height=1080, src_pix_fmt=<optimized out>, dst_pix_fmt=0,
dst_colorspace=<optimized out>, dst_full_range=0)
at /builddir/mlt7-7.36.1/src/modules/avformat/producer_avformat.c:1853
#6 convert_image (self=self@entry=0x7ff11c00c9d0,
frame_properties=frame_properties@entry=0x7ff11c35e7a0, frame=0x7ff11c3590c0,
buffer=0x7ff11dd7c7c0 "\027\027\027\027\027\027\027\027", '\026' <repeats
16 times>, "\025\025\025\025\025\025\025\025", '\026' <repeats 136 times>,
"\025\025\025\025\025\025\025\025", '\026' <repeats 16 times>,
"\025\025\025\025\025\025\025\025"..., pix_fmt=<optimized out>,
format=format@entry=0x7ff12e66733c, width=1616, height=1080,
alpha=0x7ff12e667288, dst_colorspace=709, dst_full_range=0)
at /builddir/mlt7-7.36.1/src/modules/avformat/producer_avformat.c:2037
#7 0x00007ff1ac01f05d in producer_get_image (frame=frame@entry=0x7ff11c35e7a0,
buffer=buffer@entry=0x7ff12e667350, format=format@entry=0x7ff12e66733c,
width=width@entry=0x7ff12e667340,
height=height@entry=0x7ff12e667344, writable=writable@entry=0) at
/builddir/mlt7-7.36.1/src/modules/avformat/producer_avformat.c:2673
#8 0x00007ff21c8764ff in mlt_frame_get_image (self=self@entry=0x7ff11c35e7a0,
buffer=buffer@entry=0x7ff12e667350, format=format@entry=0x7ff12e66733c,
width=width@entry=0x7ff12e667340,
height=height@entry=0x7ff12e667344, writable=writable@entry=0) at
/builddir/mlt7-7.36.1/src/framework/mlt_frame.c:515
#9 0x00007ff1ac021220 in producer_probe (producer=0x7ff11c00d100) at
/builddir/mlt7-7.36.1/src/modules/avformat/producer_avformat.c:4029
#10 0x00007ff21c8be980 in Mlt::Producer::probe (this=<optimized out>) at
/builddir/mlt7-7.36.1/src/mlt++/MltProducer.cpp:267
#11 0x00005639a48d1090 in ?? ()
#12 0x00007ff216899494 in ?? () from /usr/lib/libQt6Core.so.6
#13 0x00007ff216937bc9 in ?? () from /usr/lib/libQt6Core.so.6
#14 0x00007ff2170a3579 in start_thread (arg=<optimized out>) at
./nptl/pthread_create.c:448
#15 0x00007ff21711d858 in __GI___clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
(gdb) x/i $pc
=> 0x7ff18d0fdd39 <ff_nv12ToUV_avx.loop_a+39>: vmovdqa %xmm2,(%rdi,%r8,1)
(gdb) x/8a $rdi
0x7ff11df26f90: 0x0 0x0
0x7ff11df26fa0: 0x0 0x0
0x7ff11df26fb0: 0x0 0x0
0x7ff11df26fc0: 0x0 0x0
(gdb) p $r8
$5 = -808
EXPECTED RESULT
video loads correctly
SOFTWARE/OS VERSIONS
Operating System (available in the Info Center app, or by running `kinfo` in a
terminal window):
KDE Plasma Version: 6.7.3
KDE Frameworks Version: 6.28.0
Qt Version: 6.11.1
ADDITIONAL INFORMATION
MLT: 7.36.1
FFmpeg: 6.1.6
(up to date Void Linux x86_64)
I can provide more details if necessary.
--
You are receiving this mail because:
You are watching all bug changes.