project-navigation
Personal tools

Author Topic: Intel mac crash  (Read 6908 times)

goldenmonkey

  • Guest
Intel mac crash
« on: January 19, 2008, 03:49:04 pm »
I have a recurring crash during tactical missions, usually occuring when I press the up/down buttons quickly one after another to change vertical perspective. It happens often, but it's not always reproducible.

I'm using an intel macbook, in fullscreen mode, but not sure if this is mac-specific.

Here's the colsole bug report:


Date/Time:      2008-01-18 21:55:55.142 -0500
OS Version:     10.4.10 (Build 8R2232)
Report Version: 4

Command: ufo
Path:    /Applications/UFOAI.app/Contents/MacOS/ufo
Parent:  WindowServer [54]

Version:  2.2 ( 2.2)

PID:    3309
Thread: 0

Exception:  EXC_BREAKPOINT (0x0006)
Code[0]:    0x00000002
Code[1]:    0x00000000


Thread 0 Crashed:
0   com.apple.Foundation         0x9282747f _NSRaiseError + 227
1   com.apple.Foundation         0x9284e23f +[NSException raise:format:] + 57
2   com.apple.AppKit             0x932e3400 -[NSLayoutManager glyphRangeForTextContainer:] + 150
3   com.apple.AppKit             0x93700644 -[NSTextView(NSKeyBindingCommands) _rangeForMoveDownFromRange:verticalDistance:desiredDistanceIntoContainer:selectionAffinity:] + 1260
4   com.apple.AppKit             0x936fe1ec -[NSTextView(NSKeyBindingCommands) _moveDown:] + 447
5   com.apple.AppKit             0x9335d249 -[NSResponder doCommandBySelector:] + 76
6   com.apple.AppKit             0x9335d0dc -[NSTextView doCommandBySelector:] + 229
7   com.apple.AppKit             0x93352868 -[NSKeyBindingManager(NSKeyBindingManager_MultiClients) interpretEventAsCommand:forClient:] + 1932
8   com.apple.AppKit             0x93350dc9 -[NSTSMInputContext interpretKeyEvents:] + 1157
9   com.apple.AppKit             0x93350170 -[NSView interpretKeyEvents:] + 65
10  SDL                          0x300330ce SDL_SoftStretch + 7770
11  SDL                          0x30033cce SDL_SoftStretch + 10842
12  SDL                          0x30006dbe SDL_PollEvent + 92
13  ufo                          0x0004e112 IN_Frame + 1485
14  ufo                          0x00060860 CL_Frame + 419
15  ufo                          0x000c2f14 tick_timer + 667
16  ufo                          0x000c31b8 Qcommon_Frame + 161
17  ufo                          0x00110e56 main + 161
18  ufo                          0x00002ac2 _start + 216
19  ufo                          0x000029e9 start + 41

Thread 1:
0   libSystem.B.dylib            0x90009cd7 mach_msg_trap + 7
1   com.apple.CoreFoundation     0x9082d2b3 CFRunLoopRunSpecific + 2014
2   com.apple.CoreFoundation     0x9082cace CFRunLoopRunInMode + 61
3   com.apple.audio.CoreAudio    0x9146841e HALRunLoop::OwnThread(void*) + 158
4   com.apple.audio.CoreAudio    0x91468239 CAPThread::Entry(CAPThread*) + 93
5   libSystem.B.dylib            0x90024227 _pthread_body + 84

Thread 2:
0   libSystem.B.dylib            0x90047dd7 semaphore_timedwait_signal_trap + 7
1   com.apple.audio.CoreAudio    0x9147565c CAGuard::WaitFor(unsigned long long) + 212
2   com.apple.audio.CoreAudio    0x9147557e CAGuard::WaitUntil(unsigned long long) + 66
3   com.apple.audio.CoreAudio    0x91473efa HP_IOThread::WorkLoop() + 690
4   com.apple.audio.CoreAudio    0x91473c43 HP_IOThread::ThreadEntry(HP_IOThread*) + 17
5   com.apple.audio.CoreAudio    0x91468239 CAPThread::Entry(CAPThread*) + 93
6   libSystem.B.dylib            0x90024227 _pthread_body + 84

Thread 0 crashed with X86 Thread State (32-bit):
  eax: 0x0a9dc000  ebx: 0x928273aa  ecx: 0x90a66b30  edx: 0x0ad070e0
  edi: 0x33cea5a0  esi: 0x33c36ff0  ebp: 0xbffff628  esp: 0xbffff5c0
   ss: 0x0000001f  efl: 0x00000246  eip: 0x9282747f   cs: 0x00000017
   ds: 0x0000001f   es: 0x0000001f   fs: 0x00000000   gs: 0x00000037

Binary Images Description:
    0x1000 -   0x141fff ufo  2.2   /Applications/UFOAI.app/Contents/MacOS/ufo
 0xa96e000 -  0xa97efff libz.1.dylib    /Applications/UFOAI.app/Contents/Libraries/libz.1.dylib
 0xa983000 -  0xa9a2fff libjpeg.62.dylib    /Applications/UFOAI.app/Contents/Libraries/libjpeg.62.dylib
 0xa9aa000 -  0xa9c7fff libpng12.0.dylib    /Applications/UFOAI.app/Contents/Libraries/libpng12.0.dylib
 0xa9cf000 -  0xa9d6fff libintl.8.dylib    /Applications/UFOAI.app/Contents/Libraries/libintl.8.dylib
 0xab05000 -  0xabfafff libiconv.2.dylib    /Applications/UFOAI.app/Contents/Libraries/libiconv.2.dylib
 0xac07000 -  0xac6dfff SDL 1.2.13   /Library/Frameworks/SDL.framework/Versions/A/SDL
 0xba91000 -  0xbbeafff GLEngine    /System/Library/Frameworks/OpenGL.framework/Resources/GLEngine.bundle/GLEngine
 0xbc16000 -  0xbc6ffff com.apple.driver.AppleIntelGMA950GLDriver 1.4.56 (4.5.6)   /System/Library/Extensions/AppleIntelGMA950GLDriver.bundle/Contents/MacOS/AppleIntelGMA950GLDriver
 0xbc76000 -  0xbc92fff GLDriver    /System/Library/Frameworks/OpenGL.framework/Versions/A/Resources/GLDriver.bundle/GLDriver
 0xbc99000 -  0xbcbdfff GLRendererFloat    /System/Library/Frameworks/OpenGL.framework/Versions/A/Resources/GLRendererFloat.bundle/GLRendererFloat
 0xbff1000 -  0xbff6fff com.apple.audio.AppleHDAHALPlugIn 1.3.3 (1.3.3a1)   /System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn
0x2fe9e000 - 0x2fec3fff game.dylib    base/game.dylib
0x30000000 - 0x30060fff SDL    /Applications/UFOAI.app/Contents/Frameworks/SDL
0x32000000 - 0x32083fff SDL_mixer    /Applications/UFOAI.app/Contents/Frameworks/SDL_mixer
0x34000000 - 0x3405cfff SDL_ttf    /Applications/UFOAI.app/Contents/Frameworks/SDL_ttf
0x70000000 - 0x700fbfff com.apple.audio.units.Components 1.4.5   /System/Library/Components/CoreAudio.component/Contents/MacOS/CoreAudio
0x8fe00000 - 0x8fe4afff dyld 46.12   /usr/lib/dyld
0x90000000 - 0x90171fff libSystem.B.dylib    /usr/lib/libSystem.B.dylib
0x901c1000 - 0x901c3fff libmathCommon.A.dylib    /usr/lib/system/libmathCommon.A.dylib
0x901c5000 - 0x90202fff com.apple.CoreText 1.1.2 (???)   /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreText.framework/Versions/A/CoreText
0x90229000 - 0x902fffff ATS    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS
0x9031f000 - 0x90774fff com.apple.CoreGraphics 1.258.75 (???)   /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
0x9080b000 - 0x908d3fff com.apple.CoreFoundation 6.4.7 (368.28)   /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x90911000 - 0x90911fff com.apple.CoreServices 10.4 (???)   /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x90913000 - 0x90a07fff libicucore.A.dylib    /usr/lib/libicucore.A.dylib
0x90a57000 - 0x90ad6fff libobjc.A.dylib    /usr/lib/libobjc.A.dylib
0x90aff000 - 0x90b63fff libstdc++.6.dylib    /usr/lib/libstdc++.6.dylib
0x90bd2000 - 0x90bd9fff libgcc_s.1.dylib    /usr/lib/libgcc_s.1.dylib
0x90bde000 - 0x90c51fff com.apple.framework.IOKit 1.4.8 (???)   /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x90c66000 - 0x90c78fff libauto.dylib    /usr/lib/libauto.dylib
0x90c7e000 - 0x90f24fff com.apple.CoreServices.CarbonCore 682.26   /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
0x90f67000 - 0x90fcffff com.apple.CoreServices.OSServices 4.1   /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
0x91008000 - 0x91046fff com.apple.CFNetwork 129.20   /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
0x91059000 - 0x91069fff com.apple.WebServices 1.1.3 (1.1.0)   /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/WebServicesCore.framework/Versions/A/WebServicesCore
0x91074000 - 0x910f3fff com.apple.SearchKit 1.0.5   /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
0x9112d000 - 0x9114bfff com.apple.Metadata 10.4.4 (121.36)   /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata
0x91157000 - 0x91165fff libz.1.dylib    /usr/lib/libz.1.dylib
0x91168000 - 0x91307fff com.apple.security 4.5.2 (29774)   /System/Library/Frameworks/Security.framework/Versions/A/Security
0x91405000 - 0x9140dfff com.apple.DiskArbitration 2.1.1   /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x91414000 - 0x9141bfff libbsm.dylib    /usr/lib/libbsm.dylib
0x9141f000 - 0x91445fff com.apple.SystemConfiguration 1.8.6   /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
0x91457000 - 0x914cdfff com.apple.audio.CoreAudio 3.0.4   /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x9151e000 - 0x9151efff com.apple.ApplicationServices 10.4 (???)   /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
0x91520000 - 0x9154cfff com.apple.AE 314 (313)   /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
0x9155f000 - 0x91633fff com.apple.ColorSync 4.4.9   /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync
0x9166e000 - 0x916e1fff com.apple.print.framework.PrintCore 4.6 (177.13)   /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore
0x9170f000 - 0x917b8fff com.apple.QD 3.10.24 (???)   /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD
0x917de000 - 0x91829fff com.apple.HIServices 1.5.2 (???)   /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices
0x91848000 - 0x9185efff com.apple.LangAnalysis 1.6.3   /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis
0x9186a000 - 0x91885fff com.apple.FindByContent 1.5   /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/FindByContent.framework/Versions/A/FindByContent
0x91890000 - 0x918cdfff com.apple.LaunchServices 182   /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
0x918e1000 - 0x918edfff com.apple.speech.synthesis.framework 3.5   /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis
0x918f4000 - 0x91934fff com.apple.ImageIO.framework 1.5.5   /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
0x91947000 - 0x919f9fff libcrypto.0.9.7.dylib    /usr/lib/libcrypto.0.9.7.dylib
0x91a3f000 - 0x91a55fff libcups.2.dylib    /usr/lib/libcups.2.dylib
0x91a5a000 - 0x91a78fff libJPEG.dylib    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib
0x91a7d000 - 0x91adcfff libJP2.dylib    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libJP2.dylib
0x91aee000 - 0x91af2fff libGIF.dylib    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib
0x91af4000 - 0x91b7afff libRaw.dylib    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libRaw.dylib
0x91b7e000 - 0x91bbbfff libTIFF.dylib    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
0x91bc1000 - 0x91bdbfff libPng.dylib    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
0x91be0000 - 0x91be2fff libRadiance.dylib    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib
0x91be4000 - 0x91cc2fff libxml2.2.dylib    /usr/lib/libxml2.2.dylib
0x91cdf000 - 0x91cdffff com.apple.Accelerate 1.3.1 (Accelerate 1.3.1)   /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
0x91ce1000 - 0x91d6ffff com.apple.vImage 2.5   /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage
0x91d76000 - 0x91d76fff com.apple.Accelerate.vecLib 3.3.1 (vecLib 3.3.1)   /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib
0x91d78000 - 0x91dd1fff libvMisc.dylib    /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib
0x91dda000 - 0x91dfefff libvDSP.dylib    /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib
0x91e06000 - 0x9220ffff libBLAS.dylib    /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
0x92249000 - 0x925fdfff libLAPACK.dylib    /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
0x9262a000 - 0x92717fff libiconv.2.dylib    /usr/lib/libiconv.2.dylib
0x92719000 - 0x92796fff com.apple.DesktopServices 1.3.6   /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv
0x927d7000 - 0x92a07fff com.apple.Foundation 6.4.8 (567.29)   /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x92b21000 - 0x92b38fff libGL.dylib    /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
0x92b43000 - 0x92b9bfff libGLU.dylib    /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
0x92baf000 - 0x92baffff com.apple.Carbon 10.4 (???)   /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x92bb1000 - 0x92bc1fff com.apple.ImageCapture 3.0.4   /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture.framework/Versions/A/ImageCapture
0x92bd0000 - 0x92bd8fff com.apple.speech.recognition.framework 3.6   /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition
0x92bde000 - 0x92be4fff com.apple.securityhi 2.0.1 (24742)   /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Versions/A/SecurityHI
0x92bea000 - 0x92c7bfff com.apple.ink.framework 101.2.1 (71)   /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/Ink
0x92c8f000 - 0x92c93fff com.apple.help 1.0.3 (32.1)   /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/Versions/A/Help
0x92c96000 - 0x92cb4fff com.apple.openscripting 1.2.5 (???)   /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/Versions/A/OpenScripting
0x92cc6000 - 0x92cccfff com.apple.print.framework.Print 5.2 (192.4)   /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Print
0x92cd2000 - 0x92d35fff com.apple.htmlrendering 66.1 (1.1.3)   /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HTMLRendering.framework/Versions/A/HTMLRendering
0x92d5c000 - 0x92d9dfff com.apple.NavigationServices 3.4.4 (3.4.3)   /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/NavigationServices.framework/Versions/A/NavigationServices
0x92dc4000 - 0x92dd2fff com.apple.audio.SoundManager 3.9.1   /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound.framework/Versions/A/CarbonSound
0x92dd9000 - 0x92ddefff com.apple.CommonPanels 1.2.3 (73)   /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/Versions/A/CommonPanels
0x92de3000 - 0x930d8fff com.apple.HIToolbox 1.4.9 (???)   /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
0x931de000 - 0x931e9fff com.apple.opengl 1.4.16   /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
0x93259000 - 0x93259fff com.apple.Cocoa 6.4 (???)   /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
0x9325b000 - 0x93911fff com.apple.AppKit 6.4.8 (824.42)   /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x93c92000 - 0x93d0dfff com.apple.CoreData 91 (92.1)   /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
0x93d46000 - 0x93e00fff com.apple.audio.toolbox.AudioToolbox 1.4.5   /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
0x93e43000 - 0x93e43fff com.apple.audio.units.AudioUnit 1.4.3   /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
0x93e45000 - 0x94006fff com.apple.QuartzCore 1.4.12   /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
0x9404c000 - 0x9408dfff libsqlite3.0.dylib    /usr/lib/libsqlite3.0.dylib
0x94095000 - 0x940cffff libGLImage.dylib    /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib
0x940d4000 - 0x940eafff com.apple.CoreVideo 1.4   /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
0x9427d000 - 0x9428cfff libCGATS.A.dylib    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCGATS.A.dylib
0x94293000 - 0x9429efff libCSync.A.dylib    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
0x942ea000 - 0x94304fff libRIP.A.dylib    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
0x9430a000 - 0x94609fff com.apple.QuickTime 7.1.6   /System/Library/Frameworks/QuickTime.framework/Versions/A/QuickTime
0x949b5000 - 0x949dafff libssl.0.9.7.dylib    /usr/lib/libssl.0.9.7.dylib
0x95308000 - 0x9532cfff libcurl.3.dylib    /Applications/UFOAI.app/Contents/Libraries/libcurl.3.dylib
0x967a3000 - 0x967a3fff com.apple.vecLib 3.3.1 (vecLib 3.3.1)   /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
0x96d1d000 - 0x96df4fff libGLProgrammability.dylib    /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLProgrammability.dylib
0x96e0f000 - 0x96e10fff libGLSystem.dylib    /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLSystem.dylib


kreo123

  • Guest
Re: Intel mac crash
« Reply #1 on: January 19, 2008, 03:58:20 pm »
I have the same problem - intel macbook. All I got on terminal is:

Team 1 ended round, team 7's round started!
Team 7 ended round, team 0's round started!
Team 0 ended round, team 1's round started!
Team 1 ended round, team 7's round started!
Team 7 ended round, team 0's round started!
Team 0 ended round, team 1's round started!
2008-01-19 15:48:45.223 ufo[244:10b] An uncaught exception was raised
2008-01-19 15:48:45.245 ufo[244:10b] *** -[NSLayoutManager glyphRangeForTextContainer:]: given container does not appear in the list of containers for this NSLayoutManager.
2008-01-19 15:48:45.245 ufo[244:10b] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSLayoutManager glyphRangeForTextContainer:]: given container does not appear in the list of containers for this NSLayoutManager.'
2008-01-19 15:48:45.253 ufo[244:10b] Stack: (
    2525205099,
    2487808155,
    2525204555,
    2525204618,
    2478457285,
    2481175813,
    2481185475,
    2479422319,
    2479421944,
    2479369045,
    2479363938,
    2479362684,
    805515470,
    805518542,
    805334462,
    319762,
    395360,
    798484,
    799160,
    1117782,
    10946,
    10729
)
Trace/BPT trap


kreo123

  • Guest
Re: Intel mac crash
« Reply #2 on: January 19, 2008, 05:03:28 pm »
It happend again so here is more detailed info:

Process:         ufo [304]
Path:            /Applications/UFOAI.app/Contents/MacOS/ufo
Identifier:      ufo
Version:          2.2 ( 2.2)
Code Type:       X86 (Native)
Parent Process:  bash [235]

Date/Time:       2008-01-19 16:58:16.747 +0100
OS Version:      Mac OS X 10.5.1 (9B18)
Report Version:  6

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Crashed Thread:  0

Application Specific Information:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSLayoutManager glyphRangeForTextContainer:]: given container does not appear in the list of containers for this NSLayoutManager.'

Thread 0 Crashed:
0   com.apple.CoreFoundation         0x96839114 ___TERMINATING_DUE_TO_UNCAUGHT_EXCEPTION___ + 4
1   libobjc.A.dylib                  0x9448f09b objc_exception_throw + 40
2   com.apple.CoreFoundation         0x9683904b +[NSException raise:format:arguments:] + 155
3   com.apple.CoreFoundation         0x9683908a +[NSException raise:format:] + 58
4   com.apple.AppKit                 0x93ba41c5 -[NSLayoutManager glyphRangeForTextContainer:] + 109
5   com.apple.AppKit                 0x93e3bd05 -[NSTextView(NSKeyBindingCommands) _rangeForMoveDownFromRange:verticalDistance:desiredDistanceIntoContainer:selectionAffinity:] + 1130
6   com.apple.AppKit                 0x93e3e2c3 -[NSTextView(NSKeyBindingCommands) _moveDown:] + 448
7   com.apple.AppKit                 0x93c8fb6f -[NSResponder doCommandBySelector:] + 83
8   com.apple.AppKit                 0x93c8f9f8 -[NSTextView doCommandBySelector:] + 237
9   com.apple.AppKit                 0x93c82b55 -[NSKeyBindingManager(NSKeyBindingManager_MultiClients) interpretEventAsCommand:forClient:] + 1924
10  com.apple.AppKit                 0x93c81762 -[NSTSMInputContext interpretKeyEvents:] + 1202
11  com.apple.AppKit                 0x93c8127c -[NSView interpretKeyEvents:] + 70
12  SDL                              0x300330ce SDL_SoftStretch + 7770
13  SDL                              0x30033cce SDL_SoftStretch + 10842
14  SDL                              0x30006dbe SDL_PollEvent + 92
15  ufo                              0x0004e112 IN_Frame + 1485
16  ufo                              0x00060860 CL_Frame + 419
17  ufo                              0x000c2f14 tick_timer + 667
18  ufo                              0x000c31b8 Qcommon_Frame + 161
19  ufo                              0x00110e56 main + 161
20  ufo                              0x00002ac2 _start + 216
21  ufo                              0x000029e9 start + 41

Thread 1:
0   libSystem.B.dylib                0x95a67ace __semwait_signal + 10
1   libSystem.B.dylib                0x95a91ced pthread_cond_wait$UNIX2003 + 73
2   libGLProgrammability.dylib       0x96229f32 glvmDoWork + 162
3   libSystem.B.dylib                0x95a91075 _pthread_start + 321
4   libSystem.B.dylib                0x95a90f32 thread_start + 34

Thread 2:
0   libSystem.B.dylib                0x95a608e6 mach_msg_trap + 10
1   libSystem.B.dylib                0x95a680dc mach_msg + 72
2   com.apple.CoreFoundation         0x967bf0fe CFRunLoopRunSpecific + 1806
3   com.apple.CoreFoundation         0x967bfd38 CFRunLoopRunInMode + 88
4   com.apple.audio.CoreAudio        0x966ed464 HALRunLoop::OwnThread(void*) + 160
5   com.apple.audio.CoreAudio        0x966ed300 CAPThread::Entry(CAPThread*) + 96
6   libSystem.B.dylib                0x95a91075 _pthread_start + 321
7   libSystem.B.dylib                0x95a90f32 thread_start + 34

Thread 3:
0   libSystem.B.dylib                0x95a60946 semaphore_timedwait_signal_trap + 10
1   libSystem.B.dylib                0x95a921cf _pthread_cond_wait + 1244
2   libSystem.B.dylib                0x95a93a53 pthread_cond_timedwait_relative_np + 47
3   com.apple.audio.CoreAudio        0x966fca47 CAGuard::WaitFor(unsigned long long) + 213
4   com.apple.audio.CoreAudio        0x966fe602 CAGuard::WaitUntil(unsigned long long) + 70
5   com.apple.audio.CoreAudio        0x966fcda7 HP_IOThread::WorkLoop() + 759
6   com.apple.audio.CoreAudio        0x966fcaab HP_IOThread::ThreadEntry(HP_IOThread*) + 17
7   com.apple.audio.CoreAudio        0x966ed300 CAPThread::Entry(CAPThread*) + 96
8   libSystem.B.dylib                0x95a91075 _pthread_start + 321
9   libSystem.B.dylib                0x95a90f32 thread_start + 34

Thread 0 crashed with X86 Thread State (32-bit):
  eax: 0xa08890f0  ebx: 0x9448f07c  ecx: 0xa08881a0  edx: 0x0a9dd000
  edi: 0x3f800000  esi: 0xa05a81d4  ebp: 0xbffff2a8  esp: 0xbffff2a8
   ss: 0x0000001f  efl: 0x00000286  eip: 0x96839114   cs: 0x00000017
   ds: 0x0000001f   es: 0x0000001f   fs: 0x00000000   gs: 0x00000037
  cr2: 0x1be23000





Offline tchristney

  • Rookie
  • ***
  • Posts: 75
    • View Profile
Re: Intel mac crash
« Reply #3 on: January 20, 2008, 04:16:38 am »
I get the same problem, but I've been working on the packaging issues first.  :'(

Update:
I think that this happens after the first mission each time the game is run, and that the game crashes only if you try to go up or down beyond the map bounds (i.e. above or below the top or bottom levels, respectively) using the keyboard. If some other people could verify this reproducibility that would be great. Also try to reproduce it using both the up and down arrows would be great!
« Last Edit: January 21, 2008, 04:07:14 am by tchristney »

goldenmonkey

  • Guest
Re: Intel mac crash
« Reply #4 on: January 21, 2008, 11:02:37 pm »
I think that this happens after the first mission each time the game is run, and that the game crashes only if you try to go up or down beyond the map bounds (i.e. above or below the top or bottom levels, respectively) using the keyboard. If some other people could verify this reproducibility that would be great. Also try to reproduce it using both the up and down arrows would be great!
For what it's worth, I can confirm that the bug occurs even when it's not your first mission, and when you are switching to legal levels. I've never tripped it when I switch levels by clicking, but of course I don't know that it's impossible.

kreo123

  • Guest
Re: Intel mac crash
« Reply #5 on: January 22, 2008, 02:12:29 am »
Ok, I got it to crash in windowed mode (initially I thought this may be fullscreen problem) and when using up arrow to scroll screen forward (I remapped up arrow to scroll screen forward instead of increase level). Could this possibly be tied be to using UP_KEY?

BTW tchristney, thanks for you efforts on mac version of this excellent game

I can paste the error report but it's the same uncaught exception again:
'NSInvalidArgumentException', reason: '*** -[NSLayoutManager glyphRangeForTextContainer:]: given container does not appear in the list of containers for this NSLayoutManager.'


Offline tchristney

  • Rookie
  • ***
  • Posts: 75
    • View Profile
Re: Intel mac crash
« Reply #6 on: January 22, 2008, 04:17:32 am »
For what it's worth, I can confirm that the bug occurs even when it's not your first mission, and when you are switching to legal levels. I've never tripped it when I switch levels by clicking, but of course I don't know that it's impossible.

Sorry, what I meant was that it never happens on the first tactical mission after restarting - only the second or later missions. I'm wondering if there is a zombie object getting used inappropriately. I wish I had more time to debug this - I'll have to make sure to run the game in gdb the next few times!

kreo123

  • Guest
Re: Intel mac crash
« Reply #7 on: January 22, 2008, 09:09:01 pm »
Hi guys, would you try this:

I remmaped the keyboard bindings so I don't use keypad (arrows) anymore, and I didn't get a crash so far through 4 missions (before that, only 1 out 3 missions wouldn't crash). I might be just lucky, but I did notice that crash always occured when using arrow keys...

tage

  • Guest
Re: Intel mac crash
« Reply #8 on: February 28, 2008, 04:32:54 pm »
This has been reported as a bug at sf.net. One developer replied that it was a bug in SDL and recommended an upgrade. I don't know how to upgrade SDL in the UFOAI bundle (since SDL is provided as Mac frameworks inside the bundle) I am now looking at installing the latest version of SDL and building a new UFOAI bundle with that.

Though this will probably take a while, since I have a job and a family too...

Offline tchristney

  • Rookie
  • ***
  • Posts: 75
    • View Profile
Re: Intel mac crash
« Reply #9 on: March 07, 2008, 09:00:08 pm »
You should be able to just overwrite the frameworks in the app bundle with the new versions, i.e. you shouldn't have to rebuild everything. It's worth a shot anyway.