Bug 16097 - Qt Creator QML designer segmentation fault
Summary: Qt Creator QML designer segmentation fault
Status: RESOLVED OLD
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 5
Hardware: x86_64 Linux
Priority: Normal major
Target Milestone: ---
Assignee: KDE maintainers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-09 00:02 CEST by PC LX
Modified: 2018-04-06 10:59 CEST (History)
1 user (show)

See Also:
Source RPM: qt-creator-3.3.0-2.mga5.src.rpm
CVE:
Status comment:


Attachments
video qt-creator-segmentation-fault.mkv (part 1/4) (1000.00 KB, application/octet-stream)
2015-06-09 00:21 CEST, PC LX
Details
video qt-creator-segmentation-fault.mkv (part 2/4) (1000.00 KB, application/octet-stream)
2015-06-09 00:21 CEST, PC LX
Details
video qt-creator-segmentation-fault.mkv (part 3/4) (1000.00 KB, application/octet-stream)
2015-06-09 00:22 CEST, PC LX
Details
video qt-creator-segmentation-fault.mkv (part 4/4) (188.39 KB, application/octet-stream)
2015-06-09 00:22 CEST, PC LX
Details
output of qtcreator when running on gdb. (436.58 KB, text/plain)
2016-01-19 23:56 CET, PC LX
Details
output of qtcreator when running on gdb, with nouveau, Mageia 5 version. (79.40 KB, image/png)
2016-01-21 01:49 CET, PC LX
Details
output of qtcreator when running on gdb, with nouveau, upstream version. (116.71 KB, image/png)
2016-01-21 01:50 CET, PC LX
Details
output of qtcreator when running on gdb, with nouveau, Mageia 5 version. (582.61 KB, text/plain)
2016-01-21 01:51 CET, PC LX
Details
output of qtcreator when running on gdb, with nouveau, upstream version. (5.22 KB, text/plain)
2016-01-21 01:52 CET, PC LX
Details

Description PC LX 2015-06-09 00:02:12 CEST
Description of problem:

Qt Creator aborts with a segmentation fault when the QML UI designer is run.

I have also installed and tested Qt Creator from http://www.qt.io/download-open-source/ and this upstream version does not show this issue so I decided to make a bug report in Mageia bugtracker instead of Qt's bug tracker at https://bugreports.qt.io/.


Version-Release number of selected component (if applicable):

$ rpm -q qt-creator lib64qt5core5
qt-creator-3.3.0-2.mga5
lib64qt5core5-5.4.0-7.mga5


How reproducible:

Always.


Steps to Reproduce (please see attached video):
1. Run Qt Creator.
2. Create a "New Project" from template "Qt Quick Application"
3. Open file "MainForm.ui.qml". The designer will start but before the file is loaded Qt Creator will abort with a segmentation fault.


GDB backtrace:
Program received signal SIGSEGV, Segmentation fault.
#0  0x000000004009da94 in  ()
#1  0x00007ffff126e140 in  () at /usr/lib64/nvidia340/libnvidia-glcore.so.340.76
#2  0x00007ffff0ee23a8 in  () at /usr/lib64/nvidia340/libnvidia-glcore.so.340.76
#3  0x00007ffff60b7020 in QOpenGLTextureBlitterPrivate::blit(unsigned int, QMatrix4x4 const&, QOpenGLTextureBlitter::Origin) (count=6, first=0, mode=4, this=<optimized out>) at ../../src/gui/opengl/qopenglfunctions.h:715
#4  0x00007ffff60b7020 in QOpenGLTextureBlitterPrivate::blit(unsigned int, QMatrix4x4 const&, QOpenGLTextureBlitter::Origin) (this=0x33b6850, texture=1, vertexTransform=..., origin=origin@entry=QOpenGLTextureBlitter::OriginBottomLeft) at opengl/qopengltextureblitter.cpp:223
#5  0x00007ffff60b77a8 in QOpenGLTextureBlitter::blit(unsigned int, QMatrix4x4 const&, QOpenGLTextureBlitter::Origin) (this=<optimized out>, texture=<optimized out>, targetTransform=..., sourceOrigin=sourceOrigin@entry=QOpenGLTextureBlitter::OriginBottomLeft)
    at opengl/qopengltextureblitter.cpp:353
