[kdenlive] [Bug 419604] Kdenlive freezes when creating a folder during clip playback

2020-04-16 Thread Jean-Baptiste Mardelle
https://bugs.kde.org/show_bug.cgi?id=419604

Jean-Baptiste Mardelle  changed:

   What|Removed |Added

  Latest Commit|https://invent.kde.org/kde/ |https://invent.kde.org/kde/
   |kdenlive/commit/9982db8b915 |kdenlive/commit/58617d100cc
   |3116e53fa7f4c0322bc1107b58a |817c4f73fe1d9361e543943bb0d
   |22  |37

--- Comment #14 from Jean-Baptiste Mardelle  ---
Git commit 58617d100cc817c4f73fe1d9361e543943bb0d37 by Jean-Baptiste Mardelle.
Committed on 16/04/2020 at 06:51.
Pushed by mardelle into branch 'master'.

Fix freeze when changing bin selection

M  +10   -16   src/monitor/glwidget.cpp

https://invent.kde.org/kde/kdenlive/commit/58617d100cc817c4f73fe1d9361e543943bb0d37

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdenlive] [Bug 419604] Kdenlive freezes when creating a folder during clip playback

2020-04-16 Thread Jean-Baptiste Mardelle
https://bugs.kde.org/show_bug.cgi?id=419604

Jean-Baptiste Mardelle  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|REPORTED|RESOLVED
  Latest Commit||https://invent.kde.org/kde/
   ||kdenlive/commit/9982db8b915
   ||3116e53fa7f4c0322bc1107b58a
   ||22

--- Comment #13 from Jean-Baptiste Mardelle  ---
Git commit 9982db8b9153116e53fa7f4c0322bc1107b58a22 by Jean-Baptiste Mardelle.
Committed on 16/04/2020 at 06:50.
Pushed by mardelle into branch 'release/20.04'.

Fix freeze when changing bin selection

M  +10   -16   src/monitor/glwidget.cpp

https://invent.kde.org/kde/kdenlive/commit/9982db8b9153116e53fa7f4c0322bc1107b58a22

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdenlive] [Bug 419604] Kdenlive freezes when creating a folder during clip playback

2020-04-15 Thread farid
https://bugs.kde.org/show_bug.cgi?id=419604

--- Comment #12 from farid  ---
Also this after quitting GDB:

(gdb) bt
#0  0x718cca67 in __pthread_clockjoin_ex () at /usr/lib/libpthread.so.0
#1  0x7fffde24a228 in consumer_stop (parent=) at
consumer_sdl2_audio.c:217
#2  0x76f163cc in mlt_consumer_stop (self=0x62e30400) at
mlt_consumer.c:1667
#3  0x56ca46dd in GLWidget::setProducer(std::shared_ptr
const&, bool, int)
(this=0x615fe680, producer=warning: RTTI symbol not found for class
'std::_Sp_counted_ptr'
warning: RTTI symbol not found for class 'std::_Sp_counted_ptr'

std::shared_ptr (use count 4, weak count 1) = {...},
isActive=true, position=-1)
at /home/farid/kdenlive/src/monitor/glwidget.cpp:924
#4  0x56cf7b56 in Monitor::slotOpenClip(std::shared_ptr
const&, int, int)
(this=0x6140003bbe40, controller=warning: RTTI symbol not found for class
'std::_Sp_counted_ptr'
warning: RTTI symbol not found for class 'std::_Sp_counted_ptr'
std::shared_ptr (use count 7, weak count 2) = {...}, in=-1,
out=-1)
at /home/farid/kdenlive/src/monitor/monitor.cpp:1445
#5  0x564b271c in
Bin::setMonitor(Monitor*)::$_39::operator()(std::shared_ptr, int,
int) const
(this=0x60370790, clip=warning: RTTI symbol not found for class
'std::_Sp_counted_ptr'
warning: RTTI symbol not found for class 'std::_Sp_counted_ptr'
std::shared_ptr (use count 7, weak count 2) = {...}, in=-1,
out=-1)
at /home/farid/kdenlive/src/bin/bin.cpp:1556
#6  0x564b2586 in QtPrivate::FunctorCall, QtPrivate::List, int, int>, void,
Bin::setMonitor(Monitor*)::$_39>::call(Bin::setMonitor(Monitor*)::$_39&,
void**)   
(f=..., arg=0x7fff8d40) at
/usr/include/qt/QtCore/qobjectdefs_impl.h:146
#7  0x564b22b1 in QtPrivate::Functor::call, int, int>,
void>(Bin::setMonitor(Monitor*)::$_39&, void*, void**) (f=...,
arg=0x7fff8d40)
at /usr/include/qt/QtCore/qobjectdefs_impl.h:256
#8  0x564b21cf in
QtPrivate::QFunctorSlotObject, int, int>, void>::impl(int,
QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) 
(which=1, this_=0x60370780, r=0x61653d80, a=0x7fff8d40,
ret=0x0)
at /usr/include/qt/QtCore/qobjectdefs_impl.h:443
#9  0x71effcde in  () at /usr/lib/libQt5Core.so.5
#10 0x55fc1c98 in Bin::openClip(std::shared_ptr, int, int)
(this=0x61653d80, _t1=warning: RTTI symbol not found for class
'std::_Sp_counted_ptr'
warning: RTTI symbol not found for class 'std::_Sp_counted_ptr'

std::shared_ptr (use count 7, weak count 2) = {...}, _t2=-1,
_t3=-1)
at kdenliveLib_autogen/NNRPYQ7WAA/moc_bin.cpp:1475
#11 0x5645b722 in Bin::openProducer(std::shared_ptr)
--Type  for more, q to quit, c to continue without paging--
(this=0x61653d80, controller=std::shared_ptr (empty) =
{...})
at /home/farid/kdenlive/src/bin/bin.cpp:2459
#12 0x56441c66 in Bin::setCurrent(std::shared_ptr
const&) (this=0x61653d80, item=warning: RTTI symbol not found for class
'std::_Sp_counted_ptr'
warning: RTTI symbol not found for class 'std::_Sp_counted_ptr'

std::shared_ptr (use count 7, weak count 2) = {...})
at /home/farid/kdenlive/src/bin/bin.cpp:3865
#13 0x56440733 in Bin::selectProxyModel(QModelIndex const&)
(this=0x61653d80, id=...)
at /home/farid/kdenlive/src/bin/bin.cpp:1810
#14 0x564b9480 in QtPrivate::FunctorCall,
QtPrivate::List, void, void (Bin::*)(QModelIndex
const&)>::call(void (Bin::*)(QModelIndex const&), Bin*, void**) (f=
(void (Bin::*)(Bin * const, const QModelIndex &)) 0x56440130
, o=0x61653d80,
arg=0x7fff9e20) at /usr/include/qt/QtCore/qobjectdefs_impl.h:152
#15 0x564b90be in QtPrivate::FunctionPointer::call, void>(void
(Bin::*)(QModelIndex const&), Bin*, void**) (f=
(void (Bin::*)(Bin * const, const QModelIndex &)) 0x56440130
, o=0x61653d80,
arg=0x7fff9e20) at /usr/include/qt/QtCore/qobjectdefs_impl.h:185
#16 0x564b8bca in QtPrivate::QSlotObject, void>::impl(int,
QtPrivate::QSlotObjectBase*, QObject*, void**, bool*)   
(which=1, this_=0x603000a60780, r=0x61653d80, a=0x7fff9e20,
ret=0x0)
at /usr/include/qt/QtCore/qobjectdefs_impl.h:418
#17 0x71effcde in  () at /usr/lib/libQt5Core.so.5
#18 0x55fced56 in ProjectSortProxyModel::selectModel(QModelIndex
const&) (this=0x606000dc5e00, _t1=...)
at kdenliveLib_autogen/NNRPYQ7WAA/moc_projectsortproxymodel.cpp:203
#19 0x566098e5 in
ProjectSortProxyModel::onCurrentRowChanged(QItemSelection const&,
QItemSelection const&)
(this=0x606000dc5e00, current=..., previous=...) at
/home/farid/kdenlive/src/bin/projectsortproxymodel.cpp:172
#20 0x5660e84c in QtPrivate::FunctorCall,
QtPrivate::List, void, void
(ProjectSortProxyModel::*)(QItemSelection const&, QItemSelection
const&)>::call(void (ProjectSortProxyModel::*)(QItemSelection const&,
QItemSelection const&), ProjectSortProxyModel*, void**) (f=

[kdenlive] [Bug 419604] Kdenlive freezes when creating a folder during clip playback

2020-04-15 Thread farid
https://bugs.kde.org/show_bug.cgi?id=419604

--- Comment #11 from farid  ---
Does this say anything (full log attached): 

Thread 1 (Thread 0x7fffec5708c0 (LWP 9444)):
#0  0x718cca67 in __pthread_clockjoin_ex () at /usr/lib/libpthread.so.0
#1  0x7fffde24a228 in consumer_stop (parent=) at
consumer_sdl2_audio.c:217
self = 0x62e30400
#2  0x76f163cc in mlt_consumer_stop (self=0x62e30400) at
mlt_consumer.c:1667
properties = 0x62e30400
priv = 0x61400069d040
#3  0x56ca46dd in GLWidget::setProducer(std::shared_ptr
const&, bool, int) (this=0x615fe680, producer=warning: RTTI symbol not
found for class 'std::_Sp_counted_ptr'
warning: RTTI symbol not found for class 'std::_Sp_counted_ptr'
std::shared_ptr (use count 4, weak count 1) = {...},
isActive=true, position=-1) at
/home/farid/kdenlive/src/monitor/glwidget.cpp:924
currentId = {static null = {}, d = 0x603000d10e30}
--Type  for more, q to quit, c to continue without paging--
error = 0
consumerPosition = 189
#4  0x56cf7b56 in Monitor::slotOpenClip(std::shared_ptr
const&, int, int) (this=0x6140003bbe40, controller=warning: RTTI symbol not
found for class 'std::_Sp_counted_ptr'
warning: RTTI symbol not found for class 'std::_Sp_counted_ptr'
std::shared_ptr (use count 7, weak count 2) = {...}, in=-1,
out=-1) at /home/farid/kdenlive/src/monitor/monitor.cpp:1445
#5  0x564b271c in
Bin::setMonitor(Monitor*)::$_39::operator()(std::shared_ptr, int,
int) const (this=0x60370790, clip=warning: RTTI symbol not found for class
'std::_Sp_counted_ptr'
warning: RTTI symbol not found for class 'std::_Sp_counted_ptr'
std::shared_ptr (use count 7, weak count 2) = {...}, in=-1,
out=-1) at /home/farid/kdenlive/src/bin/bin.cpp:1556
#6  0x564b2586 in QtPrivate::FunctorCall, QtPrivate::List, int, int>, void,
Bin::setMonitor(Monitor*)::$_39>::call(Bin::setMonitor(Monitor*)::$_39&,
void**) (f=..., arg=0x7fff8d40) at
/usr/include/qt/QtCore/qobjectdefs_impl.h:146
#7  0x564b22b1 in QtPrivate::Functor::call, int, int>,
void>(Bin::setMonitor(Monitor*)::$_39&, void*, void**) (f=...,
arg=0x7fff8d40) at /usr/include/qt/QtCore/qobjectdefs_impl.h:256
#8  0x564b21cf in
QtPrivate::QFunctorSlotObject, int, int>, void>::impl(int,
QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1,
this_=0x60370780, r=0x61653d80, a=0x7fff8d40, ret=0x0) at
/usr/include/qt/QtCore/qobjectdefs_impl.h:443
#9  0x71effcde in  () at /usr/lib/libQt5Core.so.5
#10 0x55fc1c98 in Bin::openClip(std::shared_ptr, int, int)
(this=0x61653d80, _t1=warning: RTTI symbol not found for class
'std::_Sp_counted_ptr'
warning: RTTI symbol not found for class 'std::_Sp_counted_ptr'
std::shared_ptr (use count 7, weak count 2) = {...}, _t2=-1,
_t3=-1) at kdenliveLib_autogen/NNRPYQ7WAA/moc_bin.cpp:1475
--Type  for more, q to quit, c to continue without paging--
_a = {0x0, 0x7fff8ea0, 0x7fff8d20, 0x7fff8d30}
#11 0x5645b722 in Bin::openProducer(std::shared_ptr)
(this=0x61653d80, controller=std::shared_ptr (empty) = {...})
at /home/farid/kdenlive/src/bin/bin.cpp:2459
#12 0x56441c66 in Bin::setCurrent(std::shared_ptr
const&) (this=0x61653d80, item=warning: RTTI symbol not found for class
'std::_Sp_counted_ptr'
warning: RTTI symbol not found for class 'std::_Sp_counted_ptr'
std::shared_ptr (use count 7, weak count 2) = {...}) at
/home/farid/kdenlive/src/bin/bin.cpp:3865
clp = std::shared_ptr (use count 1426063428, weak count
1223002439) = {get() = 0x7fff8ff0}
#13 0x56440733 in Bin::selectProxyModel(QModelIndex const&)
(this=0x61653d80, id=...) at /home/farid/kdenlive/src/bin/bin.cpp:1810
currentItem = warning: RTTI symbol not found for class
'std::_Sp_counted_ptr'
warning: RTTI symbol not found for class 'std::_Sp_counted_ptr'
std::shared_ptr (use count 7, weak count 2) = {get() =
0x617000222b00}
#14 0x564b9480 in QtPrivate::FunctorCall,
QtPrivate::List, void, void (Bin::*)(QModelIndex
const&)>::call(void (Bin::*)(QModelIndex const&), Bin*, void**) (f=(void
(Bin::*)(Bin * const, const QModelIndex &)) 0x56440130
, o=0x61653d80,
arg=0x7fff9e20) at /usr/include/qt/QtCore/qobjectdefs_impl.h:152
#15 0x564b90be in QtPrivate::FunctionPointer::call, void>(void
(Bin::*)(QModelIndex const&), Bin*, void**) (f=(void (Bin::*)(Bin * const,
const QModelIndex &)) 0x56440130 , o=0x61653d80, arg=0x7fff9e20) at
/usr/include/qt/QtCore/qobjectdefs_impl.h:185
#16 0x564b8bca in QtPrivate::QSlotObject, void>::impl(int,
QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1,
this_=0x603000a60780, r=0x61653d80, a=0x7fff9e20, ret=0x0) at
/usr/include/qt/QtCore/qobjectdefs_impl.h:418
#17 0x71effcde in  () at /usr/lib/libQt5Core.so.5
#18 0x55fced56 in ProjectSortProxyModel::selectModel(QModelIndex
const&) (this=0x606000dc5e00, _t1=...) at kde--Type 

