Bug 376604 - Kdenlive crash when opening video source
Summary: Kdenlive crash when opening video source
Status: RESOLVED WAITINGFORINFO
Alias: None
Product: kdenlive
Classification: Applications
Component: Rendering & Export (other bugs)
Version First Reported In: unspecified
Platform: Kubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-18 08:37 UTC by Guillaume Debray
Modified: 2017-03-13 19:42 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Guillaume Debray 2017-02-18 08:37:51 UTC
When I enter in my video folder to open a mkv file, the window freeze.
gstreamer1.0-libav version 1.8.3-1
Kdenlive 16.12.2 from the kdenlive ppa:kdenlive/kdenlive-stable
Kubuntu 16.10 x64


Here the backtrace:

ERROR: Caught a segmentation fault while loading plugin file:
/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstlibav.so

Please either:
- remove it and restart.
- run with --gst-disable-segtrap --gst-disable-registry-fork and debug.

(kdenlive:19032): GStreamer-WARNING **: 
Trying to join task 0x55b2b0735dd0 from its thread would deadlock.
You cannot change the state of an element from its streaming
thread. Use g_idle_add() or post a GstMessage on the bus to
schedule the state change from the main thread.

KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = kdenlive path = /usr/bin pid = 19032
KCrash: Arguments: /usr/bin/kdenlive 
KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libexec/drkonqi from kdeinit
sock_file=/run/user/1000/kdeinit5__0
The X11 connection broke: I/O error (code 1)
XIO:  fatal IO error 88 (Opération de type socket sur un type non socket) on X server ":0"
      after 36 requests (36 known processed) with 0 events remaining.
QSocketNotifier: Socket notifiers cannot be enabled or disabled from another thread
QThreadStorage: Thread 0x7f6be4075820 exited after QThreadStorage 15 destroyed

[1]+  Arrêté                kdenlive
Comment 1 Wegwerf 2017-02-18 14:48:18 UTC
Can you play your mkv file using ffplay, and melt?
Comment 2 Guillaume Debray 2017-02-19 07:34:29 UTC
(In reply to Wegwerf from comment #1)
> Can you play your mkv file using ffplay, and melt?

Yes, ffplay and melt can play the video.

  Duration: 00:14:48.06, start: 0.000000, bitrate: 1070 kb/s
    Stream #0:0: Video: hevc (Main), yuv420p(tv), 1920x832, SAR 1:1 DAR 30:13, 24 fps, 24 tbr, 1k tbn, 1k tbc (default)
    Stream #0:1: Audio: aac (LC), 48000 Hz, stereo, fltp (default)
Comment 3 Wegwerf 2017-02-19 16:03:28 UTC
The crash is in an upstream library, libgstlibav.so. Is it possible to attach an example video file that triggers this crash, if that's only a small video file? Without a concrete file and specially with a crash in an upstream lib it's extremely difficult to diagnose this.
Comment 4 Guillaume Debray 2017-02-19 16:34:45 UTC
The video is easy to find: https://durian.blender.org/download/
I have downloaded the 720p mkv file (600MB)

In my home folder, a new folder is created and only this video is in this folder.
When I go to this folder and want to select this video, kdenlive crashes.
With another video (not mkv but mp4 for example), no crash.

It's the presence of mkv file in the folder I think.
Comment 5 Guillaume Debray 2017-02-19 16:41:30 UTC
An other thing:
With the -i flag, no problem to load the video.

kdenlive -i /home/guillaume/essai_kden/Sintel.2010.720p.mkv
Comment 6 farid 2017-03-05 19:25:57 UTC
(In reply to Guillaume Debray from comment #4)
> The video is easy to find: https://durian.blender.org/download/
> I have downloaded the 720p mkv file (600MB)
> 
> In my home folder, a new folder is created and only this video is in this
> folder.
> When I go to this folder and want to select this video, kdenlive crashes.
> With another video (not mkv but mp4 for example), no crash.
> 
> It's the presence of mkv file in the folder I think.

I am willing to help out in debugging this but I can't download atm 600mb, could you provide a smaller clip (1-2MB) for me to test?