A Little Problem

JackA

Master Trainer
Joined
Apr 21, 2004
Messages
237
Hi! I have an error when i added a new unit:

Date/Time: 2004-06-20 08:37:38 -0700
OS Version: 10.3.4 (Build 7H63)
Report Version: 2

Command: Civilization III
Path: /Civilization III DO NOT UPDATE!/Civilization III
Version: ??? (???)
PID: 1837
Thread: 0

Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_INVALID_ADDRESS (0x0001) at 0x5e8956a7

Thread 0 Crashed:
0 Civilization III 0x00505d8c drawGarrisonedUnits__4CityFP6BufferP7tagRECTiPiiPi + 0x31c
1 <<00000000>> 0x0000000a 0 + 0xa
2 Civilization III 0x00524cd4 on_redraw__17CityManagementWinFv + 0x17e4
3 Civilization III 0x004d4f2c show__3WinFi + 0xbc
4 Civilization III 0x0052af28 showCityManagement__17CityManagementWinFP4City + 0x2a8
5 Civilization III 0x004f2548 zoom__4CityFv + 0x18
6 Civilization III 0x00547908 announceSettlement__7ConsoleFP4City + 0xa8
7 Civilization III 0x0054779c establishCity__7ConsoleFv + 0x14c
8 Civilization III 0x005485f4 issueCommand1__7ConsoleFUiP4Unit + 0xae4
9 Civilization III 0x005d6204 on_button_clicked__9InterfaceFi + 0x74
10 Civilization III 0x00483314 on_left_click__10BaseButtonFii + 0x124
11 Civilization III 0x004d61ac left_click_event__3WinFiii + 0xdc
12 Civilization III 0x004db820 on_l_button_up__3WinFiii + 0xf0
13 Civilization III 0x004ceef0 OnLButtonUp__17SysMessageHandlerFii + 0x50
14 Civilization III 0x0043fc70 OnLButtonUp__14MessageHandlerFP6HWND__iiUi + 0x20
15 Civilization III 0x0043f484 window_proc__14MessageHandlerFP6HWND__UiUil + 0x344
16 Civilization III 0x0040fc68 DispatchMessageA + 0x78
17 Civilization III 0x00480e1c do_task__6JGLSysFv + 0x6c
18 Civilization III 0x00480d68 wait_task__6JGLSysFv + 0x18
19 Civilization III 0x004cf2e0 wait_task__Fv + 0x20
20 Civilization III 0x0054e25c humanTurn__7ConsoleFv + 0x14c
21 Civilization III 0x0056246c control_game__Fb + 0x20c
22 Civilization III 0x00535768 run__13Civilization3Fiib + 0x48
23 Civilization III 0x005f429c WinMain + 0x26c
24 Civilization III 0x0041f5fc main + 0x52c

Thread 1:
0 libSystem.B.dylib 0x90018be8 semaphore_timedwait_signal_trap + 0x8
1 libSystem.B.dylib 0x9000e788 _pthread_cond_wait + 0x268
2 ...ple.CoreServices.CarbonCore 0x902aa7b4 TSWaitOnSemaphoreCommon + 0xb0
3 ...ple.CoreServices.CarbonCore 0x902be708 TimerThread + 0x3c
4 libSystem.B.dylib 0x900246e8 _pthread_body + 0x28

Thread 2:
0 libSystem.B.dylib 0x90018be8 semaphore_timedwait_signal_trap + 0x8
1 libSystem.B.dylib 0x9000e788 _pthread_cond_wait + 0x268
2 ...ple.CoreServices.CarbonCore 0x902aa7b4 TSWaitOnSemaphoreCommon + 0xb0
3 ...ple.CoreServices.CarbonCore 0x902b950c DeferredTaskThread + 0x38
4 libSystem.B.dylib 0x900246e8 _pthread_body + 0x28