[kdenlive] [Bug 419604] Kdenlive freezes when creating a folder during clip playback

2020-04-15 Thread farid
https://bugs.kde.org/show_bug.cgi?id=419604

farid  changed:

   What|Removed |Added

 Attachment #127579|0   |1
is obsolete||

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdenlive] [Bug 419604] Kdenlive freezes when creating a folder during clip playback

2020-04-15 Thread farid
https://bugs.kde.org/show_bug.cgi?id=419604

--- Comment #10 from farid  ---
Created attachment 127580
  --> https://bugs.kde.org/attachment.cgi?id=127580=edit
gdb log full

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdenlive] [Bug 419604] Kdenlive freezes when creating a folder during clip playback

2020-04-15 Thread farid
https://bugs.kde.org/show_bug.cgi?id=419604

--- Comment #9 from farid  ---
Created attachment 127579
  --> https://bugs.kde.org/attachment.cgi?id=127579=edit
gdb log

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdenlive] [Bug 419604] Kdenlive freezes when creating a folder during clip playback

2020-04-15 Thread emohr
https://bugs.kde.org/show_bug.cgi?id=419604

--- Comment #8 from emohr  ---
I tested as you showed. It doesn't crash but the "switch" from one clip to the
other take in some cases some time. Here a log from Visual Studio showing this
"switch": 

