0 Replies Latest reply on Jul 12, 2016 12:43 PM by had_rx

    Cannot start QtCreator on Ubuntu 16.04

    had_rx

      I don't know where is the bug tracker for the Linux driver so I'm posting here. I get an immediate crash when starting QtCreator after installing the proprietary amdgpu-pro drivers 16.30.3-306809. The crash occurs in /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so. Here is stacktrace:

      #0  0x0000000000000000 in  ()

      #1  0x00007fffb50b715d in  () at /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so

      #2  0x00007fffb32a7c24 in  () at /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so

      #3  0x00007fffb316a089 in  () at /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so

      #4  0x00007fffb40cb4ea in  () at /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so

      #5  0x00007fffb507d7da in  () at /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so

      #6  0x00007fffb50d0df6 in  () at /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so

      #7  0x000000000000000b in  ()

      #8  0x0000000000a628d0 in  ()

      #9  0x0000000000000001 in  ()

      #10 0x00007fffb31210c3 in  () at /usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so

      #11 0x0000000000000010 in  ()

      #12 0x00007ffff7de74aa in call_init (l=0x7fffb5760d30, argc=-16176, argc@entry=1, argv=argv@entry=0x7fffffffdf98, env=env@entry=0x7fffffffdfa8) at dl-init.c:58

      #13 0x00007ffff7de75fb in _dl_init (env=0x7fffffffdfa8, argv=0x7fffffffdf98, argc=1, l=<optimized out>) at dl-init.c:30

      #14 0x00007ffff7de75fb in _dl_init (main_map=main_map@entry=0xa628d0, argc=1, argv=0x7fffffffdf98, env=0x7fffffffdfa8) at dl-init.c:120

      #15 0x00007ffff7dec712 in dl_open_worker (a=a@entry=0x7fffffffc3a0) at dl-open.c:575

      #16 0x00007ffff7de7394 in _dl_catch_error (objname=objname@entry=0x7fffffffc390, errstring=errstring@entry=0x7fffffffc398, mallocedp=mallocedp@entry=0x7fffffffc38f, operate=operate@entry=0x7ffff7dec300 <dl_open_worker>, args=args@entry=0x7fffffffc3a0) at dl-error.c:187

      #17 0x00007ffff7debbd9 in _dl_open (file=0x7fffffffc620 "/usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so", mode=-2147483390, caller_dlopen=0x7ffff36ac439 <driOpenDriver+393>, nsid=-2, argc=<optimized out>, argv=<optimized out>, env=0x7fffffffdfa8) at dl-open.c:660

      #18 0x00007ffff3f8df09 in dlopen_doit (a=a@entry=0x7fffffffc5d0) at dlopen.c:66

      #19 0x00007ffff7de7394 in _dl_catch_error (objname=0x634130, errstring=0x634138, mallocedp=0x634128, operate=0x7ffff3f8deb0 <dlopen_doit>, args=0x7fffffffc5d0) at dl-error.c:187

      #20 0x00007ffff3f8e571 in _dlerror_run (operate=operate@entry=0x7ffff3f8deb0 <dlopen_doit>, args=args@entry=0x7fffffffc5d0) at dlerror.c:163

      #21 0x00007ffff3f8dfa1 in __dlopen (file=<optimized out>, mode=<optimized out>) at dlopen.c:87

      #22 0x00007ffff36ac439 in driOpenDriver () at /usr/bin/../lib/x86_64-linux-gnu/qtcreator/../libGL.so.1

      #23 0x00007ffff36af255 in dri2CreateScreen () at /usr/bin/../lib/x86_64-linux-gnu/qtcreator/../libGL.so.1

      #24 0x00007ffff36878a4 in __glXInitialize () at /usr/bin/../lib/x86_64-linux-gnu/qtcreator/../libGL.so.1

      #25 0x00007ffff3683697 in glXGetFBConfigs () at /usr/bin/../lib/x86_64-linux-gnu/qtcreator/../libGL.so.1

      #26 0x00007ffff3684952 in glXChooseFBConfigSGIX () at /usr/bin/../lib/x86_64-linux-gnu/qtcreator/../libGL.so.1

      #27 0x00007ffff7febe25 in qglx_findConfig(_XDisplay*, int, QSurfaceFormat const&, int) (display=display@entry=0x63fc30, screen=screen@entry=0, format=..., drawableBit=drawableBit@entry=1) at glxconvenience/qglxconvenience.cpp:143

      #28 0x00007ffff7fec06d in qglx_findVisualInfo(_XDisplay*, int, QSurfaceFormat*) (display=0x63fc30, screen=0, format=0xa93f98) at glxconvenience/qglxconvenience.cpp:192

      #29 0x00007fffeebf2f25 in QXcbWindow::create() (this=0xa93f30) at qxcbwindow.cpp:460

      #30 0x00007fffeebde001 in QXcbIntegration::createPlatformWindow(QWindow*) const (this=<optimized out>, window=0xa68bf0) at qxcbintegration.cpp:201

      #31 0x00007ffff5cc85c4 in QWindowPrivate::create(bool) (this=0xa684d0, recursive=recursive@entry=false) at kernel/qwindow.cpp:392

      #32 0x00007ffff5cc87cb in QWindow::create() (this=this@entry=0xa68bf0) at kernel/qwindow.cpp:548

      #33 0x00007ffff72fd3c0 in QWidgetPrivate::create_sys(unsigned long long, bool, bool) (this=this@entry=0x980360, window=window@entry=0, initializeWindow=initializeWindow@entry=true, destroyOldWindow=destroyOldWindow@entry=true) at kernel/qwidget.cpp:1454

      #34 0x00007ffff72fd7fb in QWidget::create(unsigned long long, bool, bool) (this=0x97ff60, window=0, initializeWindow=<optimized out>, destroyOldWindow=<optimized out>) at kernel/qwidget.cpp:1318

      #35 0x00007ffff72fde84 in QWidgetPrivate::createWinId(unsigned long long) (this=<optimized out>, winid=<optimized out>) at kernel/qwidget.cpp:2525

      #36 0x00007ffff72fde9b in QWidget::createWinId() (this=this@entry=0x97ff60) at kernel/qwidget.cpp:2544

      #37 0x00007ffff744e86f in QMenuBarPrivate::handleReparent() (this=this@entry=0xa67c50) at widgets/qmenubar.cpp:1360

      #38 0x00007ffff7453cd8 in QMenuBar::changeEvent(QEvent*) (this=0x8a2000, e=0x7fffffffd150) at widgets/qmenubar.cpp:1386

      #39 0x00007ffff7308ac7 in QWidget::event(QEvent*) (this=this@entry=0x8a2000, event=event@entry=0x7fffffffd150) at kernel/qwidget.cpp:8980

      #40 0x00007ffff7453d4b in QMenuBar::event(QEvent*) (this=0x8a2000, e=0x7fffffffd150) at widgets/qmenubar.cpp:1456

      #41 0x00007ffff72c605c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x6305e0, receiver=receiver@entry=0x8a2000, e=e@entry=0x7fffffffd150) at kernel/qapplication.cpp:3716

      #42 0x00007ffff72cb516 in QApplication::notify(QObject*, QEvent*) (this=0x7fffffffde30, receiver=0x8a2000, e=0x7fffffffd150) at kernel/qapplication.cpp:3499

      #43 0x00007ffff6f1b62b in QCoreApplication::notifyInternal(QObject*, QEvent*) (this=0x7fffffffde30, receiver=receiver@entry=0x8a2000, event=event@entry=0x7fffffffd150) at kernel/qcoreapplication.cpp:965

      #44 0x00007ffff7309e8d in QWidget::setParent(QWidget*, QFlags<Qt::WindowType>) (event=0x7fffffffd150, receiver=0x8a2000) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:224

      #45 0x00007ffff7309e8d in QWidget::setParent(QWidget*, QFlags<Qt::WindowType>) (this=this@entry=0x8a2000, parent=parent@entry=0x97ff60, f=...) at kernel/qwidget.cpp:10476

      #46 0x00007ffff730ac2c in QWidget::setParent(QWidget*) (this=this@entry=0x8a2000, parent=parent@entry=0x97ff60) at kernel/qwidget.cpp:10334

      #47 0x00007ffff72e606b in QLayout::addChildWidget(QWidget*) (this=<optimized out>, w=w@entry=0x8a2000) at kernel/qlayout.cpp:921

      #48 0x00007ffff72e60b7 in QLayout::setMenuBar(QWidget*) (this=<optimized out>, widget=0x8a2000) at kernel/qlayout.cpp:948

      #49 0x00007fffcdaee138 in  () at /usr/lib/x86_64-linux-gnu/qtcreator/plugins/libCore.so

      #50 0x00007fffcdaf45fa in  () at /usr/lib/x86_64-linux-gnu/qtcreator/plugins/libCore.so

      #51 0x00007fffcdb711a0 in  () at /usr/lib/x86_64-linux-gnu/qtcreator/plugins/libCore.so

      #52 0x00007fffcdb71d0e in  () at /usr/lib/x86_64-linux-gnu/qtcreator/plugins/libCore.so

      #53 0x00007ffff7bb8e3e in ExtensionSystem::Internal::PluginSpecPrivate::initializePlugin() () at /usr/bin/../lib/x86_64-linux-gnu/qtcreator/libExtensionSystem.so.1

      #54 0x00007ffff7bb071a in ExtensionSystem::Internal::PluginManagerPrivate::loadPlugin(ExtensionSystem::PluginSpec*, ExtensionSystem::PluginSpec::State) () at /usr/bin/../lib/x86_64-linux-gnu/qtcreator/libExtensionSystem.so.1

      #55 0x00007ffff7bb0e5b in ExtensionSystem::Internal::PluginManagerPrivate::loadPlugins() () at /usr/bin/../lib/x86_64-linux-gnu/qtcreator/libExtensionSystem.so.1

      #56 0x0000000000408b17 in  ()

      #57 0x00007ffff6137830 in __libc_start_main (main=0x4063b0, argc=1, argv=0x7fffffffdf98, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffdf88) at ../csu/libc-start.c:291

      #58 0x00000000004094e9 in  ()