Bug 395183 - recording in clip monitor always crashes kdenlive
Summary: recording in clip monitor always crashes kdenlive
Status: RESOLVED WORKSFORME
Alias: None
Product: kdenlive
Classification: Applications
Component: User Interface (show other bugs)
Version: 18.04.1
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-09 17:39 UTC by Adam Spiers
Modified: 2020-04-07 10:26 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
fritzibaby: timeline_corruption+


Attachments
STDOUT/STDERR from 18.12.0c AppImage run (139.58 KB, text/x-log)
2018-12-27 17:57 UTC, Adam Spiers
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Spiers 2018-06-09 17:39:58 UTC
How to reproduce:

1. start kdenlive (already configured to record video from my USB webcam)
2. click the + icon (Show Record Control) in the clip monitor
3. click the red circle icon to start recording video / audio
4. click the red circle icon to stop recording video / audio

This crashes kdenlive 100% of the time for me.

GNU gdb (GDB; openSUSE Leap 42.3) 8.0.1
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-suse-linux".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://bugs.opensuse.org/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
[New LWP 19827]
[New LWP 20006]
[New LWP 19816]
[New LWP 19879]
[New LWP 19869]
[New LWP 19694]
[New LWP 20201]
[New LWP 20196]
[New LWP 20690]
[New LWP 20200]
[New LWP 20205]
[New LWP 20693]
[New LWP 20208]
[New LWP 20204]
[New LWP 20687]
[New LWP 20210]
[New LWP 20689]
[New LWP 20691]
[New LWP 20692]
[New LWP 19868]
[New LWP 20004]
[New LWP 20688]
[New LWP 20203]
[New LWP 20199]
[New LWP 20209]
[New LWP 20202]
[New LWP 20207]
[New LWP 19768]
[New LWP 20198]
[New LWP 19828]
[New LWP 20206]
[New LWP 20694]
Reading symbols from /usr/bin/kdenlive...Reading symbols from /usr/lib/debug/usr/bin/kdenlive.debug...done.
done.