The thread 0x1784 has exited with code 0 (0x0).
The thread 0x1924 has exited with code 0 (0x0).
MUTEX LOCK setmodel
MUTEX UNLOCK setmodel
MUTEX LOCK loadEffects COUNT:  0
/// GOT AUDIO TRACKS:  (7)
The thread 0x218c has exited with code 0 (0x0).
The thread 0x212c has exited with code 0 (0x0).
The thread 0x22e0 has exited with code 0 (0x0).
The thread 0x1490 has exited with code 0 (0x0).
The thread 0x2224 has exited with code 0 (0x0).
The thread 0x1c10 has exited with code 0 (0x0).
MUTEX LOCK setmodel
MUTEX UNLOCK setmodel
MUTEX LOCK loadEffects COUNT:  0
/// GOT AUDIO TRACKS:  (7)
The thread 0xc68 has exited with code 0 (0x0).
The thread 0x22c0 has exited with code 0 (0x0).
The thread 0x1208 has exited with code 0 (0x0).
The thread 0x1944 has exited with code 0 (0x0).
The thread 0x2174 has exited with code 0 (0x0).
The thread 0x1918 has exited with code 0 (0x0).
The thread 0x13d4 has exited with code 0 (0x0).
MUTEX LOCK setmodel
MUTEX UNLOCK setmodel
MUTEX LOCK loadEffects COUNT:  0
/// GOT AUDIO TRACKS:  (7)
The thread 0x215c has exited with code 0 (0x0).
The thread 0x14dc has exited with code 0 (0x0).

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdenlive] [Bug 419604] Kdenlive freezes when creating a folder during clip playback