#6  0x00007ffff6022df9 in QPlatformBackingStore::composeAndFlush(QWindow*, QRegion const&, QPoint const&, QPlatformTextureList*, QOpenGLContext*, bool) (this=this@entry=0x1c4cba0, window=window@entry=0x3081290, region=..., offset=..., textures=0x46fd190, context=
    0x4712690, translucentBackground=false) at painting/qplatformbackingstore.cpp:251
#7  0x00007fffe822dde7 in QXcbBackingStore::composeAndFlush(QWindow*, QRegion const&, QPoint const&, QPlatformTextureList*, QOpenGLContext*, bool) (this=0x1c4cba0, window=0x3081290, region=..., offset=..., textures=<optimized out>, context=<optimized out>, translucentBackground=false) at qxcbbackingstore.cpp:340
#8  0x00007ffff7686dfc in QWidgetBackingStore::qt_flush(QWidget*, QRegion const&, QBackingStore*, QWidget*, QPoint const&, QPlatformTextureList*, QWidgetBackingStore*) (widget=0x2edfd80, region=..., backingStore=<optimized out>, tlw=<optimized out>, tlwOffset=..., widgetTextures=0x46fd190, widgetBackingStore=0x1c4ccd0) at kernel/qwidgetbackingstore.cpp:114
#9  0x00007ffff7689e8d in QWidgetBackingStore::sync(QWidget*, QRegion const&) (this=0x0, exposedWidget=0x0, exposedRegion=...)
    at kernel/qwidgetbackingstore.cpp:950
#10 0x00007ffff76d5f0b in QWidgetWindow::event(QEvent*) (this=0x3081290, event=0x7fffffffd240) at kernel/qwidgetwindow.cpp:218
#11 0x00007ffff767c5ec in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=0x65f5d0, receiver=0x3081290, e=0x7fffffffd240)
    at kernel/qapplication.cpp:3722
#12 0x00007ffff7681880 in QApplication::notify(QObject*, QEvent*) (this=0x7fffffffdb40, receiver=0x3081290, e=0x7fffffffd240)
    at kernel/qapplication.cpp:3505
#13 0x00007ffff72dff9b in QCoreApplication::notifyInternal(QObject*, QEvent*) (this=0x7fffffffdb40, receiver=0x3081290, event=0x7fffffffd240) at kernel/qcoreapplication.cpp:932
#14 0x00007ffff5d86ace in QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*) (event=<optimized out>, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:231
#15 0x00007ffff5d86ace in QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*) (e=0x0)
    at kernel/qguiapplication.cpp:2632
#16 0x00007ffff5d8769d in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) (e=e@entry=0x4712d00) at kernel/qguiapplication.cpp:1660
#17 0x00007ffff5d6e12f in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) (flags=...)
    at kernel/qwindowsysteminterface.cpp:572
#18 0x00007fffe823eb10 in userEventSourceDispatch(GSource*, GSourceFunc, gpointer) (source=<optimized out>)
    at eventdispatchers/qeventdispatcher_glib.cpp:70
#19 0x00007ffff5787c6d in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#20 0x00007ffff5787f18 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#21 0x00007ffff5787fbc in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#22 0x00007ffff73347b7 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x69ffb0, flags=...)
    at kernel/qeventdispatcher_glib.cpp:418
#23 0x00007ffff72dd97a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fffffffd4f0, flags=..., 
    flags@entry=...) at kernel/qeventloop.cpp:204
#24 0x00007ffff72e5101 in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1185
#25 0x00007ffff5d7e02c in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1532
#26 0x00007ffff7678925 in QApplication::exec() () at kernel/qapplication.cpp:2956
#27 0x0000000000409c50 in main(int, char**) (argc=1, argv=<optimized out>) at main.cpp:517


Reproducible: 

Steps to Reproduce:
Comment 1 PC LX 2015-06-09 00:21:10 CEST
Created attachment 6716 [details]
video qt-creator-segmentation-fault.mkv (part 1/4)

