1. If you have a problem and need help, create a new thread with a title that briefly describes the problem.
    Do not use titles like 'Help!' or 'I have a problem!'
    Dismiss Notice
  2. Hey Guest, is it this your first time on the forums?

    Visit the Beginner's Box

    Introduce yourself, read some of the ins and outs of the community, access to useful links and information.

    Dismiss Notice

Mac crashing problem.

Discussion in 'General Help' started by TheF1N3One, Feb 8, 2012.

  1. TheF1N3One

    TheF1N3One Catapult Fodder

    Messages:
    15
    I just BOUGHT THE GAME because I thoroughly enjoy it, but this keeps happening to me: Whenever I play, the game randomly crashes, and I can't find out why. This is making me angry because I bought the game.

    Here is the crash report:
    Process: KAG [14662]
    Path: /Users/steelgold11/Downloads/kag_mac/KAG.app/Contents/MacOS/KAG
    Identifier: KAG
    Version: ??? (203)
    Code Type: X86 (Native)
    Parent Process: launchd [89]

    Date/Time: 2012-02-07 20:30:40.896 -0600
    OS Version: Mac OS X 10.6.8 (10K549)
    Report Version: 6

    Interval Since Last Report: 1047601 sec
    Crashes Since Last Report: 12
    Per-App Interval Since Last Report: 13934 sec
    Per-App Crashes Since Last Report: 12
    Anonymous UUID: 73B1A614-B1B3-405F-BA5C-69660E949BA2

    Exception Type: EXC_BAD_ACCESS (SIGBUS)
    Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000024
    Crashed Thread: 0 Dispatch queue: com.apple.main-thread

    Thread 0 Crashed: Dispatch queue: com.apple.main-thread
    0 libJuxta.dylib 0x1403b03d enet_host_connect + 25
    1 libJuxta.dylib 0x1400a6ae CNet::Connect(unsigned int, unsigned short) + 118
    2 libJuxta.dylib 0x13eb3d8d CBrowser::Play() + 433
    3 libJuxta.dylib 0x13eddf62 CGUIEvents::onEvent(int, irr::SEvent::SGUIEvent*) + 6542
    4 libJuxta.dylib 0x13f5441d CIrrlichtTask::OnEvent(irr::SEvent const&) + 493

    Thread 1: Dispatch queue: com.apple.libdispatch-manager
    0 libSystem.B.dylib 0x98a29382 kevent + 10
    1 libSystem.B.dylib 0x98a29a9c _dispatch_mgr_invoke + 215
    2 libSystem.B.dylib 0x98a28f59 _dispatch_queue_invoke + 163
    3 libSystem.B.dylib 0x98a28cfe _dispatch_worker_thread2 + 240
    4 libSystem.B.dylib 0x98a28781 _pthread_wqthread + 390
    5 libSystem.B.dylib 0x98a285c6 start_wqthread + 30

    Thread 2:
    0 libSystem.B.dylib 0x98a02b5a semaphore_timedwait_signal_trap + 10
    1 libSystem.B.dylib 0x98a306e1 _pthread_cond_wait + 1066
    2 libSystem.B.dylib 0x98a5f5a8 pthread_cond_timedwait_relative_np + 47
    3 com.apple.audio.CoreAudio 0x967973ab CAGuard::WaitFor(unsigned long long) + 219
    4 com.apple.audio.CoreAudio 0x9679a3dd CAGuard::WaitUntil(unsigned long long) + 289
    5 com.apple.audio.CoreAudio 0x96797cda HP_IOThread::WorkLoop() + 1892
    6 com.apple.audio.CoreAudio 0x96797571 HP_IOThread::ThreadEntry(HP_IOThread*) + 17
    7 com.apple.audio.CoreAudio 0x96797488 CAPThread::Entry(CAPThread*) + 140
    8 libSystem.B.dylib 0x98a30259 _pthread_start + 345
    9 libSystem.B.dylib 0x98a300de thread_start + 34

    Thread 3:
    0 libSystem.B.dylib 0x98a02c0e mach_wait_until + 10
    1 libSystem.B.dylib 0x98a8a429 nanosleep + 345
    2 libSystem.B.dylib 0x98a8a2ca usleep + 61
    3 libirrklang.dylib 0x0172cd31 ik_internal::os::Timer::sleep(int) + 29
    4 libirrklang.dylib 0x016ceb6c irrklang::CIrrKlangSoundEngine::run(void*) + 44
    5 libirrklang.dylib 0x0172c084 ik_internal::bootThreadFunction(void*) + 24
    6 libSystem.B.dylib 0x98a30259 _pthread_start + 345
    7 libSystem.B.dylib 0x98a300de thread_start + 34

    Thread 0 crashed with X86 Thread State (32-bit):
    eax: 0x00000000 ebx: 0x1400a649 ecx: 0x018d1400 edx: 0x00000000
    edi: 0x00000000 esi: 0x0000c425 ebp: 0xbfffe258 esp: 0xbfffe210
    ss: 0x0000001f efl: 0x00010246 eip: 0x1403b03d cs: 0x00000017
    ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037
    cr2: 0x00000024



    Model: MacBookPro7,1, BootROM MBP71.0039.B0B, 2 processors, Intel Core 2 Duo, 2.4 GHz, 4 GB, SMC 1.62f6
    Graphics: NVIDIA GeForce 320M, NVIDIA GeForce 320M, PCI, 256 MB
    Memory Module: global_name
    AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x8D), Broadcom BCM43xx 1.0 (5.10.131.42.4)
    Bluetooth: Version 2.4.5f3, 2 service, 19 devices, 1 incoming serial ports
    Network Service: AirPort, AirPort, en1
    Serial ATA Device: TOSHIBA MK2555GSXF, 232.89 GB
    Serial ATA Device: MATSHITADVD-R UJ-898, 54 MB
    USB Device: Built-in iSight, 0x05ac (Apple Inc.), 0x8507, 0x24600000 / 2
    USB Device: Internal Memory Card Reader, 0x05ac (Apple Inc.), 0x8403, 0x26100000 / 2
    USB Device: BRCM2046 Hub, 0x0a5c (Broadcom Corp.), 0x4500, 0x06600000 / 4
    USB Device: Bluetooth USB Host Controller, 0x05ac (Apple Inc.), 0x8213, 0x06610000 / 6
    USB Device: IR Receiver, 0x05ac (Apple Inc.), 0x8242, 0x06500000 / 3
    USB Device: Apple Internal Keyboard / Trackpad, 0x05ac (Apple Inc.), 0x0236, 0x06300000 / 2
    Please fix this issue immediately, developers, if you're reading this.
    And to anyone else, has this happened to you too?
     
  2. MM

    MM THD Team THD Team Administrator Global Moderator

    Messages:
    327
    Hey,
    It seems to be crashing on network connection (enet_host_connect), never seen this happen before. Am I right or when specifically does it crash (if its random give me examples).
     
  3. TheF1N3One

    TheF1N3One Catapult Fodder

    Messages:
    15
    I think you're right. it crashes when I go to the server list, press tab, or do other options like that. It hasn't happened at all today though and only happened a few times yesterday. Is it because I just bought the game? and thank you for replying, I like to see devs who still look at their forums :)
     
  4. MM

    MM THD Team THD Team Administrator Global Moderator

    Messages:
    327
    I suspect it doesn't have to do with the game at all. It's something about your network card or drivers.
    Maybe it is some other program in the background interfering. Please try to think why it works today and didn't yesterday.
     
  5. FliesLikeABrick

    FliesLikeABrick THD Team THD Team Administrator Global Moderator

    Messages:
    952
    You know, I wonder if it's potentially related to http://kagforum.com/index.php?threads/problem-with-server-browser.3661/#post-59289 which I fixed the other day. I could potentially see that kind of unexpected/malformed network response making an OS or application unhappy if the router let it through. Can you post here what brand and model of router you have at home?


    I very very much doubt it is related since you're on a FiOS conncetion instead of somewhere in Russia/Ukraine, but if this doesn't happen to you any more then it is *possible* it is related. Please post back here if it happens again or in a few days if it is no longer happening
     
  6. TheF1N3One

    TheF1N3One Catapult Fodder

    Messages:
    15
    K, I will.
     
  7. thomsky

    thomsky Catapult Fodder

    Messages:
    1
    Hello, I recently bought the game and I intend to play it on MacOS (Yosemite). Whenever I press "play" the game closes.
    The following fix is a bit of a hack but it's easy to implement. You won't be able to run the game through steam, only directly through the Steam Common folder in MacOS. That's ok, though ::): This post is intended to help users and devs alike so it's quite detailed, scroll down to the end for quick fix summary:

    1) I searched for the game in Steam Library -> King Arthur's Gold Properties -> Browse Local Files, opened the KAG package contents and ran Kag from within. The same crash happens although that way you get to see Terminal Console output. An error stated:
    CURL Error: Timeout was reached
    File not found '
    /Users/myUserName/libJuxta.dylib'
    LoadLibrary ERROR: dlopen(../Base//Users/myUserName/libJuxta.dylib, 1): image not found
    Could not load game module /Users/myUserName/libJuxta.dylib (errno 2):
    THE END
    logout


    Notice that the application is incorrectly looking for 'libJuxta.dylib' in my root User folder. The file is located in the KAG package contents. Since I could not find a place to change the folder link I copied 'libJuxta.dylib' to my User folder.
    2) I ran the app again, terminal put out the following:
    CURL Error: Operation was aborted by an application callback
    Using file '/Users/myUserName/libJuxta.dylib'
    LoadLibrary ERROR: dlopen(/Users/myUserName/libJuxta.dylib, 1): Library not loaded:
    @loader_path/libsteam_api.dylib
    Referenced from: /Users/myUserName/libJuxta.dylib
    Reason: image not found
    Could not load game module /Users/myUserName/libJuxta.dylib (errno 2):
    THE END
    logout


    The program is looking for 'libsteam_api.dylib' at the intended loader_path (see @loader_path/libsteam_api.dylib above).
    I therefore also copied 'libsteam_api.dylib' to my root user folder.
    3) Run the game and it works.

    Summary:
    Find KAG in Steam Library -> King Arthur's Gold Properties -> Browse Local Files, Right-Click and Open Package Contents, find libJuxta.dylib and libsteam_api.dylib and copy both files to your user folder at ../Users/YourUserName/
    Go back to Local FilesFolder, right-click on KAG, open package contents, run the KAG executable.

    For your convenience create an Alias of the KAG executable and copy to a desired location.

    Enjoy

    P.S. I hope the developers will find the time to permanently fix this issue.
     
    Last edited: Dec 25, 2014
    Stevedog and master4523 like this.