Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QtCreator segfault on startup (MacOS)
QtWS25 Last Chance

QtCreator segfault on startup (MacOS)

Scheduled Pinned Locked Moved Unsolved General and Desktop
qtcreatorqtcreator 4.11segfault
2 Posts 2 Posters 910 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    peteispo
    wrote on 8 Jan 2020, 08:15 last edited by
    #1

    I'm getting a segfault when I try to start QtCreator on my iMac.
    What's odd is that it worked fine yesterday, and I don't see anything having updated or changed since then.
    Starting from the command line returns almost immediately with

    Segmentation fault: 11
    

    Clicking on the icon in my dock brings up a "QtCreator quit unexpectedly" dialog, which gives me a crash report that is too large to insert here, but if I skip out the large binary images section I can post some of it:

    Process:               Qt Creator [12732]
    Path:                  /Users/USER/*/Qt Creator.app/Contents/MacOS/Qt Creator
    Identifier:            org.qt-project.qtcreator
    Version:               4.11.0 (4.11.0)
    Code Type:             X86-64 (Native)
    Parent Process:        ??? [1]
    Responsible:           Qt Creator [12732]
    User ID:               501
    
    Date/Time:             2020-01-08 07:59:27.098 +0000
    OS Version:            Mac OS X 10.13.6 (17G10021)
    Report Version:        12
    Anonymous UUID:        3E3E011A-CE13-846F-632E-8C082737A1E3
    
    Sleep/Wake UUID:       02CF8103-5595-4D68-AE29-BB0E1D42A2F7
    
    Time Awake Since Boot: 450000 seconds
    Time Since Wake:       230000 seconds
    
    System Integrity Protection: enabled
    
    Crashed Thread:        0  Dispatch queue: com.apple.main-thread
    
    Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
    Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000000
    Exception Note:        EXC_CORPSE_NOTIFY
    
    Termination Signal:    Segmentation fault: 11
    Termination Reason:    Namespace SIGNAL, Code 0xb
    Terminating Process:   exc handler [0]
    
    VM Regions Near 0:
    --> 
        __TEXT                 0000000109986000-000000010999a000 [   80K] r-x/rwx SM=COW  /Users/USER/*/Qt Creator.app/Contents/MacOS/Qt Creator
    
    Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
    0   libUtils.4.11.0.dylib         	0x0000000109ab07b0 QtPrivate::QFunctorSlotObject<Utils::FancyMainWindowPrivate::FancyMainWindowPrivate(Utils::FancyMainWindow*)::$_2, 1, QtPrivate::List<bool>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) + 48
    1   org.qt-project.QtCore         	0x000000010ac459b5 0x10aa1e000 + 2259381
    2   org.qt-project.QtWidgets      	0x0000000109cf640e QAction::setChecked(bool) + 174
    3   libDebugger.dylib             	0x00000001109f72ef Utils::DebuggerMainWindow::restorePersistentSettings() + 1151
    4   libDebugger.dylib             	0x00000001109f6c5d Utils::DebuggerMainWindow::DebuggerMainWindow() + 925
    5   libDebugger.dylib             	0x00000001109fe8fb Utils::Perspective::Perspective(QString const&, QString const&, QString const&, QString const&) + 267
    6   libDebugger.dylib             	0x0000000110a01d25 Debugger::Internal::DebuggerPluginPrivate::DebuggerPluginPrivate(QStringList const&) + 1781
    7   libDebugger.dylib             	0x0000000110a13747 Debugger::Internal::DebuggerPlugin::initialize(QStringList const&, QString*) + 39
    8   libExtensionSystem.4.11.0.dylib	0x00000001099ccecb ExtensionSystem::Internal::PluginSpecPrivate::initializePlugin() + 107
    9   libExtensionSystem.4.11.0.dylib	0x00000001099bf6a0 ExtensionSystem::Internal::PluginManagerPrivate::loadPlugin(ExtensionSystem::PluginSpec*, ExtensionSystem::PluginSpec::State) + 656
    10  libExtensionSystem.4.11.0.dylib	0x00000001099b7f90 ExtensionSystem::Internal::PluginManagerPrivate::loadPlugins() + 592
    11  org.qt-project.qtcreator      	0x0000000109991e28 main + 14520
    12  libdyld.dylib                 	0x00007fff5e4da015 start + 1
    
    Thread 1:
    0   libsystem_kernel.dylib        	0x00007fff5e62b28a __workq_kernreturn + 10
    1   libsystem_pthread.dylib       	0x00007fff5e7f220e _pthread_wqthread + 1552
    2   libsystem_pthread.dylib       	0x00007fff5e7f1be9 start_wqthread + 13
    
    Thread 2:
    0   libsystem_kernel.dylib        	0x00007fff5e62b28a __workq_kernreturn + 10
    1   libsystem_pthread.dylib       	0x00007fff5e7f2009 _pthread_wqthread + 1035
    2   libsystem_pthread.dylib       	0x00007fff5e7f1be9 start_wqthread + 13
    
    Thread 3:
    0   libsystem_pthread.dylib       	0x00007fff5e7f1bdc start_wqthread + 0
    1   ???                           	0x0063002f00790072 0 + 27866224565747826
    
    Thread 4:
    0   libsystem_kernel.dylib        	0x00007fff5e62b28a __workq_kernreturn + 10
    1   libsystem_pthread.dylib       	0x00007fff5e7f220e _pthread_wqthread + 1552
    2   libsystem_pthread.dylib       	0x00007fff5e7f1be9 start_wqthread + 13
    
    Thread 5:
    0   libsystem_kernel.dylib        	0x00007fff5e62b28a __workq_kernreturn + 10
    1   libsystem_pthread.dylib       	0x00007fff5e7f2009 _pthread_wqthread + 1035
    2   libsystem_pthread.dylib       	0x00007fff5e7f1be9 start_wqthread + 13
    
    Thread 6:
    0   libsystem_pthread.dylib       	0x00007fff5e7f1bdc start_wqthread + 0
    1   ???                           	0x007865646e496d65 0 + 33888479226719589
    
    Thread 7:: com.apple.CFSocket.private
    0   libsystem_kernel.dylib        	0x00007fff5e62acf2 __select + 10
    1   com.apple.CoreFoundation      	0x00007fff36534a4b __CFSocketManager + 635
    2   libsystem_pthread.dylib       	0x00007fff5e7f2661 _pthread_body + 340
    3   libsystem_pthread.dylib       	0x00007fff5e7f250d _pthread_start + 377
    4   libsystem_pthread.dylib       	0x00007fff5e7f1bf9 thread_start + 13
    
    Thread 0 crashed with X86 Thread State (64-bit):
      rax: 0x0000000000000000  rbx: 0x0000000000000000  rcx: 0x00007ffee6278ec0  rdx: 0x000060400027e080
      rdi: 0x0000000000000000  rsi: 0x00006040002244e0  rbp: 0x00007ffee6278de0  rsp: 0x00007ffee6278dd0
       r8: 0x0000000000000000   r9: 0x0000000000000000  r10: 0x000000010c25fbb8  r11: 0x0000000109e4c1d0
      r12: 0x00006040004be5a0  r13: 0x00007fff96bf6380  r14: 0x0000000000000001  r15: 0x000060400027e080
      rip: 0x0000000109ab07b0  rfl: 0x0000000000010246  cr2: 0x000070000bb92b18
      
    Logical CPU:     0
    Error Code:      0x0200005d
    Trap Number:     133
    
    [Skipped binary images section]
    
    External Modification Summary:
      Calls made by other processes targeting this process:
        task_for_pid: 0
        thread_create: 0
        thread_set_state: 0
      Calls made by this process:
        task_for_pid: 0
        thread_create: 0
        thread_set_state: 0
      Calls made by all processes on this machine:
        task_for_pid: 255744
        thread_create: 0
        thread_set_state: 3170
    
    VM Region Summary:
    ReadOnly portion of Libraries: Total=580.2M resident=0K(0%) swapped_out_or_unallocated=580.2M(100%)
    Writable regions: Total=116.8M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=116.8M(100%)
     
                                    VIRTUAL   REGION 
    REGION TYPE                        SIZE    COUNT (non-coalesced) 
    ===========                     =======  ======= 
    Accelerate framework               128K        2 
    Activity Tracing                   256K        2 
    CG backing stores                  336K        3 
    CoreImage                            8K        3 
    CoreUI image file                  180K        3 
    JS VM register file               4360K        5 
    JS VM register file (reserved)    2040K        2         reserved VM address space (unallocated)
    Kernel Alloc Once                    8K        2 
    MALLOC                            93.1M       33 
    MALLOC guard page                   32K        9 
    OpenGL GLSL                        256K        4 
    STACK GUARD                       56.0M        9 
    Stack                             11.6M        9 
    VM_ALLOCATE                        280K       14 
    WebAssembly memory                4096K        2 
    __DATA                            36.9M      374 
    __FONT_DATA                          4K        2 
    __GLSLBUILTINS                    2588K        2 
    __LINKEDIT                       228.0M      108 
    __TEXT                           352.2M      362 
    __UNICODE                          560K        2 
    mapped file                       55.5M       85 
    shared memory                      628K       10 
    ===========                     =======  ======= 
    TOTAL                            848.7M     1024 
    TOTAL, minus reserved VM space   846.7M     1024 
    
    Model: iMac12,1, BootROM 87.0.0.0.0, 4 processors, Intel Core i5, 2.5 GHz, 8 GB, SMC 1.71f22
    Graphics: AMD Radeon HD 6750M, AMD Radeon HD 6750M, PCIe
    Memory Module: BANK 0/DIMM0, 2 GB, DDR3, 1333 MHz, 0x80CE, 0x4D34373142353637334648302D4348392020
    Memory Module: BANK 1/DIMM0, 2 GB, DDR3, 1333 MHz, 0x80CE, 0x4D34373142353637334648302D4348392020
    Memory Module: BANK 0/DIMM1, 4 GB, DDR3, 1333 MHz, 0x859B, 0x435434473353313333394D2E4D3136464B44
    AirPort: spairport_wireless_card_type_airport_extreme (0x168C, 0x9A), Atheros 9380: 4.0.74.0-P2P
    Bluetooth: Version 6.0.7f16, 3 services, 27 devices, 1 incoming serial ports
    Network Service: Ethernet, Ethernet, en0
    Network Service: Maidstone Hotel VPN, PPP (L2TP), ppp0
    Serial ATA Device: ST3500418AS, 500.11 GB
    Serial ATA Device: OPTIARC DVD RW AD-5690H
    USB Device: USB 2.0 Bus
    USB Device: Hub
    USB Device: IR Receiver
    USB Device: Internal Memory Card Reader
    USB Device: USB 2.0 Bus
    USB Device: FaceTime HD Camera (Built-in)
    USB Device: Hub
    USB Device: Wireless Receiver
    USB Device: BRCM2046 Hub
    USB Device: Bluetooth USB Host Controller
    Thunderbolt Bus: iMac, Apple Inc., 22.1
    
    
    J 1 Reply Last reply 8 Jan 2020, 08:22
    0
    • P peteispo
      8 Jan 2020, 08:15

      I'm getting a segfault when I try to start QtCreator on my iMac.
      What's odd is that it worked fine yesterday, and I don't see anything having updated or changed since then.
      Starting from the command line returns almost immediately with

      Segmentation fault: 11
      

      Clicking on the icon in my dock brings up a "QtCreator quit unexpectedly" dialog, which gives me a crash report that is too large to insert here, but if I skip out the large binary images section I can post some of it:

      Process:               Qt Creator [12732]
      Path:                  /Users/USER/*/Qt Creator.app/Contents/MacOS/Qt Creator
      Identifier:            org.qt-project.qtcreator
      Version:               4.11.0 (4.11.0)
      Code Type:             X86-64 (Native)
      Parent Process:        ??? [1]
      Responsible:           Qt Creator [12732]
      User ID:               501
      
      Date/Time:             2020-01-08 07:59:27.098 +0000
      OS Version:            Mac OS X 10.13.6 (17G10021)
      Report Version:        12
      Anonymous UUID:        3E3E011A-CE13-846F-632E-8C082737A1E3
      
      Sleep/Wake UUID:       02CF8103-5595-4D68-AE29-BB0E1D42A2F7
      
      Time Awake Since Boot: 450000 seconds
      Time Since Wake:       230000 seconds
      
      System Integrity Protection: enabled
      
      Crashed Thread:        0  Dispatch queue: com.apple.main-thread
      
      Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
      Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000000
      Exception Note:        EXC_CORPSE_NOTIFY
      
      Termination Signal:    Segmentation fault: 11
      Termination Reason:    Namespace SIGNAL, Code 0xb
      Terminating Process:   exc handler [0]
      
      VM Regions Near 0:
      --> 
          __TEXT                 0000000109986000-000000010999a000 [   80K] r-x/rwx SM=COW  /Users/USER/*/Qt Creator.app/Contents/MacOS/Qt Creator
      
      Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
      0   libUtils.4.11.0.dylib         	0x0000000109ab07b0 QtPrivate::QFunctorSlotObject<Utils::FancyMainWindowPrivate::FancyMainWindowPrivate(Utils::FancyMainWindow*)::$_2, 1, QtPrivate::List<bool>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) + 48
      1   org.qt-project.QtCore         	0x000000010ac459b5 0x10aa1e000 + 2259381
      2   org.qt-project.QtWidgets      	0x0000000109cf640e QAction::setChecked(bool) + 174
      3   libDebugger.dylib             	0x00000001109f72ef Utils::DebuggerMainWindow::restorePersistentSettings() + 1151
      4   libDebugger.dylib             	0x00000001109f6c5d Utils::DebuggerMainWindow::DebuggerMainWindow() + 925
      5   libDebugger.dylib             	0x00000001109fe8fb Utils::Perspective::Perspective(QString const&, QString const&, QString const&, QString const&) + 267
      6   libDebugger.dylib             	0x0000000110a01d25 Debugger::Internal::DebuggerPluginPrivate::DebuggerPluginPrivate(QStringList const&) + 1781
      7   libDebugger.dylib             	0x0000000110a13747 Debugger::Internal::DebuggerPlugin::initialize(QStringList const&, QString*) + 39
      8   libExtensionSystem.4.11.0.dylib	0x00000001099ccecb ExtensionSystem::Internal::PluginSpecPrivate::initializePlugin() + 107
      9   libExtensionSystem.4.11.0.dylib	0x00000001099bf6a0 ExtensionSystem::Internal::PluginManagerPrivate::loadPlugin(ExtensionSystem::PluginSpec*, ExtensionSystem::PluginSpec::State) + 656
      10  libExtensionSystem.4.11.0.dylib	0x00000001099b7f90 ExtensionSystem::Internal::PluginManagerPrivate::loadPlugins() + 592
      11  org.qt-project.qtcreator      	0x0000000109991e28 main + 14520
      12  libdyld.dylib                 	0x00007fff5e4da015 start + 1
      
      Thread 1:
      0   libsystem_kernel.dylib        	0x00007fff5e62b28a __workq_kernreturn + 10
      1   libsystem_pthread.dylib       	0x00007fff5e7f220e _pthread_wqthread + 1552
      2   libsystem_pthread.dylib       	0x00007fff5e7f1be9 start_wqthread + 13
      
      Thread 2:
      0   libsystem_kernel.dylib        	0x00007fff5e62b28a __workq_kernreturn + 10
      1   libsystem_pthread.dylib       	0x00007fff5e7f2009 _pthread_wqthread + 1035
      2   libsystem_pthread.dylib       	0x00007fff5e7f1be9 start_wqthread + 13
      
      Thread 3:
      0   libsystem_pthread.dylib       	0x00007fff5e7f1bdc start_wqthread + 0
      1   ???                           	0x0063002f00790072 0 + 27866224565747826
      
      Thread 4:
      0   libsystem_kernel.dylib        	0x00007fff5e62b28a __workq_kernreturn + 10
      1   libsystem_pthread.dylib       	0x00007fff5e7f220e _pthread_wqthread + 1552
      2   libsystem_pthread.dylib       	0x00007fff5e7f1be9 start_wqthread + 13
      
      Thread 5:
      0   libsystem_kernel.dylib        	0x00007fff5e62b28a __workq_kernreturn + 10
      1   libsystem_pthread.dylib       	0x00007fff5e7f2009 _pthread_wqthread + 1035
      2   libsystem_pthread.dylib       	0x00007fff5e7f1be9 start_wqthread + 13
      
      Thread 6:
      0   libsystem_pthread.dylib       	0x00007fff5e7f1bdc start_wqthread + 0
      1   ???                           	0x007865646e496d65 0 + 33888479226719589
      
      Thread 7:: com.apple.CFSocket.private
      0   libsystem_kernel.dylib        	0x00007fff5e62acf2 __select + 10
      1   com.apple.CoreFoundation      	0x00007fff36534a4b __CFSocketManager + 635
      2   libsystem_pthread.dylib       	0x00007fff5e7f2661 _pthread_body + 340
      3   libsystem_pthread.dylib       	0x00007fff5e7f250d _pthread_start + 377
      4   libsystem_pthread.dylib       	0x00007fff5e7f1bf9 thread_start + 13
      
      Thread 0 crashed with X86 Thread State (64-bit):
        rax: 0x0000000000000000  rbx: 0x0000000000000000  rcx: 0x00007ffee6278ec0  rdx: 0x000060400027e080
        rdi: 0x0000000000000000  rsi: 0x00006040002244e0  rbp: 0x00007ffee6278de0  rsp: 0x00007ffee6278dd0
         r8: 0x0000000000000000   r9: 0x0000000000000000  r10: 0x000000010c25fbb8  r11: 0x0000000109e4c1d0
        r12: 0x00006040004be5a0  r13: 0x00007fff96bf6380  r14: 0x0000000000000001  r15: 0x000060400027e080
        rip: 0x0000000109ab07b0  rfl: 0x0000000000010246  cr2: 0x000070000bb92b18
        
      Logical CPU:     0
      Error Code:      0x0200005d
      Trap Number:     133
      
      [Skipped binary images section]
      
      External Modification Summary:
        Calls made by other processes targeting this process:
          task_for_pid: 0
          thread_create: 0
          thread_set_state: 0
        Calls made by this process:
          task_for_pid: 0
          thread_create: 0
          thread_set_state: 0
        Calls made by all processes on this machine:
          task_for_pid: 255744
          thread_create: 0
          thread_set_state: 3170
      
      VM Region Summary:
      ReadOnly portion of Libraries: Total=580.2M resident=0K(0%) swapped_out_or_unallocated=580.2M(100%)
      Writable regions: Total=116.8M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=116.8M(100%)
       
                                      VIRTUAL   REGION 
      REGION TYPE                        SIZE    COUNT (non-coalesced) 
      ===========                     =======  ======= 
      Accelerate framework               128K        2 
      Activity Tracing                   256K        2 
      CG backing stores                  336K        3 
      CoreImage                            8K        3 
      CoreUI image file                  180K        3 
      JS VM register file               4360K        5 
      JS VM register file (reserved)    2040K        2         reserved VM address space (unallocated)
      Kernel Alloc Once                    8K        2 
      MALLOC                            93.1M       33 
      MALLOC guard page                   32K        9 
      OpenGL GLSL                        256K        4 
      STACK GUARD                       56.0M        9 
      Stack                             11.6M        9 
      VM_ALLOCATE                        280K       14 
      WebAssembly memory                4096K        2 
      __DATA                            36.9M      374 
      __FONT_DATA                          4K        2 
      __GLSLBUILTINS                    2588K        2 
      __LINKEDIT                       228.0M      108 
      __TEXT                           352.2M      362 
      __UNICODE                          560K        2 
      mapped file                       55.5M       85 
      shared memory                      628K       10 
      ===========                     =======  ======= 
      TOTAL                            848.7M     1024 
      TOTAL, minus reserved VM space   846.7M     1024 
      
      Model: iMac12,1, BootROM 87.0.0.0.0, 4 processors, Intel Core i5, 2.5 GHz, 8 GB, SMC 1.71f22
      Graphics: AMD Radeon HD 6750M, AMD Radeon HD 6750M, PCIe
      Memory Module: BANK 0/DIMM0, 2 GB, DDR3, 1333 MHz, 0x80CE, 0x4D34373142353637334648302D4348392020
      Memory Module: BANK 1/DIMM0, 2 GB, DDR3, 1333 MHz, 0x80CE, 0x4D34373142353637334648302D4348392020
      Memory Module: BANK 0/DIMM1, 4 GB, DDR3, 1333 MHz, 0x859B, 0x435434473353313333394D2E4D3136464B44
      AirPort: spairport_wireless_card_type_airport_extreme (0x168C, 0x9A), Atheros 9380: 4.0.74.0-P2P
      Bluetooth: Version 6.0.7f16, 3 services, 27 devices, 1 incoming serial ports
      Network Service: Ethernet, Ethernet, en0
      Network Service: Maidstone Hotel VPN, PPP (L2TP), ppp0
      Serial ATA Device: ST3500418AS, 500.11 GB
      Serial ATA Device: OPTIARC DVD RW AD-5690H
      USB Device: USB 2.0 Bus
      USB Device: Hub
      USB Device: IR Receiver
      USB Device: Internal Memory Card Reader
      USB Device: USB 2.0 Bus
      USB Device: FaceTime HD Camera (Built-in)
      USB Device: Hub
      USB Device: Wireless Receiver
      USB Device: BRCM2046 Hub
      USB Device: Bluetooth USB Host Controller
      Thunderbolt Bus: iMac, Apple Inc., 22.1
      
      
      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 8 Jan 2020, 08:22 last edited by
      #2

      @peteispo Try to start QtCreator with disabled plug-ins to see whether it makes a difference (-noload all).

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      2

      1/2

      8 Jan 2020, 08:15

      • Login

      • Login or register to search.
      1 out of 2
      • First post
        1/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved