Trolltech Home | Qt4-preview-feedback Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt4-preview-feedback Archive, March 2008
Cocoa Qt 4.4.0 alpha1: all applications crash


Message 1 in thread

Hi,

after the announcement yesterday I downloaded

    qt-mac-cocoa-commercial-src-4.4.0-alpha1.tar.gz

and configured it with

   ./configure -arch x86_64 -prefix $PWD

The build almost went through (fails on the orderform  example).

But if I try to start an application (Designer, Assistant, Linguist,
Colliding Mice example, etc.), it crashes:

Thread 0 Crashed:
0   com.apple.HIToolbox           	0x00007fff835461c4
HIObject::GetEventTarget() + 12
1   QtGui                         	0x00000001004941a0
QAccessibleHierarchyManager::registerInterface(QObject*,
OpaqueHIObjectRef*, QInterfaceFactory*) + 224
2   QtGui                         	0x000000010049b438
QAccessibleHierarchyManager::registerInterface(QAInterface const&) +
1128
3   QtGui                         	0x000000010049b93f
QAccessible::updateAccessibility(QObject*, int, QAccessible::Event) +
239
4   QtGui                         	0x00000001000a4cb3
QWidgetPrivate::show_helper() + 371
5   QtGui                         	0x00000001000a4b15
QWidgetPrivate::showChildren(bool) + 341
6   QtGui                         	0x00000001000a4b86
QWidgetPrivate::show_helper() + 70
7   QtGui                         	0x00000001000a7a98
QWidget::setVisible(bool) + 1144
8   collidingmice                 	0x0000000100005079 QWidget::show()
+ 37 (qwidget.h:448)
9   collidingmice                 	0x0000000100004d61 main + 975 (main.cpp:66)
10  collidingmice                 	0x0000000100004970 start + 52


Any ideas?

Rainer

To unsubscribe - send "unsubscribe" in the subject to qt4-preview-feedback-request@xxxxxxxxxxxxx


Message 2 in thread

On 2008-03-04 12:15:00 +0100, "Rainer Schmid" <ashcatch@xxxxxxxxxxxxxx> said:

> Hi,
> 
> after the announcement yesterday I downloaded
> 
>     qt-mac-cocoa-commercial-src-4.4.0-alpha1.tar.gz
> 
> and configured it with
> 
>    ./configure -arch x86_64 -prefix $PWD
> 
> The build almost went through (fails on the orderform  example).
> 
> But if I try to start an application (Designer, Assistant, Linguist,
> Colliding Mice example, etc.), it crashes:

Hmm... it looks like the accessibility plugin is wrecking havoc. It 
shouldn't even be built for 64-bit. Try removing the accessibility 
plugin from the plugins directory and see if that solves the problem.

Maybe accessibility should have been disabled explicitly for the alpha.

Hope this helps,

-- Trenton

To unsubscribe - send "unsubscribe" in the subject to qt4-preview-feedback-request@xxxxxxxxxxxxx


Message 3 in thread

Hi,

>  > after the announcement yesterday I downloaded
>  >
>  >     qt-mac-cocoa-commercial-src-4.4.0-alpha1.tar.gz
>  >
>  > and configured it with
>  >
>  >    ./configure -arch x86_64 -prefix $PWD
>  >
>  > The build almost went through (fails on the orderform  example).
>  >
>  > But if I try to start an application (Designer, Assistant, Linguist,
>  > Colliding Mice example, etc.), it crashes:
>
>  Hmm... it looks like the accessibility plugin is wrecking havoc. It
>  shouldn't even be built for 64-bit. Try removing the accessibility
>  plugin from the plugins directory and see if that solves the problem.

Removing the plugin does not help (same crash). I will try to disable
accessibility explicitly.

Rainer

To unsubscribe - send "unsubscribe" in the subject to qt4-preview-feedback-request@xxxxxxxxxxxxx


Message 4 in thread

On 2008-03-04 15:50:12 +0100, "Rainer Schmid" <ashcatch@xxxxxxxxxxxxxx> said:

> Hi,
> 
>>> after the announcement yesterday I downloaded
>>> 
>>> qt-mac-cocoa-commercial-src-4.4.0-alpha1.tar.gz
>>> 
>>> and configured it with
>>> 
>>> ./configure -arch x86_64 -prefix $PWD
>>> 
>>> The build almost went through (fails on the orderform  example).
>>> 
>>> But if I try to start an application (Designer, Assistant, Linguist,
>>> Colliding Mice example, etc.), it crashes:
>> 
>> Hmm... it looks like the accessibility plugin is wrecking havoc. It
>> shouldn't even be built for 64-bit. Try removing the accessibility
>> plugin from the plugins directory and see if that solves the problem.
> 
> Removing the plugin does not help (same crash). I will try to disable
> accessibility explicitly.

