Thank you for submitting your inquiry.
You can track the status of your inquiry here.
You may want to save your case's ticket: 914015_8l4meka221tvibc0


    (Open) Batch Mode Causes Crash in Linux for Unity 5.6
     
     
     
    5
    Batch Mode Causes Crash in Linux for Unity 5.6+

    1. What happened

    When running the player in Linux with the -batchmode option, the player immediately crashes.  The crash does not occur in Unity version 5.5.3, but does occur in versions 5.6.0 and 5.6.1.

    2. How we can reproduce it using the example you attached

    The attached application is just a default, empty project.  Build the application for Linux x86_64.  Run the player on a Linux machine with the following command line options "-batchmode -logFile log.txt".  We are using an AWS instance running Ubuntu 16.04 with an Nvidia K80 GPU.

    Here is the stack trace written to the log file:

    Native stacktrace:

            /app/linuxbatchmodecrash_Data/Mono/x86_64/libmono.so(+0x91be1) [0x7fa7811a8be1]
            /lib/x86_64-linux-gnu/libpthread.so.0(+0x1138f) [0x7fa7842b038f]
            /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x38) [0x7fa783462428]
            /lib/x86_64-linux-gnu/libc.so.6(abort+0x169) [0x7fa783464029]
            ./linuxbatchmodecrash.x86_64() [0x9edf5b]
            /app/linuxbatchmodecrash_Data/Mono/x86_64/libmono.so(+0xd0c42) [0x7fa7811e7c42]
            /app/linuxbatchmodecrash_Data/Mono/x86_64/libmono.so(+0x34a12) [0x7fa78114ba12]
            /lib/x86_64-linux-gnu/libpthread.so.0(+0x1138f) [0x7fa7842b038f]
            ./linuxbatchmodecrash.x86_64(SDL_GL_GetAttribute_REAL+0x1e3) [0x13aee53]
            ./linuxbatchmodecrash.x86_64() [0x1257dd7]
            ./linuxbatchmodecrash.x86_64() [0x1256838]
            ./linuxbatchmodecrash.x86_64() [0x12568e8]
            ./linuxbatchmodecrash.x86_64() [0x122797b]
            ./linuxbatchmodecrash.x86_64() [0x454b0c]
            /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xef) [0x7fa78344d82f]
            ./linuxbatchmodecrash.x86_64() [0x45dcd8]

    Debug info from gdb:


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

    ringStorageDefault<char> >, bool, std::less<core::basic_string<char, core::StringStorageDefault<char> > >, std::allocator<std::pair<core::basic_string<char, core::StringStorageDefault<char> > co
    nst, bool> > >::~map()
    #5  0x007ffd42868730 in std::map<core::basic_string<char, core::StringStorageDefault<char> >, core::basic_string<char, core::StringStorageDefault<char> >, std::less<core::basic_string<char, core
    ::StringStorageDefault<char> > >, std::allocator<std::pair<core::basic_string<char, core::StringStorageDefault<char> > const, core::basic_string<char, core::StringStorageDefault<char> > > > >::~
    map()
    #6  0x007ffd42868790 in zcfree
    #7  0x007ffd428695c0 in __libc_start_main
    #8  0x007ffd42869680 in zcfree


    License type: Free
     
       
      To follow up on this case, send email to bugs@unity3d.com mentioning 'Case 914015' in the subject.
      Your Cases:
      Case Title Status Date Opened
      932027 5.6+ Crash with GPU Rendering on AWS Closed 7/17/2017 11:20 PM
      914015 Batch Mode Causes Crash in Linux for Unity 5.6 Open 5/23/2017 8:50 PM