Thread 3:
0 libSystem.B.dylib 0x900074c8 mach_msg_trap + 0x8
1 libSystem.B.dylib 0x90007018 mach_msg + 0x38
2 com.apple.CoreFoundation 0x90191790 __CFRunLoopRun + 0x350
3 com.apple.CoreFoundation 0x90195f1c CFRunLoopRunSpecific + 0x148
4 com.apple.audio.CoreAudio 0x90732f80 HALRunLoop::OwnThread(void*) + 0x104
5 com.apple.audio.CoreAudio 0x907391e0 CAPThread::Entry(CAPThread*) + 0x30
6 libSystem.B.dylib 0x900246e8 _pthread_body + 0x28

Thread 4:
0 libSystem.B.dylib 0x90018be8 semaphore_timedwait_signal_trap + 0x8
1 libSystem.B.dylib 0x9000e788 _pthread_cond_wait + 0x268
2 com.apple.audio.CoreAudio 0x907244fc CAGuard::WaitFor(unsigned long long) + 0xdc
3 com.apple.audio.CoreAudio 0x90724130 CAGuard::WaitUntil(unsigned long long) + 0x130
4 com.apple.audio.CoreAudio 0x90722b20 HPIOThread::WorkLoop() + 0x358
5 com.apple.audio.CoreAudio 0x9073919c HPIOThread::ThreadEntry(HPIOThread*) + 0x1c
6 com.apple.audio.CoreAudio 0x907391e0 CAPThread::Entry(CAPThread*) + 0x30
7 libSystem.B.dylib 0x900246e8 _pthread_body + 0x28

Thread 5:
0 libSystem.B.dylib 0x90018be8 semaphore_timedwait_signal_trap + 0x8
1 libSystem.B.dylib 0x9000e788 _pthread_cond_wait + 0x268
2 ...ple.CoreServices.CarbonCore 0x902aa7b4 TSWaitOnSemaphoreCommon + 0xb0
3 ...ple.CoreServices.CarbonCore 0x902aa638 AsyncFileThread(void*) + 0x38
4 libSystem.B.dylib 0x900246e8 _pthread_body + 0x28

PPC Thread State:
srr0: 0x00505d8c srr1: 0x0200f030 vrsave: 0x00000000
cr: 0x44002244 xer: 0x00000004 lr: 0x00505d74 ctr: 0x00000000
r0: 0x0000000a r1: 0xbfffe6f0 r2: 0x01010000 r3: 0x5e8956a7
r4: 0xbfffe7ec r5: 0x00000000 r6: 0x017bbb3c r7: 0x000000a8
r8: 0x017bbb18 r9: 0x017bbb1c r10: 0x00000040 r11: 0x00000001
r12: 0x017bbb0c r13: 0x01114d88 r14: 0x00000000 r15: 0x089dd210
r16: 0x010779d4 r17: 0xbfffeaec r18: 0x00000000 r19: 0xbfffeac0
r20: 0x00000000 r21: 0xbfffeabc r22: 0x000002db r23: 0x00000127
r24: 0x00000000 r25: 0x00000000 r26: 0x00000000 r27: 0x00000000
r28: 0x097793dc r29: 0x097e37d0 r30: 0x0107b490 r31: 0x0107ef84