OK. It looks like that could be the trick. I'll see if I can't be a bit 
better disabling things in qaccessible_mac.cpp for the moment as well. 
It really shouldn't be getting any HIObject stuff there at all.

You could just register interface return too and see if that helps?

-- Trenton


To unsubscribe - send "unsubscribe" in the subject to qt4-preview-feedback-request@xxxxxxxxxxxxx


Message 5 in thread

I just tried using the qt Cocoa alpha release building with the 
"-static" option,
all example projects crash, even examples/tutorial/t1.app

Is that a known limitation for now?

- DavidF

Trenton Schulz wrote:
> On 2008-03-04 15:50:12 +0100, "Rainer Schmid" 
> <ashcatch@xxxxxxxxxxxxxx> said:
>
>> Hi,
>>
>>>> after the announcement yesterday I downloaded
>>>>
>>>> qt-mac-cocoa-commercial-src-4.4.0-alpha1.tar.gz
>>>>
>>>> and configured it with
>>>>
>>>> ./configure -arch x86_64 -prefix $PWD
>>>>
>>>> The build almost went through (fails on the orderform  example).
>>>>
>>>> But if I try to start an application (Designer, Assistant, Linguist,
>>>> Colliding Mice example, etc.), it crashes:
>>>
>>> Hmm... it looks like the accessibility plugin is wrecking havoc. It
>>> shouldn't even be built for 64-bit. Try removing the accessibility
>>> plugin from the plugins directory and see if that solves the problem.
>>
>> Removing the plugin does not help (same crash). I will try to disable
>> accessibility explicitly.
>
> OK. It looks like that could be the trick. I'll see if I can't be a 
> bit better disabling things in qaccessible_mac.cpp for the moment as 
> well. It really shouldn't be getting any HIObject stuff there at all.
>
> You could just register interface return too and see if that helps?
>
> -- Trenton
>
>
> To unsubscribe - send "unsubscribe" in the subject to 
> qt4-preview-feedback-request@xxxxxxxxxxxxx
>
>
>

To unsubscribe - send "unsubscribe" in the subject to qt4-preview-feedback-request@xxxxxxxxxxxxx


Message 6 in thread

Hi David,

On 2008-03-12 18:15:30 +0100, David Forstenlechner <dforsten@xxxxxxxxxx> said:

> I just tried using the qt Cocoa alpha release building with the 
> "-static" option,
> all example projects crash, even examples/tutorial/t1.app
> 
> Is that a known limitation for now?

If you read the blog entry here:

http://labs.trolltech.com/blogs/2008/03/03/qtmac-cocoa-port-alpha-released/

You'll see that it's something that we are considering not supporting. 
Not because we don't want to, but rather because of the billions of 
options it opens up to having your application fail.

As for the crash, seeing a backtrace would be helpful, it could very 
well be because it's static and it's expecting to be able to load a nib 
that's probably no where to be found.

As for the crash with accessibility, it seems turning off "support for 
assistive devices" makes it work. This didn't get tested before the 
alpha shipped. Sorry about that.

Hope this helps,

-- Trenton

To unsubscribe - send "unsubscribe" in the subject to qt4-preview-feedback-request@xxxxxxxxxxxxx


Message 7 in thread

Thanks for the quick answer Trenton,

static versions of the Qt libraries are pretty important to us,
since we plan to use it in a variety of contexts, some of which
require all dependencies to be contained in the binary.

I attached the crash report,
on the command line I get following output

trying to execute t1.app:
2008-03-12 10:07:43.466 t1[87394:10b] *** -[NSWindow 
initWithQWidget:contentRect:styleMask:]: unrecognized selector sent to 
instance 0x10183de50
2008-03-12 10:07:43.707 t1[87394:10b] An uncaught exception was raised
2008-03-12 10:07:43.708 t1[87394:10b] *** -[NSWindow 
initWithQWidget:contentRect:styleMask:]: unrecognized selector sent to 
instance 0x10183de50
2008-03-12 10:07:43.708 t1[87394:10b] *** Terminating app due to 
uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSWindow 
initWithQWidget:contentRect:styleMask:]: unrecognized selector sent to 
instance 0x10183de50'
2008-03-12 10:07:43.709 t1[87394:10b] Stack: (
    140735409188444,
    140735364037063,
    140735409215387,
    140735409208868,
    140735409209208,
    4295032140,
    4295040593,
    4295062267,
    4295693044,
    4295733606,
    4295734171,
    4295096512,
    4295096739,
    4295339492,
    4295060705,
    4295693044,
    4295714594,
    4294985099,
    4294984897,
    4294984748
)
terminate called after throwing an instance of 'NSException'
Abort trap