The video file is 3.2M so I split the file in 1000K parts and attached the parts to the report. To view the video first download all parts and cat them together in the correct order (a,b,c,d).
Comment 2 PC LX 2015-06-09 00:21:52 CEST
Created attachment 6717 [details]
video qt-creator-segmentation-fault.mkv (part 2/4)
Comment 3 PC LX 2015-06-09 00:22:12 CEST
Created attachment 6718 [details]
video qt-creator-segmentation-fault.mkv (part 3/4)
Comment 4 PC LX 2015-06-09 00:22:33 CEST
Created attachment 6719 [details]
video qt-creator-segmentation-fault.mkv (part 4/4)
Comment 5 Samuel Verschelde 2015-06-09 10:12:33 CEST
Assigning to maintainer.

CC: (none) => lmenut
Assignee: bugsquad => mageia
Whiteboard: (none) => MGA5TOO

Comment 6 Nicolas Lécureuil 2015-11-15 01:40:44 CET
is it still valid on cauldron ?
Comment 7 PC LX 2015-12-03 13:31:31 CET
Don't know if this bug is still valid in cauldron. I'm currently unable to run QtCreator. See below. I was waiting for some more updates to see if that would solve this issue. Should I create a separate bug report for this?

$ qtcreator             
Cannot mix incompatible Qt library (version 0x50400) with this library (version 0x50501)
Abortado
$ ldd $(which qtcreator)
        linux-vdso.so.1 (0x00007ffe3ecb5000)
        libExtensionSystem.so.1 => /usr/bin/../lib64/qtcreator/libExtensionSystem.so.1 (0x00007f8f66ce5000)
        libUtils.so.1 => /usr/bin/../lib64/qtcreator/libUtils.so.1 (0x00007f8f6694b000)
        libQt5Widgets.so.5 => /lib64/libQt5Widgets.so.5 (0x00007f8f662e1000)
        libQt5Network.so.5 => /lib64/libQt5Network.so.5 (0x00007f8f66fd2000)
        libQt5Core.so.5 => /lib64/libQt5Core.so.5 (0x00007f8f65e21000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f8f65c04000)
        libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007f8f65887000)
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f8f65670000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f8f652bd000)
        libQt5Gui.so.5 => /usr/bin/../lib64/qtcreator/../libQt5Gui.so.5 (0x00007f8f64d46000)
        libQt5Concurrent.so.5 => /usr/bin/../lib64/qtcreator/../libQt5Concurrent.so.5 (0x00007f8f66fc8000)
        libm.so.6 => /usr/bin/../lib64/qtcreator/../libm.so.6 (0x00007f8f64a46000)
        libgobject-2.0.so.0 => /lib64/libgobject-2.0.so.0 (0x00007f8f647f3000)
        libglib-2.0.so.0 => /lib64/libglib-2.0.so.0 (0x00007f8f644e4000)
        libX11.so.6 => /lib64/libX11.so.6 (0x00007f8f641a7000)
        libz.so.1 => /lib64/libz.so.1 (0x00007f8f63f8d000)
        libssl.so.1.0.0 => /lib64/libssl.so.1.0.0 (0x00007f8f63d10000)
        libcrypto.so.1.0.0 => /lib64/libcrypto.so.1.0.0 (0x00007f8f63892000)
        libicui18n.so.55 => /lib64/libicui18n.so.55 (0x00007f8f6343d000)
        libicuuc.so.55 => /lib64/libicuuc.so.55 (0x00007f8f630b0000)
        libpcre16.so.0 => /lib64/libpcre16.so.0 (0x00007f8f62e4a000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007f8f62c46000)
        librt.so.1 => /lib64/librt.so.1 (0x00007f8f62a3e000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f8f66f28000)
        libpng16.so.16 => /lib64/libpng16.so.16 (0x00007f8f627ee000)
        libGL.so.1 => /usr/lib64/nvidia340/libGL.so.1 (0x00007f8f624a2000)
        libffi.so.6 => /lib64/libffi.so.6 (0x00007f8f62299000)
        libpcre.so.1 => /lib64/libpcre.so.1 (0x00007f8f62029000)
        libxcb.so.1 => /lib64/libxcb.so.1 (0x00007f8f61e09000)
        libicudata.so.55 => /lib64/libicudata.so.55 (0x00007f8f61c08000)
        libnvidia-tls.so.340.96 => /usr/lib64/nvidia340/tls/libnvidia-tls.so.340.96 (0x00007f8f61a05000)
        libnvidia-glcore.so.340.96 => /usr/lib64/nvidia340/libnvidia-glcore.so.340.96 (0x00007f8f5edf1000)
        libXext.so.6 => /lib64/libXext.so.6 (0x00007f8f5ebdf000)
        libXau.so.6 => /lib64/libXau.so.6 (0x00007f8f5e9db000)
        libXdmcp.so.6 => /lib64/libXdmcp.so.6 (0x00007f8f5e7d5000)
