Exited abnormally: Bus error

When I want to build and format in DVD studio pro 3 it shuts down. This is what the error is out of counsel.
1/4/08 7:55:13 PM [0x0-0x41041].com.apple.dvdstudiopro[340] Fri Jan 4 19:55:13 !!!!!!!!!!!!!!!!!!!!!!!!!!!!-powerbook-g4-15.local DVD Studio Pro[340] <Error>: The function `CGContextSaveGState2' is obsolete and will be removed in an upcoming update. Unfortunately, this application, or a library it uses, is using this obsolete function, and is thereby contributing to an overall degradation of system performance. Please use `CGContextSaveGState' instead.
This error is from the build.
1/5/08 2:10:02 AM com.apple.launchd[63] ([0x0-0x41041].com.apple.dvdstudiopro[340]) Exited abnormally: Bus error
Anyone?
I am using Leopard and all is updated. Funny thing though...... When I update my software compressor update comes up. I update it and check for more updates and the same update shows up.

Ive had this problem with Finder, Firefox, Transmission and today:
Feb 5 19:08:55 kristian-mides-mac-mini com.apple.launchd[100] ([0x0-0x2c32c3].com.apple.Xcode[14525]): Exited abnormally: Bus error
its so annoying, iam actually kinda thinking maybe its an hardware error?
if so, well, what should i check for, memory, hard drives etc..
anyways... this has only happened in leopard for me too..

