Bug#869226: kdenlive: Segmentation fault when exiting

2017-08-03 Thread Patrick Matthäi
found #869226 17.04.3-1
thanks

Hi Jean-Baptiste,

I also can reproduce it with 17.04.3 and 17.04.2 on every PC by just
starting kdenlive and then closing it:

pmatthaei@leopc39:~$ gdb kdenlive
GNU gdb (Debian 7.12-6) 7.12.0.20161007-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later

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-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
.
Find the GDB manual and other documentation resources online at:
.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from kdenlive...Reading symbols from
/usr/lib/debug/.build-id/62/dc7fc2403bb923745a34eeb166145b23830b7d.debug...done.
done.
(gdb) set pagination 0
(gdb) run
Starting program: /usr/bin/kdenlive
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe27f7700 (LWP 16527)]
[New Thread 0x7fffd872c700 (LWP 16528)]
[New Thread 0x7fffd7cf1700 (LWP 16529)]
[New Thread 0x7fffd74f0700 (LWP 16530)]
[New Thread 0x7fffd6cef700 (LWP 16531)]
[New Thread 0x7fffd64ee700 (LWP 16532)]
[New Thread 0x7fffd585a700 (LWP 16533)]
[New Thread 0x7fffb9694700 (LWP 16536)]
QSocketNotifier: Invalid socket 11 and type 'Read', disabling...
QSocketNotifier: Invalid socket 20 and type 'Read', disabling...
[New Thread 0x7fffaecbc700 (LWP 16537)]
[New Thread 0x7fffadcbb700 (LWP 16538)]
[New Thread 0x7fffad2f8700 (LWP 16539)]
[New Thread 0x7fff9ac33700 (LWP 16541)]
[Thread 0x7fff9ac33700 (LWP 16541) exited]
[New Thread 0x7fff9ac33700 (LWP 16542)]
[New Thread 0x7fff9e8c8700 (LWP 16543)]
[New Thread 0x7fff9e0c7700 (LWP 16544)]
[New Thread 0x7fff9d8c6700 (LWP 16545)]
[New Thread 0x7fff9d0c5700 (LWP 16546)]
[New Thread 0x7fff9c8c4700 (LWP 16547)]
QXcbConnection: XCB error: 8 (BadMatch), sequence: 5040, resource id:
113246479, major code: 156 (Unknown), minor code: 11
QXcbConnection: XCB error: 8 (BadMatch), sequence: 19821, resource id:
113246598, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 19853, resource id:
113246598, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 19856, resource id:
113246598, major code: 130 (Unknown), minor code: 3
[Thread 0x7fff9c8c4700 (LWP 16547) exited]
[Thread 0x7fff9ac33700 (LWP 16542) exited]
[Thread 0x7fff9d0c5700 (LWP 16546) exited]
[Thread 0x7fff9e0c7700 (LWP 16544) exited]

Thread 1 "kdenlive" received signal SIGSEGV, Segmentation fault.
0x7fffb27255e0 in ?? ()
(gdb) bt
#0  0x7fffb27255e0 in ?? ()
#1  0x76ae64da in mlt_consumer_purge (self=0x581d82f0) at
mlt_consumer.c:1342
#2  0x559c00a5 in Render::stop (this=0x5792b0b0) at
./src/renderer.cpp:680
#3  0x558ac6f5 in Monitor::~Monitor (this=0x576743e0,
__in_chrg=) at ./src/monitor/monitor.cpp:364
#4  0x558ac789 in Monitor::~Monitor (this=0x576743e0,
__in_chrg=) at ./src/monitor/monitor.cpp:372
#5  0x559a6f16 in MainWindow::~MainWindow
(this=this@entry=0x56299170, __in_chrg=,
__vtt_parm=) at ./src/mainwindow.cpp:786
#6  0x559a7059 in MainWindow::~MainWindow (this=0x56299170,
__in_chrg=, __vtt_parm=) at
./src/mainwindow.cpp:791
#7  0x70d6f4d0 in QObject::event(QEvent*) () from
/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x7255546b in QWidget::event(QEvent*) () from
/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#9  0x7265492b in QMainWindow::event(QEvent*) () from
/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#10 0x74b5c097 in KMainWindow::event(QEvent*) () from
/lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#11 0x74ba0bb5 in KXmlGuiWindow::event(QEvent*) () from
/lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#12 0x7250db8c in QApplicationPrivate::notify_helper(QObject*,
QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x72515341 in QApplication::notify(QObject*, QEvent*) ()
from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x70d429e0 in QCoreApplication::notifyInternal2(QObject*,
QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x70d4516d in
QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*)
() from /lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x70d49179 in QCoreApplication::exec() () from
/lib/x86_64-linux-gnu/libQt5Core.so.5
#17 0x55602f0c in main (argc=, argv=) at ./src/main.cpp:158
(gdb) bt full
#0  0x7fffb27255e0 in ?? ()
No symbol table info available.
#1  0x76ae64da in mlt_consumer_purge (self=0x581d82f0) at
mlt_consumer.c:1342
priv = 0x573d2860
#2  0x

Bug#869226: kdenlive: Segmentation fault when exiting

2017-07-21 Thread George B.
Package: kdenlive
Version: 17.04.2-1
Severity: normal

Hello,

I had a segmentation fault when quitting kdenlive. I was prompted to
save the project and I clicked "yes".

Backtrace from thread 1 - let me know if you need other threads.