Regards
- DavidF

Trenton Schulz wrote:
> Hi David,
>
> On 2008-03-12 18:15:30 +0100, David Forstenlechner 
> <dforsten@xxxxxxxxxx> said:
>
>> I just tried using the qt Cocoa alpha release building with the 
>> "-static" option,
>> all example projects crash, even examples/tutorial/t1.app
>>
>> Is that a known limitation for now?
>
> If you read the blog entry here:
>
> http://labs.trolltech.com/blogs/2008/03/03/qtmac-cocoa-port-alpha-released/ 
>
>
> You'll see that it's something that we are considering not supporting. 
> Not because we don't want to, but rather because of the billions of 
> options it opens up to having your application fail.
>
> As for the crash, seeing a backtrace would be helpful, it could very 
> well be because it's static and it's expecting to be able to load a 
> nib that's probably no where to be found.
>
> As for the crash with accessibility, it seems turning off "support for 
> assistive devices" makes it work. This didn't get tested before the 
> alpha shipped. Sorry about that.
>
> Hope this helps,
>
> -- Trenton
>
> To unsubscribe - send "unsubscribe" in the subject to 
> qt4-preview-feedback-request@xxxxxxxxxxxxx
>
>
>

Process:         t1 [244]
Process:         t1 [244]
Path:            /Volumes/Data/Programming/qt-mac-cocoa-commercial-src-4.4.0-alpha1/examples/tutorial/t1/t1.app/Contents/MacOS/t1
Identifier:      t1
Version:         ??? (???)
Code Type:       X86-64 (Native)
Parent Process:  bash [151]

Date/Time:       2008-03-12 22:52:08.366 +0100
OS Version:      Mac OS X 10.5.2 (9C31)
Report Version:  6

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

Application Specific Information:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSWindow initWithQWidget:contentRect:styleMask:]: unrecognized selector sent to instance 0x10113de50'

Thread 0 Crashed:
0   libSystem.B.dylib             	0x00007fff80807366 __kill + 10
1   libstdc++.6.dylib             	0x00007fff82cdf085 dyld_stub__Unwind_DeleteException + 0
2   libobjc.A.dylib               	0x00007fff83346bd7 _objc_terminate + 102
3   libstdc++.6.dylib             	0x00007fff82cdd425 __gxx_personality_v0 + 1259
4   libstdc++.6.dylib             	0x00007fff82cdd45b std::terminate() + 19
5   libstdc++.6.dylib             	0x00007fff82cdd54c __cxa_rethrow + 0
6   libobjc.A.dylib               	0x00007fff83346a5e objc_exception_rethrow + 0
7   com.apple.CoreFoundation      	0x00007fff8312479b -[NSObject doesNotRecognizeSelector:] + 171
8   com.apple.CoreFoundation      	0x00007fff83122e24 ___forwarding___ + 756
9   com.apple.CoreFoundation      	0x00007fff83122f78 _CF_forwarding_prep_0 + 232
10  t1                            	0x000000010000fd4c qt_mac_create_window(QWidget*, unsigned int, unsigned long, CGRect const&) + 166
11  t1                            	0x0000000100011e51 QWidgetPrivate::qt_create_root_win() + 205
12  t1                            	0x00000001000172fb QWidgetPrivate::create_sys(long, bool, bool) + 2049
13  t1                            	0x00000001000b12f4 QWidget::create(long, bool, bool) + 568
14  t1                            	0x00000001000bb166 QWidgetPrivate::init(QWidget*, QFlags<Qt::WindowType>) + 834
15  t1                            	0x00000001000bb39b QWidget::QWidget(QWidgetPrivate&, QWidget*, QFlags<Qt::WindowType>) + 123
16  t1                            	0x000000010001f8c0 QDesktopWidget::QDesktopWidget() + 72
17  t1                            	0x000000010001f9a3 QDesktopWidget::QDesktopWidget() + 21
18  t1                            	0x000000010005ade4 QApplication::desktop() + 82
19  t1                            	0x0000000100016ce1 QWidgetPrivate::create_sys(long, bool, bool) + 487
20  t1                            	0x00000001000b12f4 QWidget::create(long, bool, bool) + 568
21  t1                            	0x00000001000b6722 QWidget::setVisible(bool) + 432
22  t1                            	0x000000010000458b QWidget::show() + 37 (qwidget.h:448)
23  t1                            	0x00000001000044c1 main + 115 (main.cpp:45)
24  t1                            	0x000000010000442c start + 52

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x00007fff700b5698  rcx: 0x00007fff5fbfe918  rdx: 0x0000000000000000
  rdi: 0x00000000000000f4  rsi: 0x0000000000000006  rbp: 0x00007fff5fbfe930  rsp: 0x00007fff5fbfe918
   r8: 0x00007fff5fbfe4a0   r9: 0x0000000000000000  r10: 0x00007fff807df3a6  r11: 0x0000000000000202
  r12: 0x00007fff8314ccc8  r13: 0x0000000000000000  r14: 0x00007fff83350d60  r15: 0x00007fff70606040
  rip: 0x00007fff80807366  rfl: 0x0000000000000202  cr2: 0x00007fff8080735c