$ rpm -qa | grep -i -e 'qtcreator\|lib64qt'
lib64qt5sql-devel-5.5.1-6.mga6
lib64qt5egldeviceintegration-devel-5.5.1-6.mga6
lib64qtsvg4-4.8.7-8.mga6
lib64qt5webkitwidgets5-5.5.1-3.mga6
lib64qtnetwork4-4.8.7-8.mga6
lib64qt5widgets-devel-5.5.1-6.mga6
lib64qt5opengl-devel-5.5.1-6.mga6
lib64qtwebkit2.2_4-2.3.4-5.mga6
lib64qt5multimediawidgets5-5.5.1-3.mga6
lib64qtwebchannel5-5.5.1-2.mga6
lib64qttest4-4.8.7-8.mga6
lib64qt5core-devel-5.5.1-6.mga6
lib64qt5nfc5-5.5.1-2.mga6
lib64qtmultimedia4-4.8.7-8.mga6
lib64qt5network5-5.5.1-6.mga6
lib64qtmultimediaquick_p5-5.5.1-3.mga6
lib64qt5sql5-5.5.1-6.mga6
lib64qtdbus4-4.8.7-8.mga6
lib64qthelp5-5.5.1-2.mga6
lib64qtgstreamer1.0_0-1.2.0-3.mga6
lib64qt5quickwidgets5-5.5.1-2.mga6
lib64qt5network-devel-5.5.1-6.mga6
lib64qtsql4-4.8.7-8.mga6
lib64qt5test5-5.5.1-6.mga6
lib64qt5printsupport5-5.5.1-6.mga6
lib64qt5xcbqpa-devel-5.5.1-6.mga6
lib64qt5webkit5-5.5.1-3.mga6
lib64qt5declarative5-5.5.1-2.mga6
lib64qt5dbus-devel-5.5.1-6.mga6
lib64qtcore4-4.8.7-8.mga6
lib64qtopengl4-4.8.7-8.mga6
lib64qtsensors1-1.2.0-13.mga5
lib64qtdesigner4-4.8.7-8.mga6
lib64qt5egldeviceintegration5-5.5.1-6.mga6
lib64qt5qml-devel-5.5.1-2.mga6
lib64qt5bootstrap-devel-5.5.1-6.mga6
lib64qtdesigner5-5.5.1-2.mga6
lib64qt3support4-4.8.7-8.mga6
lib64qtclucene4-4.8.7-8.mga6
lib64qt5qml5-5.5.1-2.mga6
lib64qtdeclarative4-4.8.7-8.mga6
lib64qt5bluetooth5-5.5.1-2.mga6
lib64qtscript5-5.5.1-2.mga6
lib64qtclucene5-5.5.1-2.mga6
lib64qtscript4-4.8.7-8.mga6
lib64qt5gui5-5.5.1-6.mga6
lib64qt5xml-devel-5.5.1-6.mga6
lib64qt5quick-devel-5.5.1-2.mga6
lib64qt5quickparticles5-5.5.1-2.mga6
lib64qt5positioning5-5.5.1-2.mga6
lib64qt5serialport5-5.5.1-3.mga6
lib64qtglib2.0_0-1.2.0-3.mga6
lib64qthelp4-4.8.7-8.mga6
lib64qt5quick5-5.5.1-2.mga6
lib64qtsvg5-5.5.1-2.mga6
lib64qtx11extras5-5.5.1-2.mga6
lib64qt5test-devel-5.5.1-6.mga6
lib64qt5concurrent-devel-5.5.1-6.mga6
lib64qtgui4-4.8.7-8.mga6
lib64qtgstreamerutils1.0_0-1.2.0-3.mga6
lib64qt5dbus5-5.5.1-6.mga6
lib64qt5multimedia5-5.5.1-3.mga6
lib64qt5widgets5-5.5.1-6.mga6
lib64qt5concurrent5-5.5.1-6.mga6
lib64qt5xml5-5.5.1-6.mga6
lib64qtxmlpatterns5-5.5.1-2.mga6
lib64qtwebsockets5-5.5.1-2.mga6
lib64qtlocation1-1.2.0-13.mga5
lib64qt5core5-5.5.1-6.mga6
lib64qt5opengl5-5.5.1-6.mga6
lib64qtxml4-4.8.7-8.mga6
lib64qt5gui-devel-5.5.1-6.mga6
lib64qt5printsupport-devel-5.5.1-6.mga6
lib64qt5base5-devel-5.5.1-6.mga6
lib64qt5quicktest5-5.5.1-2.mga6
lib64qtxmlpatterns4-4.8.7-8.mga6
lib64qt5location5-5.5.1-2.mga6
lib64qt5xcbqpa5-5.5.1-6.mga6
Comment 8 PC LX 2016-01-19 13:36:56 CET
After the last update I was able to run QtCreator in cauldron and test for this issue. In cauldron, QtCreator does not show this issue.