```
Core was generated by `kdenlive'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x7fd6974cd5e0 in ?? ()
[Current thread is 1 (Thread 0x7fd6ce34f900 (LWP 10740))]
(gdb) bt full
#0  0x7fd6974cd5e0 in  ()
#1  0x7fd6ccffb4da in mlt_consumer_purge () at 
/usr/lib/x86_64-linux-gnu/libmlt.so.6
#2  0x56157ab69f75 in  ()
#3  0x56157aa566e5 in  ()
#4  0x56157aa56779 in  ()
#5  0x56157ab50df6 in  ()
#6  0x56157ab50f39 in  ()
#7  0x7fd6c7293c60 in QObject::event(QEvent*) 
(this=this@entry=0x56157bf3cda0, e=e@entry=0x56157ea5c240) at 
kernel/qobject.cpp:1254
#8  0x7fd6c8a700cb in QWidget::event(QEvent*) 
(this=this@entry=0x56157bf3cda0, event=event@entry=0x56157ea5c240) at 
kernel/qwidget.cpp:9225
#9  0x7fd6c8b6bfbb in QMainWindow::event(QEvent*) (this=0x56157bf3cda0, 
event=0x56157ea5c240) at widgets/qmainwindow.cpp:1543
#10 0x7fd6cb071097 in KMainWindow::event(QEvent*) () at 
/usr/lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#11 0x7fd6cb0b5bb5 in KXmlGuiWindow::event(QEvent*) () at 
/usr/lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#12 0x7fd6c8a28bec in QApplicationPrivate::notify_helper(QObject*, QEvent*) 
(this=, receiver=0x56157bf3cda0, e=0x56157ea5c240) at 
kernel/qapplication.cpp:3799
consumed = 
this = 
e = 0x56157ea5c240
receiver = 0x56157bf3cda0
#13 0x7fd6c8a30381 in QApplication::notify(QObject*, QEvent*) 
(this=0x7fffa2d04cc0, receiver=0x56157bf3cda0, e=0x56157ea5c240) at 
kernel/qapplication.cpp:3556
w = 0x56157bf3cda0
extra = 
isProxyWidget = 
res = false
#14 0x7fd6c7267850 in QCoreApplication::notifyInternal2(QObject*, QEvent*) 
(receiver=0x56157bf3cda0, event=event@entry=0x56157ea5c240) at 
kernel/qcoreapplication.cpp:988
selfRequired = true
result = false
cbdata = {0x56157bf3cda0, 0x56157ea5c240, 0x7fffa2d04aaf}
d = 
threadData = 0x56157b8b0de0
scopeLevelCounter = {threadData = 0x56157b8b0de0}
#15 0x7fd6c7269fed in QCoreApplication::sendEvent(QObject*, QEvent*) 
(event=0x56157ea5c240, receiver=) at 
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
e = 0x56157ea5c240
pe = 
r = 
unlocker = {m = }
event_deleter = {d = 0x56157ea5c240}
locker = {val = 94650267012624}
startOffset = 66
i = @0x7fffa2d04b3c: 66
cleanup = {receiver = 0x0, event_type = 52, data = 0x56157b8b0de0, 
exceptionCaught = true}
#16 0x7fd6c7269fed in QCoreApplicationPrivate::sendPostedEvents(QObject*, 
int, QThreadData*) (receiver=receiver@entry=0x0, 
event_type=event_type@entry=52, data=0x56157b8b0de0)
at kernel/qcoreapplication.cpp:1649
e = 0x56157ea5c240
pe = 
r = 
unlocker = {m = }
event_deleter = {d = 0x56157ea5c240}
locker = {val = 94650267012624}
startOffset = 66
i = @0x7fffa2d04b3c: 66
cleanup = {receiver = 0x0, event_type = 52, data = 0x56157b8b0de0, 
exceptionCaught = true}
#17 0x7fd6c726a458 in QCoreApplication::sendPostedEvents(QObject*, int) 
(receiver=receiver@entry=0x0, event_type=event_type@entry=52) at 
kernel/qcoreapplication.cpp:1503
data = 
#18 0x7fd6c726df19 in QCoreApplication::exec() () at 
kernel/qcoreapplication.cpp:1268
threadData = 0x56157b8b0de0
eventLoop = 
  { = {_vptr.QObject = 0x7fd6c74b13b8 , static staticMetaObject = {d = {superdata = 0x0, stringdata = 
0x7fd6c73d68c0 , data = 0x7fd6c73d67a0 
, static_metacall = 0x7fd6c729ab10 
, 
relatedMetaObjects = 0x0, extradata = 0x0}}, d_ptr = {d = 0x56157e1250a0}, 
static staticQtMetaObject = {d = {superdata = 0x0, stringdata = 0x7fd6c741e6a0 
, data = 0x7fd6c741bbe0 , 
static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}}, static 
staticMetaObject = {d = {superdata = 0x7fd6c74a8880 
, stringdata = 0x7fd6c7435a40 
, data = 0x7fd6c74359e0 
, static_metacall = 0x7fd6c730bec0 
, 
relatedMetaObjects = 0x0, extradata = 0x0}}}
returnCode = 0
#19 0x56157a7acf0c in  ()
#20 0x7fd6c63d12b1 in __libc_start_main (main=0x56157a7abe00, argc=1, 
argv=0x7fffa2d04e68, init=, fini=, 
rtld_fini=, stack_end=0x7fffa2d04e58)
at ../csu/libc-start.c:291
result = 
unwind_buf = 
  {cancel_jmp_buf = {{jmp_buf = {0, -9115174897200634136, 
94650249172400, 140735924948576, 0, 0, -3290490383767935256, 
-3312646338799311128}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 
0x7fffa2d04e78, 0x7fd6ce545170}, data = {prev = 0x0, cleanup = 0x0, canceltype 
= -1563406728}}}
not_first_call = 
#21 0x56157a7ad5da in _start ()
```


Thanks,

George

-- System Information:
Debian Release: buster/sid
  AP