Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-12181

QtCreator 3.1.0 crashes randomly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • Qt Creator 3.1.0
    • Editors
    • None

    Description

      I'm getting random crashes. There is no error message, QtCreator just exits during typing. This happens reliably after a few minutes of usage. I couldn't find a pattern yet which triggers this; it feels really random, as it can happen when switching between files or while typing in a file. It didn't happen with Qt Creator 3.0.x.

      Probably related (if not the same bug as) QTCREATORBUG-11262.

      Machine is running Ubuntu 14.04, x64, and Qt Creator 3.1.0. Maybe interesting: The machine has 12 cores/24 threads.

      I managed to get a core dump and backtraces:

      Program terminated with signal SIGSEGV, Segmentation fault.
      
      Thread 10 (Thread 0x7f4ffaaf4700 (LWP 41957)):
      #0  0x00007f5017668fbd in poll () at ../sysdeps/unix/syscall-template.S:81
      #1  0x00007f501706afe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
      #2  0x00007f501706b0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
      #3  0x00007f501834e3d3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
         from /media/disk1/work/libs/Qt/Tools/QtCreator/bin/../lib/qtcreator/libQt5Core.so.5
      #4  0x00007f50182fc4ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
         from /media/disk1/work/libs/Qt/Tools/QtCreator/bin/../lib/qtcreator/libQt5Core.so.5
      #5  0x00007f501810dfaa in QThread::exec() () from /media/disk1/work/libs/Qt/Tools/QtCreator/bin/../lib/qtcreator/libQt5Core.so.5
      #6  0x00007f5018113088 in ?? () from /media/disk1/work/libs/Qt/Tools/QtCreator/bin/../lib/qtcreator/libQt5Core.so.5
      #7  0x00007f5017e63182 in start_thread (arg=0x7f4ffaaf4700) at pthread_create.c:312
      #8  0x00007f501767630d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
      
      Thread 9 (Thread 0x7f4fa8b2e700 (LWP 42485)):
      #0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
      #1  0x00007f501811365c in QWaitCondition::wait(QMutex*, unsigned long) ()
         from /media/disk1/work/libs/Qt/Tools/QtCreator/bin/../lib/qtcreator/libQt5Core.so.5
      #2  0x00007f50181102d0 in ?? () from /media/disk1/work/libs/Qt/Tools/QtCreator/bin/../lib/qtcreator/libQt5Core.so.5
      #3  0x00007f5018113088 in ?? () from /media/disk1/work/libs/Qt/Tools/QtCreator/bin/../lib/qtcreator/libQt5Core.so.5
      #4  0x00007f5017e63182 in start_thread (arg=0x7f4fa8b2e700) at pthread_create.c:312
      #5  0x00007f501767630d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
      
      Thread 8 (Thread 0x7f4fabffd700 (LWP 42486)):
      #0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
      #1  0x00007f501811365c in QWaitCondition::wait(QMutex*, unsigned long) ()
         from /media/disk1/work/libs/Qt/Tools/QtCreator/bin/../lib/qtcreator/libQt5Core.so.5
      #2  0x00007f50181102d0 in ?? () from /media/disk1/work/libs/Qt/Tools/QtCreator/bin/../lib/qtcreator/libQt5Core.so.5
      #3  0x00007f5018113088 in ?? () from /media/disk1/work/libs/Qt/Tools/QtCreator/bin/../lib/qtcreator/libQt5Core.so.5
      #4  0x00007f5017e63182 in start_thread (arg=0x7f4fabffd700) at pthread_create.c:312
      #5  0x00007f501767630d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
      
      Thread 7 (Thread 0x7f4faab30700 (LWP 41978)):
      #0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
      #1  0x00007f501811371b in QWaitCondition::wait(QMutex*, unsigned long) ()
         from /media/disk1/work/libs/Qt/Tools/QtCreator/bin/../lib/qtcreator/libQt5Core.so.5
      #2  0x00007f5004544be1 in ?? () from /media/disk1/work/libs/Qt/Tools/QtCreator/lib/qtcreator/plugins/QtProject/../../libQt5Quick.so.5
      #3  0x00007f5004544ce2 in ?? () from /media/disk1/work/libs/Qt/Tools/QtCreator/lib/qtcreator/plugins/QtProject/../../libQt5Quick.so.5
      #4  0x00007f5018113088 in ?? () from /media/disk1/work/libs/Qt/Tools/QtCreator/bin/../lib/qtcreator/libQt5Core.so.5
      #5  0x00007f5017e63182 in start_thread (arg=0x7f4faab30700) at pthread_create.c:312
      #6  0x00007f501767630d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
      
      Thread 6 (Thread 0x7f4ffa2f3700 (LWP 41958)):
      #0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
      #1  0x00007f50013912ad in ?? () from /media/disk1/work/libs/Qt/Tools/QtCreator/lib/qtcreator/plugins/QtProject/../../libQt5WebKit.so.5
      #2  0x00007f50013912d9 in ?? () from /media/disk1/work/libs/Qt/Tools/QtCreator/lib/qtcreator/plugins/QtProject/../../libQt5WebKit.so.5
      #3  0x00007f5017e63182 in start_thread (arg=0x7f4ffa2f3700) at pthread_create.c:312
      #4  0x00007f501767630d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
      
      Thread 5 (Thread 0x7f4ff1a3e700 (LWP 41960)):
      #0  0x00007f5017668fbd in poll () at ../sysdeps/unix/syscall-template.S:81
      #1  0x00007f501706afe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
      #2  0x00007f501706b0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
      #3  0x00007f501834e374 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
         from /media/disk1/work/libs/Qt/Tools/QtCreator/bin/../lib/qtcreator/libQt5Core.so.5
      #4  0x00007f50182fc4ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
         from /media/disk1/work/libs/Qt/Tools/QtCreator/bin/../lib/qtcreator/libQt5Core.so.5
      #5  0x00007f501810dfaa in QThread::exec() () from /media/disk1/work/libs/Qt/Tools/QtCreator/bin/../lib/qtcreator/libQt5Core.so.5
      #6  0x00007f5018113088 in ?? () from /media/disk1/work/libs/Qt/Tools/QtCreator/bin/../lib/qtcreator/libQt5Core.so.5
      #7  0x00007f5017e63182 in start_thread (arg=0x7f4ff1a3e700) at pthread_create.c:312
      #8  0x00007f501767630d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
      
      Thread 4 (Thread 0x7f4ffb2f5700 (LWP 41955)):
      #0  0x00007f501766dc33 in select () at ../sysdeps/unix/syscall-template.S:81
      #1  0x00007f50182a1f81 in ?? () from /media/disk1/work/libs/Qt/Tools/QtCreator/bin/../lib/qtcreator/libQt5Core.so.5
      #2  0x00007f5018113088 in ?? () from /media/disk1/work/libs/Qt/Tools/QtCreator/bin/../lib/qtcreator/libQt5Core.so.5
      #3  0x00007f5017e63182 in start_thread (arg=0x7f4ffb2f5700) at pthread_create.c:312
      #4  0x00007f501767630d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
      
      Thread 3 (Thread 0x7f4ff8e3c700 (LWP 41959)):
      #0  0x00007f501766d1c7 in ioctl () at ../sysdeps/unix/syscall-template.S:81
      #1  0x00007f5019c7e829 in uki_firegl_MicroSleep () from /usr/lib/fglrx/libatiuki.so.1
      #2  0x00007f4ff365f5c0 in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
      #3  0x00007f4ff2e9e3e2 in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
      #4  0x00007f4ff2e9e415 in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
      #5  0x00007f5017e63182 in start_thread (arg=0x7f4ff8e3c700) at pthread_create.c:312
      #6  0x00007f501767630d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
      
      Thread 2 (Thread 0x7f501124f700 (LWP 41954)):
      #0  0x00007f5017668fbd in poll () at ../sysdeps/unix/syscall-template.S:81
      #1  0x00007f50153fcb72 in poll (__timeout=-1, __nfds=1, __fds=0x7f501124ed30) at /usr/include/x86_64-linux-gnu/bits/poll2.h:46
      #2  _xcb_conn_wait (c=c@entry=0x1aae350, cond=cond@entry=0x1aae390, vector=vector@entry=0x0, count=count@entry=0x0) at ../../src/xcb_conn.c:447
      #3  0x00007f50153fe64f in xcb_wait_for_event (c=0x1aae350) at ../../src/xcb_in.c:622
      #4  0x00007f5012cc70c9 in ?? () from /media/disk1/work/libs/Qt/Tools/QtCreator/bin/plugins/platforms/libqxcb.so
      #5  0x00007f5018113088 in ?? () from /media/disk1/work/libs/Qt/Tools/QtCreator/bin/../lib/qtcreator/libQt5Core.so.5
      #6  0x00007f5017e63182 in start_thread (arg=0x7f501124f700) at pthread_create.c:312
      #7  0x00007f501767630d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
      
      Thread 1 (Thread 0x7f5019c71780 (LWP 41953)):
      #0  0x00007f50182fd725 in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
         from /media/disk1/work/libs/Qt/Tools/QtCreator/bin/../lib/qtcreator/libQt5Core.so.5
      #1  0x00007f501834d38c in QTimerInfoList::activateTimers() ()
         from /media/disk1/work/libs/Qt/Tools/QtCreator/bin/../lib/qtcreator/libQt5Core.so.5
      #2  0x00007f501834db9d in ?? () from /media/disk1/work/libs/Qt/Tools/QtCreator/bin/../lib/qtcreator/libQt5Core.so.5
      #3  0x00007f501706ae04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
      #4  0x00007f501706b048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
      #5  0x00007f501706b0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
      #6  0x00007f501834e374 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
         from /media/disk1/work/libs/Qt/Tools/QtCreator/bin/../lib/qtcreator/libQt5Core.so.5
      #7  0x00007f50182fc4ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
         from /media/disk1/work/libs/Qt/Tools/QtCreator/bin/../lib/qtcreator/libQt5Core.so.5
      #8  0x00007f501830053e in QCoreApplication::exec() () from /media/disk1/work/libs/Qt/Tools/QtCreator/bin/../lib/qtcreator/libQt5Core.so.5
      #9  0x000000000040a44f in ?? ()
      #10 0x00007f501759cec5 in __libc_start_main (main=0x4068f0, argc=1, argv=0x7fff38b8aa68, init=<optimized out>, fini=<optimized out>, 
          rtld_fini=<optimized out>, stack_end=0x7fff38b8aa58) at libc-start.c:287
      #11 0x000000000040a8f1 in ?? ()
      #12 0x00007fff38b8aa58 in ?? ()
      #13 0x000000000000001c in ?? ()
      #14 0x0000000000000001 in ?? ()
      #15 0x00007fff38b8b000 in ?? ()
      #16 0x0000000000000000 in ?? ()
      

      The core dump has 479 MiB (50 MiB when compressed), so it's too big to upload, but I can provide it if necessary.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              davschul David Schulz
              __m128 None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes