Bug 507616

Summary: Crash dragging clip to project bin
Product: [Applications] kdenlive Reporter: farid <snd.noise>
Component: Project Bin & ImportAssignee: Jean-Baptiste Mardelle <jb>
Status: RESOLVED WORKSFORME    
Severity: crash    
Priority: NOR    
Version First Reported In: git-master   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description farid 2025-07-28 23:19:00 UTC
SUMMARY
Gettng a crash dragging a clip from Dolphin to Project Bin

STEPS TO REPRODUCE
1. Open Kdenlive
2. Drag clip to project bin from Dolphin
3. Crash

OBSERVED RESULT
Crash

/////////// creatclipsfromlist QList(QUrl("file:///home/farid/Gunga/Alembranças/IMG_1398.MOV")) true "-1"
/////////// createClipFromFile "/home/farid/Gunga/Alembranças/IMG_1398.MOV" "-1"
=== GOT DROPPED MIME:  "video/quicktime"
/////////// final xml "<producer>\n <property name=\"resource\">/home/farid/Gunga/Alembranças/IMG_1398.MOV</property>\n</producer>\n"
[New Thread 0x7fff07fff6c0 (LWP 73273)]
============STARTING LOAD TASK FOR:  4  =  "/home/farid/Gunga/Alembranças/IMG_1398.MOV" 

EXPECTED RESULT
No crash

ADDITIONAL INFORMATION
Thread 148 "Thread (pooled)" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffef6bfd6c0 (LWP 73315)]
0x00007fff9bd80844 in ff_transpose_8x8_8_sse2 () from /usr/lib/libavfilter.so.10
(gdb) bt full
#0  0x00007fff9bd80844 in ff_transpose_8x8_8_sse2 () from /usr/lib/libavfilter.so.10
No symbol table info available.
#1  0x00007fff9bcd3900 in filter_slice (ctx=<optimized out>, arg=<optimized out>, jobnr=5, nb_jobs=16) at libavfilter/vf_transpose.c:307
        hsub = <optimized out>
        dst = 0x7ffeff1b0b80 ""
        srclinesize = 0
        y = <optimized out>
        outw = 540
        start = 300
        dstlinesize = 544
        v = <optimized out>
        vsub = <optimized out>
        pixstep = 1
        inh = <optimized out>
        outh = <optimized out>
        end = 360
        src = 0x0
        x = 0
        s = 0x7ffefc21f980
        td = <optimized out>
        out = <optimized out>
        in = 0x7ffefec0c240
        plane = <optimized out>
#2  0x00007fff9bb1825d in worker_func (priv=0x7ffefccb2cc0, jobnr=5, threadnr=<optimized out>, nb_jobs=<optimized out>, nb_threads=<optimized out>)
--Type <RET> for more, q to quit, c to continue without paging--c
    at libavfilter/pthread.c:48
        c = 0x7ffefccb2cc0
        ret = <optimized out>
#3  0x00007ffff246b716 in run_jobs (ctx=0x7ffefc1066c0) at libavutil/slicethread.c:65
        nb_jobs = 16
        nb_active_threads = 16
        first_job = <optimized out>
        current_job = <optimized out>
#4  thread_worker (v=0x7ffefcc9ca20) at libavutil/slicethread.c:89
        w = 0x7ffefcc9ca20
        ctx = 0x7ffefc1066c0
#5  0x00007ffff1aca7eb in ?? () from /usr/lib/libc.so.6
No symbol table info available.
#6  0x00007ffff1b4e18c in ?? () from /usr/lib/libc.so.6
No symbol table info available.
Comment 1 farid 2025-07-28 23:22:11 UTC
Importing the clip from the project bin dialogue I get no crash but there is a transcode problem:

[h264_nvenc @ 0x5555555fb180] dl_fn->cuda_dl->cuInit(0) failed -> CUDA_ERROR_NO_DEVICE: no CUDA-capable device is detected
[vost#0:0/h264_nvenc @ 0x55555564c800] Error while opening encoder - maybe incorrect parameters such as bit_rate, rate, width or height.
[vf#0:0 @ 0x55555571b4c0] Error sending frames to consumers: Unknown error occurred
[vf#0:0 @ 0x55555571b4c0] Task finished with error code: -1313558101 (Unknown error occurred)
[vf#0:0 @ 0x55555571b4c0] Terminating thread with return code -1313558101 (Unknown error occurred)
[vost#0:0/h264_nvenc @ 0x55555564c800] Could not open encoder before EOF
[vost#0:0/h264_nvenc @ 0x55555564c800] Task finished with error code: -22 (Invalid argument)
[vost#0:0/h264_nvenc @ 0x55555564c800] Terminating thread with return code -22 (Invalid argument)
[out#0/mp4 @ 0x55555563f8c0] Nothing was written into output file, because at least one of its streams received no packets.
frame=    0 fps=0.0 q=0.0 Lsize=       0KiB time=N/A bitrate=N/A speed=N/A
Comment 2 Jean-Baptiste Mardelle 2025-07-29 09:51:21 UTC
Seems to be a clip with rotation metadata. Could you share it so I can test it ?
Comment 3 Bug Janitor Service 2025-08-13 03:46:17 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2025-08-28 03:47:49 UTC
🐛🧹 This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.