olive-editor / olive

Free open-source non-linear video editor
https://olivevideoeditor.org/
GNU General Public License v3.0
8.16k stars 554 forks source link

[CRASH] Olive freezes and I have to force quit and this slows down my work #2277

Open AntonioBerna opened 1 year ago

AntonioBerna commented 1 year ago

Commit Hash 1687a721

Platform Linux Manjaro

Summary it would seem that when the video is playing in the preview if I click with the mouse in a previous position of the clip then the program freezes and I have to force quit. I installed the AppImage version of Olive (maybe it may not be fully compatible with Manjaro)

Steps to Reproduce

  1. Click space on the keyboard
  2. While the track (vertical blue line) moves along the clip if I decide to select a previous minute (of the clip) then the Olive program freezes and I can't do anything but force quit
Crash Report



I ran the `xdg-open video.ove` command and got this output:

```
[DEBUG] Extracting default OCIO config to "/home/berna/.cache/olivevideoeditor.org/Olive/ocioconf"
[INFO] Using Qt version: 5.15.2
ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp
ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp
ALSA lib pcm_a52.c:1001:(_snd_pcm_a52_open) a52 is only for playback
ALSA lib confmisc.c:160:(snd_config_get_card) Invalid field card
ALSA lib pcm_usb_stream.c:482:(_snd_pcm_usb_stream_open) Invalid card 'card'
ALSA lib confmisc.c:160:(snd_config_get_card) Invalid field card
ALSA lib pcm_usb_stream.c:482:(_snd_pcm_usb_stream_open) Invalid card 'card'
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
[INFO] Setting output audio device to default
[INFO] Setting input audio device to default
[DEBUG] Using graphics driver: Intel
[DEBUG] olive::ProjectLoadTask(0x6f86350) took 152
[WARNING] Type conversion already registered from type std::map to type QtMetaTypePrivate::QAssociativeIterableImpl
[DEBUG] Selected node: olive::TransformDistortNode(0x7f2a64d44770)
ALSA lib pcm.c:8675:(snd_pcm_recover) underrun occurred
```

Additional Information I know I shouldn't be using Olive as my primary video editor but I really like the aesthetics and I wouldn't switch to another video editor just because it crashes every 5 minutes... hope that fixes the problem!

zakaria-chahboun commented 1 year ago

Same thing here

AntonioBerna commented 1 year ago

Same thing here

I tell you the truth I really like the layout received by Olive but unfortunately not having any response I adapted learning to use kdenlive which works really well. I still hope they will fix this in the recent future

ThomasWilshaw commented 1 year ago

I'm not able to reproduce this on Windows but looking at the output you got I think your audio may be set up wrong. If you go Tools -> Preferences -> Audio what settings are selcted there?

AntonioBerna commented 1 year ago

I'm not able to reproduce this on Windows but looking at the output you got I think your audio may be set up wrong. If you go Tools -> Preferences -> Audio what settings are selcted there?

Hi, here's how the audio settings are set:

img

ThomasWilshaw commented 1 year ago

Could you try using a different back end? Also are you able to provide a full backtrace/ run through a debugger?

AntonioBerna commented 1 year ago

Couuld you try using a different back end? ALso are you able to provide a full backtrace/ run through a debugger?

If you explain to me how to do it I can try

ThomasWilshaw commented 1 year ago

In the Audio Settings dialoge you screen shotted above there is a drop down called Backend at the top, can you change that? I donlt know if this will fix it but it's worth a shot

ThomasWilshaw commented 1 year ago

Duplicate of https://github.com/olive-editor/olive/issues/2184

AdilDevStuff commented 8 months ago

Same thing happens to me on Kubuntu. Sometimes it works flawlessly but sometimes it freezes. Also using the appimage