Binary Images:
       0x100000000 -        0x100974fff +t1 ??? (???) <cc4c687a1771bec6b209af03b04de408> /Volumes/Data/Programming/qt-mac-cocoa-commercial-src-4.4.0-alpha1/examples/tutorial/t1/t1.app/Contents/MacOS/t1
       0x101200000 -        0x1012f8fef  libiconv.dylib ??? (???) <2b42104e7aa2da6e64f979e585af02e9> /usr/lib/libiconv.dylib
    0x7fff5fc00000 -     0x7fff5fc2e593  dyld 96.2 (???) <d9ab5c6362a1c7430d8f13b90977a7f4> /usr/lib/dyld
    0x7fff80003000 -     0x7fff80005ff9  libRadiance.dylib ??? (???) <8ee3b6e664d605633d85807d6aaabd92> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib
    0x7fff80006000 -     0x7fff80028fff  libJPEG.dylib ??? (???) <0b51f0afb5fb084ff31bbcae8e9cf342> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib
    0x7fff80029000 -     0x7fff80031ffa  libbsm.dylib ??? (???) <a870a8e515e1a6407c81ddeebba21793> /usr/lib/libbsm.dylib
    0x7fff80032000 -     0x7fff8005afff  libcups.2.dylib ??? (???) <da4ace69869b603bf67723e3ebac4b3b> /usr/lib/libcups.2.dylib
    0x7fff8005b000 -     0x7fff8042ffff  com.apple.QuartzCore 1.5.1 (1.5.1) <5f52fa5c92a205998ece1884c6f2e485> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
    0x7fff80430000 -     0x7fff80457fff  libxslt.1.dylib ??? (???) <edd5bcbc17be0053cc2014d045ccbe08> /usr/lib/libxslt.1.dylib
    0x7fff80458000 -     0x7fff80475fef  libPng.dylib ??? (???) <d2954ec6cb33de7d57d118085d6f0609> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
    0x7fff80476000 -     0x7fff8047afff  libmathCommon.A.dylib ??? (???) /usr/lib/system/libmathCommon.A.dylib
    0x7fff8047b000 -     0x7fff80494fff  com.apple.openscripting 1.2.6 (???) <c1625319b1a114ffac2b866c3aa0ddd5> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/Versions/A/OpenScripting
    0x7fff80495000 -     0x7fff804a1ff1  libgcc_s.1.dylib ??? (???) <6fc905606335f261db4da9529c7e2711> /usr/lib/libgcc_s.1.dylib
    0x7fff804a2000 -     0x7fff8079dfe3  com.apple.CoreServices.CarbonCore 785.8 (785.8) <0be2b64c7b226316dc4618311fc4ea3f> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
    0x7fff8079e000 -     0x7fff8079effa  com.apple.CoreServices 32 (32) <f1ae7e34fb008524b502ed0185b32794> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
    0x7fff8079f000 -     0x7fff80922ffb  libSystem.B.dylib ??? (???) <c86f46fe2d05b66f4dbcb359a463e556> /usr/lib/libSystem.B.dylib
    0x7fff80923000 -     0x7fff8093dfff  libvDSP.dylib ??? (???) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib
    0x7fff8093e000 -     0x7fff80bd7ff3  com.apple.Foundation 6.5.4 (677.15) <0addc2cf6670b1b2dbe94c3295f1dad4> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
    0x7fff80bd8000 -     0x7fff80beeff9  com.apple.ImageCapture 4.0 (5.0.0) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture.framework/Versions/A/ImageCapture
    0x7fff80bef000 -     0x7fff80cd0fff  libcrypto.0.9.7.dylib ??? (???) <c39effd87ec6fb72b9a95a5c63baca41> /usr/lib/libcrypto.0.9.7.dylib
    0x7fff80cd1000 -     0x7fff80d25fe3  com.apple.HIServices 1.7.0 (???) <ab682a94bbb2418c772570a5f5e13849> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices
    0x7fff80d26000 -     0x7fff80dbbffb  com.apple.LaunchServices 286.5 (286.5) <8cb7ec21dbbde5b77fe574bd954110a3> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
    0x7fff80dbc000 -     0x7fff816e3fef  com.apple.AppKit 6.5.2 (949.26) <a3b1ead0d361a111f8fce11f96d8627a> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
    0x7fff816e4000 -     0x7fff81730fe7  com.apple.Metadata 10.5.2 (398.7) <c1804de18f40d232845327bac8b04620> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata
    0x7fff8173b000 -     0x7fff8177efef  libTIFF.dylib ??? (???) <ef7ca7cb3a458d691d950e916a58e864> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
    0x7fff8177f000 -     0x7fff8181ffe3  com.apple.ApplicationServices.ATS 3.2 (???) <d0c80ca92b63d2bfaeb61b2f8297ecab> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS
    0x7fff81820000 -     0x7fff81a23fe3  com.apple.security 5.0.2 (33001) <5f88da5ea4572cef35559dffefa4e51b> /System/Library/Frameworks/Security.framework/Versions/A/Security
    0x7fff81a24000 -     0x7fff81d0bfeb  com.apple.HIToolbox 1.5.2 (???) <c870de519a68fb8653484ea2ad0463f9> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
    0x7fff81d0c000 -     0x7fff81d0cfff  com.apple.Carbon 136 (136) <03d8b56572c45d8e6de756bc2fb86187> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
    0x7fff81d0d000 -     0x7fff81d48fff  com.apple.AE 402.2 (402.2) <b03583e0747f82199e0d9604014faa34> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
    0x7fff81d49000 -     0x7fff81d49ffb  com.apple.installserver.framework 1.0 (8) /System/Library/PrivateFrameworks/InstallServer.framework/Versions/A/InstallServer
    0x7fff81d4a000 -     0x7fff8226cf26  libGLProgrammability.dylib ??? (???) <6f8e69d24809a9d780dda3c068082c42> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLProgrammability.dylib
    0x7fff8226d000 -     0x7fff8226dff8  com.apple.ApplicationServices 34 (34) <29a6f07deb1ef821735e2c18ef1e9fa5> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
    0x7fff8226e000 -     0x7fff822f5ff3  com.apple.CFNetwork 221.5 (221.5) <ad41aaeebf14c45daeeda09619a8e337> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
    0x7fff822f6000 -     0x7fff82332fff  libGLImage.dylib ??? (???) <d2fc4fa9a6388885c6cf09a6062adf85> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib
    0x7fff82333000 -     0x7fff82436feb  com.apple.CoreData 100.1 (186) <074abc7f43f81f7885e4d0674a8be4bc> /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
    0x7fff82437000 -     0x7fff82445fff  libCSync.A.dylib ??? (???) <8742ef87d60551c2f6f7433f447ab335> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
    0x7fff82497000 -     0x7fff82c54fef  libBLAS.dylib ??? (???) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
    0x7fff82c55000 -     0x7fff82c57ff7  libffi.dylib ??? (???) <5ccd57a3de7db7f7bffa1b6ef2217b0c> /usr/lib/libffi.dylib
    0x7fff82c58000 -     0x7fff82c95ff7  com.apple.SystemConfiguration 1.9.1 (1.9.1) <107675c0c5bf442f043b4dd45643c268> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
    0x7fff82c96000 -     0x7fff82d0afe7  libstdc++.6.dylib ??? (???) <379a6a2dc6e21ba77310b3d2d9ea30ac> /usr/lib/libstdc++.6.dylib
    0x7fff82d0b000 -     0x7fff82dbefef  com.apple.DesktopServices 1.4.5 (1.4.5) <87eb0b6b89d41703bf1d7d4439a14cdc> /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv
    0x7fff82dbf000 -     0x7fff82e03fef  libRIP.A.dylib ??? (???) <055d9d99b0407083c9a874a260c4fd77> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
    0x7fff82e04000 -     0x7fff82ec2fff  edu.mit.Kerberos 6.0.12 (6.0.12) <103f58dee1ac32a5ae85e0d57e9701bc> /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
    0x7fff82ec3000 -     0x7fff82ec3ffd  com.apple.vecLib 3.4.2 (vecLib 3.4.2) /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
    0x7fff82ec4000 -     0x7fff82ecefff  com.apple.speech.recognition.framework 3.7.24 (3.7.24) <a49d89814bff9aff6d477c00e426e158> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition
    0x7fff82ecf000 -     0x7fff82f57fe7  libsqlite3.0.dylib ??? (???) <3c7ab3523b816dbd3e039ee7e6e2c580> /usr/lib/libsqlite3.0.dylib
    0x7fff82f58000 -     0x7fff82f79fff  libresolv.9.dylib ??? (???) <3ff622c5a54df06082d8358706e866ee> /usr/lib/libresolv.9.dylib
    0x7fff82f7a000 -     0x7fff8303efe2  com.apple.vImage 3.0 (3.0) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage
    0x7fff8303f000 -     0x7fff83176fff  com.apple.CoreFoundation 6.5.1 (476.10) <702e3d446e622a3b16c5461eee6e186a> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
    0x7fff83177000 -     0x7fff83177ffd  com.apple.Accelerate 1.4.2 (Accelerate 1.4.2) /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
    0x7fff83178000 -     0x7fff8317bffb  com.apple.help 1.1 (36) <625c2d6bb29ee822f9dce6322d08df47> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/Versions/A/Help
    0x7fff8317c000 -     0x7fff831f6ff3  com.apple.CoreText 2.0.1 (???) <bee4bc398d5f9693bde82d2b522436a2> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreText.framework/Versions/A/CoreText
    0x7fff831f7000 -     0x7fff831fafff  com.apple.securityhi 3.0 (30817) <1112cafa6d76e27196cd0579b589d8df> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Versions/A/SecurityHI
    0x7fff831fb000 -     0x7fff832abfef  com.apple.CoreServices.OSServices 224.4 (224.4) <fdc6cc16c6064ca5db3358b5ad553188> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
    0x7fff832ac000 -     0x7fff832e0ff7  libGL.dylib ??? (???) /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
    0x7fff832e1000 -     0x7fff832f9fff  com.apple.DictionaryServices 1.0.0 (1.0.0) <ce7135044e951deaa2b687bc8537809a> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices
    0x7fff832fa000 -     0x7fff8333dfef  com.apple.QD 3.11.52 (???) <6168470edc8c4db06ec8d250eae8ada0> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD
    0x7fff8333e000 -     0x7fff83432fff  libobjc.A.dylib ??? (???) <097c18311136478bb48938be0777c168> /usr/lib/libobjc.A.dylib
    0x7fff83433000 -     0x7fff835a1fff  libicucore.A.dylib ??? (???) <a0360f4a6f39c2b063bb7b3bf0549819> /usr/lib/libicucore.A.dylib
    0x7fff835a2000 -     0x7fff835b3ffd  libz.1.dylib ??? (???) <2022cc8950afdf485ba1df76364ba725> /usr/lib/libz.1.dylib
    0x7fff835b4000 -     0x7fff83b78fef  com.apple.CoreGraphics 1.351.21 (???) <10172e10adb285a888f25977f86768ca> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
    0x7fff83b79000 -     0x7fff83cb5fe9  com.apple.ImageIO.framework 2.0.1 (2.0.1) <d07f3f1720e69cfbb9437b27e6ce9468> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
    0x7fff83cb6000 -     0x7fff83d1afef  libGLU.dylib ??? (???) /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
    0x7fff83d1b000 -     0x7fff840d3fff  libLAPACK.dylib ??? (???) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
    0x7fff840d4000 -     0x7fff840d4ffd  com.apple.Accelerate.vecLib 3.4.2 (vecLib 3.4.2) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib
    0x7fff840d5000 -     0x7fff840d6ff3  com.apple.audio.units.AudioUnit 1.5 (1.5) /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
    0x7fff840d7000 -     0x7fff841a2fe7  com.apple.ColorSync 4.5.0 (4.5.0) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync
    0x7fff841a3000 -     0x7fff841e2fef  com.apple.framework.IOKit 1.5.1 (???) <bfa69d224bfc57de4cef60556bf95769> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
    0x7fff841e3000 -     0x7fff841f2fe7  com.apple.opengl 1.5.6 (1.5.6) <4c86bd1ad050cc70bd161533bee514b2> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
    0x7fff841f3000 -     0x7fff84262ff9  com.apple.print.framework.PrintCore 5.5.2 (245.1) <a35c612963684b10de5192645e94a43a> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore
    0x7fff84263000 -     0x7fff842f4fff  com.apple.SearchKit 1.2.0 (1.2.0) <b5dc67de31f5d81eec9cbb4a6bcc3c28> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
    0x7fff842f5000 -     0x7fff842f7fff  com.apple.print.framework.Print 218.0.2 (220.1) <2b847a0a1cd885f596a4d10409d50ba3> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Print
    0x7fff842f9000 -     0x7fff843eefff  libxml2.2.dylib ??? (???) <9b882819fde96b95972426b99ecaa22b> /usr/lib/libxml2.2.dylib
    0x7fff843ef000 -     0x7fff84421ff7  libauto.dylib ??? (???) <cc8eece8c0097b254c758bd4e8df9537> /usr/lib/libauto.dylib
    0x7fff84422000 -     0x7fff84427fff  com.apple.CommonPanels 1.2.4 (85) <8f5631ff238ad1bad2e031fe5e7442d2> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/Versions/A/CommonPanels
    0x7fff84428000 -     0x7fff84541ffb  com.apple.audio.toolbox.AudioToolbox 1.5.1 (1.5.1) /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
    0x7fff84542000 -     0x7fff845c8fef  com.apple.audio.CoreAudio 3.1.0 (3.1) <e54f7eb4e3ded5f3162009b8ab35b29a> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
    0x7fff845c9000 -     0x7fff84606ff7  com.apple.coreui 1.1 (61) /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI
    0x7fff84616000 -     0x7fff8461afff  libGIF.dylib ??? (???) <28ed5fa039c8b1952b429387dbdc5007> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib
    0x7fff8461b000 -     0x7fff84621fff  com.apple.DiskArbitration 2.2.1 (2.2.1) <e75fe224700767869227cc903bef8ed9> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
    0x7fff84622000 -     0x7fff84624fff  com.apple.NavigationServices 3.5.1 (161) <a5bffaee5164cca8b80082f7a8eec01b> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/NavigationServices.framework/Versions/A/NavigationServices
    0x7fff84656000 -     0x7fff846ccfef  libvMisc.dylib ??? (???) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib
    0x7fff846cd000 -     0x7fff84768fe7  com.apple.ink.framework 101.3 (86) <03096cd083a6e70bc7a18ad1b81feb15> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/Ink
    0x7fff84769000 -     0x7fff8477afff  com.apple.speech.synthesis.framework 3.6.59 (3.6.59) <959487d33391362535845289e6440d24> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis
    0x7fff8477b000 -     0x7fff84798fef  com.apple.CoreVideo 1.5.0 (1.5.0) <29ba8e2178713b13d6f57dac5dfd919c> /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
    0x7fffffe00000 -     0x7fffffe01780  libSystem.B.dylib ??? (???) /usr/lib/libSystem.B.dylib
