Results 1 to 7 of 7

Thread: All binaries in 4.6.1 crash on OSX 10.5

  1. #1
    Join Date
    Feb 2010
    Location
    Los Angeles
    Posts
    61
    Thanks
    9
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default All binaries in 4.6.1 crash on OSX 10.5

    Dear all,

    I am using qt-everywhere-commercial-src-4.6.1 and compile works fine. Also my own projects all compile and run fine but non of the Qt apps in /bin or /examples run. Below is the crash dump on qtdemos.

    Any idea whats wrong?

    Markus

    Qt Code:
    1. Process: qtdemo [6449]
    2. Path: /usr/local/Trolltech/Qt-4.6.1/bin/qtdemo.app/Contents/MacOS/qtdemo
    3. Identifier: com.trolltech.qt.demo
    4. Version: ??? (???)
    5. Code Type: X86-64 (Native)
    6. Parent Process: launchd [115]
    7.  
    8. Interval Since Last Report: 200 sec
    9. Crashes Since Last Report: 1
    10. Per-App Interval Since Last Report: 3 sec
    11. Per-App Crashes Since Last Report: 1
    12.  
    13. Date/Time: 2010-02-10 11:28:26.141 -0800
    14. OS Version: Mac OS X 10.5.8 (9L31a)
    15. Report Version: 6
    16. Anonymous UUID: 9C2E08A1-4986-4783-BAE7-03EA07FEE18C
    17.  
    18. Exception Type: EXC_CRASH (SIGABRT)
    19. Exception Codes: 0x0000000000000000, 0x0000000000000000
    20. Crashed Thread: 0
    21.  
    22. Thread 0 Crashed:
    23. 0 libSystem.B.dylib 0x00007fff812fef16 __kill + 10
    24. 1 com.trolltech.qt.demo 0x000000010093f275 qt_message_output(QtMsgType, char const*) + 133
    25. 2 com.trolltech.qt.demo 0x000000010093f417 qt_message(QtMsgType, char const*, __va_list_tag*) + 183
    26. 3 com.trolltech.qt.demo 0x000000010093f60a qFatal(char const*, ...) + 170
    27. 4 com.trolltech.qt.demo 0x00000001001b1d31 qt_init(QApplicationPrivate*, int) + 1937
    28. 5 com.trolltech.qt.demo 0x000000010021d094 QApplicationPrivate::construct() + 68
    29. 6 com.trolltech.qt.demo 0x000000010021d4f6 QApplication::QApplication(int&, char**, int) + 102
    30. 7 com.trolltech.qt.demo 0x00000001000052d9 main + 57
    31. 8 com.trolltech.qt.demo 0x0000000100005274 start + 52
    32.  
    33. Thread 0 crashed with X86 Thread State (64-bit):
    34. rax: 0x0000000000000000 rbx: 0x0000000000000000 rcx: 0x00007fff5fbff648 rdx: 0x0000000000000000
    35. rdi: 0x0000000000001931 rsi: 0x0000000000000006 rbp: 0x00007fff5fbff660 rsp: 0x00007fff5fbff648
    36. r8: 0x00007fffffe00838 r9: 0x00000001012ed538 r10: 0x00007fff812d6e36 r11: 0x0000000000000202
    37. r12: 0x0000000000000003 r13: 0x00007fff5fbff710 r14: 0x0000000000000003 r15: 0x00007fff5fbff880
    38. rip: 0x00007fff812fef16 rfl: 0x0000000000000202 cr2: 0x00007fff70128950
    To copy to clipboard, switch view to plain text mode 

  2. #2
    Join Date
    Jan 2006
    Location
    Frankfurt
    Posts
    500
    Thanks
    1
    Thanked 52 Times in 52 Posts
    Platforms
    MacOS X Unix/X11

    Default Re: All binaries in 4.6.1 crash on OSX 10.5

    Use Console.app to get the message that was send by the qapplcation. Your backtrace shows that the application crashes in the Qt message handler. This is intended behavior if someone puts out a message using qFatal. Not the actual text message would be interesting. It is given on the command line: Either start your application binary from the command line, e.g. the executable inside the bundle structure or use console.app to get the command line output of all applications that are launched via the finder GUI.
    It's nice to be important but it's more important to be nice.

  3. #3
    Join Date
    Feb 2010
    Location
    Los Angeles
    Posts
    61
    Thanks
    9
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: All binaries in 4.6.1 crash on OSX 10.5

    I have the console printout:

    Qt internal error: qt_menu.nib could not be loaded. The .nib file should be placed in QtGui.framework/Versions/Current/Resources/ or in the resources directory of your application bundle.
    Abort

  4. #4
    Join Date
    Jan 2006
    Location
    Frankfurt
    Posts
    500
    Thanks
    1
    Thanked 52 Times in 52 Posts
    Platforms
    MacOS X Unix/X11

    Default Re: All binaries in 4.6.1 crash on OSX 10.5

    Can you find that file in either location?
    It's nice to be important but it's more important to be nice.

  5. #5
    Join Date
    Feb 2010
    Location
    Los Angeles
    Posts
    61
    Thanks
    9
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: All binaries in 4.6.1 crash on OSX 10.5

    I cannot find any .nib files in Qt at all.
    Even in qt-sdk-mac-commercial-2010.01.dmg apps -- which do not crash -- are no nib files.

  6. #6
    Join Date
    Jan 2006
    Location
    Frankfurt
    Posts
    500
    Thanks
    1
    Thanked 52 Times in 52 Posts
    Platforms
    MacOS X Unix/X11

    Default Re: All binaries in 4.6.1 crash on OSX 10.5

    Then this SDK is probably linking against carbon.
    It's nice to be important but it's more important to be nice.

  7. #7
    Join Date
    Feb 2010
    Location
    Los Angeles
    Posts
    61
    Thanks
    9
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: All binaries in 4.6.1 crash on OSX 10.5

    I got answer from the support and my problem is the following:

    I am using the -static and x86_64 flags for the configure of the Qt build. This combination does not work because of Cocoa.

    All my fault...

Similar Threads

  1. Error with Debug Binaries
    By ashishrai in forum Qt Programming
    Replies: 1
    Last Post: 26th June 2008, 00:51
  2. Qt4.4 binaries for windows
    By mm in forum Installation and Deployment
    Replies: 3
    Last Post: 13th February 2008, 20:55
  3. Qt binaries too big.
    By William Wilson in forum Qt Programming
    Replies: 8
    Last Post: 22nd January 2008, 01:26
  4. Qt MAc Binaries
    By sunil.thaha in forum Installation and Deployment
    Replies: 1
    Last Post: 30th October 2007, 06:13
  5. Create binaries from QSA
    By Raistlin in forum Qt Programming
    Replies: 2
    Last Post: 30th September 2006, 10:10

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.