PDA

View Full Version : mac deployment problem



munna
5th December 2006, 15:33
Hi,

I followed the instructions given here (http://doc.trolltech.com/qq/qq09-mac-deployment.html#sharedlibraries) to build my application on mac. But when I try to execute it on a machine that does not have Qt installed, I get the following errors.




Date/Time: 2006-12-05 19:19:19.094 +0530
OS Version: 10.4.4 (Build 8G32)
Report Version: 3

Command: algebrator
Path: /Applications/Alg/algebrator.app/Contents/MacOS/algebrator
Parent: bash [309]

Version: ??? (???)

PID: 310
Thread: 0

Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000000

Thread 0 Crashed:
0 libqt-mt.3.dylib 0x064944d8 0x61e3000 + 2823384 (icplusplus.c:28)
1 libqt-mt.3.dylib 0x064946dc 0x61e3000 + 2823900 (icplusplus.c:28)
2 libqmng.dylib 0x007b321c QMNGFormatType::QMNGFormatType[in-charge]() + 32 (bundle1.s:283)
3 libqmng.dylib 0x00770ac0 qInitMngIO() + 64 (bundle1.s:283)
4 libqmng.dylib 0x00770be0 MNGFormat::installIOHandler(QString const&) + 56 (bundle1.s:283)
5 libqt-mt.3.dylib 0xb2057c58 qt_init_image_plugins() + 392 (icplusplus.c:28)
6 libqt-mt.3.dylib 0xb2058034 QImageIO::outputFormats() + 44 (icplusplus.c:28)
7 libqt-mt.3.dylib 0xb20580e0 QImage::outputFormats() + 24 (icplusplus.c:28)
8 libqt-mt.3.dylib 0xb2046eec QImageDrag::setImage(QImage) + 56 (icplusplus.c:28)
9 libqt-mt.3.dylib 0xb204732c QImageDrag::QImageDrag[in-charge](QImage, QWidget*, char const*) + 128 (icplusplus.c:28)
10 libqt-mt.3.dylib 0xb20729d0 QMimeSourceFactory::setImage(QString const&, QImage const&) + 72 (icplusplus.c:28)
11 algebrator 0x00287e40 MimeSourceFactory_algebrator::data(QString const&) const + 532 ((null):-1)
12 libqt-mt.3.dylib 0xb2073774 QMimeSourceFactory::data(QString const&) const + 468 (icplusplus.c:28)
13 libqt-mt.3.dylib 0xb208d37c QPixmap::fromMimeSource(QString const&) + 60 (icplusplus.c:28)
14 algebrator 0x0001700c ApplicationWindow::ApplicationWindow[in-charge](QApplication*) + 1248 (crt.c:355)
15 algebrator 0x00107508 main + 72 (crt.c:355)
16 algebrator 0x00008498 _start + 340 (crt.c:272)
17 algebrator 0x00008340 start + 60

Thread 0 crashed with PPC Thread State 64:
srr0: 0x00000000064944d8 srr1: 0x000000000200d030 vrsave: 0x0000000000000000
cr: 0x22000244 xer: 0x0000000000000004 lr: 0x00000000064944c8 ctr: 0x00000000064946ac
r0: 0x00000000064946dc r1: 0x00000000bffff370 r2: 0x0000000000000000 r3: 0x0000000000000000
r4: 0x0000000001127940 r5: 0x0000000001127940 r6: 0x0000000000000000 r7: 0x0000000000000001
r8: 0x00000000011277c1 r9: 0x0000000000000001 r10: 0x0000000006220b7c r11: 0x000000000672e36c
r12: 0x00000000064946ac r13: 0x000000000180fdc4 r14: 0x000000000180fdcc r15: 0x000000000180fdd4
r16: 0x000000000180fddc r17: 0x000000000180fb14 r18: 0x000000000180fafc r19: 0x000000000180fde4
r20: 0x000000000180fdec r21: 0x000000000180faf8 r22: 0x000000000180fe44 r23: 0x00000000bffff800
r24: 0x0000000000357c34 r25: 0x00000000011057b0 r26: 0x0000000000000000 r27: 0x00000000b2607ad8
r28: 0x0000000000000000 r29: 0x0000000001127940 r30: 0x0000000001127940 r31: 0x00000000064944c8

Binary Images Description:
0x1000 - 0x356fff algebrator /Applications/Alg/algebrator.app/Contents/MacOS/algebrator
0x747000 - 0x767fff libqjpeg.dylib /Developer/Qt/3.3.6/plugins/imageformats/libqjpeg.dylib
0x76e000 - 0x7b5fff libqmng.dylib /Developer/Qt/3.3.6/plugins/imageformats/libqmng.dylib
0x61e3000 - 0x672afff libqt-mt.3.dylib /usr/lib/libqt-mt.3.dylib
0x8fa79000 - 0x8fd27fff com.apple.QuickTime 7.0.4 /System/Library/Frameworks/QuickTime.framework/Versions/A/QuickTime
0x8fe00000 - 0x8fe54fff dyld 44.2 /usr/lib/dyld
0x90000000 - 0x901b3fff libSystem.B.dylib /usr/lib/libSystem.B.dylib
0x9020b000 - 0x9020ffff libmathCommon.A.dylib /usr/lib/system/libmathCommon.A.dylib
0x90211000 - 0x90264fff com.apple.CoreText 1.0.1 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreText.framework/Versions/A/CoreText
0x90291000 - 0x90342fff ATS /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS
0x90371000 - 0x906aefff com.apple.CoreGraphics 1.256.30 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
0x9073a000 - 0x90813fff com.apple.CoreFoundation 6.4.4 (368.25) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x9085c000 - 0x9085cfff com.apple.CoreServices 10.4 (???) /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x9085e000 - 0x90960fff libicucore.A.dylib /usr/lib/libicucore.A.dylib
0x909ba000 - 0x90a3efff libobjc.A.dylib /usr/lib/libobjc.A.dylib
0x90a68000 - 0x90ad6fff com.apple.framework.IOKit 1.4.1 (???) /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x90aed000 - 0x90afffff libauto.dylib /usr/lib/libauto.dylib
0x90b06000 - 0x90ddefff com.apple.CoreServices.CarbonCore 681.3 (671.2) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
0x90e44000 - 0x90ec4fff com.apple.CoreServices.OSServices 4.1 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
0x90f0e000 - 0x90f4ffff com.apple.CFNetwork 10.4.4 (129.9) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
0x90f64000 - 0x90f7cfff com.apple.WebServices 1.1.2 (1.1.0) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/WebServicesCore.framework/Versions/A/WebServicesCore
0x90f8c000 - 0x9100dfff com.apple.SearchKit 1.0.5



The same code works perfectly for a windows system.

Can someone please tell me what am I missing ?

Thanks a lot.

munna
6th December 2006, 15:38
Any ideas on this ?