0xfffffffffffec000 - 0xfffffffffffeffff  libobjc.A.dylib ??? (???) /usr/lib/libobjc.A.dylib


Message 8 in thread

On Mar 12, 2008, at 4:01 PM, David Forstenlechner wrote:

> static versions of the Qt libraries are pretty important to us,
> since we plan to use it in a variety of contexts, some of which
> require all dependencies to be contained in the binary.


Hmm..

Will a Qt/Cocoa binary even work without being packaged in an  
application bundle? I don't think so, but I might be wrong.

But I think you'll need to put your binary in a directory structure like

MyApp.app/Contents/MacOS/myapp

and if that's the case, what's wrong with adding the Qt frameworks  
inside that bundle?

In other words, if you will be required to ship a directory structure  
anyway, it shouldn't make much difference to the end user what's in  
that structure.

But I've never shipped a statically-linked Mac GUI application. So I  
don't know.

- boyd

Boyd Waters
Scientific Programmer
National Radio Astronomy Observatory
Socorro, New Mexico

To unsubscribe - send "unsubscribe" in the subject to qt4-preview-feedback-request@xxxxxxxxxxxxx


Message 9 in thread

Thats true, application bundles are a good option on the
Mac for applications and shared libraries,
command line tools would still be an issue.

- DavidF

