Skip to main content
August 25, 2009
Answered

FMIS 3.5.1 (Fedora 10, 64bit) - Crashes every few hours

  • August 25, 2009
  • 1 reply
  • 3639 views

Medium-load chat server using Shared Objects segfaults every few hours. Runtime size has been increased to 30MB (this saves it from crashing every 10 minutes). I have the core dump but don't understand what it means. Please could someone decipher it. I have attached it as a file to this message.

Any help is greatly appreciated. Thanks!

    This topic has been closed for replies.
    Correct answer techeye

    Ok the ldd showed that libcap.so.1 was not found

    I found that I have libcap in /lib64/libcap.so.2.10 so I did: ln -s /lib64/libcap.so.2.10 /lib/libcap.so.1

    Well that didn't work - I tried a few other things but I'm just guessing here. Help?


    sorry, you can't use the lib64 version.. You will need to get the 32 bit compat one.

    1 reply

    Participating Frequently
    August 26, 2009

    Hi there, this is more than likely your problem:

    Thread 1 (process 22116):
    #0  0x085bdf60 in JS_SetProperty ()
    #1  0x08353aed in TCJSSerializer::ProcessArrayAtom ()
    #2  0x083522d2 in TCJSSerializer::ProcessAMF3ObjectType ()
    #3  0x083545d5 in TCJSSerializer::_ProcessScriptVar ()
    #4  0x083548b3 in TCJSSerializer::ProcessScriptVar ()
    #5  0x08354a32 in TCJSSerializer::GetVar ()
    #6  0x0834fd97 in TCJSHook::inflateArgs ()
    #7  0x08461c5a in TCAppJSHook::onCmdMessage ()
    #8  0x08462c67 in TCAppJSHook::onMessage ()
    #9  0x0835e4ab in TCJavaScriptEngine::executeEvent ()
    #10 0x0835ff7b in TCJavaScriptEngine::run ()
    #11 0x0836578a in TCScriptMsg::run ()
    #12 0x083f3924 in TCThreadPool::launchThreadRun ()
    #13 0x083f47d5 in TCThreadPool::__ThreadStaticPoolEntry ()
    #14 0x083f5868 in launchThreadRun ()
    #15 0x083f69cf in __TCThreadEntry ()
    #16 0xf7ef851f in start_thread () from /lib/libpthread.so.0
    #17 0x0048004e in clone () from /lib/libc.so.6

    You will need to get a new build (3.5.2) to address this issue. The JS runtime mandates that objects must be registered correctly, or they can be GC'd if not marked as "keep alive".

    August 26, 2009

    Thanks for info, however I have tried installing the Linux version of 3.5.2, and it installs fine and I even load my application fine, but clients can't connect to it. I checked port 1935 and all connections are being refused, so I'm wondering if 3.5.2 has some default config that refuses connections to that port?? Any idea?

    Participating Frequently
    August 26, 2009

    /fms_install_dir/conf/fms.ini specifies the ports that are used.

    ADAPTOR.HOSTPORT = :1935,80

    But I'm guessing thats not the issue because 1935 is on by default.  What do the logs say?