Bug 383914 - Segfault in QSGRenderThread immediately upon startup
Summary: Segfault in QSGRenderThread immediately upon startup
Status: RESOLVED DOWNSTREAM
Alias: None
Product: kdenlive
Classification: Applications
Component: Installation (show other bugs)
Version: 17.04.3
Platform: Mint (Debian based) Linux
: NOR crash
Target Milestone: ---
Assignee: Vincent PINON
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-23 14:23 UTC by The Lightning Stalker
Modified: 2017-08-24 21:47 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description The Lightning Stalker 2017-08-23 14:23:17 UTC
Mint 18.2 (Xenial), kdenlive 17.04.3 package from ppa

Thread 10 "QSGRenderThread" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffa6a60700 (LWP 9972)]
0x0000010900000186 in ?? ()
(gdb) thread apply all bt

Thread 13 (Thread 0x7fff817f0700 (LWP 9975)):
#0  0x00007ffff19de7d1 in __GI_ppoll (fds=0x7fff9c009a90, nfds=3, 
    timeout=<optimized out>, sigmask=0x0)
    at ../sysdeps/unix/sysv/linux/ppoll.c:50
#1  0x00007fffecb0bebd in pa_mainloop_poll ()
   from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#2  0x00007fffecb0c4ae in pa_mainloop_iterate ()
   from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#3  0x00007fffd37fafeb in ?? () from /usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0
#4  0x00007fffd37cd920 in ?? () from /usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0
#5  0x00007fffd37d70b8 in ?? () from /usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0
#6  0x00007fffd3816f59 in ?? () from /usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0
#7  0x00007ffff030b6ba in start_thread (arg=0x7fff817f0700)
    at pthread_create.c:333
#8  0x00007ffff19ea3dd in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 12 (Thread 0x7fffa57cd700 (LWP 9974)):
#0  pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ffff6fe612b in ?? () from /usr/lib/x86_64-linux-gnu/libmlt.so.6
#2  0x0000000000742efd in ?? ()
---Type <return> to continue, or q <return> to quit---
#3  0x00007ffff23dd7be in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff030b6ba in start_thread (arg=0x7fffa57cd700)
    at pthread_create.c:333
#5  0x00007ffff19ea3dd in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 11 (Thread 0x7fffa5fce700 (LWP 9973)):
#0  0x00007ffff19de70d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fffee6f038c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fffee6f049c in g_main_context_iteration ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff26147eb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff25bbb4a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff23d8834 in QThread::exec() ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007ffff23dd7be in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007ffff030b6ba in start_thread (arg=0x7fffa5fce700)
    at pthread_create.c:333
#8  0x00007ffff19ea3dd in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

---Type <return> to continue, or q <return> to quit---
Thread 10 (Thread 0x7fffa6a60700 (LWP 9972)):
#0  0x0000010900000186 in ?? ()
#1  0x0000000000746d45 in ?? ()
#2  0x00007ffff25ecbaf in QMetaObject::activate(QObject*, int, int, void**) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007ffff6958f3e in QQuickWindowPrivate::renderSceneGraph(QSize const&)
    () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#4  0x00007ffff692cac8 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#5  0x00007ffff693218c in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#6  0x00007ffff23dd7be in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007ffff030b6ba in start_thread (arg=0x7fffa6a60700)
    at pthread_create.c:333
#8  0x00007ffff19ea3dd in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 9 (Thread 0x7fffa3665700 (LWP 9971)):
#0  clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:81
#1  0x00007ffff030a14a in create_thread (pd=pd@entry=0x7fff817f0700, 
    attr=attr@entry=0x7fffa3664bd0, stopped_start=<optimized out>, 
    stopped_start@entry=false, stackaddr=<optimized out>, 
    thread_ran=0x7fffa3664b4f) at ../sysdeps/unix/sysv/linux/createthread.c:102
#2  0x00007ffff030be84 in __pthread_create_2_1 (newthread=<optimized out>, 
    attr=<optimized out>, start_routine=<optimized out>, arg=<optimized out>)
---Type <return> to continue, or q <return> to quit---
    at pthread_create.c:679
#3  0x00007fffd3816faa in ?? () from /usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0
#4  0x00007fffd37d718d in SDL_CreateThread ()
   from /usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0
#5  0x00007fffd37cdcef in SDL_OpenAudio ()
   from /usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0
#6  0x00007fffd3a61121 in ?? () from /usr/lib/x86_64-linux-gnu/mlt/libmltsdl.so
#7  0x00007ffff030b6ba in start_thread (arg=0x7fffa3665700)
    at pthread_create.c:333
#8  0x00007ffff19ea3dd in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7fffb9d7f700 (LWP 9969)):
#0  0x00007ffff19de70d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fffee6f038c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fffee6f049c in g_main_context_iteration ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff26147cf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff25bbb4a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff23d8834 in QThread::exec() ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
---Type <return> to continue, or q <return> to quit---
#6  0x00007ffff31433c5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007ffff23dd7be in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007ffff030b6ba in start_thread (arg=0x7fffb9d7f700)
    at pthread_create.c:333