Binary Images Description:
0x1000 - 0x9fff Civilization III /Civilization III DO NOT UPDATE!/Civilization III
0x287000 - 0x2d29b1 CarbonLibpwpc PEF binary: CarbonLibpwpc
0x2d29c0 - 0x2eacad Apple;Carbon;Multimedia PEF binary: Apple;Carbon;Multimedia
0x30ba30 - 0x30bae2 CFMPriv_CoreFoundation PEF binary: CFMPriv_CoreFoundation
0x30bbc0 - 0x30bc67 DrawSprocketLib PEF binary: DrawSprocketLib
0x30bcf0 - 0x30bda5 CFMPriv_DVComponentGlue PEF binary: CFMPriv_DVComponentGlue
0x30bfe0 - 0x30c083 CFMPriv_QuickTime PEF binary: CFMPriv_QuickTime
0x30c100 - 0x30c177 CFMPriv_System PEF binary: CFMPriv_System
0x30c420 - 0x30c4f0 CFMPriv_CarbonSound PEF binary: CFMPriv_CarbonSound
0x30c570 - 0x30c643 CFMPriv_CommonPanels PEF binary: CFMPriv_CommonPanels
0x30c720 - 0x30c7db CFMPriv_Help PEF binary: CFMPriv_Help
0x30c7e0 - 0x30c8aa CFMPriv_HIToolbox PEF binary: CFMPriv_HIToolbox
0x30c930 - 0x30ca06 CFMPriv_HTMLRendering PEF binary: CFMPriv_HTMLRendering
0x30ca80 - 0x30cb53 CFMPriv_ImageCapture PEF binary: CFMPriv_ImageCapture
0x30cbe0 - 0x30ccc5 CFMPriv_NavigationServices PEF binary: CFMPriv_NavigationServices
0x30cd40 - 0x30ce16 CFMPriv_OpenScripting?MacBLib PEF binary: CFMPriv_OpenScripting?MacBLib
0x30cef0 - 0x30cfae CFMPriv_Print PEF binary: CFMPriv_Print
0x30cfd0 - 0x30d09d CFMPriv_SecurityHI PEF binary: CFMPriv_SecurityHI
0x30d120 - 0x30d202 CFMPriv_SpeechRecognition PEF binary: CFMPriv_SpeechRecognition
0x30d280 - 0x30d353 CFMPriv_CarbonCore PEF binary: CFMPriv_CarbonCore
0x30d3d0 - 0x30d4a3 CFMPriv_OSServices PEF binary: CFMPriv_OSServices
0x30d580 - 0x30d642 CFMPriv_AE PEF binary: CFMPriv_AE
0x30d650 - 0x30d715 CFMPriv_ATS PEF binary: CFMPriv_ATS
0x30d790 - 0x30d867 CFMPriv_ColorSync PEF binary: CFMPriv_ColorSync
0x30d8f0 - 0x30d9d3 CFMPriv_FindByContent PEF binary: CFMPriv_FindByContent
0x30da50 - 0x30db2a CFMPriv_HIServices PEF binary: CFMPriv_HIServices
0x30dba0 - 0x30dc80 CFMPriv_LangAnalysis PEF binary: CFMPriv_LangAnalysis
0x30dd10 - 0x30ddf6 CFMPriv_LaunchServices PEF binary: CFMPriv_LaunchServices
0x30ded0 - 0x30dfa7 CFMPriv_PrintCore PEF binary: CFMPriv_PrintCore
0x30dfb0 - 0x30e072 CFMPriv_QD PEF binary: CFMPriv_QD
0x30e170 - 0x30e259 CFMPriv_SpeechSynthesis PEF binary: CFMPriv_SpeechSynthesis
0x405000 - 0x6de523 Civilization III PEF binary: Civilization III
0x660d000 - 0x660dfff com.apple.aoa.halplugin 2.2.4 (2.2.4b1) /System/Library/Extensions/IOAudioFamily.kext/Contents/PlugIns/AOAHALPlugin.bundle/Contents/MacOS/AOAHALPlugin
0x8533000 - 0x856dfff com.apple.audio.SoundManager.Components 3.8 /System/Library/Components/SoundManagerComponents.component/Contents/MacOS/SoundManagerComponents
0x896a000 - 0x89a6fff com.apple.iSightAudio 6.5.1 /Library/Audio/Plug-Ins/HAL/iSightAudio.plugin/Contents/MacOS/iSightAudio
0x888a0000 - 0x888a5fff com.apple.drawsprocket 2.0.50 (DrawSprocket-2.0.50) /System/Library/Frameworks/DrawSprocket.framework/Versions/A/DrawSprocket
0x88eb0000 - 0x88ebcfff com.apple.agl 2.5 (AGL-2.5) /System/Library/Frameworks/AGL.framework/Versions/A/AGL
0x8b0c0000 - 0x8b728fff com.apple.QuickTimeComponents.component 6.5.1 /System/Library/QuickTime/QuickTimeComponents.component/Contents/MacOS/QuickTimeComponents
0x8be90000 - 0x8be91fff DVComponentGlue /System/Library/Frameworks/DVComponentGlue.framework/Versions/A/DVComponentGlue
0x8c390000 - 0x8c3d1fff com.apple.QuickTimeFirewireDV.component 6.5.1 /System/Library/QuickTime/QuickTimeFirewireDV.component/Contents/MacOS/QuickTimeFirewireDV
0x8e990000 - 0x8ea21fff com.apple.QuickTimeMPEG4.component 6.5.1 /System/Library/QuickTime/QuickTimeMPEG4.component/Contents/MacOS/QuickTimeMPEG4
0x8fe00000 - 0x8fe4ffff dyld /usr/lib/dyld
0x90000000 - 0x90122fff libSystem.B.dylib /usr/lib/libSystem.B.dylib
0x90190000 - 0x9023dfff com.apple.CoreFoundation 6.3.4 (299.31) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x90280000 - 0x904f9fff com.apple.CoreServices.CarbonCore 10.3.4 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
0x90570000 - 0x905defff com.apple.framework.IOKit 1.3.2 (???) /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x90610000 - 0x9069afff com.apple.CoreServices.OSServices 3.0.1 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
0x90700000 - 0x90700fff com.apple.CoreServices 10.3 (???) /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x90720000 - 0x90787fff com.apple.audio.CoreAudio 2.1.2 /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x907f0000 - 0x907f9fff com.apple.DiskArbitration 2.0.3 /System/Library/PrivateFrameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x90810000 - 0x90810fff com.apple.ApplicationServices 1.0 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
0x90830000 - 0x9089ffff libobjc.A.dylib /usr/lib/libobjc.A.dylib
0x90910000 - 0x90983fff com.apple.DesktopServices 1.2.2 /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv
0x909f0000 - 0x90b4bfff com.apple.Foundation 6.3.5 (500.56) /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x90c30000 - 0x90c4afff libGL.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
0x90c60000 - 0x90cc2fff libGLU.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
0x90d00000 - 0x90d1bfff com.apple.SystemConfiguration 1.7.1 (???) /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
0x90d40000 - 0x90d40fff com.apple.Carbon 10.3 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x90d60000 - 0x90d6bfff com.apple.opengl 1.3.3 /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
0x910b0000 - 0x910fffff com.apple.bom 1.2.4 (63) /System/Library/PrivateFrameworks/Bom.framework/Versions/A/Bom
0x912a0000 - 0x912bdfff com.apple.audio.SoundManager 3.8 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound.framework/Versions/A/CarbonSound
0x912e0000 - 0x912f7fff com.apple.LangAnalysis 1.5.4 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis
0x91320000 - 0x913defff ColorSync /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync
0x91460000 - 0x91473fff com.apple.speech.synthesis.framework 3.2 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis
0x914a0000 - 0x91509fff com.apple.htmlrendering 1.1.2 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HTMLRendering.framework/Versions/A/HTMLRendering
0x91560000 - 0x91619fff com.apple.QD 3.4.64 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD
0x91670000 - 0x916a8fff com.apple.AE 1.3.2 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
 
