Author Topic: Assertion in nouveau_pushbuf_data  (Read 865 times)

Offline kkretzsch

  • PTeam Member
  • PixInsight Addict
  • ***
  • Posts: 217
Assertion in nouveau_pushbuf_data
« on: 2018 May 19 10:33:51 »
Hi Juan,
after starting the docuemnt browser I often run into an assertion as shown below. Seems to be an problem between the qt5 webengine  and the nouveau driver?

https://www.linuxquestions.org/questions/slackware-14/crashes-with-qt5-webengine-and-nouveau-fix-inside-4175582723/

Klaus


(gdb) bt
#0  0x00007f87dc4b6428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#1  0x00007f87dc4b802a in __GI_abort () at abort.c:89
#2  0x00007f87dc4aebd7 in __assert_fail_base (fmt=<optimized out>, assertion=assertion@entry=0x7f87cc698729 "kref", file=file@entry=0x7f87cc69870a "../../nouveau/pushbuf.c",
    line=line@entry=727, function=function@entry=0x7f87cc698750 "nouveau_pushbuf_data") at assert.c:92
#3  0x00007f87dc4aec82 in __GI___assert_fail (assertion=0x7f87cc698729 "kref", file=0x7f87cc69870a "../../nouveau/pushbuf.c", line=727,
    function=0x7f87cc698750 "nouveau_pushbuf_data") at assert.c:101
#4  0x00007f87cc696b04 in nouveau_pushbuf_data () from /usr/lib/x86_64-linux-gnu/libdrm_nouveau.so.2
#5  0x00007f87cc696a4b in nouveau_pushbuf_data () from /usr/lib/x86_64-linux-gnu/libdrm_nouveau.so.2
#6  0x00007f87cc696b99 in ?? () from /usr/lib/x86_64-linux-gnu/libdrm_nouveau.so.2
#7  0x00007f87cc696e3f in ?? () from /usr/lib/x86_64-linux-gnu/libdrm_nouveau.so.2
#8  0x00007f87cc697a00 in nouveau_pushbuf_kick () from /usr/lib/x86_64-linux-gnu/libdrm_nouveau.so.2
#9  0x00007f87cd067ab6 in ?? () from /usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so
#10 0x00007f87ccd481c6 in ?? () from /usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so
#11 0x00007f87cce8e782 in ?? () from /usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so
#12 0x00007f87da9c74cc in ?? () from /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1
#13 0x00007f87e90cf68a in QGLXContext::swapBuffers(QPlatformSurface*) () from /opt/PixInsight/bin/lib/qt-plugins/xcbglintegrations/libqxcb-glx-integration.so
#14 0x00007f87de12a55d in QOpenGLContext::swapBuffers(QSurface*) () from /opt/PixInsight/bin/lib/libQt5Gui.so.5
#15 0x00007f87de38fae6 in QPlatformBackingStore::composeAndFlush(QWindow*, QRegion const&, QPoint const&, QPlatformTextureList*, QOpenGLContext*, bool) ()
   from /opt/PixInsight/bin/lib/libQt5Gui.so.5
#16 0x00007f87cea3c949 in QXcbBackingStore::composeAndFlush(QWindow*, QRegion const&, QPoint const&, QPlatformTextureList*, QOpenGLContext*, bool) ()
   from /opt/PixInsight/bin/lib/libQt5XcbQpa.so.5
#17 0x00007f87de6f9fef in QWidgetBackingStore::qt_flush(QWidget*, QRegion const&, QBackingStore*, QWidget*, QPoint const&, QPlatformTextureList*, QWidgetBackingStore*) ()
   from /opt/PixInsight/bin/lib/libQt5Widgets.so.5
---Type <return> to continue, or q <return> to quit---
#18 0x00007f87de6fb548 in QWidgetBackingStore::flush(QWidget*) () from /opt/PixInsight/bin/lib/libQt5Widgets.so.5
#19 0x00007f87de6fc250 in QWidgetBackingStore::doSync() () from /opt/PixInsight/bin/lib/libQt5Widgets.so.5
#20 0x00007f87de6fd8c9 in QWidgetBackingStore::sync() () from /opt/PixInsight/bin/lib/libQt5Widgets.so.5
#21 0x00007f87de716ebf in QWidgetPrivate::syncBackingStore() () from /opt/PixInsight/bin/lib/libQt5Widgets.so.5
#22 0x00007f87de72b614 in QWidget::event(QEvent*) () from /opt/PixInsight/bin/lib/libQt5Widgets.so.5
#23 0x00007f87de818eeb in QMainWindow::event(QEvent*) () from /opt/PixInsight/bin/lib/libQt5Widgets.so.5
#24 0x00007f87de6ee23c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /opt/PixInsight/bin/lib/libQt5Widgets.so.5
#25 0x00007f87de6f4f80 in QApplication::notify(QObject*, QEvent*) () from /opt/PixInsight/bin/lib/libQt5Widgets.so.5
#26 0x00000000005f1c9f in ?? ()
#27 0x00007f87ddb00275 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /opt/PixInsight/bin/lib/libQt5Core.so.5
#28 0x00007f87ddb025c3 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /opt/PixInsight/bin/lib/libQt5Core.so.5
#29 0x00007f87ddb502d3 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /opt/PixInsight/bin/lib/libQt5Core.so.5
#30 0x00007f87e7112197 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f87e71123f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007f87e711249c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007f87ddb4fb1c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/PixInsight/bin/lib/libQt5Core.so.5
#34 0x00007f87ddafe6eb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/PixInsight/bin/lib/libQt5Core.so.5
#35 0x00007f87ddb068a4 in QCoreApplication::exec() () from /opt/PixInsight/bin/lib/libQt5Core.so.5
#36 0x0000000000463360 in ?? ()
#37 0x00007f87dc4a1830 in __libc_start_main (main=0x45fe70, argc=1, argv=0x7ffe69c546f8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>,
    stack_end=0x7ffe69c546e8) at ../csu/libc-start.c:291
#38 0x000000000048e473 in ?? ()

Offline kkretzsch

  • PTeam Member
  • PixInsight Addict
  • ***
  • Posts: 217
Re: Assertion in nouveau_pushbuf_data
« Reply #1 on: 2018 June 01 14:20:56 »
Hi,
seems that on ubunutu the nouveau driver is installed by default, even if e.g. an nvidia graphics card is installed. Installing the correct nvidia driver solves the problem.

Here an excellent wiki article about finding the correct driver (sorry in german only)

https://wiki.ubuntuusers.de/Grafikkarten/Nvidia/nvidia/


Klaus