Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Caught fatal signal - signo:11 code:1 errno:0

Discussion in 'Linux' started by frekons_unity, Jul 15, 2020.

  1. frekons_unity

    frekons_unity

    Joined:
    Sep 6, 2018
    Posts:
    20
    upload_2020-7-15_12-49-58.png

    I am trying to run my server (server-linux-x64 build) in linux ubuntu 18.04, but it crashes with this error
    how could i solve this?

    in windows 10, everything works normally

    unity version: 2019.4.3f1
     
  2. andrews_unity

    andrews_unity

    Unity Technologies

    Joined:
    Dec 11, 2015
    Posts:
    264

    Can you post the entire log or send me a DM with the entire log.
     
  3. LucasZarzur

    LucasZarzur

    Joined:
    Jul 23, 2020
    Posts:
    1
    I had the same issue. I have been send the bug report, but I don't receive any answer!
     
    deus0 likes this.
  4. andrews_unity

    andrews_unity

    Unity Technologies

    Joined:
    Dec 11, 2015
    Posts:
    264
    Do you happen to have the bug number ?
     
  5. thorgeir

    thorgeir

    Joined:
    May 7, 2019
    Posts:
    2
  6. Tritina

    Tritina

    Joined:
    Jan 22, 2018
    Posts:
    3
    We have a similar problem:

    Caught fatal signal - signo:11 code:1 errno:0 addr:0x10
    Obtained 12 stack frames.
    #0 0x007fb61b3cc630 in _L_unlock_13
    #1 0x007fb616fb5ac0 in _nv043glcore
    #2 0x007fb616ea2abe in _nv016glcore
    #3 0x007fb616ea3418 in _nv016glcore
    #4 0x007fb616ead165 in _nv016glcore
    #5 0x007fb616f96408 in _nv043glcore
    #6 0x007fb61701a618 in _nv043glcore
    #7 0x007fb616ab86d8 in _nv023glcore
    #8 0x007fb616ab9850 in _nv023glcore
    #9 0x007fb61c49a341 in ComputeShader::DispatchComputeShader(unsigned int, int, int, int, ShaderPassContext*)
    #10 0x007fb61c68aeb1 in ComputeShader_CUSTOM_Dispatch(ScriptingBackendNativeObjectPtrOpaque*, int, int, int, int)
    #11 0x000000409f79b5 in (wrapper managed-to-native) UnityEngine.ComputeShader:Dispatch (UnityEngine.ComputeShader,int,int,int,int)
    [inno01@prod-smsp-001-eu-central-1.innovation.cipsoft.com ~]$ Caught fatal signal - signo:11 code:1 errno:0 addr:0x10

    happens on a g4dn.xlarge aws instance running these drivers: NVIDIA-Linux-x86_64-450.51.05-grid-aws.
     
  7. KonstantinMaximus

    KonstantinMaximus

    Joined:
    Feb 13, 2014
    Posts:
    21
    Did you guys figure this out? Have the same issue :(
     
    Pnvanol likes this.
  8. j2inet

    j2inet

    Joined:
    Jul 15, 2015
    Posts:
    7
    Ugh, I've encountered the exact same thing. The app works fine on macOS and Windows, but fails on Linux.

    I had hoped there would be a fix for this. As current deadlines are not going to allow me to wait on a fix I will just have to move on. But the output I got is at this link until the end of February 2021.

    https://1drv.ms/t/s!Apo2rVWlZg0qiP8zEFLIFmphGppcEw?e=SHLfkZ


    =================================================================
    Got a SIGSEGV while executing native code. This usually indicates
    a fatal error in the mono runtime or one of the native libraries
    used by your application.
    =================================================================

    Caught fatal signal - signo:11 code:1 errno:0 addr:0x8
    Obtained 9 stack frames.
    #0 0x007fdeb861fd80 in funlockfile
    #1 0x007fdeb94aa13a in GfxDeviceGLES::DrawIndexedNullGeometry(GfxPrimitiveType, GfxBuffer*, int, int, int)
    #2 0x007fdeb94618c0 in GfxDeviceWorker::RunCommand(ThreadedStreamBuffer&)
    #3 0x007fdeb94630d4 in GfxDeviceWorker::RunCommand(ThreadedStreamBuffer&)
    #4 0x007fdeb94658bb in GfxDeviceWorker::RunExt(ThreadedStreamBuffer&)
    #5 0x007fdeb945b985 in GfxDeviceWorker::RunGfxDeviceWorker(void*)
    #6 0x007fdeb98660ea in Thread::RunThreadWrapper(void*)
    #7 0x007fdeb86152de in start_thread
    #8 0x007fdeb8345a63 in clone
     
    Last edited: Jan 15, 2021
  9. j2inet

    j2inet

    Joined:
    Jul 15, 2015
    Posts:
    7
    I got some insight into this after cycling through hardware configurations. It occurs when I se a P2000 series Quadro card. On a computer that successfully ran my app I exchanged the card (Quadro P5000, GTX 1080Ti, GTX 970...) with the Quadro P2000 or P2200 the error would occur.

    I looked up the specs on the cards. The P2200 gas 1024 core . The other cards have 2,000+ cores. For the application in question, the video memory usage peaked at 900 megs (including what the OS was already using).
     
  10. ChisaiDev

    ChisaiDev

    Joined:
    Oct 16, 2021
    Posts:
    10
    Hy everyone sorry for the late response. I had the same issue and i fixed it buy going to build settings -> player settings -> change the code of the export format from Mono to il2cpp
     
    EzraHuffman and mrichard33210 like this.
  11. imjustthatguy1

    imjustthatguy1

    Joined:
    Apr 23, 2018
    Posts:
    25
    Has anyone found a real solution to this? I am attempting to test AWS EC2 Free Tier Micro Instance and am encountering this error when starting a fishnet server. There is no stack track and shows this when i attempt to run via xvfb-run

    /usr/bin/xvfb-run: line 181: 1638 Segmentation fault DISPLAY=:$SERVERNUM XAUTHORITY=$AUTHFILE "$@" 2>&1

    If I run the x86_64 straight up I receive this
    Caught fatal signal - signo:11 code:1 errno:0 addr:0x50
     
  12. kmowers

    kmowers

    Joined:
    Dec 12, 2016
    Posts:
    15
    Also have issues with this. Getting error: "Caught fatal signal - signo:11 code:1 errno:0 addr:0x40"
    @imjustthatguy1 what version of unity are you running?
    Im running Unity 2021.3.6f1
    Dedicated Server Build for Linux on an AWS M6A machine
     
  13. Michieal

    Michieal

    Joined:
    Jul 7, 2013
    Posts:
    92
    I keep having this issue myself, in 2022.1.14f1. Pretty much, I hit play on just a GUI pack demo... and about 2 minutes later it just goes boom. I'm currently uploading a bug report. If you need specs / information, I'll do my best to help!

    -M.
     
    Pnvanol likes this.
  14. andersemil

    andersemil

    Joined:
    Feb 2, 2015
    Posts:
    108
    Getting a consistent crash on Linux Ubuntu 20.04 using Unity 2021.3.11. Seems to happen when calling SceneManager.LoadSceneAsync as a response to a click on a button. Wondering if this is related?

    Code (CSharp):
    1. Caught fatal signal - signo:11 code:1 errno:0 addr:0x29c Obtained 9 stack frames.
    2. #0  0x007fbb4fac8420 in funlockfile
    3. #1  0x007fbb50e51777 in std::vector<std::pair<std::pair<unsigned short, unsigned short>, float>, std::allocator<std::pair<std::pair<unsigned short, unsigned short>, float> > >::_M_default_append(unsigned long)
    4. #2  0x007fbb50e5263e in std::vector<std::pair<std::pair<unsigned short, unsigned short>, float>, std::allocator<std::pair<std::pair<unsigned short, unsigned short>, float> > >::_M_default_append(unsigned long)
    5. #3  0x007fbb508857e7 in int* std::_V2::__rotate<int*>(int*, int*, int*, std::random_access_iterator_tag)
    6. #4  0x007fbb508857a2 in int* std::_V2::__rotate<int*>(int*, int*, int*, std::random_access_iterator_tag)
    7. #5  0x007fbb50885a8c in int* std::_V2::__rotate<int*>(int*, int*, int*, std::random_access_iterator_tag)
    8. #6  0x007fbb50ab6d62 in PlayerMain(int, char**)
    9. #7  0x007fbb4f8e6083 in __libc_start_main
    10. #8  0x00000000201029 in (Unknown)
     
    Last edited: Dec 14, 2022
  15. bvicil

    bvicil

    Joined:
    Feb 7, 2017
    Posts:
    7
    i have same issue. i opened new empty project then build on Linux Dedicated Server in Unity 2021LTS. i uploaded to server (CentOS). give execute permission, than run. here is the error:


    Caught fatal signal - signo:11 code:1 errno:0 addr:0x38
    Obtained 10 stack frames.
    #0 0x007efd729da630 in _L_unlock_13
    #1 0x007efd74632b00 in Shader::GetName() const
    #2 0x007efd73eaf524 in Material::BuildProperties()
    #3 0x007efd73eae8aa in InitializeDefaultMaterial()
    #4 0x007efd73a742aa in CallbackArray::Invoke()
    #5 0x007efd73e430fd in InitializeEngineGraphics(bool)
    #6 0x007efd73e5132a in PlayerInitEngineGraphics(bool)
    #7 0x007efd7401f0e3 in PlayerMain(int, char**)
    #8 0x007efd7261f555 in __libc_start_main
    #9 0x00561f690e1029 in _start
    Segmentation fault
     
  16. EzraHuffman

    EzraHuffman

    Joined:
    Jan 28, 2018
    Posts:
    2
    Thank you! This worked for me.
     
  17. Shefich

    Shefich

    Joined:
    May 23, 2013
    Posts:
    140
    I have same issue.
    Unity 2021.3.28.
    IL2CPP

    Code (CSharp):
    1. *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
    2. pid: 0, tid: 27000 >>> com.xxx.xxx<<<
    3.  
    4. backtrace:
    5.   #00  pc 0x000000000057f800  /data/app/~~ZwtMI4MGgj2FU1ZM_yhskQ==/com.xxx.xxx-Sn1Fzd_vIAr7jbn9ZNPNRg==/lib/arm/libunity.so (Shader::GetName() const)
    6.   #01  pc 0x000000000013a4f5  /data/app/~~ZwtMI4MGgj2FU1ZM_yhskQ==/com.xxx.xxx-Sn1Fzd_vIAr7jbn9ZNPNRg==/lib/arm/libunity.so (Material::BuildProperties(bool))
    7.   #02  pc 0x000000000013acd5  /data/app/~~ZwtMI4MGgj2FU1ZM_yhskQ==/com.xxx.xxx-Sn1Fzd_vIAr7jbn9ZNPNRg==/lib/arm/libunity.so (Material::AwakeFromLoad(AwakeFromLoadMode))
    8.   #03  pc 0x000000000013b0d9  /data/app/~~ZwtMI4MGgj2FU1ZM_yhskQ==/com.xxx.xxx-Sn1Fzd_vIAr7jbn9ZNPNRg==/lib/arm/libunity.so (Material* CreateObjectFromCode<Material>(AwakeFromLoadMode, MemLabelId))
    9.   #04  pc 0x0000000000139e83  /data/app/~~ZwtMI4MGgj2FU1ZM_yhskQ==/com.xxx.xxx-Sn1Fzd_vIAr7jbn9ZNPNRg==/lib/arm/libunity.so (InitializeDefaultMaterial())
    10.   #05  pc 0x00000000000bd8e7  /data/app/~~ZwtMI4MGgj2FU1ZM_yhskQ==/com.xxx.xxx-Sn1Fzd_vIAr7jbn9ZNPNRg==/lib/arm/libunity.so (CallbackArray::Invoke())
    11.   #06  pc 0x00000000001180b1  /data/app/~~ZwtMI4MGgj2FU1ZM_yhskQ==/com.xxx.xxx-Sn1Fzd_vIAr7jbn9ZNPNRg==/lib/arm/libunity.so (InitializeEngineGraphics(bool))
    12.   #07  pc 0x000000000011eba7  /data/app/~~ZwtMI4MGgj2FU1ZM_yhskQ==/com.xxx.xxx-Sn1Fzd_vIAr7jbn9ZNPNRg==/lib/arm/libunity.so (PlayerInitEngineGraphics(bool))
    13.   #08  pc 0x00000000001f6bff  /data/app/~~ZwtMI4MGgj2FU1ZM_yhskQ==/com.xxx.xxx-Sn1Fzd_vIAr7jbn9ZNPNRg==/lib/arm/libunity.so (UnityInitApplication())
    14.   #09  pc 0x00000000001f77d9  /data/app/~~ZwtMI4MGgj2FU1ZM_yhskQ==/com.xxx.xxx-Sn1Fzd_vIAr7jbn9ZNPNRg==/lib/arm/libunity.so (UnityPlayerLoop())
    15.   #10  pc 0x0000000000207da9  /data/app/~~ZwtMI4MGgj2FU1ZM_yhskQ==/com.xxx.xxx-Sn1Fzd_vIAr7jbn9ZNPNRg==/lib/arm/libunity.so (nativeRender(_JNIEnv*, _jobject*))
    16.   #11  pc 0x00000000003c1b9d  /apex/com.android.art/lib/libart.so (art_quick_generic_jni_trampoline+44)
    17.   #12  pc 0x00000000000f0dec  /apex/com.android.art/lib/libart.so (nterp_helper+2908)
    18.   #13  pc 0x00000000000e5a5c  /data/app/~~ZwtMI4MGgj2FU1ZM_yhskQ==/com.xxx.xxx-Sn1Fzd_vIAr7jbn9ZNPNRg==/base.apk (com.unity3d.player.UnityPlayer.access$500)
    19.   #14  pc 0x00000000000f02c8  /apex/com.android.art/lib/libart.so (nterp_helper+56)
    20.   #15  pc 0x00000000000e507c  /data/app/~~ZwtMI4MGgj2FU1ZM_yhskQ==/com.xxx.xxx-Sn1Fzd_vIAr7jbn9ZNPNRg==/base.apk (com.unity3d.player.UnityPlayer$e$1.handleMessage+252)
    21.   #16  pc 0x000000000094b823  /data/misc/apexdata/com.android.art/dalvik-cache/arm/boot.oat (android.os.Handler.dispatchMessage+122)
    22.   #17  pc 0x000000000094eb87  /data/misc/apexdata/com.android.art/dalvik-cache/arm/boot.oat (android.os.Looper.loopOnce+886)
    23.   #18  pc 0x000000000094e72b  /data/misc/apexdata/com.android.art/dalvik-cache/arm/boot.oat (android.os.Looper.loop+1034)
    24.   #19  pc 0x00000000000f033c  /apex/com.android.art/lib/libart.so (nterp_helper+172)
    25.   #20  pc 0x00000000000e5478  /data/app/~~ZwtMI4MGgj2FU1ZM_yhskQ==/com.xxx.xxx-Sn1Fzd_vIAr7jbn9ZNPNRg==/base.apk (com.unity3d.player.UnityPlayer$e.run+40)
    26.   #21  pc 0x00000000003bd1d5  /apex/com.android.art/lib/libart.so (art_quick_invoke_stub_internal+68)
    27.   #22  pc 0x00000000003bcc77  /apex/com.android.art/lib/libart.so (void art::quick_invoke_reg_setup<false>(art::ArtMethod*, unsigned int*, unsigned int, art::Thread*, art::JValue*, char const*) (.__uniq.192663596067446536341070919852553954320.llvm.16200230356545185596)+158)
    28.   #23  pc 0x000000000028a4c5  /apex/com.android.art/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+136)
    29.   #24  pc 0x0000000000313969  /apex/com.android.art/lib/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*) (.__uniq.245181933781456475607640333933569312899.llvm.2586733929373010981)+40)
    30.   #25  pc 0x0000000000313875  /apex/com.android.art/lib/libart.so (art::JValue art::InvokeVirtualOrInterfaceWithJValues<art::ArtMethod*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, art::ArtMethod*, jvalue const*)+164)
    31.   #26  pc 0x000000000033a3af  /apex/com.android.art/lib/libart.so (art::JValue art::InvokeVirtualOrInterfaceWithJValues<_jmethodID*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, jvalue const*)+42)
    32.   #27  pc 0x00000000002f0625  /apex/com.android.art/lib/libart.so (art::Thread::CreateCallback(void*)+416)
    33.   #28  pc 0x00000000000ade0b  /apex/com.android.runtime/lib/bionic/libc.so (__pthread_start(void*)+40)
    34.   #29  pc 0x0000000000063e73  /apex/com.android.runtime/lib/bionic/libc.so (__start_thread+30)
     
  18. DomeCreator

    DomeCreator

    Joined:
    Mar 5, 2020
    Posts:
    29
    I have a kind of similar issue :

    Error getting system window info: Invalid window
    Unsupported windowing backend 0
    Caught fatal signal - signo:11 code:1 errno:0 addr:(nil)

    IL2CPP isn't an option for me actually, if you have any clue ?