Boyd Waters wrote:
>
> On Mar 12, 2008, at 4:01 PM, David Forstenlechner wrote:
>
>> static versions of the Qt libraries are pretty important to us,
>> since we plan to use it in a variety of contexts, some of which
>> require all dependencies to be contained in the binary.
>
>
> Hmm..
>
> Will a Qt/Cocoa binary even work without being packaged in an 
> application bundle? I don't think so, but I might be wrong.
>
> But I think you'll need to put your binary in a directory structure like
>
> MyApp.app/Contents/MacOS/myapp
>
> and if that's the case, what's wrong with adding the Qt frameworks 
> inside that bundle?
>
> In other words, if you will be required to ship a directory structure 
> anyway, it shouldn't make much difference to the end user what's in 
> that structure.
>
> But I've never shipped a statically-linked Mac GUI application. So I 
> don't know.
>
> - boyd
>
> Boyd Waters
> Scientific Programmer
> National Radio Astronomy Observatory
> Socorro, New Mexico
>
> To unsubscribe - send "unsubscribe" in the subject to 
> qt4-preview-feedback-request@xxxxxxxxxxxxx
>
>
>

To unsubscribe - send "unsubscribe" in the subject to qt4-preview-feedback-request@xxxxxxxxxxxxx


Message 10 in thread

