More Mac RC3 Bugs
by Chris Dillman · in Torque Game Builder · 06/16/2006 (12:33 pm) · 4 replies
Loading a certain PNG crashes the TGB...used to work fine in RC1 and before.
Code looks like
// USE THIS FOR IMAGES
datablock t2dImageMapDatablock( PlayerImageMap ){
//mode = full; // FULL PICTURE
imageMode = cell; // CELLS
cellWidth = 64; // MUST BE POWER OF TWO?
cellHeight = 64; // MUST BE POWER OF TWO?
imageName = "~/images/player.png";
};
Computer is MBP 2.16 System 10.4.6
Date/Time: 2006-06-16 14:27:01.823 -0500
OS Version: 10.4.6 (Build 8I1121)
Report Version: 4
Command: Torque Game Builder
Path: /Applications/TorqueGameBuilderSDK/games/Torque Game Builder.app/Contents/MacOS/Torque Game Builder
Parent: WindowServer [57]
Version: Copyright 2001-2006 GarageGames.com, Inc. All rights reserved. (1.1)
PID: 769
Thread: 0
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000038
Thread 0 Crashed:
0 ...agegames.torqueGameBuidlder 0x001d1c0b 0x1000 + 1903627
1 ...agegames.torqueGameBuidlder 0x00217bc2 0x1000 + 2190274
2 ...agegames.torqueGameBuidlder 0x001dfdc9 0x1000 + 1961417
3 ...agegames.torqueGameBuidlder 0x00207c7d 0x1000 + 2124925
4 ...agegames.torqueGameBuidlder 0x001029c1 0x1000 + 1055169
5 ...agegames.torqueGameBuidlder 0x00102aa1 0x1000 + 1055393
6 ...agegames.torqueGameBuidlder 0x0011f854 0x1000 + 1173588
7 ...agegames.torqueGameBuidlder 0x000fec8e 0x1000 + 1039502
8 ...agegames.torqueGameBuidlder 0x000bc341 0x1000 + 766785
9 ...agegames.torqueGameBuidlder 0x001321df 0x1000 + 1249759
10 ...agegames.torqueGameBuidlder 0x000bb83f 0x1000 + 763967
11 ...agegames.torqueGameBuidlder 0x00145874 0x1000 + 1329268
12 com.apple.HIToolbox 0x92f317ce TimerVector + 31
13 com.apple.CoreFoundation 0x90823bc9 CFRunLoopRunSpecific + 3341
14 com.apple.CoreFoundation 0x90822eb5 CFRunLoopRunInMode + 61
15 com.apple.HIToolbox 0x92ef9c5c RunCurrentEventLoopInMode + 285
16 com.apple.HIToolbox 0x92ef929a ReceiveNextEventCommon + 184
17 com.apple.HIToolbox 0x92f418b5 _AcquireNextEvent + 58
18 com.apple.HIToolbox 0x92f4170c RunApplicationEventLoop + 150
19 ...agegames.torqueGameBuidlder 0x001436c4 0x1000 + 1320644
20 ...agegames.torqueGameBuidlder 0x000028de 0x1000 + 6366
21 ...agegames.torqueGameBuidlder 0x000027f9 0x1000 + 6137
Thread 1:
0 libSystem.B.dylib 0x90037e07 mach_wait_until + 7
1 libSystem.B.dylib 0x9003a572 usleep + 82
2 ...agegames.torqueGameBuidlder 0x00142e7d 0x1000 + 1318525
3 ...agegames.torqueGameBuidlder 0x0013423c 0x1000 + 1258044
4 ...agegames.torqueGameBuidlder 0x001428cc 0x1000 + 1317068
5 libSystem.B.dylib 0x90024a27 _pthread_body + 84
Thread 2:
0 libSystem.B.dylib 0x9000a4e7 mach_msg_trap + 7
1 com.apple.CoreFoundation 0x9082369a CFRunLoopRunSpecific + 2014
2 com.apple.CoreFoundation 0x90822eb5 CFRunLoopRunInMode + 61
3 com.apple.audio.CoreAudio 0x914549f2 HALRunLoop::OwnThread(void*) + 158
4 com.apple.audio.CoreAudio 0x9145480d CAPThread::Entry(CAPThread*) + 93
5 libSystem.B.dylib 0x90024a27 _pthread_body + 84
Thread 3:
0 libSystem.B.dylib 0x90049207 semaphore_timedwait_signal_trap + 7
1 com.apple.audio.CoreAudio 0x91461af8 CAGuard::WaitFor(unsigned long long) + 212
2 com.apple.audio.CoreAudio 0x91461a1a CAGuard::WaitUntil(unsigned long long) + 66
3 com.apple.audio.CoreAudio 0x9146048a HP_IOThread::WorkLoop() + 690
4 com.apple.audio.CoreAudio 0x914601d1 HP_IOThread::ThreadEntry(HP_IOThread*) + 17
5 com.apple.audio.CoreAudio 0x9145480d CAPThread::Entry(CAPThread*) + 93
6 libSystem.B.dylib 0x90024a27 _pthread_body + 84
Code looks like
// USE THIS FOR IMAGES
datablock t2dImageMapDatablock( PlayerImageMap ){
//mode = full; // FULL PICTURE
imageMode = cell; // CELLS
cellWidth = 64; // MUST BE POWER OF TWO?
cellHeight = 64; // MUST BE POWER OF TWO?
imageName = "~/images/player.png";
};
Computer is MBP 2.16 System 10.4.6
Date/Time: 2006-06-16 14:27:01.823 -0500
OS Version: 10.4.6 (Build 8I1121)
Report Version: 4
Command: Torque Game Builder
Path: /Applications/TorqueGameBuilderSDK/games/Torque Game Builder.app/Contents/MacOS/Torque Game Builder
Parent: WindowServer [57]
Version: Copyright 2001-2006 GarageGames.com, Inc. All rights reserved. (1.1)
PID: 769
Thread: 0
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000038
Thread 0 Crashed:
0 ...agegames.torqueGameBuidlder 0x001d1c0b 0x1000 + 1903627
1 ...agegames.torqueGameBuidlder 0x00217bc2 0x1000 + 2190274
2 ...agegames.torqueGameBuidlder 0x001dfdc9 0x1000 + 1961417
3 ...agegames.torqueGameBuidlder 0x00207c7d 0x1000 + 2124925
4 ...agegames.torqueGameBuidlder 0x001029c1 0x1000 + 1055169
5 ...agegames.torqueGameBuidlder 0x00102aa1 0x1000 + 1055393
6 ...agegames.torqueGameBuidlder 0x0011f854 0x1000 + 1173588
7 ...agegames.torqueGameBuidlder 0x000fec8e 0x1000 + 1039502
8 ...agegames.torqueGameBuidlder 0x000bc341 0x1000 + 766785
9 ...agegames.torqueGameBuidlder 0x001321df 0x1000 + 1249759
10 ...agegames.torqueGameBuidlder 0x000bb83f 0x1000 + 763967
11 ...agegames.torqueGameBuidlder 0x00145874 0x1000 + 1329268
12 com.apple.HIToolbox 0x92f317ce TimerVector + 31
13 com.apple.CoreFoundation 0x90823bc9 CFRunLoopRunSpecific + 3341
14 com.apple.CoreFoundation 0x90822eb5 CFRunLoopRunInMode + 61
15 com.apple.HIToolbox 0x92ef9c5c RunCurrentEventLoopInMode + 285
16 com.apple.HIToolbox 0x92ef929a ReceiveNextEventCommon + 184
17 com.apple.HIToolbox 0x92f418b5 _AcquireNextEvent + 58
18 com.apple.HIToolbox 0x92f4170c RunApplicationEventLoop + 150
19 ...agegames.torqueGameBuidlder 0x001436c4 0x1000 + 1320644
20 ...agegames.torqueGameBuidlder 0x000028de 0x1000 + 6366
21 ...agegames.torqueGameBuidlder 0x000027f9 0x1000 + 6137
Thread 1:
0 libSystem.B.dylib 0x90037e07 mach_wait_until + 7
1 libSystem.B.dylib 0x9003a572 usleep + 82
2 ...agegames.torqueGameBuidlder 0x00142e7d 0x1000 + 1318525
3 ...agegames.torqueGameBuidlder 0x0013423c 0x1000 + 1258044
4 ...agegames.torqueGameBuidlder 0x001428cc 0x1000 + 1317068
5 libSystem.B.dylib 0x90024a27 _pthread_body + 84
Thread 2:
0 libSystem.B.dylib 0x9000a4e7 mach_msg_trap + 7
1 com.apple.CoreFoundation 0x9082369a CFRunLoopRunSpecific + 2014
2 com.apple.CoreFoundation 0x90822eb5 CFRunLoopRunInMode + 61
3 com.apple.audio.CoreAudio 0x914549f2 HALRunLoop::OwnThread(void*) + 158
4 com.apple.audio.CoreAudio 0x9145480d CAPThread::Entry(CAPThread*) + 93
5 libSystem.B.dylib 0x90024a27 _pthread_body + 84
Thread 3:
0 libSystem.B.dylib 0x90049207 semaphore_timedwait_signal_trap + 7
1 com.apple.audio.CoreAudio 0x91461af8 CAGuard::WaitFor(unsigned long long) + 212
2 com.apple.audio.CoreAudio 0x91461a1a CAGuard::WaitUntil(unsigned long long) + 66
3 com.apple.audio.CoreAudio 0x9146048a HP_IOThread::WorkLoop() + 690
4 com.apple.audio.CoreAudio 0x914601d1 HP_IOThread::ThreadEntry(HP_IOThread*) + 17
5 com.apple.audio.CoreAudio 0x9145480d CAPThread::Entry(CAPThread*) + 93
6 libSystem.B.dylib 0x90024a27 _pthread_body + 84
#2
They did earlier.
Now Im getting a Could not load from stream!
06/16/2006 (1:09 pm)
Older map formats are supposed to load?They did earlier.
Now Im getting a Could not load from stream!
#3
new GuiBitmapButtonCtrl(buybutton) {
profile = "GuiDefaultProfile";
horizSizing = "relative";
vertSizing = "relative";
position = "200 5";
extent = "60 30";
minExtent = "8 2";
visible = "1";
command = "buy();";
text = "Register";
groupNum = "-1";
buttonType = "PushButton";
bitmap = "~/images/buybutton";
};
Reports that the texture buybutton can not be loaded in the console.
BUT its shows up fine in game as do all my buttons.
06/16/2006 (1:43 pm)
Next bug?new GuiBitmapButtonCtrl(buybutton) {
profile = "GuiDefaultProfile";
horizSizing = "relative";
vertSizing = "relative";
position = "200 5";
extent = "60 30";
minExtent = "8 2";
visible = "1";
command = "buy();";
text = "Register";
groupNum = "-1";
buttonType = "PushButton";
bitmap = "~/images/buybutton";
};
Reports that the texture buybutton can not be loaded in the console.
BUT its shows up fine in game as do all my buttons.
#4
new GuiBitmapButtonCtrl(buybutton) {
profile = "GuiDefaultProfile";
horizSizing = "relative";
vertSizing = "relative";
position = "200 5";
extent = "60 30";
minExtent = "8 2";
visible = "1";
command = "buy();";
text = "Register";
groupNum = "-1";
buttonType = "PushButton";
bitmap = "~/images/buybutton";
};
Reports that the texture buybutton can not be loaded in the console.
BUT its shows up fine in game as do all my buttons.
06/16/2006 (6:44 pm)
Next bug?new GuiBitmapButtonCtrl(buybutton) {
profile = "GuiDefaultProfile";
horizSizing = "relative";
vertSizing = "relative";
position = "200 5";
extent = "60 30";
minExtent = "8 2";
visible = "1";
command = "buy();";
text = "Register";
groupNum = "-1";
buttonType = "PushButton";
bitmap = "~/images/buybutton";
};
Reports that the texture buybutton can not be loaded in the console.
BUT its shows up fine in game as do all my buttons.
Torque Owner Chris Dillman