Uploaded image for project: 'Qbs ("Cubes")'
  1. Qbs ("Cubes")
  2. QBS-1699

"The qbs process quit unexpectedly" when building project

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • 2.0
    • 1.22.1
    • Qt Creator Integration
    • None
    • macOS 12.4
      Creator 7.0.2
    • 087c22e17721f37490dd2048a567b6a58065d939

    Description

      Lately I've been getting this error roughly 15% of the time when trying to build my project:

      :-1: error: Fatal qbs error: The qbs process quit unexpectedly.
      :-1: error: Build canceled: Qbs session failed.
      

      There are no errors in the General Messages pane, just this:

      [qbs] Build done for configuration Debug_qt_isle__ba4cf37adbc18548.
      

      Stack trace:

      Crashed Thread:        3  QThread
      
      Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
      Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000000
      Exception Codes:       0x0000000000000001, 0x0000000000000000
      Exception Note:        EXC_CORPSE_NOTIFY
      
      Termination Reason:    Namespace SIGNAL, Code 11 Segmentation fault: 11
      Terminating Process:   exc handler [96296]
      
      VM Region Info: 0 is not in any region.  Bytes before following region: 4331307008
            REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
            UNUSED SPACE AT START
      --->  
            __TEXT                      1022a8000-1022ec000    [  272K] r-x/r-x SM=COW  ...nts/MacOS/qbs
      
      Thread 0::  Dispatch queue: com.apple.main-thread
      0   libsystem_kernel.dylib        	       0x1b5afeeb0 poll + 8
      1   QtCore                        	       0x10296e684 qt_ppoll(pollfd*, unsigned int, timespec const*) + 36 (qcore_unix.cpp:134) [inlined]
      2   QtCore                        	       0x10296e684 qt_safe_poll(pollfd*, unsigned int, timespec const*) + 152 (qcore_unix.cpp:164)
      3   QtCore                        	       0x10296fc7c QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 664 (qeventdispatcher_unix.cpp:502)
      4   QtCore                        	       0x10281ecfc QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 36 (qeventloop.cpp:136) [inlined]
      5   QtCore                        	       0x10281ecfc QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 544 (qeventloop.cpp:218)
      6   QtCore                        	       0x102815d54 QCoreApplication::exec() + 128 (qcoreapplication.cpp:1388)
      7   qbs                           	       0x1022ba044 0x1022a8000 + 73796
      8   dyld                          	       0x10270108c start + 520
      
      Thread 1:
      0   libsystem_pthread.dylib       	       0x1b5b2f078 start_wqthread + 0
      
      Thread 2:
      0   libsystem_pthread.dylib       	       0x1b5b2f078 start_wqthread + 0
      
      Thread 3 Crashed:: QThread
      0   libqbsscriptengine.1.23.0.dylib	       0x10256aa4c 0x102498000 + 862796
      1   libqbsscriptengine.1.23.0.dylib	       0x10256b39c QTWTF::TCMalloc_ThreadCache::DeleteCache(QTWTF::TCMalloc_ThreadCache*) + 68
      2   libqbsscriptengine.1.23.0.dylib	       0x10256b39c QTWTF::TCMalloc_ThreadCache::DeleteCache(QTWTF::TCMalloc_ThreadCache*) + 68
      3   libsystem_pthread.dylib       	       0x1b5b31b88 _pthread_tsd_cleanup + 448
      4   libsystem_pthread.dylib       	       0x1b5b34968 _pthread_exit + 84
      5   libsystem_pthread.dylib       	       0x1b5b34278 _pthread_start + 160
      6   libsystem_pthread.dylib       	       0x1b5b2f08c thread_start + 8
      

      The project is using Qt 6.4.

      I can't share the project unfortunately.

      Attachments

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

        Activity

          People

            kandeler Christian Kandeler
            mitch_curtis Mitch Curtis
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes