Bug 420598 - kendlive crashes upon start on Ubuntu 20.4
Summary: kendlive crashes upon start on Ubuntu 20.4
Status: RESOLVED WORKSFORME
Alias: None
Product: kdenlive
Classification: Applications
Component: User Interface & Miscellaneous (show other bugs)
Version: 20.04.0
Platform: Kubuntu Linux
: NOR critical
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-26 01:55 UTC by Marco
Modified: 2020-11-30 09:15 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:
fritzibaby: timeline_corruption+


Attachments
kdenlive crash log (46.99 KB, text/plain)
2020-11-30 09:07 UTC, Olof Andersson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marco 2020-04-26 01:55:43 UTC
SUMMARY
On a fresh Ubuntu 20.4 LTS install, and fresh re-install of kdenlive 20.04, when starting, kdenlive crashes with a core dump.

STEPS TO REPRODUCE
1. launch Kdenlive (either from Desktop, or command-line)
2. Splash screen flashes briefly
3. kdenlive process exits with a core dump

OBSERVED RESULT
Nothing

EXPECTED RESULT
kdenlive should run

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: Ubuntu 20.04 LTS
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 5.12.8

ADDITIONAL INFORMATION

Installed packages: (dpkg -l kden*)

ii  kdenlive       4:20.04.0~ubuntu20.04.1 amd64        non-linear video editor
ii  kdenlive-data  4:20.04.0~ubuntu20.04.1 all          non-linear video editor (data files)

Console output:
```
QGLXContext: Failed to create dummy context
defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.audiosource"
Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::NoProfile) 
[1]    60179 abort (core dumped)  kdenlive
```
Comment 1 Felix Delacruz 2020-05-18 04:06:35 UTC
Fresh install of kdenlive Snap from Discover. Launch, after splash screen I get the following:

Could not create the video preview window.
There is something wrong with your Kdenlive install or your driver settings, please fix it.

Click OK and crashes the app.

Operating System: Kubuntu 20.04
KDE Plasma Version: 5.18.4
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8
Kernel Version: 5.4.0-29-lowlatency
OS Type: 64-bit
Processors: 8 × Intel® Core™ i7-6770HQ CPU @ 2.60GHz
Memory: 15.1 GiB of RAM
Comment 2 Olof Andersson 2020-11-24 13:50:15 UTC
I have the same crash. I want to add a line above the error log.
Before the lines that the original reporter pasted, I also have a 'CRITICAL' error (not sure if the original reporter had this line or not). See below.


```
** (kdenlive:39472): CRITICAL **: 14:38:45.300: gst_audio_format_from_string: assertion 'format != NULL' failed
LC_NUMERIC reset to C

Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::NoProfile) 
/tmp/.mount_kdenli6O2tyb/AppRun: line 26: 39472 Aborted                 (core dumped) kdenlive --config kdenlive-appimagerc $@
```
Comment 3 emohr 2020-11-29 19:03:57 UTC
Delete kdenlive-appimagerc: https://community.kde.org/Kdenlive/Configuration

Please try with the current Kdenlive AppImage version 20.08.2 to see if there are any packaging issues https://download.kde.org/stable/kdenlive/20.08/linux/ 

If the problem/issue doesn't occur when using the AppImage, then it's your configuration or packaging.
Comment 4 Felix Delacruz 2020-11-29 20:03:09 UTC
(In reply to Felix Delacruz from comment #1)
> Fresh install of kdenlive Snap from Discover. Launch, after splash screen I
> get the following:
> 
> Could not create the video preview window.
> There is something wrong with your Kdenlive install or your driver settings,
> please fix it.
> 
> Click OK and crashes the app.
> 
> Operating System: Kubuntu 20.04
> KDE Plasma Version: 5.18.4
> KDE Frameworks Version: 5.68.0
> Qt Version: 5.12.8
> Kernel Version: 5.4.0-29-lowlatency
> OS Type: 64-bit
> Processors: 8 × Intel® Core™ i7-6770HQ CPU @ 2.60GHz
> Memory: 15.1 GiB of RAM

I was able to get around this issue by uninstalling the package and then using the PPA to install. Now everything seems to be working fine.
Comment 5 Olof Andersson 2020-11-30 09:07:49 UTC
Created attachment 133744 [details]
kdenlive crash log
Comment 6 Olof Andersson 2020-11-30 09:11:00 UTC
Comment on attachment 133744 [details]
kdenlive crash log

I still get the same crash after deleting kdenlive-appimagerc and downloading kdenlive-20.08.3-x86_64.appimage

wget https://download.kde.org/stable/kdenlive/20.08/linux/kdenlive-20.08.3-x86_64.appimage
chmod +x kdenlive-20.08.3-x86_64.appimage
rm ~/.config/kdenlive-appimagerc
./kdenlive-20.08.3-x86_64.appimage

see attached crash log
Comment 7 Olof Andersson 2020-11-30 09:15:12 UTC
(In reply to emohr from comment #3)
> Delete kdenlive-appimagerc: https://community.kde.org/Kdenlive/Configuration
> 
> Please try with the current Kdenlive AppImage version 20.08.2 to see if
> there are any packaging issues
> https://download.kde.org/stable/kdenlive/20.08/linux/ 
> 
> If the problem/issue doesn't occur when using the AppImage, then it's your
> configuration or packaging.

Ahh, first I didn't see that you pointed out an earlier version.

Now I tested with 20.08.2 instead of 20.08.3.

20.08.2 seems to work without crashing!