On Mar 12, 2008, at 5:32 PM, David Forstenlechner wrote:
> Thats true, application bundles are a good option on the
> Mac for applications and shared libraries,
> command line tools would still be an issue.



I have written non-GUI Qt command line tools on the Mac with the  
Carbon Qt, but I haven't tried static linking..

Can a command-line tool even participate in an event loop (emit/ 
receive signals) without being in an application bundle?

I realize this basic question isn't precisely related to Qt 4.4/Cocoa...


To unsubscribe - send "unsubscribe" in the subject to qt4-preview-feedback-request@xxxxxxxxxxxxx


Message 11 in thread

On 2008-03-13 02:03:23 +0100, Boyd Waters <bwaters@xxxxxxxx> said:

> 
> On Mar 12, 2008, at 5:32 PM, David Forstenlechner wrote:
>> Thats true, application bundles are a good option on the
>> Mac for applications and shared libraries,
>> command line tools would still be an issue.
> 


I guess I should be a bit more precise here. Nothing stops Qt from 
being built statically (especially for Command-line apps). The problem 
is that GUI applications need things to load a nib at runtime and we 
(and to a lesser extent Apple) have not found a way to keep the current 
Cocoa happy without it.

> 
> I have written non-GUI Qt command line tools on the Mac with the  
> Carbon Qt, but I haven't tried static linking..
> 
> Can a command-line tool even participate in an event loop (emit/ 
> receive signals) without being in an application bundle?