The issue is still present in Mageia 5 but since I have worked around this issue by installing the upstream version, from my part, this issue can be closed as WONTFIX (or FIXED in Mageia 6).
Comment 9 Rémi Verschelde 2016-01-19 13:57:16 CET
Thanks, setting it as a Mageia 5 bug then. It would nice to fix it there as a segfaulting app is never a good thing on a stable distro :)

There is actually a soon-to-be-pushed update to qt-creator 3.4.2 for Mageia 5 in bug 17346. It would be nice if you or someone else could confirm that it fixes the segfaults.

Version: Cauldron => 5
Whiteboard: MGA5TOO => (none)

Comment 10 PC LX 2016-01-19 23:53:42 CET
After updating to Qt 5.4.2 and qt-creator 3.4.2, qtcreator still segment faults.

$ ldd $(which qtcreator)
        linux-vdso.so.1 (0x00007fff8f3aa000)
        libExtensionSystem.so.1 => /usr/bin/../lib64/qtcreator/libExtensionSystem.so.1 (0x00007facaed66000)
        libUtils.so.1 => /usr/bin/../lib64/qtcreator/libUtils.so.1 (0x00007facae9df000)
        libQt5Widgets.so.5 => /lib64/libQt5Widgets.so.5 (0x00007facae35f000)
        libQt5Network.so.5 => /lib64/libQt5Network.so.5 (0x00007facaf050000)
        libQt5Core.so.5 => /lib64/libQt5Core.so.5 (0x00007facade9f000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007facadc83000)
        libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007facad977000)
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007facad760000)
        libc.so.6 => /lib64/libc.so.6 (0x00007facad3ad000)
        libQt5Gui.so.5 => /usr/bin/../lib64/qtcreator/../libQt5Gui.so.5 (0x00007facace35000)
        libQt5X11Extras.so.5 => /usr/bin/../lib64/qtcreator/../libQt5X11Extras.so.5 (0x00007facaf048000)
        libQt5Script.so.5 => /usr/bin/../lib64/qtcreator/../libQt5Script.so.5 (0x00007facacba3000)
        libX11.so.6 => /usr/bin/../lib64/qtcreator/../libX11.so.6 (0x00007facac863000)
        libm.so.6 => /usr/bin/../lib64/qtcreator/../libm.so.6 (0x00007facac55d000)
        libgobject-2.0.so.0 => /lib64/libgobject-2.0.so.0 (0x00007facac30c000)
        libglib-2.0.so.0 => /lib64/libglib-2.0.so.0 (0x00007facabfff000)
        libz.so.1 => /lib64/libz.so.1 (0x00007facabde4000)
        libssl.so.1.0.0 => /lib64/libssl.so.1.0.0 (0x00007facabb66000)
        libcrypto.so.1.0.0 => /lib64/libcrypto.so.1.0.0 (0x00007facab6e3000)
        libicui18n.so.53 => /lib64/libicui18n.so.53 (0x00007facab2b4000)
        libicuuc.so.53 => /lib64/libicuuc.so.53 (0x00007facaaf3b000)
        libpcre16.so.0 => /lib64/libpcre16.so.0 (0x00007facaacd6000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007facaaad2000)
        librt.so.1 => /lib64/librt.so.1 (0x00007facaa8ca000)
        /lib64/ld-linux-x86-64.so.2 (0x00007facaefa5000)
        libpng16.so.16 => /lib64/libpng16.so.16 (0x00007facaa66f000)
        libGL.so.1 => /usr/lib64/nvidia340/libGL.so.1 (0x00007facaa323000)
        libxcb.so.1 => /lib64/libxcb.so.1 (0x00007facaa103000)
        libffi.so.6 => /lib64/libffi.so.6 (0x00007faca9efb000)
        libpcre.so.1 => /lib64/libpcre.so.1 (0x00007faca9c8b000)
        libicudata.so.53 => /lib64/libicudata.so.53 (0x00007faca9a8a000)
        libnvidia-tls.so.340.93 => /usr/lib64/nvidia340/tls/libnvidia-tls.so.340.93 (0x00007faca9887000)
        libnvidia-glcore.so.340.93 => /usr/lib64/nvidia340/libnvidia-glcore.so.340.93 (0x00007faca6c73000)
        libXext.so.6 => /lib64/libXext.so.6 (0x00007faca6a61000)
        libXau.so.6 => /lib64/libXau.so.6 (0x00007faca685d000)
        libXdmcp.so.6 => /lib64/libXdmcp.so.6 (0x00007faca6657000)