Similar Messages

  • Mail exits abnormally: bus error. Any suggestions?

    Just today I started having problems with the normally reliable Mail application. I disable the only bundle being used and restarted. But the application will quit everytime. Any ideas? I have no idea what a bus error even is.

    The same exact thing has happened to me. None of the above suggestions work, and I don't want to do an Archive and Install, is there anything else I can try?
    Process: Mail [1737]
    Path: /Applications/Mail.app/Contents/MacOS/Mail
    Identifier: com.apple.mail
    Version: 3.4 (928)
    Build Info: Mail-9280000~1
    Code Type: X86 (Native)
    Parent Process: launchd [80]
    Date/Time: 2008-08-27 23:32:58.071 +0100
    OS Version: Mac OS X 10.5.4 (9E17)
    Report Version: 6
    Exception Type: EXCBADACCESS (SIGBUS)
    Exception Codes: KERNPROTECTIONFAILURE at 0x0000000000000000
    Crashed Thread: 15
    Application Specific Information:
    -[LibraryIMAPStore openSynchronouslyUpdatingMetadata:]
    -[LocationManager _determineCurrentLocation]
    -[MessageContentController _fetchContentsForMessage:fromStore:withViewingState:]
    Thread 0:
    0 libSystem.B.dylib 0x95d354a6 machmsgtrap + 10
    1 libSystem.B.dylib 0x95d3cc9c mach_msg + 72
    2 com.apple.CoreFoundation 0x90dd70ce CFRunLoopRunSpecific + 1790
    3 com.apple.CoreFoundation 0x90dd7cf8 CFRunLoopRunInMode + 88
    4 com.apple.HIToolbox 0x90efeda4 RunCurrentEventLoopInMode + 283
    5 com.apple.HIToolbox 0x90efebbd ReceiveNextEventCommon + 374
    6 com.apple.HIToolbox 0x90efea31 BlockUntilNextEventMatchingListInMode + 106
    7 com.apple.AppKit 0x96c53505 _DPSNextEvent + 657
    8 com.apple.AppKit 0x96c52db8 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 128
    9 com.apple.AppKit 0x96c4bdf3 -[NSApplication run] + 795
    10 com.apple.AppKit 0x96c19030 NSApplicationMain + 574
    11 com.apple.mail 0x000fb29e 0x1000 + 1024670
    Thread 1:
    0 libSystem.B.dylib 0x95d354a6 machmsgtrap + 10
    1 libSystem.B.dylib 0x95d3cc9c mach_msg + 72
    2 com.apple.CoreFoundation 0x90dd70ce CFRunLoopRunSpecific + 1790
    3 com.apple.CoreFoundation 0x90dd7cf8 CFRunLoopRunInMode + 88
    4 com.apple.Foundation 0x902e64a5 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 213
    5 com.apple.Foundation 0x902f25c4 -[NSRunLoop(NSRunLoop) run] + 84
    6 com.apple.MessageFramework 0x00483f35 -[RSSInterchange _runManager] + 2140
    7 com.apple.Foundation 0x902b1f1d -[NSThread main] + 45
    8 com.apple.Foundation 0x902b1ac4 _NSThread__main_ + 308
    9 libSystem.B.dylib 0x95d666f5 pthreadstart + 321
    10 libSystem.B.dylib 0x95d665b2 thread_start + 34
    Thread 2:
    0 libSystem.B.dylib 0x95d35506 semaphoretimedwait_signaltrap + 10
    1 libSystem.B.dylib 0x95d6784f pthread_condwait + 1244
    2 libSystem.B.dylib 0x95d690d3 pthreadcond_timedwait_relativenp + 47
    3 com.apple.Foundation 0x902f7e8c -[NSCondition waitUntilDate:] + 236
    4 com.apple.Foundation 0x902f7ca0 -[NSConditionLock lockWhenCondition:beforeDate:] + 144
    5 com.apple.MessageFramework 0x00485df7 -[InvocationQueue _drainQueue] + 317
    6 com.apple.Foundation 0x902b1f1d -[NSThread main] + 45
    7 com.apple.Foundation 0x902b1ac4 _NSThread__main_ + 308
    8 libSystem.B.dylib 0x95d666f5 pthreadstart + 321
    9 libSystem.B.dylib 0x95d665b2 thread_start + 34
    Thread 3:
    0 libSystem.B.dylib 0x95d35506 semaphoretimedwait_signaltrap + 10
    1 libSystem.B.dylib 0x95d6784f pthread_condwait + 1244
    2 libSystem.B.dylib 0x95d690d3 pthreadcond_timedwait_relativenp + 47
    3 com.apple.Foundation 0x902f7e8c -[NSCondition waitUntilDate:] + 236
    4 com.apple.Foundation 0x902f7ca0 -[NSConditionLock lockWhenCondition:beforeDate:] + 144
    5 com.apple.MessageFramework 0x00485df7 -[InvocationQueue _drainQueue] + 317
    6 com.apple.Foundation 0x902b1f1d -[NSThread main] + 45
    7 com.apple.Foundation 0x902b1ac4 _NSThread__main_ + 308
    8 libSystem.B.dylib 0x95d666f5 pthreadstart + 321
    9 libSystem.B.dylib 0x95d665b2 thread_start + 34
    Thread 4:
    0 libSystem.B.dylib 0x95d35506 semaphoretimedwait_signaltrap + 10
    1 libSystem.B.dylib 0x95d6784f pthread_condwait + 1244
    2 libSystem.B.dylib 0x95d690d3 pthreadcond_timedwait_relativenp + 47
    3 com.apple.Foundation 0x902f7e8c -[NSCondition waitUntilDate:] + 236
    4 com.apple.Foundation 0x902f7ca0 -[NSConditionLock lockWhenCondition:beforeDate:] + 144
    5 com.apple.MessageFramework 0x00485df7 -[InvocationQueue _drainQueue] + 317
    6 com.apple.Foundation 0x902b1f1d -[NSThread main] + 45
    7 com.apple.Foundation 0x902b1ac4 _NSThread__main_ + 308
    8 libSystem.B.dylib 0x95d666f5 pthreadstart + 321
    9 libSystem.B.dylib 0x95d665b2 thread_start + 34
    Thread 5:
    0 libSystem.B.dylib 0x95d9f07a _workqops + 10
    1 libSystem.B.dylib 0x95d9f0aa start_wqthread + 30
    Thread 6:
    Thread 7:
    0 libSystem.B.dylib 0x95d35506 semaphoretimedwait_signaltrap + 10
    1 libSystem.B.dylib 0x95d6784f pthread_condwait + 1244
    2 libSystem.B.dylib 0x95d690d3 pthreadcond_timedwait_relativenp + 47
    3 com.apple.Foundation 0x902f7e8c -[NSCondition waitUntilDate:] + 236
    4 com.apple.Foundation 0x902f7ca0 -[NSConditionLock lockWhenCondition:beforeDate:] + 144
    5 com.apple.MessageFramework 0x00485df7 -[InvocationQueue _drainQueue] + 317
    6 com.apple.Foundation 0x902b1f1d -[NSThread main] + 45
    7 com.apple.Foundation 0x902b1ac4 _NSThread__main_ + 308
    8 libSystem.B.dylib 0x95d666f5 pthreadstart + 321
    9 libSystem.B.dylib 0x95d665b2 thread_start + 34
    Thread 8:
    0 libSystem.B.dylib 0x95d3c68e _semwaitsignal + 10
    1 libSystem.B.dylib 0x95d6736d pthreadcondwait$UNIX2003 + 73
    2 com.apple.QuartzCore 0x9223ee51 fefragmentthread + 54
    3 libSystem.B.dylib 0x95d666f5 pthreadstart + 321
    4 libSystem.B.dylib 0x95d665b2 thread_start + 34
    Thread 9:
    0 libSystem.B.dylib 0x95d354a6 machmsgtrap + 10
    1 libSystem.B.dylib 0x95d3cc9c mach_msg + 72
    2 libSystem.B.dylib 0x95d5b718 libinfoDSmig_Query + 222
    3 libSystem.B.dylib 0x95d5b433 LI_DSLookupQuery + 353
    4 libSystem.B.dylib 0x95d9e665 ds_getaddrinfo + 2674
    5 libSystem.B.dylib 0x95d9c5f3 getaddrinfo + 504
    6 com.apple.SystemConfiguration 0x95cce7ae __SCNetworkReachabilityGetFlags + 1357
    7 com.apple.SystemConfiguration 0x95cd3432 SCNetworkReachabilityGetFlags + 118
    8 com.apple.SystemConfiguration 0x95cd3aa1 SCNetworkCheckReachabilityByName + 74
    9 com.apple.MessageFramework 0x003a8f5c -[NetworkController isHostReachable:] + 138
    10 com.apple.MessageFramework 0x003a8937 -[_NSSocket connectToHost:withPort:protocol:] + 206
    11 com.apple.MessageFramework 0x003a7db8 -[Connection _connectUsingHostname:onPort:securityLayerType:accountClass:] + 797
    12 com.apple.MessageFramework 0x003a7a7f -[Connection _connectUsingAccount:securityLayerType:] + 488
    13 com.apple.MessageFramework 0x003a74b5 -[Connection connectAndSetSecurityLayerUsingAccount:] + 196
    14 com.apple.MessageFramework 0x0048eaf0 -[Connection connectUsingAccount:] + 101
    15 com.apple.MessageFramework 0x003a6b44 -[IMAPAccount _connectAndAuthenticate:] + 292
    16 com.apple.MessageFramework 0x003a521f -[IMAPAccount _recoverFromConnectionlessState] + 177
    17 com.apple.MessageFramework 0x003a4e6d -[IMAPAccount _getPotentialGatewayForMailbox:options:createdNewConnection:needsSelect:] + 171
    18 com.apple.MessageFramework 0x003a4b3a -[IMAPAccount _gatewayForMailboxUid:name:options:] + 160
    19 com.apple.MessageFramework 0x003a49dc -[IMAPAccount gatewayForStore:options:] + 159
    20 com.apple.MessageFramework 0x003a4812 -[LibraryIMAPStore _gatewayCreateIfNeeded:options:] + 159
    21 com.apple.MessageFramework 0x003a0604 -[LibraryIMAPStore openSynchronouslyUpdatingMetadata:withOptions:] + 143
    22 com.apple.MessageFramework 0x003a056f -[LibraryIMAPStore openSynchronouslyUpdatingMetadata:] + 50
    23 com.apple.CoreFoundation 0x90e56a7d _invoking__ + 29
    24 com.apple.CoreFoundation 0x90e56468 -[NSInvocation invoke] + 136
    25 com.apple.MessageFramework 0x004863dc -[MonitoredInvocation invoke] + 409
    26 com.apple.MessageFramework 0x00485fbe -[InvocationQueue _drainQueue] + 772
    27 com.apple.Foundation 0x902b1f1d -[NSThread main] + 45
    28 com.apple.Foundation 0x902b1ac4 _NSThread__main_ + 308
    29 libSystem.B.dylib 0x95d666f5 pthreadstart + 321
    30 libSystem.B.dylib 0x95d665b2 thread_start + 34
    Thread 10:
    0 libSystem.B.dylib 0x95d354a6 machmsgtrap + 10
    1 libSystem.B.dylib 0x95d3cc9c mach_msg + 72
    2 libSystem.B.dylib 0x95d5b718 libinfoDSmig_Query + 222
    3 libSystem.B.dylib 0x95d5b433 LI_DSLookupQuery + 353
    4 libSystem.B.dylib 0x95d9d3c7 getnameinfo + 885
    5 com.apple.Foundation 0x90340818 +[NSHost currentHost] + 1016
    6 com.apple.MessageFramework 0x0039ef4d -[NetworkController domainNames] + 39
    7 com.apple.MessageFramework 0x0039ec69 -[LocationManager _determineCurrentLocation] + 116
    8 com.apple.CoreFoundation 0x90e56a7d _invoking__ + 29
    9 com.apple.CoreFoundation 0x90e56468 -[NSInvocation invoke] + 136
    10 com.apple.MessageFramework 0x00485fbe -[InvocationQueue _drainQueue] + 772
    11 com.apple.Foundation 0x902b1f1d -[NSThread main] + 45
    12 com.apple.Foundation 0x902b1ac4 _NSThread__main_ + 308
    13 libSystem.B.dylib 0x95d666f5 pthreadstart + 321
    14 libSystem.B.dylib 0x95d665b2 thread_start + 34
    Thread 11:
    0 libSystem.B.dylib 0x95d35506 semaphoretimedwait_signaltrap + 10
    1 libSystem.B.dylib 0x95d6784f pthread_condwait + 1244
    2 libSystem.B.dylib 0x95d690d3 pthreadcond_timedwait_relativenp + 47
    3 com.apple.Foundation 0x902f7e8c -[NSCondition waitUntilDate:] + 236
    4 com.apple.Foundation 0x902f7ca0 -[NSConditionLock lockWhenCondition:beforeDate:] + 144
    5 com.apple.MessageFramework 0x00485df7 -[InvocationQueue _drainQueue] + 317
    6 com.apple.Foundation 0x902b1f1d -[NSThread main] + 45
    7 com.apple.Foundation 0x902b1ac4 _NSThread__main_ + 308
    8 libSystem.B.dylib 0x95d666f5 pthreadstart + 321
    9 libSystem.B.dylib 0x95d665b2 thread_start + 34
    Thread 12:
    0 libSystem.B.dylib 0x95d354a6 machmsgtrap + 10
    1 libSystem.B.dylib 0x95d3cc9c mach_msg + 72
    2 com.apple.CoreFoundation 0x90dd70ce CFRunLoopRunSpecific + 1790
    3 com.apple.CoreFoundation 0x90dd7cf8 CFRunLoopRunInMode + 88
    4 com.apple.Foundation 0x902e64a5 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 213
    5 com.apple.Foundation 0x902f25c4 -[NSRunLoop(NSRunLoop) run] + 84
    6 com.apple.MessageFramework 0x003a910d +[_NSSocket _runIOThread] + 98
    7 com.apple.Foundation 0x902b1f1d -[NSThread main] + 45
    8 com.apple.Foundation 0x902b1ac4 _NSThread__main_ + 308
    9 libSystem.B.dylib 0x95d666f5 pthreadstart + 321
    10 libSystem.B.dylib 0x95d665b2 thread_start + 34
    Thread 13:
    0 libSystem.B.dylib 0x95d35506 semaphoretimedwait_signaltrap + 10
    1 libSystem.B.dylib 0x95d6784f pthread_condwait + 1244
    2 libSystem.B.dylib 0x95d690d3 pthreadcond_timedwait_relativenp + 47
    3 com.apple.Foundation 0x902f7e8c -[NSCondition waitUntilDate:] + 236
    4 com.apple.Foundation 0x902f7ca0 -[NSConditionLock lockWhenCondition:beforeDate:] + 144
    5 com.apple.MessageFramework 0x00485df7 -[InvocationQueue _drainQueue] + 317
    6 com.apple.Foundation 0x902b1f1d -[NSThread main] + 45
    7 com.apple.Foundation 0x902b1ac4 _NSThread__main_ + 308
    8 libSystem.B.dylib 0x95d666f5 pthreadstart + 321
    9 libSystem.B.dylib 0x95d665b2 thread_start + 34
    Thread 14:
    0 libSystem.B.dylib 0x95d35506 semaphoretimedwait_signaltrap + 10
    1 libSystem.B.dylib 0x95d6784f pthread_condwait + 1244
    2 libSystem.B.dylib 0x95d690d3 pthreadcond_timedwait_relativenp + 47
    3 com.apple.Foundation 0x902f7e8c -[NSCondition waitUntilDate:] + 236
    4 com.apple.Foundation 0x902f7ca0 -[NSConditionLock lockWhenCondition:beforeDate:] + 144
    5 com.apple.MessageFramework 0x00485df7 -[InvocationQueue _drainQueue] + 317
    6 com.apple.Foundation 0x902b1f1d -[NSThread main] + 45
    7 com.apple.Foundation 0x902b1ac4 _NSThread__main_ + 308
    8 libSystem.B.dylib 0x95d666f5 pthreadstart + 321
    9 libSystem.B.dylib 0x95d665b2 thread_start + 34
    Thread 15 Crashed:
    0 libSystem.B.dylib 0x95d3cd9e pthreadmutexlock + 18
    1 com.apple.JavaScriptCore 0x95be91c5 ***::callOnMainThread(void ()(void), void*) + 37
    2 com.apple.WebCore 0x9595a61e WebCoreObjCScheduleDeallocateOnMainThread + 94
    3 com.apple.WebCore 0x9558c0ac -[WebCoreSharedBufferData dealloc] + 60
    4 com.apple.Foundation 0x902ad57f NSPopAutoreleasePool + 431
    5 com.apple.MessageFramework 0x003bb23f -[MimeBody webArchive] + 233
    6 com.apple.MessageFramework 0x003baebe -[WebMessageDocument initWithMimePart:] + 88
    7 com.apple.mail 0x0004660d 0x1000 + 284173
    8 com.apple.mail 0x000420d7 0x1000 + 266455
    9 com.apple.CoreFoundation 0x90e56a7d _invoking__ + 29
    10 com.apple.CoreFoundation 0x90e56468 -[NSInvocation invoke] + 136
    11 com.apple.MessageFramework 0x004863dc -[MonitoredInvocation invoke] + 409
    12 com.apple.MessageFramework 0x00485fbe -[InvocationQueue _drainQueue] + 772
    13 com.apple.Foundation 0x902b1f1d -[NSThread main] + 45
    14 com.apple.Foundation 0x902b1ac4 _NSThread__main_ + 308
    15 libSystem.B.dylib 0x95d666f5 pthreadstart + 321
    16 libSystem.B.dylib 0x95d665b2 thread_start + 34
    Thread 15 crashed with X86 Thread State (32-bit):
    eax: 0x00000000 ebx: 0x95d3cd9d ecx: 0x256740f8 edx: 0x256740fc
    edi: 0x00000000 esi: 0xa074c4f0 ebp: 0xb0847808 esp: 0xb08477d0
    ss: 0x0000001f efl: 0x00010282 eip: 0x95d3cd9e cs: 0x00000017
    ds: 0x0000001f es: 0x0000001f fs: 0x0000001f gs: 0x00000037
    cr2: 0x00000000
    Binary Images:
    0x1000 - 0x270ff3 com.apple.mail 3.4 (928) <235e3a26da60172ebb1cef0300698c37> /Applications/Mail.app/Contents/MacOS/Mail
    0x2de000 - 0x350fff com.apple.iLifeMediaBrowser 1.0.8 (212) <afa1e1cb24dab8802261493e84692570> /System/Library/PrivateFrameworks/iLifeMediaBrowser.framework/Versions/A/iLifeM ediaBrowser
    0x38e000 - 0x5e2ff3 com.apple.MessageFramework 3.4 (928.1) <eb4365318266f14754831179bedb477d> /System/Library/Frameworks/Message.framework/Versions/B/Message
    0x737000 - 0x739fff com.apple.ExceptionHandling 1.5 (10) /System/Library/Frameworks/ExceptionHandling.framework/Versions/A/ExceptionHand ling
    0x740000 - 0x764fe7 com.apple.speech.LatentSemanticMappingFramework 2.6.4 (2.6.4) <32045add5f408ba4193bfaf296908bd2> /System/Library/Frameworks/LatentSemanticMapping.framework/Versions/A/LatentSem anticMapping
    0x780000 - 0x780ffe +org.xlife.InquisitorLoader 3.2 (57) <e4877ee4582562d98c95d447c8f77397> /Library/InputManagers/Inquisitor/Inquisitor.bundle/Contents/MacOS/Inquisitor
    0x2596c000 - 0x25a8aff7 com.apple.RawCamera.bundle 2.0.8 (2.0.8) <56067945130800a348eb076676d41e92> /System/Library/CoreServices/RawCamera.bundle/Contents/MacOS/RawCamera
    0x26647000 - 0x2664cff3 libCGXCoreImage.A.dylib ??? (???) <b6cf72d9cbd5312d4ec435e298954ade> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCGXCoreImage.A.dylib
    0x26779000 - 0x26779ffd liblangid.dylib ??? (???) <d1bba9ec9142b4eb33db9c24d504ac63> /usr/lib/liblangid.dylib
    0x267df000 - 0x267e0fe1 com.apple.textencoding.unicode 2.2 (2.2) <6566f38ef8ee61fab9aaecfb6a81f208> /System/Library/TextEncodings/Unicode Encodings.bundle/Contents/MacOS/Unicode Encodings
    0x8fe00000 - 0x8fe2da53 dyld 96.2 (???) <14ac3b684fa5a31932fa89c4bba7a29b> /usr/lib/dyld
    0x90003000 - 0x90085ff3 com.apple.CFNetwork 330.4 (330.4) <ce5b085df34a78b7f198aff9db5b52ec> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwo rk.framework/Versions/A/CFNetwork
    0x90086000 - 0x90086ffc com.apple.audio.units.AudioUnit 1.5 (1.5) /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
    0x90087000 - 0x90103feb com.apple.audio.CoreAudio 3.1.0 (3.1) <be7120e91df91425e904d5327b4338b7> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
    0x90104000 - 0x901b6ffb libcrypto.0.9.7.dylib ??? (???) <01109b36b445b3e8698ef87f814f7fd4> /usr/lib/libcrypto.0.9.7.dylib
    0x9028b000 - 0x902a6ff3 libPng.dylib ??? (???) <c0484bec6e2432b406755591924fe664> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libPng.dylib
    0x902a7000 - 0x90522fe7 com.apple.Foundation 6.5.5 (677.19) <bfd4ebea1a7739dd6b523f15dca01a37> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
    0x90523000 - 0x90526fff com.apple.help 1.1 (36) <175489f8adf287b3ebd259362b0292c0> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framewor k/Versions/A/Help
    0x90527000 - 0x908e5fea libLAPACK.dylib ??? (???) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libLAPACK.dylib
    0x908e6000 - 0x909cbff3 com.apple.CoreData 100.1 (186) <8e28162ef2288692615b52acc01f8b54> /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
    0x909cc000 - 0x909d3ff7 libCGATS.A.dylib ??? (???) <fbc59d0e1eccf907396563568d5cd872> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCGATS.A.dylib
    0x909d4000 - 0x90a24feb com.apple.framework.familycontrols 1.0.2 (1.0.2) <bcd9397c28e82724c202830fcc2c04d3> /System/Library/PrivateFrameworks/FamilyControls.framework/Versions/A/FamilyCon trols
    0x90a25000 - 0x90b06ff7 libxml2.2.dylib ??? (???) <1baef3d4972ee789d8fa6c1fa44da45c> /usr/lib/libxml2.2.dylib
    0x90b07000 - 0x90b11feb com.apple.audio.SoundManager 3.9.2 (3.9.2) <caa41909dcb5a18a94bc68cd13999bd5> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound.f ramework/Versions/A/CarbonSound
    0x90b12000 - 0x90b7fffb com.apple.WhitePagesFramework 1.2 (119.0) /System/Library/PrivateFrameworks/WhitePages.framework/Versions/A/WhitePages
    0x90b80000 - 0x90b90ffc com.apple.LangAnalysis 1.6.4 (1.6.4) <8b7831b5f74a950a56cf2d22a2d436f6> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ LangAnalysis.framework/Versions/A/LangAnalysis
    0x90b91000 - 0x90b95fff libGIF.dylib ??? (???) <75b4fd9684d792add088205f987fb02e> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libGIF.dylib
    0x90b96000 - 0x90be5fff com.apple.QuickLookUIFramework 1.3 (170.7) /System/Library/PrivateFrameworks/QuickLookUI.framework/Versions/A/QuickLookUI
    0x90be6000 - 0x90c36ff7 com.apple.HIServices 1.7.0 (???) <f7e78891a6d08265c83dca8e378be1ea> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ HIServices.framework/Versions/A/HIServices
    0x90c37000 - 0x90c71ffe com.apple.securityfoundation 3.0 (32989) <36f7f260187c435b2670bcb24acd4219> /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoun dation
    0x90c72000 - 0x90c7efe7 com.apple.opengl 1.5.6 (1.5.6) <125de77ea2434a91364e79a0905a7771> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
    0x90c7f000 - 0x90d12fff com.apple.ink.framework 101.3 (86) <dfa9debcd7537849d228021d1d9c0f63> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework /Versions/A/Ink
    0x90d13000 - 0x90d18ffc com.apple.KerberosHelper 1.1 (1.0) <86b1b4589baa557d067d07efc01890d2> /System/Library/PrivateFrameworks/KerberosHelper.framework/Versions/A/KerberosH elper
    0x90d19000 - 0x90d44fe7 libauto.dylib ??? (???) <42d8422dc23a18071869fdf7b5d8fab5> /usr/lib/libauto.dylib
    0x90d45000 - 0x90d61fff com.apple.IMFramework 4.0.5 (582) <da822220ccdaabc47408e2f641d48685> /System/Library/Frameworks/InstantMessage.framework/Versions/A/InstantMessage
    0x90d62000 - 0x90d64ff5 libRadiance.dylib ??? (???) <c307054a6d8337c85ef501780b54704d> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libRadiance.dylib
    0x90d65000 - 0x90e97fff com.apple.CoreFoundation 6.5.3 (476.14) <7ef7f5db09ff6dd0135a6165872803cc> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
    0x90e98000 - 0x90ea3fe7 libCSync.A.dylib ??? (???) <3f58eb487099bff0476ec79974d0ad4d> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
    0x90ea4000 - 0x90ec8fff libxslt.1.dylib ??? (???) <59399cc446ed903fd9479526ee9f116b> /usr/lib/libxslt.1.dylib
    0x90ec9000 - 0x90ecefff com.apple.CommonPanels 1.2.4 (85) <3b64ef0de184d09c6f99a1a7e77e42be> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels. framework/Versions/A/CommonPanels
    0x90ecf000 - 0x911d6ff7 com.apple.HIToolbox 1.5.3 (???) <e36f5c553e5a32f64b7eb458dadadc71> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fra mework/Versions/A/HIToolbox
    0x911d7000 - 0x911d7ffe com.apple.quartzframework 1.5 (1.5) <49afd7e7e3b2cad89cfaf2ac8c67c8a4> /System/Library/Frameworks/Quartz.framework/Versions/A/Quartz
    0x911d8000 - 0x911defff com.apple.print.framework.Print 218.0.2 (220.1) <8bf7ef71216376d12fcd5ec17e43742c> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framewo rk/Versions/A/Print
    0x911df000 - 0x9139aff3 com.apple.QuartzComposer 2.1 (106.5) <a296178aba94c71fc5314ea2ed0b4349> /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/QuartzCompose r.framework/Versions/A/QuartzComposer
    0x9139b000 - 0x913d9fff com.apple.CoreMediaIOServicesPrivate 9.0 (9.0) /System/Library/PrivateFrameworks/CoreMediaIOServicesPrivate.framework/Versions /A/CoreMediaIOServicesPrivate
    0x913da000 - 0x91494fe3 com.apple.CoreServices.OSServices 226.5 (226.5) <7e10d25c615a39fe1ab4d48e24a3b555> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServi ces.framework/Versions/A/OSServices
    0x91495000 - 0x91499fff com.apple.OpenDirectory 10.5 (10.5) <29f7b10aad34ba8eb15b55d69dff6ddf> /System/Library/PrivateFrameworks/OpenDirectory.framework/Versions/A/OpenDirect ory
    0x9149a000 - 0x914a5ff9 com.apple.helpdata 1.0 (14) /System/Library/PrivateFrameworks/HelpData.framework/Versions/A/HelpData
    0x914a6000 - 0x9156dff2 com.apple.vImage 3.0 (3.0) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.fr amework/Versions/A/vImage
    0x9156e000 - 0x9166ffff com.apple.PubSub 1.0.3 (65.3) /System/Library/Frameworks/PubSub.framework/Versions/A/PubSub
    0x91670000 - 0x916a2fff com.apple.LDAPFramework 1.4.3 (106) <fd2a420db8e3bf599c9c41713d7ad0a6> /System/Library/Frameworks/LDAP.framework/Versions/A/LDAP
    0x916a3000 - 0x916b1ffd libz.1.dylib ??? (???) <545ca09467025f77131cfac09d8b9375> /usr/lib/libz.1.dylib
    0x916b2000 - 0x91792fff com.apple.syncservices 3.1 (389.6) <51037594e950b0331d4996691cf4acba> /System/Library/Frameworks/SyncServices.framework/Versions/A/SyncServices
    0x91796000 - 0x918dcff7 com.apple.ImageIO.framework 2.0.2 (2.0.2) <77dfee73f4c0d230425a5151ee0bce05> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/ImageIO
    0x918dd000 - 0x91957ff8 com.apple.print.framework.PrintCore 5.5.3 (245.3) <222dade7b33b99708b8c09d1303f93fc> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ PrintCore.framework/Versions/A/PrintCore
    0x91a22000 - 0x91a22ff8 com.apple.ApplicationServices 34 (34) <e9cd7c823062c4382d89e3c9997f4739> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Application Services
    0x91a28000 - 0x91ab3fff com.apple.framework.IOKit 1.5.1 (???) <60cfc4b175c4ef60bb8e9036716a29f4> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
    0x91ab4000 - 0x91acafe7 com.apple.CoreVideo 1.5.1 (1.5.1) <ed7bb95fb94817ea3212090aac5c65f3> /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
    0x91acb000 - 0x91ae3fff com.apple.openscripting 1.2.8 (???) <d85d82af796d1df9bce7b1db8f6c846c> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting .framework/Versions/A/OpenScripting
    0x91ae4000 - 0x91af1ff7 com.apple.DMNotification 1.1.0 (143) <03a2cc6f170007bdd90642a01769e55a> /System/Library/PrivateFrameworks/DMNotification.framework/Versions/A/DMNotific ation
    0x91af2000 - 0x91b4fffb libstdc++.6.dylib ??? (???) <6106b1f2b0b303b06ae476253dbb5f3f> /usr/lib/libstdc++.6.dylib
    0x91bf3000 - 0x91c72ff5 com.apple.SearchKit 1.2.0 (1.2.0) <5abfde5537969168b8a8743ccb9ec735> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchK it.framework/Versions/A/SearchKit
    0x91c73000 - 0x91c82fff libsasl2.2.dylib ??? (???) <75b9d97ca7c3d53cd38bdd420a377522> /usr/lib/libsasl2.2.dylib
    0x91c83000 - 0x91c9afff com.apple.datadetectors 1.0.1 (66.2) <b4676446cca8a1e4c28ca911026b7ceb> /System/Library/PrivateFrameworks/DataDetectors.framework/Versions/A/DataDetect ors
    0x91c9b000 - 0x91cd5fff com.apple.coreui 1.1 (61) /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI
    0x91cd6000 - 0x91cddfe9 libgcc_s.1.dylib ??? (???) <28a7cbc3a5ca2982d124668306f422d9> /usr/lib/libgcc_s.1.dylib
    0x91cde000 - 0x91e3efee com.apple.CalendarStore 3.0.4 (833) /System/Library/Frameworks/CalendarStore.framework/Versions/A/CalendarStore
    0x91e3f000 - 0x91e48fff com.apple.speech.recognition.framework 3.7.24 (3.7.24) <6a6518b392d3d41ace3dcea69d6809d9> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecogni tion.framework/Versions/A/SpeechRecognition
    0x91e49000 - 0x91e59fff com.apple.speech.synthesis.framework 3.7.1 (3.7.1) <06d8fc0307314f8ffc16f206ad3dbf44> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ SpeechSynthesis.framework/Versions/A/SpeechSynthesis
    0x91e5a000 - 0x91e6eff3 com.apple.ImageCapture 4.0 (5.0.0) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture. framework/Versions/A/ImageCapture
    0x91e6f000 - 0x91f4efff libobjc.A.dylib ??? (???) <a53206274b6c2d42691f677863f379ae> /usr/lib/libobjc.A.dylib
    0x91f4f000 - 0x91f8efef libTIFF.dylib ??? (???) <4b7d3b3b9a9c8335c2538371cb39b60b> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libTIFF.dylib
    0x91f8f000 - 0x91f97fff com.apple.DiskArbitration 2.2.1 (2.2.1) <75b0c8d8940a8a27816961dddcac8e0f> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
    0x91f98000 - 0x91fb7ffa libJPEG.dylib ??? (???) <c776945af9d960ccf5a80aa2d89fd918> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libJPEG.dylib
    0x91fb8000 - 0x920effeb com.apple.imageKit 1.0.1 (1.0) <9b6da3210b7e69e75039cbb0fd4a8482> /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/ImageKit.fram ework/Versions/A/ImageKit
    0x920f0000 - 0x92120ff3 com.apple.DotMacSyncManager 1.2.3 (283) <3f521a1391d7740aca012fe3e4772095> /System/Library/PrivateFrameworks/DotMacSyncManager.framework/Versions/A/DotMac SyncManager
    0x92121000 - 0x92149fff libcups.2.dylib ??? (???) <ece20dff2a2c8ed3ae6ef735ef440c37> /usr/lib/libcups.2.dylib
    0x9214a000 - 0x924e0fff com.apple.QuartzCore 1.5.3 (1.5.3) <1b65c05f89e81a499302fd63295b242d> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
    0x925d6000 - 0x9267dfeb com.apple.QD 3.11.52 (???) <c72bd7bd2ce12694c3640a731d1ad878> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ QD.framework/Versions/A/QD
    0x9267e000 - 0x926ccff3 com.apple.datadetectorscore 1.0.2 (52.14) <e137549cb2c0ff943809824e31854a73> /System/Library/PrivateFrameworks/DataDetectorsCore.framework/Versions/A/DataDe tectorsCore
    0x93813000 - 0x93859fef com.apple.Metadata 10.5.2 (398.18) <9466e348fc3c1fece377ae1238fe74a7> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadat a.framework/Versions/A/Metadata
    0x9385a000 - 0x938edff3 com.apple.ApplicationServices.ATS 3.3 (???) <064eb6d96417afa38a80b1735c4113aa> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/ATS
    0x938ee000 - 0x93922fef com.apple.bom 9.0 (136) <eca0b933894328d4b005df53c80b67cb> /System/Library/PrivateFrameworks/Bom.framework/Versions/A/Bom
    0x93923000 - 0x93a47fe3 com.apple.audio.toolbox.AudioToolbox 1.5.1 (1.5.1) /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
    0x93a48000 - 0x93ad2fe3 com.apple.DesktopServices 1.4.6 (1.4.6) <1abd4175c3089704be6824c073f7cc33> /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/Desk topServicesPriv
    0x93ad3000 - 0x93b50fef libvMisc.dylib ??? (???) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvMisc.dylib
    0x93b51000 - 0x93f61fef libBLAS.dylib ??? (???) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libBLAS.dylib
    0x93f62000 - 0x93f6dfff com.apple.dotMacLegacy 3.1 (244.1) <dc5b306b079718439c199d386ff60cc4> /System/Library/PrivateFrameworks/DotMacLegacy.framework/Versions/A/DotMacLegac y
    0x93f6e000 - 0x93f9bfeb libvDSP.dylib ??? (???) <b232c018ddd040ec4e2c2af632dd497f> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvDSP.dylib
    0x93f9c000 - 0x93ff8ff7 com.apple.htmlrendering 68 (1.1.3) <a9f65fa1c4668dc7c49af5bf7d5287ad> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HTMLRendering .framework/Versions/A/HTMLRendering
    0x93ff9000 - 0x9402ffef libtidy.A.dylib ??? (???) <f1d1742e06280444baa5637b209fd0af> /usr/lib/libtidy.A.dylib
    0x94030000 - 0x9404eff7 com.apple.QuickLookFramework 1.3 (170.7) /System/Library/Frameworks/QuickLook.framework/Versions/A/QuickLook
    0x9404f000 - 0x94117fef com.apple.WebKit 5528 (5528.1) <fc969bc7b1dbf67d61eaea8afe646865> /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit
    0x94118000 - 0x9415afef com.apple.NavigationServices 3.5.2 (163) <91844980804067b07a0b6124310d3f31> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/NavigationSer vices.framework/Versions/A/NavigationServices
    0x9415b000 - 0x941b5ff7 com.apple.CoreText 2.0.2 (???) <9fde11f84a72e890bbf2aa8b0b13b79a> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreText.framework/Versions/A/CoreText
    0x941b6000 - 0x941b6ffd com.apple.vecLib 3.4.2 (vecLib 3.4.2) /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
    0x941b7000 - 0x941f5ff7 libGLImage.dylib ??? (???) <093b1b698ca93a0380f5fa262459ea28> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dyl ib
    0x941f6000 - 0x9427dff7 libsqlite3.0.dylib ??? (???) <6978bbcca4277d6ae9f042beff643f7d> /usr/lib/libsqlite3.0.dylib
    0x9427e000 - 0x942c8fe1 com.apple.securityinterface 3.0 (32532) <e849f522f5055fb9083609a3c6e32280> /System/Library/Frameworks/SecurityInterface.framework/Versions/A/SecurityInter face
    0x942c9000 - 0x94322ff7 libGLU.dylib ??? (???) /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
    0x94323000 - 0x94328fff com.apple.backup.framework 1.0 (1.0) /System/Library/PrivateFrameworks/Backup.framework/Versions/A/Backup
    0x94329000 - 0x9433cfff com.apple.IMUtils 4.0.5 (582) <535270cbc62da9f8269578251a660e76> /System/Library/Frameworks/InstantMessage.framework/Frameworks/IMUtils.framewor k/Versions/A/IMUtils
    0x9433d000 - 0x94381feb com.apple.DirectoryService.PasswordServerFramework 3.0.3 (3.0.3) <8135bb4f34a3bf02b8c2ca869fe33a42> /System/Library/PrivateFrameworks/PasswordServer.framework/Versions/A/PasswordS erver
    0x94382000 - 0x94382ffd com.apple.Accelerate.vecLib 3.4.2 (vecLib 3.4.2) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/vecLib
    0x94383000 - 0x94a1ffef com.apple.CoreGraphics 1.351.32 (???) <793d7ceb9e1880818e03c1f1b10df04b> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/CoreGraphics
    0x94a20000 - 0x94a27ffe libbsm.dylib ??? (???) <5582985a86ea36504cca31788bccf963> /usr/lib/libbsm.dylib
    0x94a28000 - 0x94a28ffb com.apple.installserver.framework 1.0 (8) /System/Library/PrivateFrameworks/InstallServer.framework/Versions/A/InstallSer ver
    0x94a29000 - 0x94af4fff com.apple.ColorSync 4.5.0 (4.5.0) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ColorSync.framework/Versions/A/ColorSync
    0x94af5000 - 0x94b31fff com.apple.DAVKit 3.0.4 (651) /System/Library/PrivateFrameworks/DAVKit.framework/Versions/A/DAVKit
    0x94b32000 - 0x94b56feb libssl.0.9.7.dylib ??? (???) <3512c4a8198f0e964748bf6acbf359b4> /usr/lib/libssl.0.9.7.dylib
    0x94b57000 - 0x94b75fff libresolv.9.dylib ??? (???) <9602435a6eac87a0d1f41b8ca8541693> /usr/lib/libresolv.9.dylib
    0x94de7000 - 0x94e05ff3 com.apple.DirectoryService.Framework 3.5.4 (3.5.4) <fe27e80e1a9e86403fd9ed16dcfe4e11> /System/Library/Frameworks/DirectoryService.framework/Versions/A/DirectoryServi ce
    0x94e06000 - 0x952d9ffe libGLProgrammability.dylib ??? (???) <475db64244e011cd8811e076035b2632> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLProgramma bility.dylib
    0x952da000 - 0x9534cfff com.apple.PDFKit 2.1 (2.1) /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/PDFKit.framew ork/Versions/A/PDFKit
    0x9534d000 - 0x95b15fff com.apple.WebCore 5528 (5528.1) <bb24a083efdb00e9045ce73c5c97959c> /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebCore.frame work/Versions/A/WebCore
    0x95b16000 - 0x95bfafef com.apple.JavaScriptCore 5528 (5528.1) <a634d0260034c1c00a8859e29815e86c> /System/Library/Frameworks/JavaScriptCore.framework/Versions/A/JavaScriptCore
    0x95bfb000 - 0x95c0cffe com.apple.CFOpenDirectory 10.5 (10.5) <01a0034b48d63524057b5f57dfc0605c> /System/Library/PrivateFrameworks/OpenDirectory.framework/Versions/A/Frameworks /CFOpenDirectory.framework/Versions/A/CFOpenDirectory
    0x95c0d000 - 0x95cbbffb com.apple.QTKit 7.5 (861) /System/Library/Frameworks/QTKit.framework/Versions/A/QTKit
    0x95cbc000 - 0x95cc8fff libbz2.1.0.dylib ??? (???) <e266a580d35c4518eee864dc064e4b98> /usr/lib/libbz2.1.0.dylib
    0x95cc9000 - 0x95cc9ffd com.apple.Accelerate 1.4.2 (Accelerate 1.4.2) /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
    0x95cca000 - 0x95d01fff com.apple.SystemConfiguration 1.9.2 (1.9.2) <8b26ebf26a009a098484f1ed01ec499c> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfi guration
    0x95d32000 - 0x95d32ff8 com.apple.Cocoa 6.5 (???) <e9318c93615b27231498bbe585b8da98> /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
    0x95d33000 - 0x95d33fff com.apple.Carbon 136 (136) <ec1d4184925e652dbe1b9200a5a552ec> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
    0x95d34000 - 0x95e94ff3 libSystem.B.dylib ??? (???) <98fc91f31f185411ddc46d3225e9af55> /usr/lib/libSystem.B.dylib
    0x95e95000 - 0x95efbffb com.apple.ISSupport 1.7 (38) /System/Library/PrivateFrameworks/ISSupport.framework/Versions/A/ISSupport
    0x95efc000 - 0x95f2dffb com.apple.quartzfilters 1.5.0 (1.5.0) <01090d7204c55b32a6a11199fa0d2e2b> /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/QuartzFilters .framework/Versions/A/QuartzFilters
    0x95f2e000 - 0x95f6ffe7 libRIP.A.dylib ??? (???) <8c2cd4f044b3413d770ca8ad740f7645> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
    0x95f7a000 - 0x95fa9fe3 com.apple.AE 402.2 (402.2) <e01596187e91af5d48653920017b8c8e> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.fram ework/Versions/A/AE
    0x95faa000 - 0x95fcaff2 libGL.dylib ??? (???) /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
    0x95fcb000 - 0x95fcbffa com.apple.CoreServices 32 (32) <2760719f7a81e8c2bdfd15b0939abc29> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
    0x95fcc000 - 0x95fd0fff libmathCommon.A.dylib ??? (???) /usr/lib/system/libmathCommon.A.dylib
    0x95fd1000 - 0x962f2fea com.apple.QuickTime 7.5.0 (861) <4e1161b204b3b1f1047412c16483c39a> /System/Library/Frameworks/QuickTime.framework/Versions/A/QuickTime
    0x962f3000 - 0x962f5fff com.apple.securityhi 3.0 (30817) <020419ad33b8638b174e1a472728a894> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.fr amework/Versions/A/SecurityHI
    0x962f6000 - 0x96305ffe com.apple.DSObjCWrappers.Framework 1.3 (1.3) <09deb9e32d0d09dfb95ae569bdd2b7a4> /System/Library/PrivateFrameworks/DSObjCWrappers.framework/Versions/A/DSObjCWra ppers
    0x96306000 - 0x96392ff7 com.apple.LaunchServices 289.2 (289.2) <3577886e3a6d56ee3949850c4fde76c9> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchS ervices.framework/Versions/A/LaunchServices
    0x96393000 - 0x96512fff com.apple.AddressBook.framework 4.1.1 (695) <24a448ba4f9f784189bd3183e3474d81> /System/Library/Frameworks/AddressBook.framework/Versions/A/AddressBook
    0x96513000 - 0x9653bff7 com.apple.shortcut 1 (1.0) <5b57f8f162f77a1739b436900517d672> /System/Library/PrivateFrameworks/Shortcut.framework/Versions/A/Shortcut
    0x9653c000 - 0x96674ff7 libicucore.A.dylib ??? (???) <5031226ea28b371d8dfdbb32acfb48b5> /usr/lib/libicucore.A.dylib
    0x96675000 - 0x9668bfff com.apple.DictionaryServices 1.0.0 (1.0.0) <7e9ff586b5c9d02b09e2a5527d98524f> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Diction aryServices.framework/Versions/A/DictionaryServices
    0x9668c000 - 0x966b6fff com.apple.CoreMediaPrivate 9.0 (9.0) <8eb20bcfecc950600aa62dfa07aa47f3> /System/Library/PrivateFrameworks/CoreMediaPrivate.framework/Versions/A/CoreMed iaPrivate
    0x966b7000 - 0x96885fff com.apple.security 5.0.4 (34102) <f01d6cbd6a0f24f6c13952ed448e77d6> /System/Library/Frameworks/Security.framework/Versions/A/Security
    0x96886000 - 0x96b60ff3 com.apple.CoreServices.CarbonCore 786.6 (786.6) <bc7c12c84fe21ae2626bdd17070aaafa> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonC ore.framework/Versions/A/CarbonCore
    0x96b61000 - 0x96c11fff edu.mit.Kerberos 6.0.12 (6.0.12) <1dc515ebe407292db8e603938c72d4e8> /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
    0x96c12000 - 0x96c12ffe com.apple.MonitorPanelFramework 1.2.0 (1.2.0) <1bce4a22b6a5cc7055d0938ddad269b2> /System/Library/PrivateFrameworks/MonitorPanel.framework/Versions/A/MonitorPane l
    0x96c13000 - 0x97410fef com.apple.AppKit 6.5.3 (949.33) <84b236f43802f4c15011513d18efa101> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
    0x97411000 - 0x97412ffc libffi.dylib ??? (???) <596e0dbf626b211741cecaa9698f271b> /usr/lib/libffi.dylib
    0x97413000 - 0x97418ffb com.apple.DisplayServicesFW 2.0 (2.0) <b0b9a41a526a431b09ac0e0e5cec8261> /System/Library/PrivateFrameworks/DisplayServices.framework/Versions/A/DisplayS ervices
    0xfffe8000 - 0xfffebfff libobjc.A.dylib ??? (???) /usr/lib/libobjc.A.dylib
    0xffff0000 - 0xffff1780 libSystem.B.dylib ??? (???) /usr/lib/libSystem.B.dylib

  • AFP disconnects users, file opening problems, abnormal exits and bus errors

    Hi all
    Since a few weeks we have been having problems with AFP file sharing with OS X Server 10.5.5 (Simple config)
    Several times a day the server stops responding to save commands (especially with Adobe software) or abruptly disconnects users. The console error most frequently associated with these crashes is:
    "com.apple.launchd[1] (com.apple.AppleFileServer[3674]) Exited abnormally: Bus error"
    sometimes starting server preferences we get the following error (roughly translated from French):
    An Error has occured on the server while executing a command.
    the error "CANNOTFSGETVOLINFOERR" occured while executing a command of type "getVolumeList" in the module "servermgr_filebrowser"
    I'm past hoping for a quick fix but any pointers or ideas of what to look for would be greatly appreciated.
    Robin Lambell

    I just want to make sure I have the steps clear.
    disable the automounts in 'Filesharing' in Server Admin
    I disable the automounts in the File Sharing tab of Server Admin by clicking on each share point and clicking the Unshare button.
    then remove the sharepoints
    How? Isn't that automatic? I chose to unshare a share point and it disappeared from the list. Is that enough?
    Then in Terminal.app do:
    sudo rm /private/var/etc/AFP.conf
    Then:
    sudo rm /Library/Preferences/com.apple.AppleFileServer.plist
    Then in Server Admin, restore the sharepoints back and automounts. Then restart the AFP service.
    I restore the share points by manually choosing to share each of them again? I'll have to redefine each one, won't I?
    Thanks for the help. I haven't done this before and I want to make sure I'm doing it right.

  • [notice] child pid 1256 exit signal Bus error (10) ????

    Hi,
    I have something in my httpd error log,
    can someone explain what's that means ?
    [notice] child pid 1256 exit signal Bus error (10)

    It means that the child process #1256 crashed while processing a request from a client.
    This is most often caused by a CGI or other script that's badly written. Apache, generally, is very stable, and problems like these almost always come down to plug-ins and scripts. The issue, of course, is determining the request that triggered the crash.
    If your machine isn't too busy, you might try to cross-reference the access and error logs to see if you can identify the request, either by timestamp, result code or similar. Once you find what's causing the crash you can take steps to fix it.

  • Problems with the Xserver Bus error

    I think this problem started when I updated to 10.4.10, but I'm not entirely sure.
    All of the sudden, I lost the Windows Login, the first problem I found was that the "crashreport" couldn't write on file and exited with signal 1 and 10.
    Following up on the system.log the application crashing was Spotlight damon.
    I remove it from the boot process and now it's not crashing (because is not running )
    But I still cannot login, when I restart the server, the screen stays on the part where the "bar" estimate the time to boot, although some of the services are up.
    Like LDAP, AFP, DHCP, etc.
    I cannot connect with the "Server Admin" remotely, although the "Workgroup Mannager" DOES connect.
    I CAN login ssh, but if I try any privileged commands, like "systemsetup", "networksetup", "softwareupdate", I get "Bus error" and there's nothing I can do.
    From the system.log I get
    Jul 10 21:20:34 imerserver /System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow: Login Window Application Started
    Jul 10 21:20:34 imerserver /System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow: Login Window Application Started
    Jul 10 21:20:35 imerserver /System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow: Login Window Application Started
    Jul 10 21:20:35 imerserver launchd: getty repeating too quickly on port /dev/console, sleeping
    Jul 10 21:21:05 imerserver /System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow: Login Window Application Started
    "ps xl" gives me this:
    UID PID PPID CPU PRI NI VSZ RSS WCHAN STAT TT TIME COMMAND
    0 1 0 0 32 -1 28348 212 - S<s ?? 0:47.20 /sbin/launchd
    0 27 1 0 63 0 27264 108 - Ss ?? 0:00.00 /sbin/dynamic_pager -F /private/var/vm/swapfil
    0 31 1 0 31 0 28216 940 - Ss ?? 0:01.20 kextd
    0 35 1 0 31 0 27752 568 - Ss ?? 0:05.62 /usr/sbin/kdcmond -n -a
    0 36 1 0 31 0 27844 400 - Ss ?? 0:00.03 /usr/sbin/KernelEventAgent
    0 37 1 0 31 0 28612 984 - Ss ?? 0:04.22 /usr/sbin/mDNSResponder -launchdaemon
    0 38 1 0 31 0 27592 412 - Ss ?? 0:06.12 /usr/sbin/netinfod -s local
    0 39 1 0 31 0 34464 2380 - Ss ?? 0:11.64 /usr/sbin/PasswordService -n
    0 41 1 0 31 0 27772 620 - Ss ?? 0:00.02 vpnd -x -i com.apple.ppp.pptp
    0 43 1 0 31 0 27284 236 - Ss ?? 0:22.46 /usr/sbin/syslogd
    0 45 1 0 31 0 28580 920 - Ss ?? 0:00.26 /usr/sbin/kadmind -passwordserver -nofork
    0 46 1 0 31 0 86292 3112 - Ss ?? 0:17.80 /usr/sbin/named -f
    0 49 1 0 31 0 118008 3584 - Ss ?? 1:18.70 /usr/libexec/slapd -d 0 -h ldap:/// ldapi://%2
    0 50 1 0 31 0 27348 460 - Ss ?? 0:01.59 master
    0 52 1 0 31 0 28872 756 - Ss ?? 0:00.25 /usr/sbin/coreaudiod
    0 53 1 0 31 0 27780 820 - Ss ?? 0:46.80 /usr/sbin/diskarbitrationd
    0 54 1 0 31 0 28340 520 - Ss ?? 0:00.58 /usr/sbin/memberd -x
    0 55 1 0 31 0 30368 2856 - Ss ?? 0:22.12 /usr/sbin/securityd
    0 57 1 0 31 0 27864 308 - Ss ?? 0:33.99 /usr/sbin/notifyd
    0 63 1 0 31 0 27672 520 - Ss ?? 0:06.20 /usr/sbin/distnoted
    0 64 1 0 31 0 34644 3616 - Ss ?? 0:10.24 /usr/sbin/DirectoryService
    0 66 1 0 31 0 27248 168 - Ss ?? 0:58.58 /usr/sbin/update
    0 81 1 0 31 0 29896 1052 - Ss ?? 0:28.71 /System/Library/CoreServices/coreservicesd
    0 130 1 0 31 0 27768 212 - Ss ?? 1:41.87 /usr/libexec/crashreporterd
    0 177 1 0 31 0 28992 1016 - Ss ?? 0:01.44 /usr/sbin/serialnumberd
    0 179 1 0 31 0 28512 1264 - Ss ?? 0:01.66 /usr/sbin/cupsd -L
    0 180 1 0 31 0 29308 128 - Ss ?? 0:00.00 nfsiod -n 4
    0 191 1 0 31 0 29080 160 - Ss ?? 0:00.00 /usr/sbin/AppleFileServer
    0 192 191 0 31 0 81588 9656 - S ?? 2:54.72 /usr/sbin/AppleFileServer
    0 193 1 0 31 0 27812 504 - S ?? 0:00.04 /bin/sh ./bin/mysqld_safe --datadir=/usr/local
    0 199 1 0 31 0 30224 528 - Ss ?? 0:00.41 /usr/sbin/smbd -D
    0 202 199 0 31 0 30224 208 - S ?? 0:00.00 /usr/sbin/smbd -D
    0 204 1 0 31 0 27308 128 - Ss ?? 0:00.00 rpc.lockd -w
    0 207 1 0 31 0 29716 904 - Ss ?? 0:00.06 /usr/sbin/automount -f -m /Network -nsl -mnt /
    0 209 1 0 31 0 28456 688 - Ss ?? 0:11.09 /usr/sbin/nmbd -D
    0 210 209 0 31 0 28440 172 - S ?? 0:00.01 /usr/sbin/nmbd -D
    0 213 1 0 31 0 29420 868 - Ss ?? 0:00.06 /usr/sbin/automount -f -m /automount/Servers -
    0 216 35 0 31 0 28848 1592 - S ?? 0:12.35 /usr/sbin/krb5kdc -n -a
    0 219 1 0 31 0 27508 316 - Ss ?? 0:08.14 ntpd -f /var/run/ntp.drift -p /var/run/ntpd.pi
    0 348 1 0 31 0 30936 772 - Ss ?? 0:00.46 slpd -f /etc/slpsa.conf
    0 402 1 0 31 0 27328 76 - Ss ?? 0:00.00 /usr/sbin/webperfcache
    0 19558 1 0 31 0 30292 1064 - S ?? 0:00.36 /usr/sbin/sshd -i
    0 23027 1 0 31 0 27844 904 - Ss ?? 0:00.05 /usr/libexec/bootpd -q
    0 23341 1 0 32 -1 28352 232 - S< ?? 0:00.00 /sbin/launchd
    0 26365 1 0 31 0 29928 1508 - Ss ?? 0:31.98 /usr/sbin/configd
    0 26375 1 0 31 0 30268 1056 - Ss ?? 0:06.97 /usr/sbin/lookupd
    0 19562 19558 0 31 0 27812 864 - Ss p0 0:00.25 -sh
    0 23342 19562 0 31 0 27288 396 - R+ p0 0:00.01 ps xl
    G5   Mac OS X (10.4.9)   2 512Gb Mirror Disks

    OK, I put the things back before my changes.
    I run the "privilages", install the Combo package, but everithing stays the same.
    Here's the system.log
    Jul 11 16:31:30 localhost kernel[0]: standard timeslicing quantum is 10000 us
    Jul 11 16:31:27 localhost mDNSResponder-108.5 (May 9 2007 16: 57:18)[37]: starting
    Jul 11 16:31:30 localhost kernel[0]: vmpagebootstrap: 124261 free pages
    Jul 11 16:31:27 localhost memberd[50]: memberd starting up
    Jul 11 16:31:30 localhost kernel[0]: migtable_maxdispl = 70
    Jul 11 16:31:28 localhost named[44]: starting BIND 9.3.4 -f
    Jul 11 16:31:31 localhost kernel[0]: 91 prelinked modules
    Jul 11 16:31:29 localhost lookupd[54]: lookupd (version 369.5) starting - Wed Jul 11 16:31:29 2007
    Jul 11 16:31:31 localhost kernel[0]: Copyright (c) 1982, 1986, 1989, 1991, 1993
    Jul 11 16:31:31 localhost kernel[0]: The Regents of the University of California. All rights reserved.
    Jul 11 16:31:31 localhost kernel[0]: using 1310 buffer headers and 1310 cluster IO buffer headers
    Jul 11 16:31:31 localhost kernel[0]: AppleKauaiATA shasta-ata features enabled
    Jul 11 16:31:31 localhost kernel[0]: DART enabled
    Jul 11 16:31:31 localhost kernel[0]: FireWire (OHCI) Apple ID 52 built-in now active, GUID 001451ff fe42198e; max speed s800.
    Jul 11 16:31:31 localhost kernel[0]: Security auditing service present
    Jul 11 16:31:31 localhost kernel[0]: BSM auditing present
    Jul 11 16:31:31 localhost kernel[0]: disabled
    Jul 11 16:31:31 localhost kernel[0]: rooting via boot-uuid from /chosen: 1FFA9A97-D6DE-3E6F-8EAD-9C7D29C054DB
    Jul 11 16:31:31 localhost kernel[0]: Waiting on <dict ID="0"><key>IOProviderClass</key><string ID="1">IOResources</string><key>IOResourceMatch</key><string ID="2">boot-uuid-media</string></dict>
    Jul 11 16:31:31 localhost kernel[0]: AppleSMU -- shutdown cause = 2
    Jul 11 16:31:31 localhost kernel[0]: Got boot device = IOService:/MacRISC4PE/ht@0,f2000000/AppleMacRiscHT/pci@9/IOPCI2PCIBridge/k2-sat a-root@C/AppleK2SATARoot/k2-sata@0/AppleK2SATA/ATADeviceNub@0/IOATABlockStorageD river/IOATABlockStorageDevice/IOBlockStorageDriver/ST3500630AS Media/IOApplePartitionScheme/AppleRAID_OfflineV2_Untitled2@3/AppleRAIDMember/AppleRAIDMirrorSet/IMER Server Disk@0
    Jul 11 16:31:31 localhost kernel[0]: BSD root: disk2, major 14, minor 8
    Jul 11 16:31:31 localhost kernel[0]: AppleSMU::PMU vers = 0x000d00a0, SPU vers = 0x69, SDB vers = 0x01,
    Jul 11 16:31:31 localhost kernel[0]: Jettisoning kernel linker.
    Jul 11 16:31:31 localhost kernel[0]: Resetting IOCatalogue.
    Jul 11 16:31:31 localhost kernel[0]: Matching service count = 1
    Jul 11 16:31:31 localhost kernel[0]: Matching service count = 3
    Jul 11 16:31:31 localhost kernel[0]: Matching service count = 3
    Jul 11 16:31:31 localhost kernel[0]: Matching service count = 3
    Jul 11 16:31:31 localhost kernel[0]: Matching service count = 3
    Jul 11 16:31:31 localhost kernel[0]: Matching service count = 3
    Jul 11 16:31:31 localhost kernel[0]: NVDANV40HAL loaded and registered.
    Jul 11 16:31:31 localhost kernel[0]: PowerMac112ThermalProfile::start 1
    Jul 11 16:31:31 localhost kernel[0]: PowerMac112ThermalProfile::end 1
    Jul 11 16:31:31 localhost kernel[0]: SMUNeo2PlatformPlugin::initThermalProfile - entry
    Jul 11 16:31:31 localhost kernel[0]: SMUNeo2PlatformPlugin::initThermalProfile - calling adjust
    Jul 11 16:31:31 localhost kernel[0]: PowerMac112ThermalProfile::adjustThermalProfile start
    Jul 11 16:31:31 localhost named[44]: command channel listening on 127.0.0.1#54
    Jul 11 16:31:33 localhost diskarbitrationd[49]: disk2 hfs 1FFA9A97-D6DE-3E6F-8EAD-9C7D29C054DB IMER Server Disk /
    Jul 11 16:31:33 localhost DirectoryService[58]: Launched version 2.1 (v353.6)
    Jul 11 16:31:34 localhost launchd: com.apple.servermgrd: exited abnormally: Bus error
    Jul 11 16:31:34 localhost launchd: com.apple.servermgrd: respawning too quickly! throttling
    Jul 11 16:31:34 localhost launchd: com.apple.servermgrd: 9 more failures without living at least 60 seconds will cause job removal
    Jul 11 16:31:34 localhost launchd: com.apple.servermgrd: will restart in 10 seconds
    Jul 11 16:31:35 localhost kernel[0]: BCM5701Enet: Ethernet address 00:16:cb:3a:f0:88
    Jul 11 16:31:35 localhost launchd: Server 351b in bootstrap 1103 uid 0: "/usr/sbin/lookupd"[54]: exited abnormally: Hangup
    Jul 11 16:31:35 localhost kernel[0]: BCM5701Enet: Ethernet address 00:16:cb:3a:f0:89
    Jul 11 16:31:36 localhost lookupd[73]: lookupd (version 369.5) starting - Wed Jul 11 16:31:36 2007
    Jul 11 16:31:36 localhost mDNSResponder: Adding browse domain local.
    Jul 11 16:31:37 imerserver configd[47]: setting hostname to "imerserver.intranet.imeronline.com"
    Jul 11 16:31:40 imerserver kernel[0]: NVDA,Display-B: vram [98020000:08000000]
    Jul 11 16:31:40 imerserver kernel[0]: NVDA,Display-A: vram [00000000:01000000]
    Jul 11 16:31:40 imerserver kernel[0]: AppleBCM5701Ethernet - en0 link active, 1000-Mbit, full duplex, symmetric flow control enabled
    Jul 11 16:31:40 imerserver configd[47]: AppleTalk startup
    Jul 11 16:31:42 imerserver configd[47]: executing /System/Library/SystemConfiguration/Kicker.bundle/Contents/Resources/enable-net work
    Jul 11 16:31:42 imerserver configd[47]: posting notification com.apple.system.config.network_change
    Jul 11 16:31:42 imerserver lookupd[81]: lookupd (version 369.5) starting - Wed Jul 11 16:31:42 2007
    Jul 11 16:31:44 imerserver configd[47]: AppleTalk startup complete
    Jul 11 16:31:48 imerserver DirectoryService[58]: LDAPv3: [127.0.0.1] Updated Security Policies from Directory.
    Jul 11 16:31:52 imerserver kernel[0]: nmbd[207] uses send/recv on a pipe
    Jul 11 16:31:52 imerserver /System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow: Login Window Application Started
    Jul 11 16:31:52 imerserver launchd: com.apple.servermgrd: exited abnormally: Bus error
    Jul 11 16:31:52 imerserver launchd: com.apple.servermgrd: respawning too quickly! throttling
    Jul 11 16:31:52 imerserver launchd: com.apple.servermgrd: 8 more failures without living at least 60 seconds will cause job removal
    Jul 11 16:31:52 imerserver launchd: com.apple.servermgrd: will restart in 10 seconds
    Jul 11 16:31:53 imerserver /usr/sbin/serialnumberd[179]: serialnumberd: Firewall rule #1 added to allow port 626.
    Jul 11 16:31:55 imerserver automount[192]: Failed request for Finder notification; result = -1.
    Jul 11 16:31:55 imerserver automount[192]: Failed request for Finder notification; result = -1.
    Jul 11 16:31:55 imerserver ntpdate[94]: getnetnum: "time.apple.com" invalid host number, line ignored
    Jul 11 16:31:55 imerserver ntpdate[94]: no servers can be used, exiting
    Jul 11 16:31:55 imerserver configd[47]: target=enable-network: disabled
    Jul 11 16:31:56 imerserver automount[192]: Failed request for Finder notification; result = -1.
    Jul 11 16:31:56 imerserver automount[192]: Failed request for Finder notification; result = -1.
    Jul 11 16:31:56 imerserver automount[192]: Failed request for Finder notification; result = -1.
    Jul 11 16:31:56 imerserver automount[192]: Failed request for Finder notification; result = -1.
    Jul 11 16:31:57 imerserver ntpd_initres[258]: couldn't resolve `time.apple.com', giving up on it
    Jul 11 16:32:01 imerserver /System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow: Login Window Application Started
    Jul 11 16:32:01 imerserver launchd: getty repeating too quickly on port /dev/console, sleeping
    Jul 11 16:32:02 imerserver netinfod local[38]: cannot lookup child
    Jul 11 16:32:02 imerserver netinfod local[38]: cannot lookup child
    Jul 11 16:32:02 imerserver netinfod local[38]: cannot lookup child
    Jul 11 16:32:02 imerserver netinfod local[38]: cannot lookup child
    Jul 11 16:32:03 imerserver launchd: com.apple.servermgrd: exited abnormally: Bus error
    Jul 11 16:32:03 imerserver launchd: com.apple.servermgrd: respawning too quickly! throttling
    Jul 11 16:32:03 imerserver launchd: com.apple.servermgrd: 7 more failures without living at least 60 seconds will cause job removal
    Jul 11 16:32:03 imerserver launchd: com.apple.servermgrd: will restart in 10 seconds
    Jul 11 16:32:05 imerserver mDNSResponder: Update kerberos.udp.IMERSERVER.INTRANET.IMERONLINE.COM. refused
    Jul 11 16:32:05 imerserver mDNSResponder: Registration of record kerberos.udp.IMERSERVER.INTRANET.IMERONLINE.COM. type 33 failed with error -65553
    Jul 11 16:32:05 imerserver mDNSResponder: ERROR: hndlLookupSOA - recursed to root label of _kerberos.imerserver. without finding SOA
    Jul 11 16:32:05 imerserver mDNSResponder: RecordRegistrationCallback: error -65537
    Jul 11 16:32:05 imerserver mDNSResponder: Update kerberos.tcp.IMERSERVER.INTRANET.IMERONLINE.COM. refused
    Jul 11 16:32:05 imerserver mDNSResponder: Registration of record kerberos.tcp.IMERSERVER.INTRANET.IMERONLINE.COM. type 33 failed with error -65553
    Jul 11 16:32:13 imerserver launchd: com.apple.servermgrd: exited abnormally: Bus error
    Jul 11 16:32:13 imerserver launchd: com.apple.servermgrd: respawning too quickly! throttling
    Jul 11 16:32:13 imerserver launchd: com.apple.servermgrd: 6 more failures without living at least 60 seconds will cause job removal
    Jul 11 16:32:13 imerserver launchd: com.apple.servermgrd: will restart in 10 seconds
    Jul 11 16:32:24 imerserver launchd: com.apple.servermgrd: exited abnormally: Bus error
    Jul 11 16:32:24 imerserver launchd: com.apple.servermgrd: respawning too quickly! throttling
    Jul 11 16:32:24 imerserver launchd: com.apple.servermgrd: 5 more failures without living at least 60 seconds will cause job removal
    Jul 11 16:32:24 imerserver launchd: com.apple.servermgrd: will restart in 10 seconds
    Jul 11 16:32:31 imerserver /System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow: Login Window Application Started
    Jul 11 16:32:31 imerserver /System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow: Login Window Application Started
    Jul 11 16:32:31 imerserver /System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow: Login Window Application Started
    Jul 11 16:32:32 imerserver launchd: getty repeating too quickly on port /dev/console, sleeping
    Jul 11 16:32:34 imerserver launchd: com.apple.servermgrd: exited abnormally: Bus error
    Jul 11 16:32:34 imerserver launchd: com.apple.servermgrd: respawning too quickly! throttling
    Jul 11 16:32:34 imerserver launchd: com.apple.servermgrd: 4 more failures without living at least 60 seconds will cause job removal
    Jul 11 16:32:34 imerserver launchd: com.apple.servermgrd: will restart in 10 seconds
    Jul 11 16:32:44 imerserver launchd: com.apple.servermgrd: exited abnormally: Bus error
    Jul 11 16:32:44 imerserver launchd: com.apple.servermgrd: respawning too quickly! throttling
    Jul 11 16:32:44 imerserver launchd: com.apple.servermgrd: 3 more failures without living at least 60 seconds will cause job removal
    Jul 11 16:32:44 imerserver launchd: com.apple.servermgrd: will restart in 10 seconds
    Jul 11 16:32:55 imerserver launchd: com.apple.servermgrd: exited abnormally: Bus error
    Jul 11 16:32:55 imerserver launchd: com.apple.servermgrd: respawning too quickly! throttling
    Jul 11 16:32:55 imerserver launchd: com.apple.servermgrd: 2 more failures without living at least 60 seconds will cause job removal
    Jul 11 16:32:55 imerserver launchd: com.apple.servermgrd: will restart in 10 seconds
    Jul 11 16:33:02 imerserver /System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow: Login Window Application Started
    Jul 11 16:33:02 imerserver /System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow: Login Window Application Started
    Jul 11 16:33:02 imerserver /System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow: Login Window Application Started
    Jul 11 16:33:02 imerserver /System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow: Login Window Application Started
    Jul 11 16:33:03 imerserver launchd: getty repeating too quickly on port /dev/console, sleeping
    Jul 11 16:33:05 imerserver launchd: com.apple.servermgrd: exited abnormally: Bus error
    Jul 11 16:33:05 imerserver launchd: com.apple.servermgrd: respawning too quickly! throttling
    Jul 11 16:33:05 imerserver launchd: com.apple.servermgrd: 1 more failure without living at least 60 seconds will cause job removal
    Jul 11 16:33:05 imerserver launchd: com.apple.servermgrd: will restart in 10 seconds
    Jul 11 16:33:15 imerserver launchd: com.apple.servermgrd: exited abnormally: Bus error
    Jul 11 16:33:15 imerserver launchd: com.apple.servermgrd: respawning too quickly! throttling
    Jul 11 16:33:15 imerserver launchd: com.apple.servermgrd: too many failures in succession
    Jul 11 16:33:33 imerserver /System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow: Login Window Application Started
    Jul 11 16:33:33 imerserver /System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow: Login Window Application Started
    Jul 11 16:33:33 imerserver /System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow: Login Window Application Started
    Jul 11 16:33:33 imerserver /System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow: Login Window Application Started
    Jul 11 16:33:34 imerserver launchd: getty repeating too quickly on port /dev/console, sleeping
    Jul 11 16:34:04 imerserver /System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow: Login Window Application Started
    Jul 11 16:34:04 imerserver /System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow: Login Window Application Started
    Jul 11 16:34:04 imerserver /System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow: Login Window Application Started
    Jul 11 16:34:04 imerserver /System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow: Login Window Application Started
    Jul 11 16:34:05 imerserver launchd: getty repeating too quickly on port /dev/console, sleeping
    Jul 11 16:34:35 imerserver /System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow: Login Window Application Started
    Jul 11 16:34:35 imerserver /System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow: Login Window Application Started
    Jul 11 16:34:35 imerserver /System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow: Login Window Application Started
    Jul 11 16:34:35 imerserver /System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow: Login Window Application Started
    Jul 11 16:34:36 imerserver launchd: getty repeating too quickly on port /dev/console, sleeping
    Jul 11 16:35:06 imerserver /System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow: Login Window Application Started
    Jul 11 16:35:06 imerserver /System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow: Login Window Application Started
    Jul 11 16:35:06 imerserver /System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow: Login Window Application Started
    Jul 11 16:35:06 imerserver /System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow: Login Window Application Started
    Jul 11 16:35:07 imerserver launchd: getty repeating too quickly on port /dev/console, sleeping
    Jul 11 16:35:37 imerserver /System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow: Login Window Application Started
    Jul 11 16:35:37 imerserver /System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow: Login Window Application Started
    Jul 11 16:35:37 imerserver /System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow: Login Window Application Started
    Jul 11 16:35:37 imerserver /System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow: Login Window Application Started

  • Time Machine initial backup fails OS 10.5 with no reason but 'bus error'

    I ran into an error on the last system update and had to go back to Leopard 10.5 just to see my stuff. I managed to move my home directory into the newly installed system and all my files are intact. Now I'm trying to get a Time Machine backup before I proceed (my initial mistake was not keeping up with them in the first place).
    I had some trouble early on and at one point decided to reformat the external drive (a Fantom Drives GreenDrive, usb, 500Gb). I formatted as Mac OS Extended (Journaled) as recommended, no partitions, and then tried my first initial Time Machine backup.
    It predictably spent a long time 'preparing...' and I followed along in the system log. Eventually, the copying began but early on (within the first 45 min) the backup failed with almost no indications in the log as to why. I've pasted the system log below.
    One thought I had was that it was weird that there was an automatic request for backup at 12:36:54. I also included the CrashReport, but I can't make any sense out of it.
    any ideas?
    System log:
    6/23/10 11:57:30 PM /System/Library/CoreServices/backupd[1190] Backup requested by user
    6/23/10 11:57:30 PM /System/Library/CoreServices/backupd[1190] Starting standard backup
    6/23/10 11:57:30 PM /System/Library/CoreServices/backupd[1190] Backing up to: /Volumes/Deep Green/Backups.backupdb
    6/24/10 12:15:13 AM /System/Library/CoreServices/backupd[1190] No pre-backup thinning needed: 173.94 GB requested (including padding), 453.71 GB available
    6/24/10 12:15:13 AM /System/Library/CoreServices/backupd[1190] MDBackupBegin() returned result (910) > 0, waiting
    6/24/10 12:36:54 AM /System/Library/CoreServices/backupd[1190] Backup requested by automatic scheduler
    6/24/10 12:42:17 AM ReportCrash[1431] Formulating crash report for process backupd[1190]
    6/24/10 12:42:18 AM com.apple.launchd[1] (com.apple.backupd[1190]) Exited abnormally: Bus error
    6/24/10 12:42:24 AM ReportCrash[1431] Saved crashreport to /Library/Logs/CrashReporter/backupd2010-06-24-004204dylan-boyds-macbook.crash using uid: 0 gid: 0, euid: 0 egid: 0
    CrashReport:
    Process: backupd [1190]
    Path: /System/Library/CoreServices/backupd
    Identifier: backupd
    4 backupd 0x00007525 0x1000 + 25893
    5 backupd 0x00002332 0x1000 + 4914
    8 backupd 0x00015028 0x1000 + 81960
    9 backupd 0x0000ea64 0x1000 + 55908
    10 backupd 0x00008bfe 0x1000 + 31742
    11 backupd 0x00004c10 0x1000 + 15376
    12 backupd 0x000057b8 0x1000 + 18360
    0x1000 - 0x3dffb backupd ??? (???) <f50411bdb241b61699aa81b2f3dfb7d1> /System/Library/CoreServices/backupd

    I should have added that I've been through about half a dozen sites (including sanctioned apple sites) and their recommendations for getting Time Machine to work properly. I did format the drive once (with extended journaled format and GUID partition scheme, but I didn't zero it out. I'm trying that now and I'll try TM again in about 4 hours.
    This morning I tried turning Time Machine's automatic backups off (moved the slider to off in the preferences pane) and manually started a backup (right-clicking the TM icon in the dock and selecting "Backup Now"). It ran further along than before, but stopped again. This time, it gave an error, and I've pasted the log below. I looked but didn't find much helpful on "error 11."
    system log:
    Jun 24 09:14:08 dylan-boyds-macbook /System/Library/CoreServices/backupd[444]: Backup requested by user
    Jun 24 09:14:08 dylan-boyds-macbook /System/Library/CoreServices/backupd[444]: Starting standard backup
    Jun 24 09:14:08 dylan-boyds-macbook /System/Library/CoreServices/backupd[444]: Backing up to: /Volumes/Deep Green/Backups.backupdb
    Jun 24 09:14:08 dylan-boyds-macbook /System/Library/CoreServices/backupd[444]: Event store UUIDs don't match for volume: Macintosh HD
    Jun 24 09:14:08 dylan-boyds-macbook /System/Library/CoreServices/backupd[444]: Node requires deep traversal:/ reason:kFSEDBEventFlagMustScanSubDirs|
    Jun 24 09:47:13 dylan-boyds-macbook /System/Library/CoreServices/backupd[444]: No pre-backup thinning needed: 175.31 GB requested (including padding), 453.11 GB available
    Jun 24 10:13:46 dylan-boyds-macbook /System/Library/CoreServices/backupd[444]: Error: (-36) SrcErr:YES Copying /Previous Systems.localized/2010-06-22_2236/Applications/iPhoto.app/Contents/Resources/Po intOfInterest.db to (null)
    Jun 24 10:13:46 dylan-boyds-macbook /System/Library/CoreServices/backupd[444]: Error: (-36) SrcErr:NO Copying /Previous Systems.localized/2010-06-22_2236/Applications/iPhoto.app/Contents/Resources/Po intOfInterest.db to /Volumes/Deep Green/Backups.backupdb/Dylan Boyd’s MacBook/2010-06-23-231048.inProgress/E3294B86-62B0-4ABF-9B2B-F5D46B82736D/Macin tosh HD/Previous Systems.localized/2010-06-22_2236/Applications/iPhoto.app/Contents/Resources
    Jun 24 10:13:46 dylan-boyds-macbook /System/Library/CoreServices/backupd[444]: Stopping backup.
    Jun 24 10:13:46 dylan-boyds-macbook /System/Library/CoreServices/backupd[444]: Error: (-8062) SrcErr:NO Copying /Previous Systems.localized/2010-06-22_2236/Applications/iPhoto.app/Contents/Resources/Po intOfInterest.db to /Volumes/Deep Green/Backups.backupdb/Dylan Boyd’s MacBook/2010-06-23-231048.inProgress/E3294B86-62B0-4ABF-9B2B-F5D46B82736D/Macin tosh HD/Previous Systems.localized/2010-06-22_2236/Applications/iPhoto.app/Contents/Resources
    Jun 24 10:13:57 dylan-boyds-macbook /System/Library/CoreServices/backupd[444]: Copied 13360 files (1.5 GB) from volume Macintosh HD.
    Jun 24 10:13:57 dylan-boyds-macbook /System/Library/CoreServices/backupd[444]: Copy stage failed with error:11
    Jun 24 10:14:03 dylan-boyds-macbook /System/Library/CoreServices/backupd[444]: Backup failed with error: 11

  • Having problems since latest 10.5.7 update: com.apple.doc "Bus error"

    Hello,
    Since this morning, after installing the latest Mac OS updates, my Mac has been really slow, and the dock never appears. My console messages keep printing the following message:
    com.apple.launchd[83] ([0x0-0x18a18a].com.apple.dock[929]) Exited abnormally: Bus error
    and the system log keeps printing the following related massages:
    May 18 20:20:38 nachobike ReportCrash[947]: Formulating crash report for process Dock[945]
    May 18 20:20:38 nachobike ReportCrash[947]: Saved crashreport to /Users/<username>/Library/Logs/CrashReporter/Dock2009-05-18-202037nachobike.crash using uid: 501 gid: 501, euid: 501 egid: 501
    Does anyone know what might be causing this, and how I can fix it?
    Thanks!

    Since the problem is with the OS and not just the user account -
    I'd download the Apple Combo Update from here:
    http://support.apple.com/downloads/MacOS_X_10_5_7_ComboUpdate and after run it again. No change?
    Then
    Reinstall Mac OS using "Archive and Install" method which doesn't affect your user account: http://support.apple.com/kb/HT1545 - Preserve User and Network Settings
    Then, after repairing permissions
    Run the combo update again.
    Repair Permissions 1 last time.

  • Bus Error, System Pref won't launch

    This isn't a case of the System Preference not being found, being moved out of the Applications Folder, or anything trivial like that. System Preferences will not launch. This is a clean install of Leopard, and updated to 10.5.8. The error message in console is:
    9/1/10 3:11:45 PM com.apple.launchd74 (0x0-0x18018.com.apple.systempreferences212) Exited abnormally: Bus error
    "The application System Preferences quit unexpectedly." Relaunch doesn't wo

    baltwo swrote : "Move the com.apple.systempreferences.plist file out of your /Library/Preferences/"
    Was my first idea and would love to but, as this is just after having installed the system, Sys Prefs has not yet created any Pref, good, bad or indifferent ; ).
    Catch22ish, huh ?

  • System Preferences Won't Launch, console "bus error"

    This isn't a case of the System Preference not being found, being moved out of the Applications Folder, or anything trivial like that. System Preferences will not launch. This is a clean install of Leopard, and updated to 10.5.8. The error message in console is:
    9/1/10 3:11:45 PM com.apple.launchd74 (0x0-0x18018.com.apple.systempreferences212) Exited abnormally: Bus error
    "The application System Preferences quit unexpectedly." Relaunch doesn't work.

    I have exactly the same problem after having installed 10.5.8.
    I had to do this after not being able to start the machine at all because of (what I believe to be) a bug with Security Update 2010-005. The Archive and Install process did not work.
    This thread should be in "Using Mac OS X Leopard". I found it Googling "Exited abnormally: Bus error".

  • After dns switch: DirectoryServices Exited abnormally??

    Hello and help
    i´ll just want to change the dns server ip back to the mac server and what happens is that the clients work extremly slow because of this:
    +28.11.08 15:53:25 com.apple.launchd[1] (com.apple.DirectoryServices[419]) Exited abnormally: Segmentation fault+
    +28.11.08 15:53:25 com.apple.launchd[1] (com.apple.DirectoryServices) Throttling respawn: Will start in 9 seconds+
    28.11.08 15:53:36 com.apple.launchd[1] (com.apple.DirectoryServices[421]) Exited abnormally: Segmentation fault
    28.11.08 15:53:36 com.apple.launchd[1] (com.apple.DirectoryServices) Throttling respawn: Will start in 9 seconds
    28.11.08 15:53:46 com.apple.launchd[1] (com.apple.DirectoryServices[425]) Exited abnormally: Segmentation fault
    28.11.08 15:53:46 com.apple.launchd[1] (com.apple.DirectoryServices) Throttling respawn: Will start in 9 seconds
    28.11.08 15:53:56 com.apple.launchd[1] (com.apple.DirectoryServices[427]) Exited abnormally: Bus error
    does anyone know whats going on there?
    thanks

    I was unable to access the laptop last night to create a new user; however my client would perfer not to try a second account since that would make it unusable for him while we test the second profile.
    Also John Sophos was installed after this started to verify that it was not a virus/malware (I know pointless step but it has happened to me before) so I don't think that is the problem

  • Bus error - Help!

    Hi,
    I've been asked to see if I can fix a C program so that it will run on a mac. It currently compiles and runs perfectly on a linux machine, but as soon as you run it on a mac, it will compile, but quit with a bus error very early on. The full code is here:
    // Program for the construction of cartograms (density-equalizing map
    // projections) using the Gastner-Newman technique. The program needs polygon
    // coordinates and a count of cases in each region as input, calculates the new
    // coordinates, and writes these to a file. Postscript images of the original
    // map and the cartogram are created.
    // WRITTEN BY MICHAEL GASTNER, September 20, 2004.
    // If you use output created by this program please acknowledge the use of this
    // code and its first publication in:
    // "Generating population density-equalizing maps", Michael T. Gastner and
    // M. E. J. Newman, Proceedings of the National Academy of Sciences of the
    // United States of America, vol. 101, pp. 7499-7504, 2004.
    // The input coordinates in MAPGENFILE must be in ArcInfo "generate" format of
    // the type:
    // 1
    // 0.3248690E+06 0.8558454E+06
    // 0.3248376E+06 0.8557575E+06
    // 0.3248171E+06 0.8556783E+06
    // 0.3247582E+06 0.8556348E+06
    // 0.3246944E+06 0.8555792E+06
    // 0.3246167E+06 0.8555253E+06
    // 0.3250221E+06 0.8557324E+06
    // 0.3249436E+06 0.8557322E+06
    // 0.3248690E+06 0.8558454E+06
    // END
    // 1
    // 0.3248690E+06 0.8558454E+06
    // 0.3249651E+06 0.8558901E+06
    // 0.3250519E+06 0.8559769E+06
    // 0.3250691E+06 0.8561246E+06
    // 0.3249678E+06 0.8560541E+06
    // 0.3249003E+06 0.8560088E+06
    // 0.3076424E+06 0.8477603E+06
    // 0.3075691E+06 0.8477461E+06
    // 0.3075595E+06 0.8476719E+06
    // END
    // 2
    // 0.6233591E+06 0.6056502E+06
    // 0.6235193E+06 0.6056467E+06
    // 0.6235054E+06 0.6055372E+06
    // 0.7384296E+06 0.2334260E+06
    // 0.7383532E+06 0.2345770E+06
    // END
    // END
    // The number of cases in CENSUSFILE must be given in the form
    // region #cases (optional comment), e. g:
    // 43 0.9 Alabama
    // 51 0.3 Alaska
    // 37 0.8 Arizona
    // 47 0.6 Arkansas
    // 25 5.4 California
    // 32 0.8 Colorado
    // 19 0.8 Connecticut
    // 29 0.3 Delaware
    // 28 0.3 District of Columbia
    // 49 2.5 Florida
    // 45 1.3 Georgia
    // 1 0.4 Hawaii
    // The output coordinates are written to CARTGENFILE in ArcInfo "generate"
    // format. A postscript image of the original input is prepared as MAP2PS,
    // an image of the cartogram as CART2PS.
    // Modified on Oct 29, 2004. The number of divisions in each dimension lx, ly
    // will now be determined from the input map. Also fixed array bound
    // violations in intpol and newt2, and centered the ps-files.
    // Modified on Dec 3, 2004. Introduced pointers bbmaxx,bbmaxy,bbminx,bbminy -
    // the bounding box coordinates for each polygon - to reduce calculations in
    // crnmbr. Thanks to Chris Brunsdon for the suggestion.
    // Program now terminates with error message if there is no density specified
    // in CENSUSFILE for a region on the map.
    // "Donut" polygons are now handled properly. Polygons oriented clockwise will
    // be considered exterior boundaries. If they are oriented anti-clockwise they
    // are holes inside an enclosing polygon. (Unconventional for mathematicians,
    // but this is ArcGIS standard.) The identifier is either that of the enclosing
    // polygon, or -99999 in which case it is a hole in the preceding polygon.
    // The population can now be a floating-point number.
    // If a region contains exactly zero population, it will be replaced by
    // MINPOPFAC times the smallest positive population in any region.
    // Obviously, MINPOPFAC should be <1, I will set it to 0.1 by default. This
    // should reduce the value of sigma necessary for the integrator to finish
    // properly.
    // Modified on March 31, 2005. Initialized maxchange in nonlinvoltra() as
    // INFTY. Replaced crnmbr() by a similar, but faster routine interior().
    // Many thanks to Stuart Anderson for pointing out this shortcut.
    // TO DO LIST:
    // - Do Gaussian blur within nonlinvoltra as a simple call to calcv and
    // eliminate gaussianblur().
    // - Modify the NR code for the FFTs to deal more naturally with the fencepost
    // issue. No more copying of arrays in sinft and cosft.
    // - Write truly two-dimensional versions of coscosft, cossinft, and sincosft.
    // See Chan and Ho: A new two-dimensional fast cosine transform algorithm,
    // IEEE Transactions on Signal Processing, 39, 481ff. (1991).
    // - Read polygon data directly from shapefile instead of generate file.
    // - Reorganize data structures. It is currently quite a mess to read.
    // Inclusions
    #include <math.h>
    #include <stdio.h>
    #include <stdlib.h>
    // Definitions
    #define CART2PS "./cart.ps","w" // Cartogram image.
    #define CARTGENFILE "./cartogram.gen" // Cartogram generate file.
    #define CENSUSFILE "./census.dat","r" // Input.
    #define CONVERGENCE 1e-100 // Convergence criterion for integrator.
    // #define DISPLFILE "./displ.dat","w"
    #define FALSE 0
    #define HINITIAL 1e-4 // Initial time step size in nonlinvoltra.
    #define IMAX 50 // Maximum number of iterations in Newton-Raphson routine.
    #define INFTY 1e100
    #define LINELENGTH 1000
    #define MAP2PS "map.ps","w" // Map image.
    #define MAPGENFILE "./map.gen","r" // Input coordinates.
    #define MAX(a,b) ((b>a)?(b):(a))
    #define MAXINTSTEPS 3000 // Maximum number of time steps in nonlinvoltra.
    #define MAXNSQLOG 18 // The number of sample points for rho_0 is <~2^MAXNSQLOG.
    #define MIN(a,b) ((b<a)?(b):(a))
    #define MINH 1e-5 // Smallest permitted time step in the integrator.
    #define MINPOPFAC 0.1 // Replace 0 population by a fraction of the minimum.
    #define NR_END 1
    #define NSUBDIV 1 // Number of linear subdivisions for digitizing the density.
    #define PADDING 1.5 // Determines space between map and boundary.
    #define PI 3.141592653589793
    #define SIGMA 0.1 // Initial width of Gaussian blur.
    #define SIGMAFAC 1.2 // Increase sigma by this factor. Must be > 1.
    #define SWAP(a,b) tempr=(a);(a)=(b);(b)=tempr;
    #define TIMELIMIT 1e8 // Maximum time allowed in integrator.
    #define TOLF 1e-3 // Sensitivity w. r. t. function value in newt2.
    #define TOLINT 1e-3 // Sensitivity of the integrator.
    #define TOLX 1e-3 // Sensitivity w. r. t. independent variables in newt2.
    #define TRUE !FALSE
    // Types
    typedef int BOOLEAN;
    typedef struct
    float x;
    float y;
    } POINT;
    // Globals
    float bbmaxx,*bbmaxy,*bbminx,*bbminy,**gridvx,*gridvy,maxx,maxy,minpop,
    minx,miny,polymaxx,polymaxy,polyminx,polyminy,*rho,**rho_0,**vx,**vy,*x,
    *xappr,xstepsize,**y,*yappr,ystepsize;
    int lx,ly,maxid,nblurs=0,npoly,npolycorn,*npolyinreg,nregcorn,nregion,
    polygonid,**polyinreg,*regionid,*regionidinv,*within;
    POINT *polycorn,*regcorn;
    // Function prototypes
    int readline(char line[],FILE *infile);
    void countpoly(FILE *infile);
    void countcorn(FILE *infile);
    void readcorn(FILE *infile);
    void makeregion(void);
    void pspicture(FILE *outfile);
    void bboxes(void);
    void interior(void);
    double regionarea(int ncrns,POINT *polygon);
    void digdens(void);
    void four1(float data[],unsigned long nn,int isign);
    void realft(float data[],unsigned long n,int isign);
    void cosft(float z[],unsigned long n,int isign);
    void sinft(float z[],unsigned long n,int isign);
    void coscosft(float **y,int isign1,int isign2);
    void cossinft(float **y,int isign1,int isign2);
    void sincosft(float **y,int isign1,int isign2);
    float **dmatrix(long nrl,long nrh,long ncl,long nch);
    float *d3tensor(long nrl, long nrh, long ncl, long nch, long ndl, long ndh);
    void free_matrix(float **m,long nrl,long nrh,long ncl,long nch);
    void free_f3tensor(float *t,long nrl,long nrh,long ncl,long nch,long ndl,
    long ndh);
    void fourn(float data[],unsigned long nn[],int ndim,int isign);
    void rlft3(float *data,float **speq,unsigned long nn1,unsigned long nn2,
    unsigned long nn3,int isign);
    void gaussianblur(void);
    void initcond(void);
    void calcv(float t);
    float intpol(float **arr,float x,float y);
    BOOLEAN newt2(float h,float *xappr,float xguess,float *yappr,float yguess,
    int j,int k);
    BOOLEAN nonlinvoltra(void);
    POINT transf(POINT p);
    void cartogram(void);
    // Function to read one line.
    int readline(char line[],FILE *infile)
    if (fgets(line,LINELENGTH,infile)==NULL) return 1;
    return 0;
    // Function to count the number of polygons.
    void countpoly(FILE *infile)
    char line[LINELENGTH];
    npoly = 0;
    while (!readline(line,infile)) if (line[0] == 'E') npoly++;
    npoly--; // The .gen file ends with two consecutive "END"s.
    // Function to count polygon corners. Also determines minimum/maximum x-/y-
    // coordinate.
    void countcorn(FILE *infile)
    BOOLEAN bnd_ok = FALSE;
    char line[LINELENGTH];
    float x,y;
    int polyctr=0,ratiolog;
    npolycorn = (int*)calloc(npoly,sizeof(int));
    polycorn = (POINT*)malloc(npoly*sizeof(POINT));
    readline(line,infile); // Skip first line.
    readline(line,infile);
    sscanf(line,"%f %f",&x,&y);
    polyminx = x; polymaxx = x; polyminy = y; polymaxy = y;
    npolycorn[0] = 1;
    while (!readline(line,infile))
    if (line[0] != 'E')
    sscanf(line,"%f %f",&x,&y);
    if (x < polyminx) polyminx = x;
    if (x > polymaxx) polymaxx = x;
    if (y < polyminy) polyminy = y;
    if (y > polymaxy) polymaxy = y;
    npolycorn[polyctr]++;
    else
    readline(line,infile);
    polycorn[polyctr] = (POINT)malloc(npolycorn[polyctr]sizeof(POINT));
    polyctr++;
    if (ceil(log((polymaxx-polyminx)/(polymaxy-polyminy))/log(2))+
    floor(log((polymaxx-polyminx)/(polymaxy-polyminy))/log(2))>
    2*log((polymaxx-polyminx)/(polymaxy-polyminy))/log(2))
    ratiolog = (int)floor(log((polymaxx-polyminx)/(polymaxy-polyminy))/log(2));
    else
    ratiolog = (int)ceil(log((polymaxx-polyminx)/(polymaxy-polyminy))/log(2));
    lx = (int)pow(2,(int)(0.5*(ratiolog+MAXNSQLOG)));
    ly = (int)pow(2,(int)(0.5*(MAXNSQLOG-ratiolog)));
    if ((polymaxx-polyminx)/lx > (polymaxy-polyminy)/ly)
    maxx = 0.5((1PADDING)*polymaxx(1-PADDING)polyminx);
    minx = 0.5((1-PADDING)*polymaxx(1PADDING)polyminx);
    maxy = 0.5(polymaxypolyminy(maxx-minx)ly/lx);
    miny = 0.5(polymaxy+polyminy-(maxx-minx)ly/lx);
    else
    maxy = 0.5((1PADDING)*polymaxy(1-PADDING)polyminy);
    miny = 0.5((1-PADDING)*polymaxy(1PADDING)polyminy);
    maxx = 0.5(polymaxxpolyminx(maxy-miny)lx/ly);
    minx = 0.5(polymaxx+polyminx-(maxy-miny)lx/ly);
    // Uncomment the next lines for interactive choice of boundary conditions.
    /* printf("For the %i polygon(s) under consideration:\n",npoly);
    printf("minimum x = %f\tmaximum x = %f\n",polyminx,polymaxx);
    printf("minimum y = %f\tmaximum y = %f\n",polyminy,polymaxy);
    while (!bnd_ok)
    printf("Type in your choice of boundaries.\nminx = ");
    scanf("%f",&minx);
    printf("maxx = ");
    scanf("%f",&maxx);
    printf("miny = ");
    scanf("%f",&miny);
    printf("maxy = ");
    scanf("%f",&maxy);
    if (minx>polyminx || maxx<polymaxx || miny>polyminy || maxy<polymaxy)
    printf("Invalid choice, does not enclose the polygon(s).\n");
    else bnd_ok = TRUE;
    // Function to read polygon corners. The first and last vertex of each polygon
    // must be identical.
    void readcorn(FILE *infile)
    char line[LINELENGTH];
    float xcoord,ycoord;
    int i,id,polyctr=0;
    polygonid = (int)malloc(npolysizeof(int));
    xstepsize = (maxx-minx)/lx;
    ystepsize = (maxy-miny)/ly;
    if (fabs((xstepsize/ystepsize)-1)>1e-3)
    fprintf(stderr,"WARNING: Area elements are not square: %f : %f\n",
    xstepsize,ystepsize);
    readline(line,infile);
    sscanf(line,"%i",&id);
    polygonid[polyctr] = id;
    i = 0;
    while (!readline(line,infile))
    if (line[0] != 'E')
    sscanf(line,"%f %f",&xcoord,&ycoord);
    polycorn[polyctr].x = (xcoord-minx)/xstepsize;
    polycorn[polyctr][i++].y = (ycoord-miny)/ystepsize;
    else
    // Is first and last vertex the same?
    if (fabs(polycorn[polyctr][0].x-
    polycorn[polyctr][npolycorn[polyctr]-1].x)+
    fabs(polycorn[polyctr][0].y-
    polycorn[polyctr][npolycorn[polyctr]-1].y)>1e-12)
    fprintf(stderr,
    "ERROR: %i-th polygon does not close upon itself.\n",
    polyctr+1);
    fprintf(stderr,"Identifier %i, first point %f %f.\n",
    polygonid[polyctr],polycorn[polyctr][0].x*xstepsize+minx,
    polycorn[polyctr][0].y*ystepsize+miny);
    exit(1);
    readline(line,infile);
    sscanf(line,"%i",&id);
    i = 0;
    polyctr++;
    if (polyctr<npoly) polygonid[polyctr] = id;
    polyminx = (polyminx-minx)/xstepsize;
    polyminy = (polyminy-miny)/ystepsize;
    polymaxx = (polymaxx-minx)/xstepsize;
    polymaxy = (polymaxy-miny)/ystepsize;
    // Function to make regions from polygons.
    void makeregion(void)
    BOOLEAN repeat;
    int i,lastid,minid,polyctr,ptctr,regctr;
    // Count the number of regions.
    nregion = 0;
    maxid = minid = polygonid[0];
    for (polyctr=0; polyctr<npoly; polyctr++)
    if (polygonid[polyctr] == -99999) continue;
    if (polygonid[polyctr]>maxid || polygonid[polyctr]<minid) nregion++;
    else
    repeat = FALSE;
    for (i=0; i<polyctr; i++)
    if (polygonid[polyctr]==polygonid)
    repeat = TRUE;
    break;
    if (!repeat) nregion++;
    if (polygonid[polyctr]>maxid) maxid = polygonid[polyctr];
    if (polygonid[polyctr]<minid) minid = polygonid[polyctr];
    if (minid < 0)
    fprintf(stderr,
    "ERROR: Negative region identifier %i.\n",minid);
    exit(1);
    // Match region identifiers.
    regionid = (int)malloc(nregionsizeof(int));
    nregion = 0;
    maxid = minid = polygonid[0];
    for (polyctr=0; polyctr<npoly; polyctr++)
    if (polygonid[polyctr] == -99999) continue;
    if (polygonid[polyctr]>maxid || polygonid[polyctr]<minid)
    regionid[nregion++] = polygonid[polyctr];
    else
    repeat = FALSE;
    for (i=0; i<polyctr; i++)
    if (polygonid[polyctr]==polygonid)
    repeat = TRUE;
    break;
    if (!repeat) regionid[nregion++] = polygonid[polyctr];
    if (polygonid[polyctr]>maxid) maxid = polygonid[polyctr];
    if (polygonid[polyctr]<minid) minid = polygonid[polyctr];
    regionidinv = (int)malloc((maxid+1)sizeof(int));
    // Negative number for unused identifiers.
    for (i=0; i<=maxid; i++) regionidinv = -1;
    for (regctr=0; regctr<nregion; regctr++)
    regionidinv[regionid[regctr]] = regctr;
    // Which polygons contribute to which regions?
    npolyinreg = (int*)calloc(nregion,sizeof(int));
    polyinreg = (int*)malloc(nregion*sizeof(int));
    lastid = polygonid[0];
    for (polyctr=0; polyctr<npoly; polyctr++)
    if (polygonid[polyctr] != -99999)
    npolyinreg[regionidinv[polygonid[polyctr]]]++;
    lastid = polygonid[polyctr];
    else npolyinreg[regionidinv[lastid]]++;
    for (regctr=0; regctr<nregion; regctr++)
    polyinreg[regctr] = (int)malloc(npolyinreg[regctr]sizeof(int));
    for (regctr=0; regctr<nregion; regctr++) npolyinreg[regctr] = 0;
    lastid = polygonid[0];
    for (polyctr=0; polyctr<npoly; polyctr++)
    if (polygonid[polyctr] != -99999)
    polyinreg[regionidinv[polygonid[polyctr]]]
    [npolyinreg[regionidinv[polygonid[polyctr]]]++] = polyctr;
    lastid = polygonid[polyctr];
    else polyinreg[regionidinv[lastid]][npolyinreg[regionidinv[lastid]]++]
    = polyctr;
    // Make regions from polygons. Start and end each polygon at (0,0).
    nregcorn = (int*)calloc(nregion,sizeof(int));
    regcorn = (POINT*)malloc(nregion*sizeof(POINT));
    for (regctr=0; regctr<nregion; regctr++)
    for (i=0; i<npolyinreg[regctr]; i++)
    nregcorn[regctr] += npolycorn[polyinreg[regctr]]+1;
    nregcorn[regctr]++;
    for (regctr=0; regctr<nregion; regctr++)
    regcorn[regctr] = (POINT)malloc(nregcorn[regctr]sizeof(POINT));
    ptctr = 0;
    regcorn[regctr][ptctr].x = regcorn[regctr][ptctr++].y = 0.0;
    for (polyctr=0; polyctr<npolyinreg[regctr]; polyctr++)
    for (i=0; i<npolycorn[polyinreg[regctr][polyctr]]; i++)
    regcorn[regctr][ptctr++] = polycorn[polyinreg[regctr][polyctr]];
    regcorn[regctr][ptctr].x = regcorn[regctr][ptctr++].y = 0.0;
    // Function to prepare a map in postscript standard letter format.
    void pspicture(FILE *outfile)
    char line[LINELENGTH];
    float addx,addy,b,conv,g,r;
    int ptctr,regctr;
    if (11*lx > 8.5*ly)
    conv = (float)8.5*72/lx;
    addx = 0;
    addy = 1136-8.5*36ly/lx;
    else
    conv = (float)11*72/ly;
    addx = 8.536-11*36lx/ly;
    addy = 0;
    fprintf(outfile,"0.5 setlinewidth\n");
    for (regctr=0; regctr<nregion; regctr++)
    fprintf(outfile,"newpath\n");
    fprintf(outfile,"%f %f moveto\n",
    regcorn[regctr][1].x*conv+addx,
    regcorn[regctr][1].y*conv+addy);
    for (ptctr=2; ptctr<nregcorn[regctr]; ptctr++)
    if (fabs(regcorn[regctr][ptctr].x)+
    fabs(regcorn[regctr][ptctr].y)>1e-12)
    fprintf(outfile,"%f %f lineto\n",
    regcorn[regctr][ptctr].x*conv+addx,
    regcorn[regctr][ptctr].y*conv+addy);
    else
    fprintf(outfile,"closepath\n");
    if (ptctr<nregcorn[regctr]-1)
    ptctr++;
    fprintf(outfile,"%f %f moveto\n",
    regcorn[regctr][ptctr].x*conv+addx,
    regcorn[regctr][ptctr].y*conv+addy);
    // Determine colors for map (without better knowledge I will do it
    // arbitrarily).
    if (regctr%3 == 0)
    r = (float)regctr/nregion;
    g = 1-(float)regctr/nregion;
    b = fabs(1-2*(float)regctr/nregion);
    else if (regctr%3 == 1)
    b = (float)regctr/nregion;
    r = 1-(float)regctr/nregion;
    g = fabs(1-2*(float)regctr/nregion);
    else
    g = (float)regctr/nregion;
    b = 1-(float)regctr/nregion;
    r = fabs(1-2*(float)regctr/nregion);
    fprintf(outfile,"%f %f %f setrgbcolor\ngsave\nfill\n",r,g,b);
    fprintf(outfile,"grestore\n0 setgray stroke\n");
    fprintf(outfile,"showpage\n");
    // Function to find the bounding box for each polygon.
    void bboxes(void)
    int i,j;
    float maxx, minx, maxy, miny;
    bbmaxx = (float)malloc(npolysizeof(float));
    bbmaxy = (float)malloc(npolysizeof(float));
    bbminx = (float)malloc(npolysizeof(float));
    bbminy = (float)malloc(npolysizeof(float));
    for (i = 0; i < npoly; i++)
    maxx = polycorn[0].x;
    maxy = polycorn[0].y;
    minx = maxx;
    miny = maxy;
    for (j = 0; j < npolycorn; j++)
    if (polycorn[j].x > maxx) maxx = polycorn[j].x;
    if (polycorn[j].x < minx) minx = polycorn[j].x;
    if (polycorn[j].y < miny) miny = polycorn[j].y;
    if (polycorn[j].y > maxy) maxy = polycorn[j].y;
    bbmaxx=maxx;
    bbmaxy=maxy;
    bbminx=minx;
    bbminy=miny;
    void interior(void)
    int i,inhowmanyregions,inregion[2],j,k,l,m,n,regctr;
    // Initialize within[][]. -1 means outside all regions.
    for (i=0; i<=lx; i++) for (j=0; j<=ly; j++) within[j] = -1;
    // Fill within[][].
    for (i=0; i<nregion; i++) for (j=0; j<npolyinreg; j++)
    for (k=0, n=npolycorn[polyinreg[j]]-1;
    k<npolycorn[polyinreg[j]]; n=k++)
    for (l=(int)ceil(MIN(polycorn[polyinreg[j]][k-1].y,
    polycorn[polyinreg[j]][k].y));
    l<MAX(polycorn[polyinreg[j]][k-1].y,
    polycorn[polyinreg[j]][k].y); l++)
    for (m=(int)floor(bbminx[polyinreg[j]]);
    m<(polycorn[polyinreg[j]][n].x-
    polycorn[polyinreg[j]][k].x)*
    (l-polycorn[polyinreg[j]][k].y)/
    (polycorn[polyinreg[j]][n].y-
    polycorn[polyinreg[j]][k].y)+
    polycorn[polyinreg[j]][k].x;
    m++)
    within[m][l] = i-within[m][l]-1;
    // Function to determine polygon area. This is needed to determine the average
    // population.
    // The problem in short is to find the area of a polygon whose vertices are
    // given. Recall Stokes' theorem in 3d for a vector field v:
    // integral[around closed curve dA]v(x,y,z).ds =
    // integral[over area A]curl(v).dA.
    // Now let v(x,y,z) = (0,Q(x,y),0) and dA = (0,0,dx*dy). Then
    // integral[around closed curve dA]Q(x,y)dy = integral[over area A]dQ/dxdxdy.
    // If Q = x:
    // A = integral[over area A]dx*dy = integral[around closed curve dA]x dy.
    // For every edge from (x,y) to (x[i1],y[i1]) there is a
    // parametrization
    // (x(t),y(t)) = ((1-t)xtx[i+1],(1-t)y+ty[i1]), 0<t<1
    // so that the path integral along this edge is
    // int[from 0 to 1]{(1-t)xt*x[i+1]}(y[i1]-y)dt =
    // 0.5(y[i1]-y)(x+x[i1]).
    // Summing over all edges yields:
    // Area = 0.5*[(x[0]+x[1])(y[1]-y[0]) + (x[1]+x[2])(y[2]-y[1]) + ...
    // ...(x[n-1]+x[n])(y[n]-y[n-1])+(x[n]x[0])(y[0]-y[n])]
    // ArcGIS treats a clockwise direction as positive, so there is a minus sign.
    double regionarea(int ncrns,POINT *polygon)
    double area=0;
    int i;
    for (i=0; i<ncrns-1; i++)
    area -=
    0.5(polygon.xpolygon[i+1].x)(polygon[i1].y-polygon.y);
    return area -= 0.5(polygon[ncrns-1].x+polygon[0].x)
    (polygon[0].y-polygon[ncrns-1].y);
    // Function to digitize density.
    void digdens(void)
    char line[LINELENGTH];
    double area,avgdens,*cases,dens,minpop=INFTY,ncases,totarea=0.0,totpop=0.0;
    FILE* infile;
    int i,id,ii,inhowmanyregions,inregion[2],j,jj,regctr;
    if ((infile=fopen(CENSUSFILE))==NULL)
    fprintf(stderr,"ERROR: Cannot find CENSUSFILE.\n");
    exit(1);
    // Find the minimum positive number of cases.
    while (!readline(line,infile))
    sscanf(line,"%i %lf",&id,&ncases);
    if (ncases<minpop && ncases>1e-12) minpop = ncases;
    fclose(infile);
    // Store the number of cases in an array.
    cases = (double)malloc(nregionsizeof(double));
    for (i=0; i<nregion; i++) cases = -1.0;
    infile = fopen(CENSUSFILE);
    while (!readline(line,infile))
    sscanf(line,"%i %lf",&id,&ncases);
    if (id>maxid || regionidinv[id]<0)
    fprintf(stderr,"ERROR: Identifier %i in CENSUSFILE does not\n",id);
    fprintf(stderr,"match any identifier in generate file.\n");
    exit(1);
    if (ncases>1e-12) totpop += (cases[regionidinv[id]] = ncases);
    else totpop += (cases[regionidinv[id]] = MINPOPFAC*minpop);
    for (regctr=0; regctr<nregion; regctr++) if (cases[regctr] < 0.0)
    fprintf(stderr,"ERROR: No density for region %i?\n",regionid[regctr]);
    fprintf(stderr,"cases = %f\n",cases[regctr]);
    exit(1);
    fclose(infile);
    // Calculate regions' areas, total area to be mapped, regional and average
    // densities.
    area = (double)malloc(nregionsizeof(double));
    for (regctr=0; regctr<nregion; regctr++)
    totarea += (area[regctr] = regionarea(nregcorn[regctr],regcorn[regctr]));
    dens = (double)malloc(nregionsizeof(double));
    for (regctr=0; regctr<nregion; regctr++)
    dens[regctr] = cases[regctr]/area[regctr];
    avgdens = totpop/totarea;
    // Digitize density.
    for (i=0; i<=lx; i++) for (j=0; j<=ly; j++) rho_0[j] = 0; // Initialize.
    printf("digitizing density ...\n");
    for (i=0; i<lx; i++) for (j=0; j<ly; j++)
    if (within[j]==-1) rho_0[j] = avgdens;
    else rho_0[j] = dens[within[j]];
    // Fill the edges correctly.
    rho_0[0][0] += rho_0[0][ly] + rho_0[lx][0] + rho_0[lx][ly];
    for (i=1; i<lx; i++) rho_0[0] += rho_0[ly];
    for (j=1; j<ly; j++) rho_0[0][j] += rho_0[lx][j];
    for (i=0; i<lx; i++) rho_0[ly] = rho_0[0];
    for (j=0; j<=ly; j++) rho_0[lx][j] = rho_0[0][j];
    // Replace rho_0 by Fourier transform
    coscosft(rho_0,1,1);
    free(area);
    free(cases);
    for (i=0; i<npoly; i++) free(polycorn);
    free(polycorn);
    for (i=0; i<nregion; i++) free(regcorn);
    free(regcorn);
    free(dens);
    free(npolycorn);
    free(nregcorn);
    free(polygonid);
    free(regionid);
    free(regionidinv);
    free(bbmaxx);
    free(bbmaxy);
    free(bbminx);
    free(bbminy);
    for (i=0; i<nregion; i++) free(polyinreg);
    free(polyinreg);
    free(npolyinreg);
    // Function to replace data[1...2*nn] by its discrete Fourier transform, if
    // isign is input as 1; or replaces data[1...2*nn] by nn times its inverse
    // discrete Fourier transform, if isign is input as -1. data is a complex array
    // of length nn or, equivalently, a real array of length 2*nn. nn MUST be an
    // integer power of 2 (this is not checked for!).
    // From "Numerical Recipes in C".
    void four1(float data[],unsigned long nn,int isign)
    double theta,wi,wpi,wpr,wr,wtemp;
    float tempi,tempr;
    unsigned long i,istep,j,m,mmax,n;
    n=nn<<1;
    j=1;
    for (i=1; i<n; i+=2)
    if (j>i)
    // This is the bit-reversal section of the routine.
    SWAP(data[j],data);
    SWAP(data[j1],data[i1]); // Exchange the two complex numbers.
    m=n>>1;
    while (m>=2 && j>m)
    j -= m;
    m>>=1;
    j += m;
    // Here begins the Danielson-Lanczos section of the routine.
    mmax=2;
    while (n>mmax) // Outer loop executed log_2 nn times.
    istep = mmax<<1;
    // Initialize the trigonometric recurrence.
    theta = isign*(6.28318530717959/mmax);
    wtemp = sin(0.5*theta);
    wpr = -2.0wtempwtemp;
    wpi = sin(theta);
    wr = 1.0;
    wi = 0.0;
    for (m=1; m<mmax; m+=2) // Here are the two nested inner loops.
    for (i=m; i<=n; i+=istep)
    j=i+mmax; // This is the Danielson-Lanczos formula
    tempr=wrdata[j]-widata[j+1];
    tempi=wrdata[j1]widata[j];
    data[j]=data-tempr;
    data[j1]=data[i1]-tempi;
    data += tempr;
    data[i+1] += tempi;
    wr = (wtemp=wr)wpr-wiwpi+wr; // Trigonometric recurrence.
    wi = wiwprwtempwpiwi;
    mmax=istep;
    // Function to calculate the Fourier Transform of a set of n real-valued data
    // points. It replaces this data (which is stored in array data[1...n]) by the
    // positive frequency half of its complex Fourier Transform. The real-valued
    // first and last components of the complex transform are returned as elements
    // data[1] and data[2] respectively. n must be a power of 2. This routine also
    // calculates the inverse transform of a complex data array if it is the
    // transform of real data. (Result in this case must be multiplied by 2/n).
    // From "Numerical Recipes in C".
    void realft(float data[],unsigned long n,int isign)
    double theta,wi,wpi,wpr,wr,wtemp;
    float c1=0.5,c2,h1i,h1r,h2i,h2r;
    unsigned long i,i1,i2,i3,i4,np3;
    theta = 3.141592653589793/(double) (n>>1); // Initialize the recurrence
    if (isign == 1)
    c2 = -0.5;
    four1(data,n>>1,1); // The forward transform is here.
    else // Otherwise set up for an inverse transform.
    c2 = 0.5;
    theta = -theta;
    wtemp = sin(0.5*theta);
    wpr = -2.0wtempwtemp;
    wpi = sin(theta);
    wr = 1.0+wpr;
    wi = wpi;
    np3 = n+3;
    for (i=2; i<=(n>>2); i++) // Case i=1 done separately below.
    i4 = 1(i3=np3-(i2=1+(i1=ii-1)));
    // The two separate transforms are separated out of data.
    h1r = c1*(data[i1]+data[i3]);
    h1i = c1*(data[i2]-data[i4]);
    h2r = -c2*(data[i2]+data[i4]);
    h2i = c2*(data[i1]-data[i3]);
    // Here they are recombined to form the true transform of the original
    // data.
    data[i1] = h1r+wrh2r-wih2i;
    data[i2] = h1iwrh2iwih2r;
    data[i3] = h1r-wrh2r+wih2i;
    data[i4] = -h1iwrh2iwih2r;
    wr = (wtemp=wr)wpr-wiwpi+wr; // The recurrence.
    wi = wiwprwtempwpiwi;
    if (isign == 1)
    data[1] = (h1r=data[1])+data[2]; // Squeeze the first and last data
    // together to get them all within the original array.
    data[2] = h1r-data[2];
    else
    data[1] = c1*((h1r=data[1])+data[2]);
    data[2] = c1*(h1r-data[2]);
    // This is the inverse transform for the case isign = -1.
    four1(data,n>>1,-1);
    // Function to calculate the cosine transform of a set z[0...n] of real-valued
    // data points. The transformed data replace the original data in array z. n
    // must be a power of 2. For forward transform set isign=1, for back transform
    // isign = -1. (Note: The factor 2/n has been taken care of.)
    // From "Numerical Recipes in C".
    void cosft(float z[],unsigned long n,int isign)
    double theta,wi=0.0,wpi,wpr,wr=1.0,wtemp;
    float *a,sum,y1,y2;
    int j,n2;
    // Numerical Recipes starts counting at 1 which is rather confusing. I will
    // count from 0.
    a = (float)malloc((n+2)sizeof(float));
    for (j=1; j<=n+1; j++) a[j] = z[j-1];
    // Here is the Numerical Recipes code.
    theta=PI/n; //Initialize the recurrence.
    wtemp = sin(0.5*theta);
    wpr = -2.0wtempwtemp;
    wpi = sin(theta);
    sum = 0.5*(a[1]-a[n+1]);
    a[1] = 0.5*(a[1]a[n1]);
    n2 = n+2;
    for (j=2; j<=(n>>1); j++)
    wr = (wtemp=wr)wpr-wiwpi+wr;
    wi = wiwprwtempwpiwi;
    y1 = 0.5*(a[j]+a[n2-j]);
    y2 = (a[j]-a[n2-j]);
    a[j] = y1-wi*y2;
    a[n2-j] = y1+wi*y2;
    sum += wr*y2;
    realft(a,n,1);
    a[n+1] = a[2];
    a[2] = sum;
    for (j=4; j<=n; j+=2)
    sum += a[j];
    a[j] = sum;
    // Finally I revert to my counting method.
    if (isign == 1) for (j=1; j<=n+1; j++) z[j-1] = a[j];
    else if (isign == -1) for (j=1; j<=n+1; j++) z[j-1] = 2.0*a[j]/n;
    free(a);
    // Function to calculate the sine transform of a set of n real-valued data
    // points stored in array z[0..n]. The number n must be a power of 2. On exit
    // z is replaced by its transform. For forward transform set isign=1, for back
    // transform isign = -1.
    void sinft(float z[],unsigned long n,int isign)
    double theta,wi=0.0,wpi,wpr,wr=1.0,wtemp;
    float *a,sum,y1,y2;
    int j;
    unsigned long n2=n+2;
    // See my comment about Numerical Recipe's counting above. Note that the last
    // component plays a completely passive role and does not need to be stored.
    a = (float*) malloc((n+1)*sizeof(float));
    for (j=1; j<=n; j++) a[j] = z[j-1];
    // Here is the Numerical Recipes code.
    theta = PI/(double)n; // Initialize the recurrence.
    wtemp = sin(0.5*theta);
    wpr = -2.0wtempwtemp;
    wpi = sin(theta);
    a[1] = 0.0;
    for (j=2; j<=(n>>1)+1; j++)
    // Calculate the sine for the auxiliary array.
    wr = (wtemp=wr)wpr-wiwpi+wr;
    // The cosine is needed to continue the recurrence.
    wi = wiwprwtempwpiwi;
    // Construct the auxiliary array.
    y1 = wi*(a[j]+a[n2-j]);
    y2 = 0.5*(a[j]-a[n2-j]);
    // Terms j and N-j are related.
    a[j] = y1+y2;
    a[n2-j] = y1-y2;
    // Transform the auxiliary array.
    realft(a,n,1);
    // Initialize the sum used for odd terms below.
    a[1] *= 0.5;
    sum = a[2] = 0.0;
    // Even terms determined directly. Odd terms determined by running sum.
    for (j=1; j<=n-1; j+=2)
    sum += a[j];
    a[j] = a[j+1];
    a[j+1] = sum;
    // Change the indices.
    if (isign == 1) for (j=1; j<=n; j++) z[j-1] = a[j];
    else if (isign == -1) for (j=1; j<=n; j++) z[j-1] = 2.0*a[j]/n;
    z[n] = 0.0;
    free(a);
    // Function to calculate a two-dimensional cosine Fourier transform. Forward/
    // backward transform in x: isign1 = +/-1, in y: isign2 = +/-1.
    void coscosft(float **y,int isign1,int isign2)
    float temp[lx+1];
    unsigned long i,j;
    for (i=0; i<=lx; i++)
    cosft(y,ly,isign2);
    for (j=0; j<=ly; j++)
    for (i=0; i<=lx; i++) temp=y[j];
    cosft(temp,lx,isign1);
    for (i=0; i<=lx; i++) y[j]=temp;
    // Function to calculate a cosine Fourier transform in x and a sine transform
    // in y. Forward/backward transform in x: isign1 = +/-1, in y: isign2 = +/-1.
    void cossinft(float **y,int isign1,int isign2)
    float temp[lx+1];
    unsigned long i,j;
    for (i=0; i<=lx; i++)
    sinft(y,ly,isign2);
    for (j=0; j<=ly; j++)
    for (i=0; i<=lx; i++) temp=y[j];
    cosft(temp,lx,isign1);
    for (i=0; i<=lx; i++) y[j]=temp;
    // Function to calculate a sine Fourier transform in x and a cosine transform
    // in y. Forward/backward transform in x: isign1 = +/-1, in y: isign2 = +/-1.
    void sincosft(float **y,int isign1,int isign2)
    float temp[lx+1];
    unsigned long i,j;
    for (i=0; i<=lx; i++)
    cosft(y,ly,isign2);
    for (j=0; j<=ly; j++)
    for (i=0; i<=lx; i++) temp=y[j];
    sinft(temp,lx,isign1);
    for (i=0; i<=lx; i++) y[j]=temp;
    // Function to allocate a float matrix with subscript range
    // m[nrl..nrh][ncl..nch]. From "Numerical Recipes in C".
    float **dmatrix(long nrl,long nrh,long ncl,long nch)
    long i, nrow=nrh-nrl1,ncol=nch-ncl1;
    float **m;
    /* allocate pointers to rows */
    m=(float **) malloc((unsigned int)((nrow+NR_END)sizeof(float)));
    if (!m)
    fprintf(stderr,"allocation failure 1 in matrix()\n");
    exit(1);
    m += NR_END;
    m -= nrl;
    /* allocate rows and set pointers to them */
    m[nrl]=(float *) malloc((unsigned int)((nrowncol+NR_END)sizeof(float)));
    if (!m[nrl])
    fprintf(stderr,"allocation failure 2 in matrix()\n");
    exit(1);
    m[nrl] += NR_END;
    m[nrl] -= ncl;
    for(i=nrl1;i<=nrh;i+) m=m[i-1]+ncol;
    /* return pointer to array of pointers to rows */
    return m;
    // Function to allocate a float 3tensor with range
    // t[nrl..nrh][ncl..nch][ndl..ndh]. From "Numerical Recipes in C".
    float *d3tensor(long nrl, long nrh, long ncl, long nch, long ndl, long ndh)
    long i,j,nrow=nrh-nrl1,ncol=nch-ncl+1,ndep=ndh-ndl1;
    float *t;
    /* allocate pointers to pointers to rows */
    t=(float *) malloc((sizet)((nrow+NREND)sizeof(float*)));
    if (!t)
    fprintf(stderr,"allocation failure 1 in f3tensor()\n");
    exit(1);
    t += NR_END;
    t -= nrl;
    /* allocate pointers to rows and set pointers to them */
    t[nrl]=(float **) malloc((sizet)((nrowncol+NREND)*sizeof(float)));
    if (!t[nrl])
    fprintf(stderr,"allocation failure 2 in f3tensor()\n");
    exit(1);
    t[nrl] += NR_END;
    t[nrl] -= ncl;
    /* allocate rows and set pointers to them */
    t[nrl][ncl]=(float *) malloc((sizet)((nrowncol*ndep+NREND)sizeof(float)));
    if (!t[nrl][ncl])
    fprintf(stderr,"allocation failure 3 in f3tensor()\n");
    exit(1);
    t[nrl][ncl] += NR_END;
    t[nrl][ncl] -= ndl;
    for(j=ncl1;j<=nch;j+) t[nrl][j]=t[nrl][j-1]+ndep;
    for(i=nrl1;i<=nrh;i+) {
    t=t[i-1]+ncol;
    t[ncl]=t[i-1][ncl]+ncol*ndep;
    for(j=ncl1;j<=nch;j+) t[j]=t[j-1]+ndep;
    /* return pointer to array of pointers to rows */
    return t;
    void free_matrix(float **m,long nrl,long nrh,long ncl,long nch)
    free((char*) (m[nrl]+ncl-1));
    free((char*) (m+nrl-1));
    void free_f3tensor(float *t,long nrl,long nrh,long ncl,long nch,long ndl,
    long ndh)
    free((char*) (t[nrl][ncl]+ndl-1));
    free((char*) (t[nrl]+ncl-1));
    free((char*) (t+nrl-1));
    // Function to replace data by its ndim-dimensional discrete Fourier transform,
    // if isign is input as 1. nn[1..ndim] is an integer array containing the
    // lengths of each dimension (number of complex values), which MUST be all
    // powers of 2. data is a real array of length twice the product of these
    // lengths, in which the data are stored as in a multidimensional complex
    // array: real and imaginary parts of each element are in consecutive
    // locations, and the rightmost index of the array increases most rapidly as
    // one proceeds along data. For a two-dimensional array, this is equivalent to
    // storing the arrays by rows. If isign is input as -1, data is replaced by its
    // inverse transform times the product of the lengths of all dimensions.
    void fourn(float data[],unsigned long nn[],int ndim,int isign)
    int idim;
    unsigned long i1,i2,i3,i2rev,i3rev,ip1,ip2,ip3,ifp1,ifp2;
    unsigned long ibit,k1,k2,n,nprev,nrem,ntot;
    double tempi,tempr;
    float theta,wi,wpi,wpr,wr,wtemp;
    for (ntot=1, idim=1; idim<=ndim; idim++)
    ntot *= nn[idim];
    nprev = 1;
    for (idim=ndim; idim>=1; idim--)
    n = nn[idim];
    nrem = ntot/(n*nprev);
    ip1=nprev << 1;
    ip2 = ip1*n;
    ip3 = ip2*nrem;
    i2rev = 1;
    for (i2=1; i2<=ip2; i2+=ip1)
    if (i2 < i2rev)
    for (i1=i2; i1<=i2+ip1-2; i1+=2)
    for (i3=i1; i3<=ip3; i3+=ip2)
    i3rev = i2rev+i3-i2;
    SWAP(data[i3],data[i3rev]);
    SWAP(data[i31],data[i3rev1]);
    ibit = ip2>>1;
    while (ibit>=ip1 && i2rev>ibit)
    i2rev -= ibit;
    ibit >>= 1;
    i2rev += ibit;
    ifp1 = ip1;
    while (ifp1 < ip2)
    ifp2 = ifp1 << 1;
    theta = 2isignPI/(ifp2/ip1);
    wtemp = sin(0.5*theta);
    wpr = -2.0wtempwtemp;
    wpi = sin(theta);
    wr = 1.0;
    wi = 0.0;
    for (i3=1; i3<=ifp1; i3+=ip1)
    for (i1=i3; i1<=i3+ip1-2; i1+=2)
    for (i2=i1; i2<=ip3; i2+=ifp2)
    k1 = i2;
    k2 = k1+ifp1;
    tempr = (float)wrdata[k2]-(float)widata[k2+1];
    tempi = (float)wrdata[k21](float)widata[k2];
    data[k2] = data[k1]-tempr;
    data[k2+1] = data[k1+1]-tempi;
    data[k1] += tempr;
    data[k1+1] += tempi;
    wr = (wtemp=wr)wpr-wiwpi+wr;
    wi = wiwprwtempwpiwi;
    ifp1 = ifp2;
    nprev *= n;
    // Function to calculate a three-dimensional Fourier transform of
    // data[1..nn1][1..nn2][1..nn3] (where nn1=1 for the case of a logically two-
    // dimensional array). This routine returns (for isign=1) the complex fast
    // Fourier transform as two complex arrays: On output, data contains the zero
    // and positive frequency values of the third frequency component, while
    // speq[1..nn1][1..2*nn2] contains the Nyquist critical frequency values of the
    // third frequency component. First (and second) frequency components are
    // stored for zero, positive, and negative frequencies, in standard wrap-around
    // order. See Numerical Recipes for description of how complex values are
    // arranged. For isign=-1, the inverse transform (times nn1nn2nn3/2 as a
    // constant multiplicative factor) is performed, with output data (viewed as
    // real array) deriving from input data (viewed as complex) and speq. For
    // inverse transforms on data not generated first by a forward transform, make
    // sure the complex input data array satisfies property 12.5.2 from NR. The
    // dimensions nn1, nn2, nn3 must always be integer powers of 2.
    void rlft3(float *data,float **speq,unsigned long nn1,unsigned long nn2,
    unsigned long nn3,int isign)
    double theta,wi,wpi,wpr,wr,wtemp;
    float c1,c2,h1r,h1i,h2r,h2i;
    unsigned long i1,i2,i3,j1,j2,j3,nn[4],ii3;
    if (1+&data[nn1][nn2][nn3]-&data[1][1][1] != nn1nn2nn3)
    fprintf(stderr,
    "rlft3: problem with dimensions or contiguity of data array\n");
    exit(1);
    c1 = 0.5;
    c2 = -0.5*isign;
    theta = 2isign(PI/nn3);
    wtemp = sin(0.5*theta);
    wpr = -2.0wtempwtemp;
    wpi = sin(theta);
    nn[1] = nn1;
    nn[2] = nn2;
    nn[3] = nn3 >> 1;
    // Case of forward transform. Here is where most all of the compute time is
    // spent. Extend data periodically into speq.
    if (isign == 1)
    fourn(&data[1][1][1]-1,nn,3,isign);
    for (i1=1; i1<=nn1; i1++)
    for (i2=1, j2=0; i2<=nn2; i2++)
    speq[i1][++j2] = data[i1][i2][1];
    speq[i1][++j2] = data[i1][i2][2];
    for (i1=1; i1<=nn1; i1++)
    // Zero frequency is its own reflection; otherwise locate corresponding
    // negative frequency in wrap-around order.
    j1 = (i1 != 1 ? nn1-i1+2 : 1);
    // Initialize trigonometric recurrence.
    wr = 1.0;
    wi = 0.0;
    for (ii3=1, i3=1; i3<=(nn3>>2)+1; i3+,ii3=2)
    for (i2=1; i2<=nn2; i2++)
    if (i3 == 1)
    j2 = (i2 != 1 ? ((nn2-i2)<<1)+3 : 1);
    h1r = c1*(data[i1][i2][1]+speq[j1][j2]);
    h1i = c1*(data[i1][i2][2]-speq[j1][j2+1]);
    h2i = c2*(data[i1][i2][1]-speq[j1][j2]);
    h2r = -c2*(data[i1][i2][2]speq[j1][j21]);
    data[i1][i2][1] = h1r+h2r;
    data[i1][i2][2] = h1i+h2i;
    speq[j1][j2] = h1r-h2r;
    speq[j1][j2+1] = h2i-h1i;
    else
    j2 = (i2 != 1 ? nn2-i2+2 : 1);
    j3 = nn3+3-(i3<<1);
    h1r = c1*(data[i1][i2][ii3]+data[j1][j2][j3]);
    h1i = c1*(data[i1][i2][ii31]-data[j1][j2][j31]);
    h2i = c2*(data[i1][i2][ii3]-data[j1][j2][j3]);
    h2r = -c2*(data[i1][i2][ii31]+data[j1][j2][j31]);
    data[i1][i2][ii3] = h1r+wrh2r-wih2i;
    data[i1][i2][ii3+1] = h1iwrh2iwih2r;
    data[j1][j2][j3] = h1r-wrh2r+wih2i;
    data[j1][j2][j3+1] = -h1iwrh2iwih2r;
    // Do the recurrence.
    wr = (wtemp=wr)wpr-wiwpi+wr;
    wi = wiwprwtempwpiwi;
    // Case of reverse transform.
    if (isign == -1)
    fourn(&data[1][1][1]-1,nn,3,isign);
    // Function to perform Gaussian blur.
    void gaussianblur(void)
    float **blur,***conv,***pop,**speqblur,**speqconv,*speqpop;
    int i,j,p,q;
    blur = d3tensor(1,1,1,lx,1,ly);
    conv = d3tensor(1,1,1,lx,1,ly);
    pop = d3tensor(1,1,1,lx,1,ly);
    speqblur = dmatrix(1,1,1,2*lx);
    speqconv = dmatrix(1,1,1,2*lx);
    speqpop = dmatrix(1,1,1,2*lx);
    // Fill population and convolution matrix.
    for (i=1; i<=lx; i++) for (j=1; j<=ly; j++)
    if (i > lx/2) p = i-1-lx;
    else p = i-1;
    if (j > ly/2) q = j-1-ly;
    else q = j-1;
    pop[1][j] = rho_0[i-1][j-1];
    conv[1][j] = 0.5*
    (erf((p+0.5)/(sqrt(2.0)(SIGMApow(SIGMAFAC,nblurs))))-
    erf((p-0.5)/(sqrt(2.0)(SIGMA*pow(SIGMAFAC,nblurs)))))
    (erf((q+0.5)/(sqrt(2.0)(SIGMApow(SIGMAFAC,nblurs))))-
    erf((q-0.5)/(sqrt(2.0)(SIGMA*pow(SIGMAFAC,nblurs)))))/(lxly);
    // Fourier transform.
    rlft3(pop,speqpop,1,lx,ly,1);
    rlft3(conv,speqconv,1,lx,ly,1);
    // Multiply pointwise.
    for (i=1; i<=lx; i++)
    for (j=1; j<=ly/2; j++)
    blur[1][2*j-1] =
    pop[1][2j-1]*conv[1][2j-1]-
    pop[1][2j]*conv[1][2j];
    blur[1][2*j] =
    pop[1][2j]*conv[1][2j-1]+
    pop[1][2j-1]*conv[1][2j];
    for (i=1; i<=lx; i++)
    speqblur[1][2*i-1] =
    speqpop[1][2i-1]*speqconv[1][2i-1]-
    speqpop[1][2i]*speqconv[1][2i];
    speqblur[1][2*i] =
    speqpop[1][2i]*speqconv[1][2i-1]+
    speqpop[1][2i-1]*speqconv[1][2i];
    // Backtransform.
    rlft3(blur,speqblur,1,lx,ly,-1);
    // Write to rho_0.
    for (i=1; i<=lx; i++) for (j=1; j<=ly; j++) rho_0[i-1][j-1] = blur[1][j];
    free_f3tensor(blur,1,1,1,lx,1,ly);
    free_f3tensor(conv,1,1,1,lx,1,ly);
    free_f3tensor(pop,1,1,1,lx,1,ly);
    free_matrix(speqblur,1,1,1,2*lx);
    free_matrix(speqconv,1,1,1,2*lx);
    free_matrix(speqpop,1,1,1,2*lx);
    // Function to initialize rho_0. The original density is blurred with width
    // SIGMA*pow(SIGMAFAC,nblurs).
    void initcond(void)
    float maxpop;
    int i,j;
    // Reconstruct population density.
    coscosft(rho_0,-1,-1);
    // There must not be negative densities.
    for (i=0; i<lx; i++) for (j=0; j<ly; j++) if (rho_0[j]<-1e10)
    fprintf(stderr,"ERROR: Negative density in DENSITYFILE.\n");
    exit(1);
    // Perform Gaussian blur.
    printf("Gaussian blur ...\n");
    gaussianblur();
    // Find the mimimum density. If it is very small suggest an increase in
    // SIGMA.
    minpop = rho_0[0][0];
    maxpop = rho_0[0][0];
    for (i=0; i<lx; i++) for (j=0; j<ly; j++) if (rho_0[j]<minpop)
    minpop = rho_0[j];
    for (i=0; i<lx; i++) for (j=0; j<ly; j++) if (rho_0[j]>maxpop)
    maxpop = rho_0[j];
    if (0<minpop && minpop<1e-8*maxpop)
    fprintf(stderr,"Minimimum population very small (%f). Integrator\n",
    minpop);
    fprintf(stderr,
    "will probably converge very slowly. You can speed up the\n");
    fprintf(stderr,"process by increasing SIGMA to a value > %f.\n",
    SIGMA*pow(SIGMAFAC,nblurs));
    // Replace rho_0 by cosine Fourier transform in both variables.
    coscosft(rho_0,1,1);
    // Function to calculate the velocity field
    void calcv(float t)
    int j,k;
    // Fill rho with Fourier coefficients.
    for (j=0; j<=lx; j++) for (k=0; k<=ly; k++)
    rho[j][k] = exp(-((PIj/lx)*(PI*j/lx)+(PI*k/ly)*(PI*k/ly))*t)rho_0[j][k];
    // Calculate the Fourier coefficients for the partial derivative of rho.
    // Store temporary results in arrays gridvx, gridvy.
    for (j=0; j<=lx; j++) for (k=0; k<=ly; k++)
    gridvx[j][k] = -(PIj/lx)rho[j][k];
    gridvy[j][k] = -(PIk/ly)rho[j][k];
    // Replace rho by cosine Fourier backtransform in both variables.
    coscosft(rho,-1,-1);
    // Replace vx by sine Fourier backtransform in the first and cosine Fourier
    // backtransform in the second variable.
    sincosft(gridvx,-1,-1);
    // Replace vy by cosine Fourier backtransform in the first and sine Fourier
    // backtransform in the second variable.
    cossinft(gridvy,-1,-1);
    // Calculate the velocity field.
    for (j=0; j<=lx; j++) for (k=0; k<=ly; k++)
    gridvx[j][k] = -gridvx[j][k]/rho[j][k];
    gridvy[j][k] = -gridvy[j][k]/rho[j][k];
    // Function to bilinearly interpolate a two-dimensional array. For higher
    // accuracy one could consider higher order interpolation schemes.
    float intpol(float **arr,float x,float y)
    int gaussx,gaussy;
    float deltax,deltay;
    // Decompose x and y into an integer part and a decimal.
    gaussx = (int)x;
    gaussy = (int)y;
    deltax = x-gaussx;
    deltay = y-gaussy;
    // Interpolate.
    if (gaussx==lx && gaussy==ly)
    return arr[gaussx][gaussy];
    if (gaussx==lx)
    return (1-deltay)arr[gaussx][gaussy]deltayarr[gaussx][gaussy1];
    if (gaussy==ly)
    return (1-deltax)arr[gaussx][gaussy]deltaxarr[gaussx1][gaussy];
    return (1-deltax)(1-deltay)arr[gaussx][gaussy]+
    (1-deltax)deltayarr[gaussx][gaussy1]
    deltax(1-deltay)arr[gaussx1][gaussy]
    deltaxdeltayarr[gaussx1][gaussy1];
    // Function to find the root of the system of equations
    // xappr-0.5h*v_x(t+h,xappr,yappr)-x[j][k]-0.5*hvx[j][k]=0,
    // yappr-0.5h*v_y(t+h,xappr,yappr)-y[j][k]-0.5*hvy[j][k]=0
    // with Newton-Raphson. Returns TRUE after sufficient convergence.
    BOOLEAN newt2(float h,float *xappr,float xguess,float *yappr,float yguess,
    int j,int k)
    float deltax,deltay,dfxdx,dfxdy,dfydx,dfydy,fx,fy;
    int gaussx,gaussxplus,gaussy,gaussyplus,i;
    // Initial guess.
    *xappr = xguess;
    *yappr = yguess;
    for (i=1; i<=IMAX; i++)
    // fx, fy are the left-hand sides of the two equations. Find
    // v_x(t+h,xappr,yappr), v_y(t+h,xappr,yappr) by interpolation.
    fx = xappr-0.5*h*intpol(gridvx,*xappr,*yappr)-x[j][k]-0.5*hvx[j][k];
    fy = yappr-0.5*h*intpol(gridvy,*xappr,*yappr)-y[j][k]-0.5*hvy[j][k];
    // Linearly approximate the partial derivatives of fx, fy with a finite
    // difference method. More elaborate techniques are possible, but this
    // quick and dirty method appears to work reasonably for our purpose.
    gaussx = (int)(*xappr);
    gaussy = (int)(*yappr);
    if (gaussx == lx) gaussxplus = 0;
    else gaussxplus = gaussx+1;
    if (gaussy == ly) gaussyplus = 0;
    else gaussyplus = gaussy+1;
    deltax = x[j][k] - gaussx;
    deltay = y[j][k] - gaussy;
    dfxdx = 1 - 0.5h
    ((1-deltay)*(gridvx[gaussxplus][gaussy]-gridvx[gaussx][gaussy])+
    deltay*(gridvx[gaussxplus][gaussyplus]-gridvx[gaussx][gaussyplus]));
    dfxdy = -0.5h
    ((1-deltax)*(gridvx[gaussx][gaussyplus]-gridvx[gaussx][gaussy])+
    deltax*(gridvx[gaussxplus][gaussyplus]-gridvx[gaussxplus][gaussy]));
    dfydx = -0.5h
    ((1-deltay)*(gridvy[gaussxplus][gaussy]-gridvy[gaussx][gaussy])+
    deltay*(gridvy[gaussxplus][gaussyplus]-gridvy[gaussx][gaussyplus]));
    dfydy = 1 - 0.5h
    ((1-deltax)*(gridvy[gaussx][gaussyplus]-gridvy[gaussx][gaussy])+
    deltax*(gridvy[gaussxplus][gaussyplus]-gridvy[gaussxplus][gaussy]));
    // If the current approximation is (xappr,yappr) for the zero of
    // (fx(x,y),fy(x,y)) and J is the Jacobian, then we can approximate (in
    // vector notation) for |delta|<<1:
    // f((xappr,yappr)+delta) = f(xappr,yappr)+J*delta.
    // Setting f((xappr,yappr)+delta)=0 we obtain a set of linear equations
    // for the correction delta which moves f closer to zero, namely
    // J*delta = -f.
    // The improved approximation is then x = xappr+delta.
    // The process will be iterated until convergence is reached.
    if ((fx*fx + fy*fy) < TOLF) return TRUE;
    deltax = (fy*dfxdy - fxdfydy)/(dfxdxdfydy - dfxdy*dfydx);
    deltay = (fx*dfydx - fydfxdx)/(dfxdxdfydy - dfxdy*dfydx);
    if ((deltax*deltax + deltay*deltay) < TOLX) return TRUE;
    *xappr += deltax;
    *yappr += deltay;
    //printf("deltax %f, deltay %f\n",deltax,deltay);
    fprintf(stderr,"newt2 failed, increasing sigma to %f.\n",
    SIGMA*pow(SIGMAFAC,nblurs));
    return FALSE;
    // Function to integrate the nonlinear Volterra equation. Returns TRUE after
    // the displacement field converged, after MAXINTSTEPS integration steps, or
    // if the time exceeds TIMELIMIT.
    BOOLEAN nonlinvoltra(void)
    BOOLEAN stepsize_ok;
    #ifdef DISPLFILE
    FILE *displfile = fopen(DISPLFILE);
    #endif
    float h,maxchange=INFTY,t,vxplus,vyplus,xguess,yguess;
    int i,j,k;
    do
    initcond();
    nblurs++;
    if (minpop<0.0)
    fprintf(stderr,
    "Minimum population negative, will increase sigma to %f\n",
    SIGMA*pow(SIGMAFAC,nblurs));
    while (minpop<0.0);
    h = HINITIAL;
    t = 0; // Start at time t=0.
    // (x[j][k],y[j][k]) is the position for the element that was at position
    // (j,k) at time t=0.
    for (j=0; j<=lx; j++) for (k=0; k<=ly; k++)
    x[j][k] = j;
    y[j][k] = k;
    calcv(0.0);
    // (gridvx[j][k],gridvy[j][k]) is the velocity at position (j,k).
    // (vx[j][k],vy[j][k]) is the velocity at position (x[j][k],y[j][k]).
    // At t=0 they are of course identical.
    for (j=0; j<=lx; j++) for (k=0; k<=ly; k++)
    vx[j][k] = gridvx[j][k];
    vy[j][k] = gridvy[j][k];
    i = 1; // i counts the integration steps.
    // Here is the integrator.
    do
    stepsize_ok = TRUE;
    calcv(t+h);
    for (j=0; j<=lx; j++) for (k=0; k<=ly; k++)
    // First take a naive integration step. The velocity at time t+h for
    // the element [j][k] is approximately
    // v(th,x[j][k]+hvx[j][k],y[j][k]hvy[j][k]).
    // The components, call them vxplus and vyplus, are interpolated from
    // gridvx and gridvy.
    vxplus = intpol(gridvx,x[j][k]hvx[j][k],y[j][k]hvy[j][k]);
    vyplus = intpol(gridvy,x[j][k]hvx[j][k],y[j][k]hvy[j][k]);
    // Based on (vx[j][k],vy[j][k]) and (vxplus,vyplus) we expect the
    // new position at time t+h to be:
    xguess = x[j][k] + 0.5h(vx[j][k]+vxplus);
    yguess = y[j][k] + 0.5h(vy[j][k]+vyplus);
    // Then we make a better approximation by solving the two nonlinear
    // equations:
    // xappr[j][k]-0.5hv_x(t+h,xappr[j][k],yappr[j][k])-
    // x[j][k]-0.5hvx[j][k]=0,
    // yappr[j][k]-0.5hv_y(t+h,xappr[j][k],yappr[j][k])-
    // y[j][k]-0.5hvy[j][k]=0
    // with Newton-Raphson and (xguess,yguess) as initial guess.
    // If newt2 fails to converge, exit nonlinvoltra.
    if (!newt2(h,&xappr[j][k],xguess,&yappr[j][k],yguess,j,k))
    return FALSE;
    // If the integration step was too large reduce the step size.
    if ((xguess-xappr[j][k])*(xguess-xappr[j][k])+
    (yguess-yappr[j][k])*(yguess-yappr[j][k]) > TOLINT)
    if (h<MINH)
    fprintf(stderr,
    "Time step below %f, increasing SIGMA to %f\n",
    h,SIGMA*pow(SIGMAFAC,nblurs));
    nblurs++;
    return FALSE;
    h /= 10;
    stepsize_ok = FALSE;
    break;
    if (!stepsize_ok) continue;
    else
    t += h;
    maxchange = 0.0; // Monitor the maximum change in positions.
    for (j=0; j<=lx; j++) for (k=0; k<=ly; k++)
    if ((x[j][k]-xappr[j][k])*(x[j][k]-xappr[j][k])+
    (y[j][k]-yappr[j][k])*(y[j][k]-yappr[j][k]) > maxchange)
    maxchange =
    (x[j][k]-xappr[j][k])*(x[j][k]-xappr[j][k])+
    (y[j][k]-yappr[j][k])*(y[j][k]-yappr[j][k]);
    x[j][k] = xappr[j][k];
    y[j][k] = yappr[j][k];
    vx[j][k] = intpol(gridvx,xappr[j][k],yappr[j][k]);
    vy[j][k] = intpol(gridvy,xappr[j][k],yappr[j][k]);
    h *= 1.2; // Make the next integration step larger.
    if (i%10==0) printf("time %f\n",t);
    i++;
    } while (i<MAXINTSTEPS && t<TIMELIMIT && maxchange>CONVERGENCE);
    if (maxchange>CONVERGENCE)
    fprintf(stderr,
    "WARNING: Insufficient convergence within %i steps, time %f.\n",
    MAXINTSTEPS,TIMELIMIT);
    #ifdef DISPLFILE
    // Write displacement field to file.
    fprintf(displfile,"time %f\nminx %f\nmaxx %f\nminy %f\nmaxy %f\n",
    t,minx,maxx,miny,maxy);
    fprintf(displfile,"sigma %f\n",SIGMA*pow(SIGMAFAC,nblurs-1));
    fprintf(displfile,"background %f\nlx\nly\n\n",0,lx,ly);
    for (j=0; j<=lx; j++) for (k=0; k<=ly; k++)
    fprintf(displfile,"j %i, k %i, x %f, y %f\n",j,k,x[j][k],y[j][k]);
    fclose(displfile);
    #endif
    return TRUE;
    // Function to transform points according to displacement field.
    POINT transf(POINT p)
    float deltax,deltay,den,t,u;
    int gaussx,gaussy;
    POINT a,b,c,d,ptr;
    p.x = (p.x-minx)*lx/(maxx-minx);
    p.y = (p.y-miny)*ly/(maxy-miny);
    gaussx = (int)p.x;
    gaussy = (int)p.y;
    if (gaussx<0 || gaussx>lx || gaussy<0 || gaussy>ly)
    fprintf(stderr,"ERROR: Coordinate limits exceeded in transf.\n");
    exit(1);
    deltax = p.x - gaussx;
    deltay = p.y - gaussy;
    // The transformed point is the intersection of the lines:
    // (I) connecting
    // (1-deltax)(x,y[gaussx][gaussy])deltax(x,y[gaussx1][gaussy])
    // and
    // (1-deltax)(x,y[gaussx][gaussy1])+deltax(x,y[gaussx+1][gaussy1])
    // (II) connecting
    // (1-deltay)(x,y[gaussx][gaussy])deltay(x,y[gaussx][gaussy1])
    // and
    // (1-deltay)(x,y[gaussx1][gaussy])+deltay(x,y[gaussx+1][gaussy1]).
    // Call these four points a, b, c and d.
    a.x = (1-deltax)*x[gaussx][gaussy] + deltax*x[gaussx+1][gaussy];
    a.y = (1-deltax)*y[gaussx][gaussy] + deltax*y[gaussx+1][gaussy];
    b.x = (1-deltax)*x[gaussx][gaussy+1] + deltax*x[gaussx1][gaussy1];
    b.y = (1-deltax)*y[gaussx][gaussy+1] + deltax*y[gaussx1][gaussy1];
    c.x = (1-deltay)*x[gaussx][gaussy] + deltay*x[gaussx][gaussy+1];
    c.y = (1-deltay)*y[gaussx][gaussy] + deltay*y[gaussx][gaussy+1];
    d.x = (1-deltay)*x[gaussx+1][gaussy] + deltay*x[gaussx1][gaussy1];
    d.y = (1-deltay)*y[gaussx+1][gaussy] + deltay*y[gaussx1][gaussy1];
    // Solve the vector equation a+t(b-a) = c+u(d-c) for the scalars t, u.
    if (fabs(den=(b.x-a.x)(c.y-d.y)+(a.y-b.y)(c.x-d.x))<1e-12)
    fprintf(stderr,"ERROR: Transformed area element has parallel edges.\n");
    exit(1);
    t = ((c.x-a.x)(c.y-d.y)+(a.y-c.y)(c.x-d.x))/den;
    u = ((b.x-a.x)(c.y-a.y)+(a.y-b.y)(c.x-a.x))/den;
    if (t<-1e-3|| t>1+1e-3 || u<-1e-3 || u>1+1e-3)
    fprintf(stderr,"WARNING: Transformed area element non-convex.\n");
    ptr.x = (1-(a.x+t(b.x-a.x))/lx)minx + ((a.x+t(b.x-a.x))/lx)maxx;
    ptr.y = (1-(a.y+t(b.y-a.y))/ly)miny + ((a.y+t(b.y-a.y))/ly)maxy;
    return ptr;
    // Function to read spatial features from user-specified file and map to
    // cartogram.
    void cartogram(void)
    char id[LINELENGTH],line[LINELENGTH];
    FILE infile,outfile;
    float xcoord,ycoord;
    POINT p;
    infile = fopen(MAPGENFILE);
    outfile = fopen(CARTGENFILE,"w");
    while (!readline(line,infile))
    if (sscanf(line,"%s %f %f",&id,&xcoord,&ycoord)==3)
    p.x = xcoord;
    p.y = ycoord;
    p = transf(p);
    fprintf(outfile,"%s %f %f\n",id,p.x,p.y);
    else if (sscanf(line,"%f %f",&xcoord,&ycoord)==2)
    p.x = xcoord;
    p.y = ycoord;
    p = transf(p);
    fprintf(outfile,"%f %f\n",p.x,p.y);
    else
    sscanf(line,"%s",&id);
    fprintf(outfile,"%s\n",id);
    fclose(infile);
    fclose(outfile);
    main(void)
    BOOLEAN n;
    char c;
    FILE genfile,psfile = fopen(MAP2PS);
    float oldlx,oldly,oldmaxx,oldmaxy,oldminx,oldminy,totarea;
    int i,polyctr,regctr;
    // Read the polygon coordinates.
    if ((genfile = fopen(MAPGENFILE)) == NULL)
    fprintf(stderr,"ERROR: Cannot find MAPGENFILE\n");
    exit(1);
    countpoly(genfile);
    fclose(genfile);
    genfile = fopen(MAPGENFILE);
    countcorn(genfile);
    fclose(genfile);
    genfile = fopen(MAPGENFILE);
    readcorn(genfile);
    fclose(genfile);
    makeregion();
    printf("%i polygon(s), %i region(s)\n",npoly,nregion);
    printf("lx=%i, ly=%i\n",lx,ly);
    // Calculate total area.
    //totarea = 0.0;
    //for (regctr=0; regctr<nregion; regctr++)
    // printf("region %i has area %f, contains %i polygons\n",regionid[regctr],
    // regionarea(nregcorn[regctr],regcorn[regctr]),npolyinreg[regctr]);
    // totarea += regionarea(nregcorn[regctr],regcorn[regctr]);
    //printf("totarea = %f\n",totarea);
    // Make map.
    pspicture(psfile);
    fclose(psfile);
    // Allocate memory for arrays.
    gridvx = (float*)malloc((lx+1)*sizeof(float));
    gridvy = (float*)malloc((lx+1)*sizeof(float));
    rho = (float*)malloc((lx+1)*sizeof(float));
    rho_0 = (float*)malloc((lx+1)*sizeof(float));
    vx = (float*)malloc((lx+1)*sizeof(float));
    vy = (float*)malloc((lx+1)*sizeof(float));
    x = (float*)malloc((lx+1)*sizeof(float));
    xappr = (float*)malloc((lx+1)*sizeof(float));
    y = (float*)malloc((lx+1)*sizeof(float));
    yappr = (float*)malloc((lx+1)*sizeof(float));
    within = (int*)malloc((lx+1)*sizeof(int));
    for (i=0; i<=lx; i++)
    gridvx = (float)malloc((ly+1)sizeof(float));
    gridvy = (float)malloc((ly+1)sizeof(float));
    rho = (float)malloc((ly+1)sizeof(float));
    rho_0 = (float)malloc((ly+1)sizeof(float));
    vx = (float)malloc((ly+1)sizeof(float));
    vy = (float)malloc((ly+1)sizeof(float));
    x = (float)malloc((ly+1)sizeof(float));
    xappr = (float)malloc((ly+1)sizeof(float));
    y = (float)malloc((ly+1)sizeof(float));
    yappr = (float)malloc((ly+1)sizeof(float));
    within = (int)malloc((ly+1)sizeof(int));
    // Digitize the density.
    bboxes();
    interior();
    digdens();
    // Solve the diffusion equation.
    do n = nonlinvoltra(); while (!n);
    // Print cartogram generate file.
    cartogram();
    // Read the transformed polygon coordinates.
    oldlx = lx;
    oldly = ly;
    oldmaxx = maxx;
    oldmaxy = maxy;
    oldminx = minx;
    oldminy = miny;
    genfile = fopen(CARTGENFILE,"r");
    countpoly(genfile);
    fclose(genfile);
    genfile = fopen(CARTGENFILE,"r");
    countcorn(genfile);
    fclose(genfile);
    lx = oldlx;
    ly = oldly;
    maxx = oldmaxx;
    maxy = oldmaxy;
    minx = oldminx;
    miny = oldminy;
    genfile = fopen(CARTGENFILE,"r");
    readcorn(genfile);
    fclose(genfile);
    makeregion();
    // Make cartogram
    psfile = fopen(CART2PS);
    pspicture(psfile);
    fclose(psfile);
    The part of the code where the bus error occurs is this:
    void interior(void)
    int i,inhowmanyregions,inregion[2],j,k,l,m,n,regctr;
    // Initialize within[][]. -1 means outside all regions.
    for (i=0; i<=lx; i++) for (j=0; j<=ly; j++) within[j] = -1;
    // Fill within[][].
    for (i=0; i<nregion; i++) for (j=0; j<npolyinreg; j++)
    for (k=0, n=npolycorn[polyinreg[j]]-1;
    k<npolycorn[polyinreg[j]]; n=k++)
    for (l=(int)ceil(MIN(polycorn[polyinreg[j]][k-1].y,
    polycorn[polyinreg[j]][k].y));
    l<MAX(polycorn[polyinreg[j]][k-1].y,
    polycorn[polyinreg[j]][k].y); l++)
    for (m=(int)floor(bbminx[polyinreg[j]]);
    m<(polycorn[polyinreg[j]][n].x-
    polycorn[polyinreg[j]][k].x)*
    (l-polycorn[polyinreg[j]][k].y)/
    (polycorn[polyinreg[j]][n].y-
    polycorn[polyinreg[j]][k].y)+
    polycorn[polyinreg[j]][k].x;
    m++)
    within[m][l] = i-within[m][l]-1;
    I really have no idea what is going on. Can anyone help?
    Thanks,
    mooseguy

    orangekay wrote:
    That is absolutely unreadable.
    I agree completely. How about also providing a link to a set of input files so that we could actually run the code ourselves? Otherwise, there is no chance to debug the source code, it is just a mess.
    You might have better luck with an older version of the file. To quote the comments:
    // Modified on March 31, 2005. Initialized maxchange in nonlinvoltra() as
    // INFTY. Replaced crnmbr() by a similar, but faster routine interior().
    // Many thanks to Stuart Anderson for pointing out this shortcut.
    I suspect that the "interior" function is just plain incorrect. It doesn't matter if it runs on some other OS. Something about it is wrong and the code is so cryptic that it can't be deciphered.

  • Bus error in the Forte executable

    Hi,
    We have an environment with forte' (ver. 3.0.G.2) running
    on AIX 4.1 (The name of central server is cld_app1 and the nodemgr start
    with the name cld_TDR). In our environment we are using two differnet
    repository. In rep1 we have a very simple project (called 'aaa') that
    use one small class with two methods. One method print the date & time.
    The second method communicate with a serviceobject that use MQSeries to
    put/get some messages in the queues.
    The project work correctly in test run and in distribuite mode.
    If we export the same project (aaa) and we import in other repository
    (rep2 in the same environment) the project doesn't work. Infact,
    during test run forte' return the following:
    Begin Stack Backtrace
    =========================================================
    =
    Trace caused by a bus error in the Forte executable:
    ftexec Version 3.0.G.2
    IBM RS6000/Aix 4.1
    Forte Application Environment (tm), Forte Runtime Environment (tm),
    Forte Conductor (tm):
    Copyright (c) 1994-1998, Forte Software, Inc. and its licensors.
    US Patent No. 5,457,797
    Forte Express (tm), Forte WebEnterprise (tm):
    Copyright (c) 1995-1998, Forte Software, Inc.
    All Rights Reserved.
    Unpublished rights reserved under the copyright laws of the United
    States.
    Fri Mar 13 16:07:45 1998
    Fault at 25-Mar-1999 10:42:53, pid '2292', node 'cld_app1':
    0xd0b8886c = d0b8886c()
    0xd0b88ae4 = d0b88ae4()
    qqos_StkTrc: Cannot print stack trace.
    Recursive stack trace detected. Exiting.
    If we try to run in partitioning mode, the same error appears when
    forte' "loading partition into server" with the following adding
    message:
    Unable to start the partition aaa_cl0_Part1 on any of nodes to wich
    been assigned. See the remainder of the error stack for more
    information.
    In the "more" informations we have the following:
    SYSTEM ERROR: Unable to start the partition aaa_cl0_Part1 on any of the
    nodes to which it has been assigned. See the remainder of the error
    stack for more
    information.
    Class: qqsp_ResourceException
    Error #: [1602, 593]
    Detected at: qqcf_StandardConfig::LoadRemotePartition at 5
    Last TOOL statement: method overview.StartApplication
    Error Time: Thu Mar 25 09:22:21
    Exception occurred (locally) on partition "Forte_cl0_Client",
    (partitionId
    = 546BCA70-E125-11D2-BFFF-B37364EDAA77:0x158:0x1, taskId =
    [546BCA70-E125-11D2-BFFF-B37364EDAA77:0x158:0x1.17]) in
    application
    "Forte_cl0", pid 20236 on node cld_app1 in environment
    Collaudo_TDR.
    SYSTEM ERROR: Unable to start partition aaa_cl0_Part1 on node cld_TDR.
    Class: qqsp_ErrorDescriptor
    Error #: [1602, 592]
    Detected at: qqcf_StandardConfig::LoadRemotePartition at 3
    Error Time: Thu Mar 25 09:22:21
    Exception occurred (locally) on partition "Forte_cl0_Client",
    (partitionId
    = 546BCA70-E125-11D2-BFFF-B37364EDAA77:0x158:0x1, taskId =
    [546BCA70-E125-11D2-BFFF-B37364EDAA77:0x158:0x1.17]) in
    application
    "Forte_cl0", pid 20236 on node cld_app1 in environment
    Collaudo_TDR.
    SYSTEM ERROR: Lost contact with remote server while trying to load
    partition
    aaa_cl0_Part1. Check server log file for more information about the
    specific
    problem.
    Class: qqsp_ResourceException
    Error #: [1301, 102]
    Detected at: qqem_IPartitionAgent::Startup at 5
    Error Time: Thu Mar 25 09:22:21
    Exception occurred (locally) on partition "Forte_cl0_Client",
    (partitionId
    = 546BCA70-E125-11D2-BFFF-B37364EDAA77:0x158:0x1, taskId =
    [546BCA70-E125-11D2-BFFF-B37364EDAA77:0x158:0x1.17]) in
    application
    "Forte_cl0", pid 20236 on node cld_app1 in environment
    Collaudo_TDR.
    INFORMATION: The connection to the partner was terminated by the
    Communication
    Manager for the reasons below.
    Class: qqsp_DistAccessException
    Detected at: qqdo_PartitionMgr::StopLocation at 1
    Error Time: Thu Mar 25 09:22:20
    Distributed method called: qqrt_ForteExecAgentProxy.LoadPartition!6
    (object name Unnamed) from partition "Forte_Executor",
    (partitionId =
    546BCA70-E125-11D2-BFFF-B37364EDAA77:0x158, taskId =
    [546BCA70-E125-11D2-BFFF-B37364EDAA77:0x158.19]) in application
    "Forte_cl0", pid 20236 on node cld_app1 in environment
    Collaudo_TDR
    Exception occurred (locally) on partition "Forte_cl0_Client",
    (partitionId
    = 546BCA70-E125-11D2-BFFF-B37364EDAA77:0x158:0x1, taskId =
    [546BCA70-E125-11D2-BFFF-B37364EDAA77:0x158:0x1.17]) in
    application
    "Forte_cl0", pid 20236 on node cld_app1 in environment
    Collaudo_TDR.
    INFORMATION: Network partner closed connection. This usually means the
    process at the other end of the wire failed. Please go look there and
    find
    out why.
    Class: qqsp_DistAccessException
    Detected at: qqcm_HoseFSM::ReceivedClose at 2
    Error Time: Thu Mar 25 09:22:20
    Exception occurred (locally) on partition "Forte_cl0_Client",
    (partitionId
    = 546BCA70-E125-11D2-BFFF-B37364EDAA77:0x158:0x1, taskId =
    [546BCA70-E125-11D2-BFFF-B37364EDAA77:0x158:0x1.17]) in
    application
    "Forte_cl0", pid 20236 on node cld_app1 in environment
    Collaudo_TDR.
    INFORMATION: Error parameters for Set:0 Msg:0:
    Class: qqsp_DistAccessException
    Detected at: qqcm_HoseFSM::ReceivedClose at 1
    Error Time: Thu Mar 25 09:22:20
    Exception occurred (locally) on partition "Forte_cl0_Client",
    (partitionId
    = 546BCA70-E125-11D2-BFFF-B37364EDAA77:0x158:0x1, taskId =
    [546BCA70-E125-11D2-BFFF-B37364EDAA77:0x158:0x1.17]) in
    application
    "Forte_cl0", pid 20236 on node cld_app1 in environment
    Collaudo_TDR.
    Thanks in advance
    Luz Marina e Massimiliano
    Get Your Private, Free Email at http://www.hotmail.com
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    Hi,
    We have an environment with forte' (ver. 3.0.G.2) running
    on AIX 4.1 (The name of central server is cld_app1 and the nodemgr start
    with the name cld_TDR). In our environment we are using two differnet
    repository. In rep1 we have a very simple project (called 'aaa') that
    use one small class with two methods. One method print the date & time.
    The second method communicate with a serviceobject that use MQSeries to
    put/get some messages in the queues.
    The project work correctly in test run and in distribuite mode.
    If we export the same project (aaa) and we import in other repository
    (rep2 in the same environment) the project doesn't work. Infact,
    during test run forte' return the following:
    Begin Stack Backtrace
    =========================================================
    =
    Trace caused by a bus error in the Forte executable:
    ftexec Version 3.0.G.2
    IBM RS6000/Aix 4.1
    Forte Application Environment (tm), Forte Runtime Environment (tm),
    Forte Conductor (tm):
    Copyright (c) 1994-1998, Forte Software, Inc. and its licensors.
    US Patent No. 5,457,797
    Forte Express (tm), Forte WebEnterprise (tm):
    Copyright (c) 1995-1998, Forte Software, Inc.
    All Rights Reserved.
    Unpublished rights reserved under the copyright laws of the United
    States.
    Fri Mar 13 16:07:45 1998
    Fault at 25-Mar-1999 10:42:53, pid '2292', node 'cld_app1':
    0xd0b8886c = d0b8886c()
    0xd0b88ae4 = d0b88ae4()
    qqos_StkTrc: Cannot print stack trace.
    Recursive stack trace detected. Exiting.
    If we try to run in partitioning mode, the same error appears when
    forte' "loading partition into server" with the following adding
    message:
    Unable to start the partition aaa_cl0_Part1 on any of nodes to wich
    been assigned. See the remainder of the error stack for more
    information.
    In the "more" informations we have the following:
    SYSTEM ERROR: Unable to start the partition aaa_cl0_Part1 on any of the
    nodes to which it has been assigned. See the remainder of the error
    stack for more
    information.
    Class: qqsp_ResourceException
    Error #: [1602, 593]
    Detected at: qqcf_StandardConfig::LoadRemotePartition at 5
    Last TOOL statement: method overview.StartApplication
    Error Time: Thu Mar 25 09:22:21
    Exception occurred (locally) on partition "Forte_cl0_Client",
    (partitionId
    = 546BCA70-E125-11D2-BFFF-B37364EDAA77:0x158:0x1, taskId =
    [546BCA70-E125-11D2-BFFF-B37364EDAA77:0x158:0x1.17]) in
    application
    "Forte_cl0", pid 20236 on node cld_app1 in environment
    Collaudo_TDR.
    SYSTEM ERROR: Unable to start partition aaa_cl0_Part1 on node cld_TDR.
    Class: qqsp_ErrorDescriptor
    Error #: [1602, 592]
    Detected at: qqcf_StandardConfig::LoadRemotePartition at 3
    Error Time: Thu Mar 25 09:22:21
    Exception occurred (locally) on partition "Forte_cl0_Client",
    (partitionId
    = 546BCA70-E125-11D2-BFFF-B37364EDAA77:0x158:0x1, taskId =
    [546BCA70-E125-11D2-BFFF-B37364EDAA77:0x158:0x1.17]) in
    application
    "Forte_cl0", pid 20236 on node cld_app1 in environment
    Collaudo_TDR.
    SYSTEM ERROR: Lost contact with remote server while trying to load
    partition
    aaa_cl0_Part1. Check server log file for more information about the
    specific
    problem.
    Class: qqsp_ResourceException
    Error #: [1301, 102]
    Detected at: qqem_IPartitionAgent::Startup at 5
    Error Time: Thu Mar 25 09:22:21
    Exception occurred (locally) on partition "Forte_cl0_Client",
    (partitionId
    = 546BCA70-E125-11D2-BFFF-B37364EDAA77:0x158:0x1, taskId =
    [546BCA70-E125-11D2-BFFF-B37364EDAA77:0x158:0x1.17]) in
    application
    "Forte_cl0", pid 20236 on node cld_app1 in environment
    Collaudo_TDR.
    INFORMATION: The connection to the partner was terminated by the
    Communication
    Manager for the reasons below.
    Class: qqsp_DistAccessException
    Detected at: qqdo_PartitionMgr::StopLocation at 1
    Error Time: Thu Mar 25 09:22:20
    Distributed method called: qqrt_ForteExecAgentProxy.LoadPartition!6
    (object name Unnamed) from partition "Forte_Executor",
    (partitionId =
    546BCA70-E125-11D2-BFFF-B37364EDAA77:0x158, taskId =
    [546BCA70-E125-11D2-BFFF-B37364EDAA77:0x158.19]) in application
    "Forte_cl0", pid 20236 on node cld_app1 in environment
    Collaudo_TDR
    Exception occurred (locally) on partition "Forte_cl0_Client",
    (partitionId
    = 546BCA70-E125-11D2-BFFF-B37364EDAA77:0x158:0x1, taskId =
    [546BCA70-E125-11D2-BFFF-B37364EDAA77:0x158:0x1.17]) in
    application
    "Forte_cl0", pid 20236 on node cld_app1 in environment
    Collaudo_TDR.
    INFORMATION: Network partner closed connection. This usually means the
    process at the other end of the wire failed. Please go look there and
    find
    out why.
    Class: qqsp_DistAccessException
    Detected at: qqcm_HoseFSM::ReceivedClose at 2
    Error Time: Thu Mar 25 09:22:20
    Exception occurred (locally) on partition "Forte_cl0_Client",
    (partitionId
    = 546BCA70-E125-11D2-BFFF-B37364EDAA77:0x158:0x1, taskId =
    [546BCA70-E125-11D2-BFFF-B37364EDAA77:0x158:0x1.17]) in
    application
    "Forte_cl0", pid 20236 on node cld_app1 in environment
    Collaudo_TDR.
    INFORMATION: Error parameters for Set:0 Msg:0:
    Class: qqsp_DistAccessException
    Detected at: qqcm_HoseFSM::ReceivedClose at 1
    Error Time: Thu Mar 25 09:22:20
    Exception occurred (locally) on partition "Forte_cl0_Client",
    (partitionId
    = 546BCA70-E125-11D2-BFFF-B37364EDAA77:0x158:0x1, taskId =
    [546BCA70-E125-11D2-BFFF-B37364EDAA77:0x158:0x1.17]) in
    application
    "Forte_cl0", pid 20236 on node cld_app1 in environment
    Collaudo_TDR.
    Thanks in advance
    Luz Marina e Massimiliano
    Get Your Private, Free Email at http://www.hotmail.com
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

  • OS X 10.8.3 Mail Quits with launchd Exited abnormally: Broken pipe: 13

    Hello,
    I'm using OS X Mail in Mountain Lion and it keeps quitting in the middle of me typing.  The "Broken Pipe" error message I'm seeing in console is listed below.  I have 3 accounts created in Mail:  Exchange Account for Work, iCloud (IMAP) and Yahoo! (IMAP).  I didn't have issues until I started using the Exchange account for work.
    Anyone have any ideas for how to resolve this issue?
    Thanks!
    5/24/13 8:23:56.202 AM com.apple.launchd.peruser.503[412]: ([0x0-0x2186184].com.apple.mail[34681]) Exited abnormally: Broken pipe: 13

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Step 1
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Enter the name of the crashed application or process in the Filter text field. Select the messages from the time of the last crash, if any. Copy them to the Clipboard (command-C). Paste into a reply to this message (command-V).
    When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some private information, such as your name, may appear in the log. Anonymize before posting.
    Step 2
    Still in the Console window, look under User Diagnostic Reports for crash reports related to the process. The report name starts with the name of the crashed process, and ends with ".crash". Select the most recent report and post the entire contents — again, the text, not a screenshot. In the interest of privacy, I suggest that, before posting, you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if it’s present (it may not be.) Please don’t post shutdownStall, spin, or hang logs — they're very long and not helpful.

  • InDesign Server :line 13: 2753 Bus error "$installed_name" "$@"

    [InDesign Server CS4, CS5, CS5.5    line 13: 2753 Bus error "$installed_name" "$@"]
    We support a few clients on various version of InDesign Server and all have exactly the same issue upon having the application produce PDF files...   line 13: 2753 Bus error "$installed_name" "$@"   which causes InDesign Server to unexpectedly quit.
    Searching these forums we have found CS3 instances of this error message pointing to fonts not loaded on the machine running InDesign Server, but no "this is what we did to fix it" solution has been found.
    Our customers are running beefed up MacPros or Mac Minis with Mac OS 10.6 (non server) and OS 10.7 (server), 8GB - 16GB RAM, 1TB HD
    For font management we have the following being utilized:
    - Universal type server
      - if no plugin exists for InD Server, not sure how much this app will help manage fonts
    - Suitcase Server
    - if no plugin exists for InD Server, not sure how much this app will help manage fonts
    - Loading all fonts into:   /Users/*/Library/Fonts
      - seems to be the best option for font management on a system running InDesign Server
    Our company develops a plugin for InDesign Server and allows regular InDesign to produce the pdfs in a similar manner.  Running our plugin under regular InDesign we DO NOT have these issues of BUS errors, yet as soon as any of our customers utilize InDesign Server, they all immediately see BUS errors.
    We have written a shell script that quits (normally) indesign server, and relaunches it (if quit abnormally) so that we have some semblance of an "always on" InDesign Server application, but this is merely a band-aid fix for a bigger problem.
    We are pointing the finger at Adobe InDesign Server being the problem here, yet our customers do not care where the blame is placed, we are seeing a solution for them in any fashion that presents a permanent solution.
    Julio Vasquez
    Product Specialist @ Comosoft, Inc.

    Hi Julio,
    I am having the same exact problem. We are evaluating the InDesign server and will consider buying it only if it performs reasonably stable. This "installed_name" "$@" is baffling us.
    Team Adobe InDesign Server: Kindly address this concern soon!
    Varun

  • Module bus errors after update

    I did a system update tonight and now I've got a problem.
    The upgrade seemed to go fine, I didn't notice any issues, so I upgrated my virutalbox_bin from aur as well.
    It exited with:
    FATAL: Module vboxdrv not found
    So I tried:
    sudo modprobe vboxdrv
    and got the same.
    Then I rebooted and the boot messages don't look too good, can't find vboxdrv then below that a message saying Updating module dependencies..... This fails with a
    /etc/rc.d/functions line 136: 4056 Bus error
    It manages to boot, and I tried running depmod manually, but I also get a bus error here.
    What's going on? What should I do next?
    Thanks,
      Jeremy

    I managed to insert the vboxdrv.ko using "insmod vboxdrv.ko" from /lib/modules/2.6.33-ARCH/misc.
    This works, and VirtualBox correctly uses the module and runs fine.
    But, modprobe still fails.
    The module is good, the path to the module looks right (matches uname -r).
    I can't even find any helpful messages in /var/log/ or dmesg. 
    Can someone give me a pointer?
    Thanks,
      Jeremy

Maybe you are looking for

  • Lync 2013 Android can't sign in with 5.4 but can sign in with 5.3

    AS Title said. I has deployed Lync 2013 Mobility. Now I got very strange things. First, I can sign in with Lync 2013 App Android 5.3.1100 and its fully functional(IM,Audio,Video). But when I update to Lync 2013 App Android 5.4.1106. I can't sign in.

  • Google Maps and Skyhook - doesn't work as expected; it works better!

    Hello all and thanks for taking the time to read this.  I was under the impression that when you pressed the Locate button in the Google Maps application that the iPod took the MAC address of the WiFi Router it was connected to and then polled Skyhoo

  • CSS10500 Load Balancing Multiple Hosts

    Hello, I have a CSS10500 switch and i would like to load balance the connections to a couple of hosts. My setup (roughly) is as follows int e1-RTR1-------->int e2-Host1                  -------->int e3-Host2 and int e5-RTR2------>int e6-Host1        

  • IPod Radio Issues

    I have the latest iPod software on my 30GB video, but I do not have the radio...I go into settings > main menu > Radio > on but it does not show up in the menu, and I can't access it. I have reset and restored my iPod however it still won't show up.

  • Importing MP4 60 fps from new GO PRO camera

    Hello I just bought new GO PRO camera - http://www.goprocamera.com/ - how can I import movie from it to final cut express. The is no poblem with 29.97 stuff but FCE do not recognize 59.94 fps movies. Marek link to the camera - http://www.goprocamera.