Mac: EXC_CRASH (SIGABRT) on other Macs than mine

  • Hey! :)

    After many days of struggle, I was finally able to deploy my Qt app. On my Mac, it works perfectly fine: It compiles and runs without any errors. However, on any other Mac than mine, it crashes with the following error message:

    @Process: HodgkinHuxley [757]
    Path: /Volumes/VOLUME/
    Identifier: com.yourcompany.HodgkinHuxley
    Version: ???
    Code Type: X86-64 (Native)
    Parent Process: launchd [605]
    User ID: 501

    Date/Time: 2013-09-09 20:47:59.290 +0200
    OS Version: Mac OS X 10.8.4 (12E55)
    Report Version: 10

    Interval Since Last Report: 341231 sec
    Crashes Since Last Report: 15
    Per-App Crashes Since Last Report: 9
    Anonymous UUID: D3D2F958-2DE4-B9E2-3525-3798E9280D6A

    Crashed Thread: 0 Dispatch queue:

    Exception Type: EXC_CRASH (SIGABRT)
    Exception Codes: 0x0000000000000000, 0x0000000000000000

    Application Specific Information:
    abort() called

    Thread 0 Crashed:: Dispatch queue:
    0 libsystem_kernel.dylib 0x00007fff8c44b212 __pthread_kill + 10
    1 libsystem_c.dylib 0x00007fff8bd82b54 pthread_kill + 90
    2 libsystem_c.dylib 0x00007fff8bdc6dce abort + 143
    3 QtCore 0x0000000100b13749 0x100afc000 + 96073
    4 QtCore 0x0000000100b13db1 QMessageLogger::fatal(char const*, ...) const + 161
    5 QtGui 0x0000000100701bae QGuiApplicationPrivate::createPlatformIntegration() + 2814
    6 QtGui 0x0000000100701bcc QGuiApplicationPrivate::createEventDispatcher() + 28
    7 QtCore 0x0000000100cdefc5 QCoreApplication::init() + 101
    8 QtCore 0x0000000100cdef3a QCoreApplication::QCoreApplication(QCoreApplicationPrivate&) + 42
    9 QtGui 0x0000000100700301 QGuiApplication::QGuiApplication(QGuiApplicationPrivate&) + 17
    10 QtWidgets 0x0000000100157a2e QApplication::QApplication(int&, char**, int) + 206
    11 com.yourcompany.HodgkinHuxley 0x00000001000030f7 main + 39
    12 com.yourcompany.HodgkinHuxley 0x00000001000030c4 start + 52


    Binary Images:
    0x100000000 - 0x1000abfff +com.yourcompany.HodgkinHuxley (???) <5857599C-20FC-3865-AF75-8E3200A8F0C1> /Volumes/VOLUME/
    0x1000ec000 - 0x100115fff +QtPrintSupport (5.1) <6EBD2E80-3C59-3111-9472-373DB34F688D> /Volumes/VOLUME/
    0x100132000 - 0x1005c3ff7 +QtWidgets (5.1) <CE852048-EE0B-347F-B1B7-3E4FBAC53E68> /Volumes/VOLUME/
    0x1006e3000 - 0x100a3efff +QtGui (5.1) <7C05BFAA-2D04-30AF-8632-F7871F8946DE> /Volumes/VOLUME/
    0x100afc000 - 0x100fa2ff7 +QtCore (5.1) <B629689A-1CB5-3C3A-9290-8094A65E2571> /Volumes/VOLUME/


    External Modification Summary:
    Calls made by other processes targeting this process:
    task_for_pid: 2
    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: 195
    thread_create: 1
    thread_set_state: 0

    VM Region Summary:
    ReadOnly portion of Libraries: Total=158.0M resident=132.5M(84%) swapped_out_or_unallocated=25.5M(16%)
    Writable regions: Total=51.6M written=892K(2%) resident=1104K(2%) swapped_out=0K(0%) unallocated=50.6M(98%)

    =========== =======
    MALLOC 41.5M
    MALLOC guard page 48K
    Stack 9752K
    __DATA 10.9M
    __IMAGE 528K
    __LINKEDIT 54.4M
    __TEXT 103.6M
    __UNICODE 544K
    mapped file 18.1M
    shared memory 372K
    =========== =======
    TOTAL 295.6M

    Model: MacBookPro9,2, BootROM MBP91.00D3.B08, 2 processors, Intel Core i5, 2.5 GHz, 4 GB, SMC 2.2f38
    Graphics: Intel HD Graphics 4000, Intel HD Graphics 4000, Built-In, 512 MB
    Memory Module: BANK 0/DIMM0, 2 GB, DDR3, 1600 MHz, 0x80CE, 0x4D34373142353737334448302D434B302020
    Memory Module: BANK 1/DIMM0, 2 GB, DDR3, 1600 MHz, 0x80CE, 0x4D34373142353737334448302D434B302020
    AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xF5), Broadcom BCM43xx 1.0 (
    Bluetooth: Version 4.1.4f2 12041, 2 service, 11 devices, 1 incoming serial ports
    Network Service: Wi-Fi, AirPort, en1
    Serial ATA Device: TOSHIBA MK5065GSXF, 500,11 GB
    Serial ATA Device: MATSHITADVD-R UJ-8A8
    USB Device: hub_device, 0x8087 (Intel Corporation), 0x0024, 0x1a100000 / 2
    USB Device: FaceTime HD Camera (Built-in), apple_vendor_id, 0x8509, 0x1a110000 / 3
    USB Device: hub_device, 0x8087 (Intel Corporation), 0x0024, 0x1d100000 / 2
    USB Device: hub_device, 0x0424 (SMSC), 0x2513, 0x1d180000 / 3
    USB Device: Apple Internal Keyboard / Trackpad, apple_vendor_id, 0x0253, 0x1d183000 / 6
    USB Device: IR Receiver, apple_vendor_id, 0x8242, 0x1d182000 / 5
    USB Device: BRCM20702 Hub, 0x0a5c (Broadcom Corp.), 0x4500, 0x1d181000 / 4
    USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x821d, 0x1d181300 / 7@

    Can anyone help me?

  • Lifetime Qt Champion


    Just to be on the safe side: do you have the platform plugin in your bundle ?

  • Oh dear... I guess I forgot that one.

    EDIT: Hold on. They are included

  • Lifetime Qt Champion

    Did you check that all libraries/plugins path have been updated ?

  • Oh, I forgot to update the plugin library dependencies.. Is there a way to automate that? Currently, I am working all my way through using install_name_tool.

    macdeployqt does not seem to do it :/

  • Lifetime Qt Champion

    macdeployqt is in need of some attention (and AFAIK it's getting some) In between, I remember a post talking about a custom macdeployqt on github that did slightly a better job. You could try this one.

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.