Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-28615

Crash: QML Examples Text

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.0.0 RC 2
    • Fix Version/s: 5.0.1
    • Labels:
      None
    • Environment:
      OSX 10.8.2
    • Commits:
      Ife16ae4959077d9eaaf6ea5cd1f27a4e2e01e7f5

      Description

      Start the example under examples/quick/text
      Click on "Available Fonts"

      Process: text [82761]
      Path: /Users/USER/*/text.app/Contents/MacOS/text
      Identifier: com.yourcompany.text
      Version: ???
      Code Type: X86-64 (Native)
      Parent Process: Qt Creator [78511]
      User ID: 501

      Date/Time: 2012-12-14 12:04:37.422 +0100
      OS Version: Mac OS X 10.8.2 (12C60)
      Report Version: 10

      Interval Since Last Report: 116657 sec
      Crashes Since Last Report: 34
      Per-App Crashes Since Last Report: 2
      Anonymous UUID: 71D4A281-D604-C5D4-BD10-6F0FBEAADD0E

      Crashed Thread: 5 QQuickRenderThreadSingleContextWindowManager

      Exception Type: EXC_BAD_ACCESS (SIGSEGV)
      Exception Codes: KERN_INVALID_ADDRESS at 0x000000015c461f66

      VM Regions Near 0x15c461f66:
      CG shared images 000000011d786000-000000011d78e000 [ 32K] r-/r- SM=SHM
      -->
      CG shared images 00000001c0001000-00000001c0009000 [ 32K] rw-/rw- SM=SHM

      Thread 0:: Dispatch queue: com.apple.main-thread
      0 libsystem_kernel.dylib 0x00007fff8e990686 mach_msg_trap + 10
      1 libsystem_kernel.dylib 0x00007fff8e98fc42 mach_msg + 70
      2 com.apple.CoreFoundation 0x00007fff85b9c803 __CFRunLoopServiceMachPort + 195
      3 com.apple.CoreFoundation 0x00007fff85ba1ee6 __CFRunLoopRun + 1078
      4 com.apple.CoreFoundation 0x00007fff85ba16b2 CFRunLoopRunSpecific + 290
      5 com.apple.HIToolbox 0x00007fff8cdf80a4 RunCurrentEventLoopInMode + 209
      6 com.apple.HIToolbox 0x00007fff8cdf7e42 ReceiveNextEventCommon + 356
      7 com.apple.HIToolbox 0x00007fff8cdf7cd3 BlockUntilNextEventMatchingListInMode + 62
      8 com.apple.AppKit 0x00007fff89497613 _DPSNextEvent + 685
      9 com.apple.AppKit 0x00007fff89496ed2 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 128
      10 com.apple.AppKit 0x00007fff8948e283 -[NSApplication run] + 517
      11 libqcocoa.dylib 0x00000001026975eb QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 1307
      12 QtCore 0x0000000100965a43 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 371
      13 QtCore 0x00000001009687c5 QCoreApplication::exec() + 357
      14 com.yourcompany.text 0x0000000100003af3 main + 1059 (main.cpp:41)
      15 com.yourcompany.text 0x00000001000036c4 start + 52

      Thread 1:: Dispatch queue: com.apple.libdispatch-manager
      0 libsystem_kernel.dylib 0x00007fff8e992d16 kevent + 10
      1 libdispatch.dylib 0x00007fff914d6dea _dispatch_mgr_invoke + 883
      2 libdispatch.dylib 0x00007fff914d69ee _dispatch_mgr_thread + 54

      Thread 2:
      0 libsystem_kernel.dylib 0x00007fff8e9926d6 __workq_kernreturn + 10
      1 libsystem_c.dylib 0x00007fff8dc2feec _pthread_workq_return + 25
      2 libsystem_c.dylib 0x00007fff8dc2fcb3 _pthread_wqthread + 412
      3 libsystem_c.dylib 0x00007fff8dc1a171 start_wqthread + 13

      Thread 3:: QThread
      0 libsystem_kernel.dylib 0x00007fff8e992322 __select + 10
      1 QtCore 0x00000001009adc85 qt_safe_select(int, fd_set*, fd_set*, fd_set*, timeval const*) + 69
      2 QtCore 0x00000001009aeb5c QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timeval*) + 668
      3 QtCore 0x00000001009afaab QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 219
      4 QtCore 0x0000000100965a43 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 371
      5 QtCore 0x00000001007e6f9d QThread::exec() + 109
      6 QtCore 0x00000001007ea81a QThreadPrivate::start(void*) + 426
      7 libsystem_c.dylib 0x00007fff8dc2d742 _pthread_start + 327
      8 libsystem_c.dylib 0x00007fff8dc1a181 thread_start + 13

      Thread 4:: SamplerThread
      0 libsystem_kernel.dylib 0x00007fff8e9906c2 semaphore_wait_trap + 10
      1 QtV8 0x00000001012b5ab7 v8::internal::RuntimeProfilerRateLimiter::SuspendIfNecessary() + 119
      2 QtV8 0x000000010135e8b8 v8::internal::SamplerThread::Run() + 56
      3 QtV8 0x000000010135e10c v8::internal::ThreadEntry(void*) + 60
      4 libsystem_c.dylib 0x00007fff8dc2d742 _pthread_start + 327
      5 libsystem_c.dylib 0x00007fff8dc1a181 thread_start + 13

      Thread 5 Crashed:: QQuickRenderThreadSingleContextWindowManager
      0 com.apple.CoreText 0x00007fff8e44be69 TFont::FindColourBitmapForGlyph(double, unsigned short, __CFData const*, unsigned long&, unsigned long&, unsigned char&) const + 261
      1 com.apple.CoreText 0x00007fff8e44b7ac TFont::CreatePathForGlyph(unsigned short, CGAffineTransform const*) const + 94
      2 libqcocoa.dylib 0x00000001026ce734 QCoreTextFontEngine::addGlyphsToPath(unsigned int*, QFixedPoint*, int, QPainterPath*, QFlags<QTextItem::RenderFlag>) + 740
      3 QtGui 0x0000000100e3d755 QRawFont::pathForGlyph(unsigned int) const + 101
      4 QtQuick 0x0000000100090af4 QSGDistanceFieldGlyphCache::glyphData(unsigned int) + 276
      5 QtQuick 0x000000010009aedb QSGDistanceFieldTextMaterialShader::updateState(QSGMaterialShader::RenderState const&, QSGMaterial*, QSGMaterial*) + 59
      6 QtQuick 0x000000010009c3c7 QSGHiQSubPixelDistanceFieldTextMaterialShader::updateState(QSGMaterialShader::RenderState const&, QSGMaterial*, QSGMaterial*) + 455
      7 QtQuick 0x0000000100083aac QSGDefaultRenderer::renderNodes(QSGNode* const*, int) + 1644
      8 QtQuick 0x0000000100082fb3 QSGDefaultRenderer::render() + 1347
      9 QtQuick 0x0000000100089000 QSGRenderer::renderScene(QSGBindable const&) + 128
      10 QtQuick 0x0000000100088f6c QSGRenderer::renderScene() + 28
      11 QtQuick 0x00000001000929f5 QSGContext::renderNextFrame(QSGRenderer*, unsigned int) + 53
      12 QtQuick 0x00000001000c166e QQuickWindowPrivate::renderSceneGraph(QSize const&) + 590
      13 QtQuick 0x000000010019ffe3 QQuickRenderThreadSingleContextWindowManager::run() + 707
      14 QtCore 0x00000001007ea81a QThreadPrivate::start(void*) + 426
      15 libsystem_c.dylib 0x00007fff8dc2d742 _pthread_start + 327
      16 libsystem_c.dylib 0x00007fff8dc1a181 thread_start + 13

      Thread 6:
      0 libsystem_kernel.dylib 0x00007fff8e9926d6 __workq_kernreturn + 10
      1 libsystem_c.dylib 0x00007fff8dc2feec _pthread_workq_return + 25
      2 libsystem_c.dylib 0x00007fff8dc2fcb3 _pthread_wqthread + 412
      3 libsystem_c.dylib 0x00007fff8dc1a171 start_wqthread + 13

      Thread 7:: bearerThread
      0 libsystem_kernel.dylib 0x00007fff8e992322 __select + 10
      1 QtCore 0x00000001009adc85 qt_safe_select(int, fd_set*, fd_set*, fd_set*, timeval const*) + 69
      2 QtCore 0x00000001009aeb5c QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timeval*) + 668
      3 QtCore 0x00000001009afaab QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 219
      4 QtCore 0x0000000100965a43 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 371
      5 QtCore 0x00000001007e6f9d QThread::exec() + 109
      6 QtCore 0x00000001007ea81a QThreadPrivate::start(void*) + 426
      7 libsystem_c.dylib 0x00007fff8dc2d742 _pthread_start + 327
      8 libsystem_c.dylib 0x00007fff8dc1a181 thread_start + 13

      Thread 8:: httpThread
      0 libsystem_kernel.dylib 0x00007fff8e992322 __select + 10
      1 QtCore 0x00000001009adcd6 qt_safe_select(int, fd_set*, fd_set*, fd_set*, timeval const*) + 150
      2 QtCore 0x00000001009aeb5c QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timeval*) + 668
      3 QtCore 0x00000001009afaab QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 219
      4 QtCore 0x0000000100965a43 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 371
      5 QtCore 0x00000001007e6f9d QThread::exec() + 109
      6 QtCore 0x00000001007ea81a QThreadPrivate::start(void*) + 426
      7 libsystem_c.dylib 0x00007fff8dc2d742 _pthread_start + 327
      8 libsystem_c.dylib 0x00007fff8dc1a181 thread_start + 13

      Thread 9:: Thread (pooled)
      0 libsystem_kernel.dylib 0x00007fff8e9920fa __psynch_cvwait + 10
      1 libsystem_c.dylib 0x00007fff8dc31f89 _pthread_cond_wait + 869
      2 QtCore 0x00000001007ebcdc QWaitConditionPrivate::wait(unsigned long) + 188
      3 QtCore 0x00000001007ebb0a QWaitCondition::wait(QMutex*, unsigned long) + 170
      4 QtCore 0x00000001007e75e0 QThreadPoolThread::run() + 592
      5 QtCore 0x00000001007ea81a QThreadPrivate::start(void*) + 426
      6 libsystem_c.dylib 0x00007fff8dc2d742 _pthread_start + 327
      7 libsystem_c.dylib 0x00007fff8dc1a181 thread_start + 13

      Thread 5 crashed with X86 Thread State (64-bit):
      rax: 0x00000000123d51be rbx: 0x0000000104a973b0 rcx: 0x000000004e44ae66 rdx: 0x0000000000000024
      rdi: 0x000000010e017124 rsi: 0x000000004e44ae42 rbp: 0x0000000107f43540 rsp: 0x0000000107f434f0
      r8: 0x0000000000000000 r9: 0x0000000107f43617 r10: 0x000000010d820600 r11: 0x0000000102132b70
      r12: 0x000000010e0170fc r13: 0x000000000000ffff r14: 0x00000001102478cc r15: 0x0000000107f43620
      rip: 0x00007fff8e44be69 rfl: 0x0000000000010206 cr2: 0x000000015c461f66
      Logical CPU: 0

        Attachments

          Issue Links

          For Gerrit Dashboard: QTBUG-28615
          # Subject Branch Project Status CR V

            Activity

              People

              Assignee:
              vestbo Tor Arne Vestbø
              Reporter:
              ajana Aurindam Jana
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes