Yet another weird crash that I could probably easily fix

Problems with the Mac version of Darwinia

Moderators: bert_the_turtle, jelco, Chris, andy, John

nfreader
level1
level1
Posts: 47
Joined: Thu Oct 21, 2004 11:39 pm
Contact:

Yet another weird crash that I could probably easily fix

Postby nfreader » Sun Jul 31, 2005 6:22 pm

(YAWCTICEF (Yaw-city-sef)

This script I wrote has some errors (my tab key is acting funky, it must be an error with the encodings). I wrote it, put it in my game folder and ran the game. CRASH! Error 10. Here's the script:

Code: Select all

CamCut   internet
Say   F1
Say   F5
CamMove   firewall 10
Say   F6
Say   F7
CamBuildingFocus   13 300 300
Say   F8   
Say   F2
Say   F3
Say   F4
CamReset


So I removed the script, thinking I'd just move along in level design and get #darwinia to help me debug later on. But no, Darwinia is now crashing, even with the bad script removed.

(This is a blackbox without the script installed)

Code: Select all

=========================
DARWINIA BLACK BOX REPORT
=========================

VERSION : macosx-full-1.2.2
ERROR   : 'Fatal Signal (10) Received
'

=========================
====== STACKTRACE =======
=========================

retAddress = 0x5fbf8
retAddress = 0x5f9b4
retAddress = 0x9012461c
retAddress = 0x63770
retAddress = 0x0


And out of sheer completeness, here's my crash log too:

Code: Select all

**********

Host Name:      <removed>-Computer
Date/Time:      2005-07-31 12:30:14.869 -0400
OS Version:     10.4.2 (Build 8C46)
Report Version: 3

Command: Darwinia
Path:    /Applications/Darwinia/Darwinia 1.2.app/Contents/MacOS/Darwinia
Parent:  WindowServer [75]

Version: Darwinia version 1.2.2 (1.2.1)

PID:    559
Thread: 0

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

Thread 0 Crashed:
0   libSystem.B.dylib            0x90003248 strlen + 8
1   uk.co.darwinia               0x00063770 0x1000 + 403312
2   uk.co.darwinia               0x0002cb48 0x1000 + 179016
3   uk.co.darwinia               0x0006cee0 0x1000 + 442080
4   uk.co.darwinia               0x0002ca28 0x1000 + 178728
5   uk.co.darwinia               0x000863f4 0x1000 + 545780
6   uk.co.darwinia               0x00086550 0x1000 + 546128
7   uk.co.darwinia               0x0007873c 0x1000 + 489276
8   uk.co.darwinia               0x00005dc4 0x1000 + 19908
9   com.apple.Foundation         0x9287c878 _nsnote_callback + 180
10  com.apple.CoreFoundation     0x90772740 __CFXNotificationPost + 368
11  com.apple.CoreFoundation     0x9076a864 _CFXNotificationPostNotification + 684
12  com.apple.Foundation         0x92866c80 -[NSNotificationCenter postNotificationName:object:userInfo:] + 92
13  com.apple.AppKit             0x93620620 -[NSApplication _postDidFinishNotification] + 112
14  com.apple.AppKit             0x9362050c -[NSApplication _sendFinishLaunchingNotification] + 92
15  com.apple.AppKit             0x93620054 -[NSApplication(NSAppleEventHandling) _handleAEOpen:] + 264
16  com.apple.AppKit             0x9361fbfc -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 92
17  com.apple.Foundation         0x9287d884 -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 380
18  com.apple.Foundation         0x9287d6e4 _NSAppleEventManagerGenericHandler + 92
19  com.apple.AE                 0x91450a40 aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned long, unsigned char*) + 208
20  com.apple.AE                 0x914508dc dispatchEventAndSendReply(AEDesc const*, AEDesc*) + 44
21  com.apple.AE                 0x91450734 aeProcessAppleEvent + 284
22  com.apple.HIToolbox          0x93126324 AEProcessAppleEvent + 60
23  com.apple.AppKit             0x9361e344 _DPSNextEvent + 800
24  com.apple.AppKit             0x9361de68 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 116
25  com.apple.AppKit             0x9361a3cc -[NSApplication run] + 472
26  com.apple.AppKit             0x9370ac1c NSApplicationMain + 452
27  uk.co.darwinia               0x000060a0 0x1000 + 20640
28  uk.co.darwinia               0x00002f60 0x1000 + 8032
29  uk.co.darwinia               0x00002dd4 0x1000 + 7636

Thread 1:
0   libSystem.B.dylib            0x9000a778 mach_msg_trap + 8
1   libSystem.B.dylib            0x9000a6bc mach_msg + 60
2   com.apple.opengl             0x9357ef64 glcDebugListener + 252
3   libSystem.B.dylib            0x9002c3d4 _pthread_body + 96

Thread 2:
0   libSystem.B.dylib            0x9000a778 mach_msg_trap + 8
1   libSystem.B.dylib            0x9000a6bc mach_msg + 60
2   com.apple.CoreFoundation     0x9074b3d8 __CFRunLoopRun + 832
3   com.apple.CoreFoundation     0x9074acdc CFRunLoopRunSpecific + 268
4   com.apple.audio.CoreAudio    0x913a51dc HALRunLoop::OwnThread(void*) + 264
5   com.apple.audio.CoreAudio    0x913a4f7c CAPThread::Entry(CAPThread*) + 96
6   libSystem.B.dylib            0x9002c3d4 _pthread_body + 96

Thread 3:
0   libSystem.B.dylib            0x90056418 semaphore_timedwait_signal_trap + 8
1   libSystem.B.dylib            0x900723b0 pthread_cond_timedwait_relative_np + 592
2   com.apple.audio.CoreAudio    0x913b5f80 CAGuard::WaitFor(unsigned long long) + 204
3   com.apple.audio.CoreAudio    0x913b5e90 CAGuard::WaitUntil(unsigned long long) + 304
4   com.apple.audio.CoreAudio    0x913b4100 HP_IOThread::WorkLoop() + 852
5   com.apple.audio.CoreAudio    0x913b3d98 HP_IOThread::ThreadEntry(HP_IOThread*) + 16
6   com.apple.audio.CoreAudio    0x913a4f7c CAPThread::Entry(CAPThread*) + 96
7   libSystem.B.dylib            0x9002c3d4 _pthread_body + 96

Thread 0 crashed with PPC Thread State 64:
  srr0: 0x0000000090003248 srr1: 0x100000000200d930                        vrsave: 0x0000000000000000
    cr: 0x22004428          xer: 0x0000000000000000   lr: 0x0000000000063770  ctr: 0x0000000090003240
    r0: 0x00000000002b5490   r1: 0x00000000bfffdd50   r2: 0x00000000006c5bc0   r3: 0x0000000000000000
    r4: 0x0000000000000000   r5: 0x0000000000000000   r6: 0x000000000006372c   r7: 0xffffffffffffffff
    r8: 0x0000000000000008   r9: 0x0000000000000000  r10: 0x00000000007018bf  r11: 0x00000000002e639c
   r12: 0x0000000090003240  r13: 0x0000000000000000  r14: 0x0000000000000000  r15: 0x0000000000000000
   r16: 0x0000000000000000  r17: 0x0000000000000000  r18: 0x00000000006135c0  r19: 0x0000000000613b50
   r20: 0x00000000a361c110  r21: 0x00000000a07225e0  r22: 0x0000000000000001  r23: 0x0000000000000000
   r24: 0x0000000000000000  r25: 0x000000000067eba8  r26: 0x0000000000000020  r27: 0x000000000000000a
   r28: 0x000000000067eba8  r29: 0x0000000000000000  r30: 0x000000000067ee00  r31: 0x0000000000000000

Binary Images Description:
    0x1000 -   0x2d7fff uk.co.darwinia Darwinia version 1.2.2 (1.2.1)   /Applications/Darwinia/Darwinia 1.2.app/Contents/MacOS/Darwinia
  0x5ca000 -   0x5cbfff com.angeman.iAlertHelper ??? (1.0)   /Library/InputManagers/iAlertHelper/iAlertHelper.bundle/Contents/MacOS/iAlertHelper
 0x4057000 -  0x4155fff GLEngine    /System/Library/Frameworks/OpenGL.framework/Resources/GLEngine.bundle/GLEngine
 0x4183000 -  0x4287fff com.apple.GeForceFXGLDriver 1.4.6 (4.0.6)   /System/Library/Extensions/GeForceFXGLDriver.bundle/Contents/MacOS/GeForceFXGLDriver
 0x42a3000 -  0x42bcfff GLDriver    /System/Library/Frameworks/OpenGL.framework/Versions/A/Resources/GLDriver.bundle/GLDriver
 0x42c2000 -  0x42e2fff GLRendererFloat    /System/Library/Frameworks/OpenGL.framework/Versions/A/Resources/GLRendererFloat.bundle/GLRendererFloat
 0x64c6000 -  0x64c7fff com.apple.aoa.halplugin 2.5.0   /System/Library/Extensions/IOAudioFamily.kext/Contents/PlugIns/AOAHALPlugin.bundle/Contents/MacOS/AOAHALPlugin
0x30000000 - 0x3004bfff SDL 1.2.8   /Applications/Darwinia/Darwinia 1.2.app/Contents/Frameworks/SDL.framework/Versions/A/SDL
0x8fe00000 - 0x8fe51fff dyld 43.1   /usr/lib/dyld
0x90000000 - 0x901a6fff libSystem.B.dylib    /usr/lib/libSystem.B.dylib
0x901fe000 - 0x90202fff libmathCommon.A.dylib    /usr/lib/system/libmathCommon.A.dylib
0x90204000 - 0x90257fff com.apple.CoreText 1.0.0 (???)   /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreText.framework/Versions/A/CoreText
0x90284000 - 0x90335fff ATS    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS
0x90364000 - 0x9069dfff com.apple.CoreGraphics 1.256.14 (???)   /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
0x90728000 - 0x90801fff com.apple.CoreFoundation 6.4.2 (368.11)   /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x9084a000 - 0x9084afff com.apple.CoreServices 10.4 (???)   /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x9084c000 - 0x9094efff libicucore.A.dylib    /usr/lib/libicucore.A.dylib
0x909a8000 - 0x90a2cfff libobjc.A.dylib    /usr/lib/libobjc.A.dylib
0x90a56000 - 0x90acafff com.apple.framework.IOKit 1.4 (???)   /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x90ae4000 - 0x90af6fff libauto.dylib    /usr/lib/libauto.dylib
0x90afd000 - 0x90dc2fff com.apple.CoreServices.CarbonCore 10.4.1 (611.1)   /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
0x90e25000 - 0x90ea5fff com.apple.CoreServices.OSServices 4.0 (4.0.0)   /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
0x90eef000 - 0x90f2ffff com.apple.CFNetwork 10.4.2 (80)   /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
0x90f44000 - 0x90f5cfff com.apple.WebServices 1.1.2 (1.1.0)   /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/WebServicesCore.framework/Versions/A/WebServicesCore
0x90f6c000 - 0x90feafff com.apple.SearchKit 1.0.3   /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
0x9102f000 - 0x91056fff com.apple.Metadata 1.1 (121.6)   /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata
0x91066000 - 0x91073fff libz.1.dylib    /usr/lib/libz.1.dylib
0x91076000 - 0x91238fff com.apple.security 4.0.1 (223)   /System/Library/Frameworks/Security.framework/Versions/A/Security
0x9133a000 - 0x91343fff com.apple.DiskArbitration 2.1   /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x9134a000 - 0x91371fff com.apple.SystemConfiguration 1.8.0   /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
0x91384000 - 0x9138cfff libbsm.dylib    /usr/lib/libbsm.dylib
0x91390000 - 0x9140efff com.apple.audio.CoreAudio 3.0.1   /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x9144c000 - 0x9144cfff com.apple.ApplicationServices 10.4 (???)   /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
0x9144e000 - 0x91486fff com.apple.AE 1.5 (297)   /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
0x914a1000 - 0x9156cfff com.apple.ColorSync 4.4   /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync
0x915c1000 - 0x91654fff com.apple.print.framework.PrintCore 4.0 (172.1)   /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore
0x9169a000 - 0x91757fff com.apple.QD 3.8.6 (???)   /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD
0x91795000 - 0x917f3fff com.apple.HIServices 1.5.0 (???)   /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices
0x91821000 - 0x91844fff com.apple.LangAnalysis 1.6   /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis
0x91858000 - 0x9187dfff com.apple.FindByContent 1.5   /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/FindByContent.framework/Versions/A/FindByContent
0x91890000 - 0x918d1fff com.apple.LaunchServices 10.4.3 (157)   /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
0x918ec000 - 0x91900fff com.apple.speech.synthesis.framework 3.3   /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis
0x9190e000 - 0x91944fff com.apple.ImageIO.framework 1.0.2   /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
0x91958000 - 0x91a1afff libcrypto.0.9.7.dylib    /usr/lib/libcrypto.0.9.7.dylib
0x91a66000 - 0x91a7bfff libcups.2.dylib    /usr/lib/libcups.2.dylib
0x91a80000 - 0x91a9cfff libJPEG.dylib    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib
0x91aa1000 - 0x91b10fff libJP2.dylib    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libJP2.dylib
0x91b27000 - 0x91b2bfff libGIF.dylib    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib
0x91b2d000 - 0x91b45fff libRaw.dylib    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libRaw.dylib
0x91b48000 - 0x91b8bfff libTIFF.dylib    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
0x91b92000 - 0x91babfff libPng.dylib    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
0x91bb0000 - 0x91bb3fff libRadiance.dylib    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib
0x91bb5000 - 0x91bb5fff com.apple.Accelerate 1.1.1 (Accelerate 1.1.1)   /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
0x91bb7000 - 0x91ca1fff com.apple.vImage 2.0   /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage
0x91ca9000 - 0x91cc8fff com.apple.Accelerate.vecLib 3.1.1 (vecLib 3.1.1)   /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib
0x91d34000 - 0x91d54fff libmx.A.dylib    /usr/lib/libmx.A.dylib
0x91d5a000 - 0x91dbffff libvMisc.dylib    /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib
0x91dc9000 - 0x91e5bfff libvDSP.dylib    /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib
0x91e75000 - 0x92405fff libBLAS.dylib    /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
0x9244d000 - 0x9275dfff libLAPACK.dylib    /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
0x9278a000 - 0x92815fff com.apple.DesktopServices 1.3   /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv
0x92857000 - 0x92a80fff com.apple.Foundation 6.4.1 (567.12)   /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x92b9e000 - 0x92c7cfff libxml2.2.dylib    /usr/lib/libxml2.2.dylib
0x92c9c000 - 0x92d8afff libiconv.2.dylib    /usr/lib/libiconv.2.dylib
0x92d9c000 - 0x92dbafff libGL.dylib    /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
0x92dc5000 - 0x92e1ffff libGLU.dylib    /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
0x92e3d000 - 0x92e3dfff com.apple.Carbon 10.4 (???)   /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x92e3f000 - 0x92e53fff com.apple.ImageCapture 3.0   /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture.framework/Versions/A/ImageCapture
0x92e6b000 - 0x92e7bfff com.apple.speech.recognition.framework 3.4   /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition
0x92e87000 - 0x92e9cfff com.apple.securityhi 2.0 (203)   /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Versions/A/SecurityHI
0x92eae000 - 0x92f35fff com.apple.ink.framework 101.2 (69)   /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/Ink
0x92f49000 - 0x92f54fff com.apple.help 1.0.3 (32)   /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/Versions/A/Help
0x92f5e000 - 0x92f8bfff com.apple.openscripting 1.2.2 (???)   /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/Versions/A/OpenScripting
0x92fa5000 - 0x92fb5fff com.apple.print.framework.Print 4.0 (187)   /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Print
0x92fc1000 - 0x93027fff com.apple.htmlrendering 1.1.2   /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HTMLRendering.framework/Versions/A/HTMLRendering
0x93058000 - 0x930aafff com.apple.NavigationServices 3.4.1 (3.4)   /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/NavigationServices.framework/Versions/A/NavigationServices
0x930d6000 - 0x930f3fff com.apple.audio.SoundManager 3.9   /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound.framework/Versions/A/CarbonSound
0x93105000 - 0x93112fff com.apple.CommonPanels 1.2.2 (73)   /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/Versions/A/CommonPanels
0x9311b000 - 0x9342bfff com.apple.HIToolbox 1.4.2 (???)   /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
0x93576000 - 0x93582fff com.apple.opengl 1.4.0   /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
0x93614000 - 0x93614fff com.apple.Cocoa 6.4 (???)   /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
0x93616000 - 0x93c47fff com.apple.AppKit 6.4.1 (824.1)   /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x93fd3000 - 0x9403dfff com.apple.CoreData 1.0 (46)   /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
0x94075000 - 0x9413ffff com.apple.audio.toolbox.AudioToolbox 1.4.1   /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
0x94193000 - 0x94193fff com.apple.audio.units.AudioUnit 1.4   /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
0x94195000 - 0x942f4fff com.apple.QuartzCore 1.4.1   /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
0x9433c000 - 0x94379fff libsqlite3.0.dylib    /usr/lib/libsqlite3.0.dylib
0x94381000 - 0x943ccfff libGLImage.dylib    /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib
0x9456c000 - 0x9457bfff libCGATS.A.dylib    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCGATS.A.dylib
0x94583000 - 0x9458ffff libCSync.A.dylib    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
0x945d4000 - 0x945e8fff libRIP.A.dylib    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
0x945ee000 - 0x94850fff com.apple.QuickTime 7.0.1   /System/Library/Frameworks/QuickTime.framework/Versions/A/QuickTime
0x94923000 - 0x94942fff com.apple.vecLib 3.1.1 (vecLib 3.1.1)   /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
0x979c7000 - 0x97a53fff libGLProgrammability.dylib    /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLProgrammability.dylib
0x97a79000 - 0x97a7afff libGLSystem.dylib    /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLSystem.dylib
0x9ad44000 - 0x9ae46fff com.apple.audio.units.Components 1.4.1   /System/Library/Components/CoreAudio.component/Contents/MacOS/CoreAudio
User avatar
John
Introversion Staff
Introversion Staff
Posts: 477
Joined: Sun Dec 10, 2000 6:22 pm
Location: London, UK

Postby John » Sun Jul 31, 2005 6:34 pm

The crash log indicates that it has crashed parsing the language file. Check that your preferences file is still OK in ~/Library/Application Support/Darwinia/full/preferences.txt

In particular make sure that:

TextLanguage = english
Mod = none

If the file is empty or corrupt, you may need to remove it to get Darwinia to work properly again.
User avatar
xander
level5
level5
Posts: 16868
Joined: Thu Oct 21, 2004 11:41 pm
Location: Highland, CA, USA
Contact:

Postby xander » Sun Jul 31, 2005 7:02 pm

John wrote:The crash log indicates that it has crashed parsing the language file. Check that your preferences file is still OK in ~/Library/Application Support/Darwinia/full/preferences.txt

In particular make sure that:

TextLanguage = english
Mod = none

If the file is empty or corrupt, you may need to remove it to get Darwinia to work properly again.


Is it also possible that strings_default.txt is having trouble? He is trying work with a mod, so I assume that the game is having trouble parsing strings_default.txt rather than english.txt. In particular, I have seen this kind of error a lot on my own mods when I save something like this into strings_default.txt:

Code: Select all

string1     foo
string2     bar
string3

i.e. there is a tag with an empty line.

Also, when you say you removed the script, what do you mean? Did you delete the file, or simply remove whatever it is that triggers the script?

xander
nfreader
level1
level1
Posts: 47
Joined: Thu Oct 21, 2004 11:39 pm
Contact:

Postby nfreader » Sun Jul 31, 2005 7:25 pm

Now that I think about it, it probably was a problem with strings_default. I assume that it was once again a problem with the way the tabs are encoded. Prophile suggested UTF-8, but I have yet to try that.
User avatar
xander
level5
level5
Posts: 16868
Joined: Thu Oct 21, 2004 11:41 pm
Location: Highland, CA, USA
Contact:

Postby xander » Sun Jul 31, 2005 11:22 pm

nfreader wrote:Now that I think about it, it probably was a problem with strings_default. I assume that it was once again a problem with the way the tabs are encoded. Prophile suggested UTF-8, but I have yet to try that.


What text editor are you using? If you are using TextEdit, make sure you are saving things as text only (I assume that you are doing this, but I have made some silly mistakes of a similar kind, so it is possible). I use BBEdit, myself, and find that it works remarkably well, though it is not cheap. If you felt so inclined, you could also try vi, which will get the job done.

xander
nfreader
level1
level1
Posts: 47
Joined: Thu Oct 21, 2004 11:39 pm
Contact:

Postby nfreader » Mon Aug 01, 2005 3:28 pm

Yeah, I use TextEdit, saving the files as .txt as I go along. It's really just the problem with the way TextEdit encodes tabs, so my syntax is getting screwed. If worst comes to worst, I could always write the scripts at work in "Notepad." And I did manage to get Darwinia working again, and I have started anew on my projhect, this time it's bigger and better, so it's a blessing in disguise.
User avatar
xander
level5
level5
Posts: 16868
Joined: Thu Oct 21, 2004 11:41 pm
Location: Highland, CA, USA
Contact:

Postby xander » Mon Aug 01, 2005 5:00 pm

If the tabs are not encoding properly, you could try using spaces instead. All it needs is some white space between the tag, and the string content. Also, make sure that you have an empty line at the end of the file. I have BBEdit configured to do this automatically, but TextEdit won't.

xander

Return to “Mac Issues”

Who is online

Users browsing this forum: No registered users and 1 guest