Program received signal SIGSEGV, Segmentation fault.
0x000000004009da94 in ?? ()
(gdb) bt
#0  0x000000004009da94 in  ()
#1  0x00007ffff12412c0 in  () at /usr/lib64/nvidia340/libnvidia-glcore.so.340.93
#2  0x00007ffff0eb5378 in  () at /usr/lib64/nvidia340/libnvidia-glcore.so.340.93
#3  0x00007ffff6088830 in QOpenGLTextureBlitterPrivate::blit(unsigned int, QMatrix4x4 const&, QOpenGLTextureBlitter::Origin) ()
    at /usr/bin/../lib64/qtcreator/../libQt5Gui.so.5
#4  0x00007ffff5ff3fba in QPlatformBackingStore::composeAndFlush(QWindow*, QRegion const&, QPoint const&, QPlatformTextureList*, QOpenGLContext*, bool) () at /usr/bin/../lib64/qtcreator/../libQt5Gui.so.5
#5  0x00007fffe8200e37 in QXcbBackingStore::composeAndFlush(QWindow*, QRegion const&, QPoint const&, QPlatformTextureList*, QOpenGLContext*, bool) () at /usr/lib64/qt5/plugins/platforms/libqxcb.so
#6  0x00007ffff72fc63c in QWidgetBackingStore::qt_flush(QWidget*, QRegion const&, QBackingStore*, QWidget*, QPoint const&, QPlatformTextureList*, QWidgetBackingStore*) () at /lib64/libQt5Widgets.so.5
#7  0x00007ffff72ff6fd in QWidgetBackingStore::sync(QWidget*, QRegion const&) () at /lib64/libQt5Widgets.so.5
#8  0x00007ffff734b97b in QWidgetWindow::event(QEvent*) () at /lib64/libQt5Widgets.so.5
#9  0x00007ffff72f1dec in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#10 0x00007ffff72f6ee0 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#11 0x00007ffff6f544ab in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#12 0x00007ffff5d56eae in QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*) ()
    at /usr/bin/../lib64/qtcreator/../libQt5Gui.so.5