The short answer is "yes." But only in later version of Mac OS X 
(10.4+) and it requires you to "transform" the application yourself. 
Jambi does this for example.

> 
> I realize this basic question isn't precisely related to Qt 4.4/Cocoa...

Not really, no :-)

-- Trenton

To unsubscribe - send "unsubscribe" in the subject to qt4-preview-feedback-request@xxxxxxxxxxxxx


Message 12 in thread

On 2008-03-12 23:01:43 +0100, David Forstenlechner <dforsten@xxxxxxxxxx> said:

> 
> Thanks for the quick answer Trenton,
> 
> static versions of the Qt libraries are pretty important to us,
> since we plan to use it in a variety of contexts, some of which
> require all dependencies to be contained in the binary.

> 
> I attached the crash report,
> on the command line I get following output

Thanks, this is interesting. And this happens with every Qt example? 
Could you perhaps blow the build away and build again without static to 
see if this solves the problem? If it does, it gives an indication that 
a static build would be tougher to support than I thought :-/

-- Trenton

To unsubscribe - send "unsubscribe" in the subject to qt4-preview-feedback-request@xxxxxxxxxxxxx


Message 13 in thread

Trenton Schulz wrote:
>>
>> I attached the crash report,
>> on the command line I get following output
>
> Thanks, this is interesting. And this happens with every Qt example? 
> Could you perhaps blow the build away and build again without static 
> to see if this solves the problem? If it does, it gives an indication 
> that a static build would be tougher to support than I thought :-/
>
Yes, I tried a rebuild with the shared library version of Qt and it 
worked, with a few display glitches,
but no crashes.

- DavidF
> -- Trenton
>
> To unsubscribe - send "unsubscribe" in the subject to 
> qt4-preview-feedback-request@xxxxxxxxxxxxx
>
>
>

To unsubscribe - send "unsubscribe" in the subject to qt4-preview-feedback-request@xxxxxxxxxxxxx


Message 14 in thread

On 2008-03-13 11:24:51 +0100, David Forstenlechner <dforsten@xxxxxxxxxx> said:

> Trenton Schulz wrote:
>>> 
>>> I attached the crash report,
>>> on the command line I get following output
>> 
>> Thanks, this is interesting. And this happens with every Qt example? 
>> Could you perhaps blow the build away and build again without static to 
>> see if this solves the problem? If it does, it gives an indication that 
>> a static build would be tougher to support than I thought :-/
>> 
> Yes, I tried a rebuild with the shared library version of Qt and it 
> worked, with a few display glitches,
> but no crashes.

Hmm... that implies we can't use Objective-C categories in static 
libraries (or it requires some sort of special handshake). Categories 
are how we are wrapping windows (it's a more general approach than 
having every window derive from our own subclass of NSWindow). This is 
part of the reason why we wanted to go with the "framework only" 
version. Less surprises.

Anyway, we'll keep this in mind and if we decide to make QtGui work 
staticly in Cocoa. Thanks for the feedback.

-- Trenton


To unsubscribe - send "unsubscribe" in the subject to qt4-preview-feedback-request@xxxxxxxxxxxxx