Hi! I have an error when i added a new unit:

Thread 0 Crashed:
0 Civilization III 0x00505d8c drawGarrisonedUnits__4CityFP6BufferP7tagRECTiPiiPi + 0x31c
1 <<00000000>> 0x0000000a 0 + 0xa
2 Civilization III 0x00524cd4 on_redraw__17CityManagementWinFv + 0x17e4
3 Civilization III 0x004d4f2c show__3WinFi + 0xbc
4 Civilization III 0x0052af28 showCityManagement__17CityManagementWinFP4City + 0x2a8
5 Civilization III 0x004f2548 zoom__4CityFv + 0x18
6 Civilization III 0x00547908 announceSettlement__7ConsoleFP4City + 0xa8
7 Civilization III 0x0054779c establishCity__7ConsoleFv + 0x14c
Well, you are just a teensie bit light on detail of what you were doing when you had the crash, so I'm making wild guesses :crazyeye:. But it looks as if you might have been settling a new city, and the software is trying to draw it for you in the city view screen. I'm guessing from the routine names that are called that it's having trouble drawing the unit that you had escorting the settler. If so the icon required to draw that unit in the city screen is wrongly specified somewhere.
 
Well i have a save i think.I was settling a city and then Civ3 quit.Now you have an idea of what i was doing
 