#13 0x00007ffff5d57b2d in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) ()
    at /usr/bin/../lib64/qtcreator/../libQt5Gui.so.5
#14 0x00007ffff5d3e43f in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
    at /usr/bin/../lib64/qtcreator/../libQt5Gui.so.5
#15 0x00007fffe8211eb0 in userEventSourceDispatch(_GSource*, int (*)(void*), void*) () at /usr/lib64/qt5/plugins/platforms/libqxcb.so
#16 0x00007ffff4e7fc6d in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#17 0x00007ffff4e7ff18 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#18 0x00007ffff4e7ffbc in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#19 0x00007ffff6fa8d27 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#20 0x00007ffff6f51e8a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#21 0x00007ffff6f59611 in QCoreApplication::exec() () at /lib64/libQt5Core.so.5
#22 0x0000000000409a8f in main ()
Comment 11 PC LX 2016-01-19 23:56:59 CET
Created attachment 7362 [details]
output of qtcreator when running on gdb.

qtcreator is very verbose as can be seen in the attached file.
Maybe the output contains some clues to the cause of the crashes.
Comment 12 David Walser 2016-01-20 01:21:58 CET
Do you get this segfault with the nouveau driver in Mageia 5, or only the nvidia340 one?  What about a computer with a different graphics card?
Comment 13 PC LX 2016-01-21 01:49:06 CET
With the nouveau driver in Mageia 5, qtcreator does NOT crash but it does not work correctly either. Please see the attached screen shots for a comparison between the Mageia 5 qtcreator version and upstream qtcreator version.

The upstream version displays and works correctly. The Mageia 5 version does not display and does not work correctly.

I've also attached the qtcreator output for both Mageia 5 and upstream versions. It may contain some clues to the cause of the problem.
Comment 14 PC LX 2016-01-21 01:49:55 CET
Created attachment 7367 [details]
output of qtcreator when running on gdb, with nouveau, Mageia 5 version.
Comment 15 PC LX 2016-01-21 01:50:56 CET
Created attachment 7368 [details]
output of qtcreator when running on gdb, with nouveau, upstream version.

This is how qtcreator should look.
Comment 16 PC LX 2016-01-21 01:51:29 CET
Created attachment 7369 [details]
output of qtcreator when running on gdb, with nouveau, Mageia 5 version.
Comment 17 PC LX 2016-01-21 01:52:06 CET
Created attachment 7370 [details]
output of qtcreator when running on gdb, with nouveau, upstream version.
Comment 18 PC LX 2016-01-21 01:54:46 CET
Oops, just noticed I labelled the screen shots incorrectly. The ones with mime type "image/png" are, unsurprisingly, the screen shots.
Comment 19 David Walser 2016-02-11 22:40:44 CET
At this point, there are different issues here that will confuse people looking at this bug report.  I recommend closing this bug and filing two new ones.  One on the *nvidia drivers* for the crash, and the other on qt-creator that describes in specific detail what differences vs. upstream seem incorrect.
Comment 20 PC LX 2016-02-12 11:47:03 CET
It may be two different issues or it may be two symptoms of the same issue. I'm inclined to suspect the later. Anyway, I can divide this bug report in to two others, if that is useful.
Samuel Verschelde 2016-08-25 16:24:43 CEST

Assignee: mageia => kde

Luc Menut 2016-08-25 16:42:37 CEST

CC: lmenut => (none)

Comment 21 Nicolas Lécureuil 2016-09-18 17:03:09 CEST
is this bug still valid for you ?

CC: (none) => mageia

Comment 22 PC LX 2016-09-19 01:00:46 CEST
Yes, it is still valid on a fully up-to-date Mageia 5.
The upstream version continues to work correctly.
Comment 23 PC LX 2018-04-06 10:59:39 CEST
Closing this issues since Mageia 5 is EOL and it is not present in Mageia 6.

Resolution: (none) => OLD
Status: NEW => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.