#9  0x00007ffff19ea3dd in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7fffba6ea700 (LWP 9968)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 ()
    at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
#1  0x00007ffff23de996 in QWaitCondition::wait(QMutex*, unsigned long) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007ffff23da463 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007ffff23dd7be in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff030b6ba in start_thread (arg=0x7fffba6ea700)
    at pthread_create.c:333
#5  0x00007ffff19ea3dd in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7fffbba16700 (LWP 9967)):
#0  0x00007ffff19de70d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fffee6f038c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fffee6f049c in g_main_context_iteration ()
---Type <return> to continue, or q <return> to quit---
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff26147cf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff25bbb4a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff23d8834 in QThread::exec() ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007ffff31433c5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007ffff23dd7be in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007ffff030b6ba in start_thread (arg=0x7fffbba16700)
    at pthread_create.c:333
#9  0x00007ffff19ea3dd in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7fffc0e7e700 (LWP 9966)):
#0  0x00007ffff19de70d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fffee6f038c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fffee6f0712 in g_main_loop_run ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fffdb8529d6 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007fffee716bb5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ffff030b6ba in start_thread (arg=0x7fffc0e7e700)
    at pthread_create.c:333
---Type <return> to continue, or q <return> to quit---
#6  0x00007ffff19ea3dd in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7fffc167f700 (LWP 9965)):
#0  0x00007ffff19de70d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fffee6f038c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fffee6f049c in g_main_context_iteration ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fffee6f04d9 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fffee716bb5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ffff030b6ba in start_thread (arg=0x7fffc167f700)
    at pthread_create.c:333
#6  0x00007ffff19ea3dd in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fffe4a6f700 (LWP 9964)):
#0  0x00007ffff19de70d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fffec6cac62 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fffec6cc8d7 in xcb_wait_for_event ()
   from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fffe76054a9 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007ffff23dd7be in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
---Type <return> to continue, or q <return> to quit---
#5  0x00007ffff030b6ba in start_thread (arg=0x7fffe4a6f700)
    at pthread_create.c:333
#6  0x00007ffff19ea3dd in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fffe79bb8c0 (LWP 9960)):
#0  pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ffff23dea5b in QWaitCondition::wait(QMutex*, unsigned long) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007ffff692ecc6 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#3  0x00007ffff693119c in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#4  0x00007ffff6931833 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#5  0x00007ffff29033d5 in QWindow::event(QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#6  0x00007ffff6964891 in QQuickWindow::event(QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007ffff3b2d05c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
    () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#8  0x00007ffff3b32516 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#9  0x00007ffff25be38b in QCoreApplication::notifyInternal(QObject*, QEvent*)
    () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
---Type <return> to continue, or q <return> to quit---
#10 0x00007ffff28fb5dc in QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#11 0x00007ffff28fc34d in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#12 0x00007ffff28e0028 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#13 0x00007fffe7636d90 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#14 0x00007fffee6f0197 in g_main_context_dispatch ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#15 0x00007fffee6f03f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#16 0x00007fffee6f049c in g_main_context_iteration ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x00007ffff26147cf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007ffff25bbb4a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007ffff25c3bec in QCoreApplication::exec() ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x000000000048feb5 in ?? ()
---Type <return> to continue, or q <return> to quit---
#21 0x00007ffff1903830 in __libc_start_main (main=0x48eeb0, argc=1, 
    argv=0x7fffffffe0f8, init=<optimized out>, fini=<optimized out>, 
    rtld_fini=<optimized out>, stack_end=0x7fffffffe0e8)
    at ../csu/libc-start.c:291
#22 0x0000000000490689 in _start ()
Comment 1 Christoph Feck 2017-08-24 07:08:18 UTC
Please ask for help in a forum of your distribution with correct OpenGL driver installation.
Comment 2 The Lightning Stalker 2017-08-24 19:06:59 UTC
(In reply to Christoph Feck from comment #1)
> Please ask for help in a forum of your distribution with correct OpenGL
> driver installation.

A more recent version of the nvidia driver is installed.  There is an even newer one I will try updating and see if it works.
Comment 3 The Lightning Stalker 2017-08-24 21:47:39 UTC
(In reply to Christoph Feck from comment #1)
> Please ask for help in a forum of your distribution with correct OpenGL
> driver installation.

Ok so I got it working.  I had to purge all my libqt* and did a post-autoremove just for good measure, which also happened to remove kdenlive itself, then reinstalled kdenlive.  I suspect it may have had something to do with qt4 and 5 not playing nice with one another.  The OpenGL driver is part of the NVIDIA packages, so it most likely had nothing to do with that.