warning: Ignoring non-absolute filename: <linux-vdso.so.1>
Missing separate debuginfo for linux-vdso.so.1
Try: zypper install -C "debuginfo(build-id)=9fdd98d41f5e21c31819b288fcf042ce79c5ab4e"
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `kdenlive'.
Program terminated with signal SIGTRAP, Trace/breakpoint trap.
#0  g_logv (log_domain=0x7f9d08fa5d38 "GLib-GIO", log_level=G_LOG_LEVEL_ERROR, format=<optimized out>, args=args@entry=0x7f9cf799dab8) at gmessages.c:1085
1085    gmessages.c: No such file or directory.
[Current thread is 1 (Thread 0x7f9cf799f700 (LWP 19827))]
Missing separate debuginfos, use: zypper install libgpg-error0-debuginfo-1.31-105.1.x86_64
(gdb) bt
#0  0x00007f9d16d60713 in g_logv (log_domain=0x7f9d08fa5d38 "GLib-GIO", log_level=G_LOG_LEVEL_ERROR, format=<optimized out>, args=args@entry=0x7f9cf799dab8)
    at gmessages.c:1085
#1  0x00007f9d16d60882 in g_log (log_domain=log_domain@entry=0x7f9d08fa5d38 "GLib-GIO", log_level=log_level@entry=G_LOG_LEVEL_ERROR, format=format@entry=0x7f9d08fd524e "inotify read(): %s") at gmessages.c:1119
#2  0x00007f9d08f9fac7 in ik_source_read_some_events (buffer=buffer@entry=0x7f9cf799dbf0 "", buffer_len=buffer_len@entry=4096, iks=<optimized out>)
    at inotify-kernel.c:156
#3  0x00007f9d08f9fb78 in ik_source_read_all_the_events (buffer_len=4096, length_out=<synthetic pointer>, buffer=0x7f9cf799dbf0 "", iks=0x17dedc0)
    at inotify-kernel.c:172
#4  0x00007f9d08f9fb78 in ik_source_dispatch (source=0x17dedc0, func=0x7f9d08fa0840 <ip_event_callback>, user_data=<optimized out>) at inotify-kernel.c:247
#5  0x00007f9d16d5a015 in g_main_dispatch (context=0x17d2a30) at gmain.c:3154
#6  0x00007f9d16d5a015 in g_main_context_dispatch (context=context@entry=0x17d2a30) at gmain.c:3769
#7  0x00007f9d16d5a388 in g_main_context_iterate (context=context@entry=0x17d2a30, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
    at gmain.c:3840
#8  0x00007f9d16d5a42c in g_main_context_iteration (context=0x17d2a30, may_block=may_block@entry=1) at gmain.c:3901
#9  0x00007f9d16d5a469 in glib_worker_main (data=<optimized out>) at gmain.c:5672
#10 0x00007f9d16d7ea85 in g_thread_proxy (data=0x170c370) at gthread.c:780
#11 0x00007f9d18d17724 in start_thread (arg=0x7f9cf799f700) at pthread_create.c:457
#12 0x00007f9d1a52ee8d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
(gdb) info threads
  Id   Target Id         Frame
* 1    Thread 0x7f9cf799f700 (LWP 19827) g_logv (log_domain=0x7f9d08fa5d38 "GLib-GIO", log_level=G_LOG_LEVEL_ERROR, format=<optimized out>,
    args=args@entry=0x7f9cf799dab8) at gmessages.c:1085
  2    Thread 0x7f9cb7ffe700 (LWP 20006) 0x00007f9d1a52630d in poll () at ../sysdeps/unix/syscall-template.S:84
  3    Thread 0x7f9d0253e700 (LWP 19816) 0x00007f9d1a52630d in poll () at ../sysdeps/unix/syscall-template.S:84
  4    Thread 0x7f9cc7fff700 (LWP 19879) 0x00007f9d1a52630d in poll () at ../sysdeps/unix/syscall-template.S:84
  5    Thread 0x7f9ccd2bd700 (LWP 19869) pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
  6    Thread 0x7f9d21e1a900 (LWP 19694) 0x00007f9d18d189dd in pthread_join (threadid=140311070234368, thread_return=thread_return@entry=0x0) at pthread_join.c:90
  7    Thread 0x7f9cb5341700 (LWP 20201) pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  8    Thread 0x7f9cb77fd700 (LWP 20196) 0x00007f9d1a4fe21d in nanosleep () at ../sysdeps/unix/syscall-template.S:84
  9    Thread 0x7f9c967f3700 (LWP 20690) pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  10   Thread 0x7f9cb5b42700 (LWP 20200) pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  11   Thread 0x7f9c9affc700 (LWP 20205) pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  12   Thread 0x7f9c94ff0700 (LWP 20693) pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  13   Thread 0x7f9c997f9700 (LWP 20208) pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  14   Thread 0x7f9c9b7fd700 (LWP 20204) pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  15   Thread 0x7f9c97ff6700 (LWP 20687) pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  16   Thread 0x7f9c987f7700 (LWP 20210) pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  17   Thread 0x7f9c96ff4700 (LWP 20689) pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  18   Thread 0x7f9c95ff2700 (LWP 20691) pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  19   Thread 0x7f9c957f1700 (LWP 20692) pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  20   Thread 0x7f9cf5d32700 (LWP 19868) 0x00007f9d1a52630d in poll () at ../sysdeps/unix/syscall-template.S:84
  21   Thread 0x7f9cc51e2700 (LWP 20004) 0x00007f9d1a52630d in poll () at ../sysdeps/unix/syscall-template.S:84
  22   Thread 0x7f9c977f5700 (LWP 20688) pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  23   Thread 0x7f9c9bffe700 (LWP 20203) pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  24   Thread 0x7f9cb6343700 (LWP 20199) pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  25   Thread 0x7f9c98ff8700 (LWP 20209) pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  26   Thread 0x7f9cb4b40700 (LWP 20202) pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  27   Thread 0x7f9c99ffa700 (LWP 20207) pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  28   Thread 0x7f9d0b949700 (LWP 19768) 0x00007f9d1a52630d in poll () at ../sysdeps/unix/syscall-template.S:84
  29   Thread 0x7f9cb6ffc700 (LWP 20198) pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  30   Thread 0x7f9cf719e700 (LWP 19828) 0x00007f9d1a52630d in poll () at ../sysdeps/unix/syscall-template.S:84
  31   Thread 0x7f9c9a7fb700 (LWP 20206) pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  32   Thread 0x7f9c8ffff700 (LWP 20694) pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
Comment 1 Patrick Silva 2018-06-15 22:53:21 UTC
it also crashes on Arch Linux when I stop video recording with my webcam.
Comment 2 emohr 2018-12-26 14:52:37 UTC
Please try with the current Kdenlive AppImage version 18.12.0c

Run the Appimage from the terminal (press CTRL + ALT + T). Move to the AppImage folder and run the .AppImage: ./Kdenlive*.AppImage
Comment 3 Adam Spiers 2018-12-27 17:57:25 UTC
Created attachment 117132 [details]
STDOUT/STDERR from 18.12.0c AppImage run

It still crashes for me on 18.12.0c, although sometimes immediately on pressing record, other times during recording, and other times during pressing stop.  I haven't figured out a pattern yet.
Comment 4 emohr 2020-03-08 17:00:39 UTC
Please try with the current Kdenlive AppImage version 19.12.3 to see if there are any packaging issues https://files.kde.org/kdenlive/release/ 

If the problem/issue doesn't occur when using the AppImage, then it's your configuration or packaging.
Comment 5 Bug Janitor Service 2020-03-23 04:33:11 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Bug Janitor Service 2020-04-07 04:33:15 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!
Comment 7 Patrick Silva 2020-04-07 10:26:28 UTC
I see no way to record video with a webcam in kdenlive 20.07.70.
Was this feature removed?