2020-04-15 Thread Simon
https://bugs.kde.org/show_bug.cgi?id=419604

--- Comment #7 from Simon  ---
Created attachment 127576
  --> https://bugs.kde.org/attachment.cgi?id=127576=edit
How to reproduce

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdenlive] [Bug 419604] Kdenlive freezes when creating a folder during clip playback

2020-04-15 Thread Simon
https://bugs.kde.org/show_bug.cgi?id=419604

--- Comment #6 from Simon  ---
Sure. Can you reproduce with this project?
http://granjow.net/uploads/temp/kdenlive-bug-419604.tar

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdenlive] [Bug 419604] Kdenlive freezes when creating a folder during clip playback

2020-04-15 Thread farid
https://bugs.kde.org/show_bug.cgi?id=419604

farid  changed:

   What|Removed |Added

 CC||snd.no...@gmail.com

--- Comment #5 from farid  ---
I cannot reproduce. Canyou maybe share the clips that are causing this?

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdenlive] [Bug 419604] Kdenlive freezes when creating a folder during clip playback

2020-04-15 Thread Simon
https://bugs.kde.org/show_bug.cgi?id=419604

--- Comment #4 from Simon  ---
I am trying to debug this issue as it is quite persistent, but no luck so far.
The funny thing is that when I click the new clip, the clip monitor jumps to
frame 0 of the current clip, but no frame of the new clip is loaded. I can
still press the play/pause button on the clip monitor and it toggles once, then
the UI completely freezes.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdenlive] [Bug 419604] Kdenlive freezes when creating a folder during clip playback

2020-04-04 Thread Simon
https://bugs.kde.org/show_bug.cgi?id=419604

--- Comment #3 from Simon  ---
Thanks for testing!
At least it does not seem to be Audio related as I get the same crash when
switching from SDL to RtAudio here.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdenlive] [Bug 419604] Kdenlive freezes when creating a folder during clip playback

2020-04-04 Thread emohr
https://bugs.kde.org/show_bug.cgi?id=419604

emohr  changed:

   What|Removed |Added

  Flags||timeline_corruption+
 CC||fritzib...@gmx.net

--- Comment #2 from emohr  ---
I'm on windows, tested with the master, playback settings "audio backend" set
to WinMM. 

While a clip is playing in the clip monitor I click "create folder" in the
project bin -> playing is stopped and it creates the folder -> no crash

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdenlive] [Bug 419604] Kdenlive freezes when creating a folder during clip playback

2020-04-03 Thread Simon
https://bugs.kde.org/show_bug.cgi?id=419604

--- Comment #1 from Simon  ---
Actually it currently happens every time a clip is playing and I then select
another item in the project bin.

-- 
You are receiving this mail because:
You are watching all bug changes.