Well, that's a small titbit :thumbsup:, but you haven't confirmed the rest of my guessing. Was the settler being escorted by your modified unit? If so, can you let me have the following items, zipped up together? Just make a New Folder and copy them into it, then use DropStuff or the OS X Finder to make the folder into a single Archive. I need copies of:

1. The save from the start of the turn where you built the city and it crashed. If this is an autosave then zipping it will compress it OK, or you can load it up and make a manual save that is compressed by Civ3.

2. The pediaIcons.txt file that you are using.

3. The modified unit folder from your Art folder - not the complete Art folder, that's way too big :eek:

if you can upload it as an attachment here then that would be great. If it's too big then you'll have to email it as an attachment to alanh (at) gotm (dot) civfanatics (dot) net

PS. Were you playing this in Civ3 version 1.21 or version 1.29?
 
Civ 3 1.21/Juust load the save and try to settle a city.I sent the files in a zip to you.But Mail says your email address is not a vaild one but i sent it anyway.Do you think i could take a Civ3 1.29 editor for Pre my CIv3 1.29 with the PC version in it? I am desiging scenarios for a modded game which requires the PC CivEdit.
 
Did you change the (at) and (dot) to the relevant characters wth no spaces, to make it into a valid address?

Sorry if I confused you. I never publish email addresses in plain email format because it feeds the spam harvesters. I should have made it clear, but I thought everyone knew what a real email address looks like these days.
 
Oh Oh i know now!
 
Does that mean you are going to send it again, to the real address? I haven't seen it yet :confused:
 
Yes i have sent it to you.The problem ws i had a dot after the at.
 
Thanks! Got it :thumbsup: I'll take a look at it today.
 
I've had a quick look at the files you sent. Interesting scenario. I guess you need the new diplo unit - Pregnant Chad - A/D/M = 10.0.0. And what are the stats for the Democrat UU, the Intern? ;)

First off, I fired up Civ 1.21g and loaded your start file with no problem. I suggested that the settler might like to build Washington DC, and he did, and I played forward for a few tums. If you choose to build a B52, which is an option from day 1 (no oil or aluminium required? :confused: ) the city proceeds to build it. I tried finishing the B52, but I guess it needs some population to complete it - i seems to be based on a settler, so maybe it needs pop 3 in the town? Anyway, I certainly didn't see a crash.

The main things that strike me, as a software guy, not a Civ editor expert, which I'm not, are:

- Looking at the unit folders you sent, they include graphics as .jpg and .gif, but I don't think these are compatible with Civ3. Civ3 uses .pcx as the static graphics file format. I guess these are in your /art/civilopedia/icons/units/ folder?

- There are .wav and .flc files in the unit folders. The .wav files look OK, but many of the .flc files open in Quicktime player ... but they shouldn't. Civ3 uses a non-standard .flc adaptation to stick eight different frame sequences together in a single file, and QT Player doesn't normally know how to play these files.

So, bottom line is I can't reproduce your problem, even though I probably don't have all the files you have ( :hmm: maybe one of those is faulty? ). It looks like the scenario definition of the unit may be faulty in the .BIC file, as it shouldn't be possible to build it before you've found oil and aluminium, and it seems to need some pop points to build it. I know Boeing are hard task masters, but that seems a bit OTT ;) These don't seem to be killer problems though.
 
What do you suggest i do? By the way i have 1.29b2 on my hard drive.I am playing Bluebox's GOTM mod.Now thats something :thumbsup:
 
Reinstall 1.21g? Not very inspired, I know, but since mine works and yours doesn't ... The only other thing that's different is that you probably have the /Art/civilopedia/icons/units/xxxx.pcx files for the Canberra and B52. It might be worth removing them so that yours is the same as mine, then trying it. But the pediaIcons.txt file you sent me doesn't have the references to them, so your installation may not even know they exist.

Option B is to add the pediaIcons.txt entries as defined in the <unit>.txt files.
 
Back
Top Bottom