Search Unity

Linux server crashes with "double free or corruption(out) " error

Discussion in 'Linux' started by samvid, Jan 22, 2019.

  1. samvid

    samvid

    Joined:
    Feb 25, 2016
    Posts:
    6
    Hi,

    I am running my server on the Linux machine.(A System76 laptop with 8th gen i7, GTX 1070 and cuda 9.1). I am getting a random bug which crashes the whole server. I am unable to recreate it but by looking at the log file it is mentioned as
    *** Error in `./HSE ThreatResponse.x86_64': double free or corruption (out): 0x00007f483a6e5470 ***

    I have attached my log file in here as well. I am really new in tracing stuff in Linux. I would really appreciate if someone has some information about this error or if you can help me understand the Memory Map as well.

    If you need any other information I would love to provide it as I am not sure what might be a useful info for this question.

    Thank you,
    Samvid
     

    Attached Files:

    • log.txt
      File size:
      78.2 KB
      Views:
      812
  2. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    11,847
    I'd file a bug for this. A double free error is generally when free is called twice on the same allocated memory pointer. That would be on the C++ side of the engine, unless you're adding some plugin which would be doing it.
     
  3. Schubkraft

    Schubkraft

    Unity Technologies

    Joined:
    Dec 3, 2012
    Posts:
    1,071
    Yes, please do file a report for this with a repro project attached.
     
  4. samvid

    samvid

    Joined:
    Feb 25, 2016
    Posts:
    6
    Thank you guys. I guess then I must be from my code because I wrote a plugin for this code and interesting thing is it never crashes on Windows system. Only on Ubuntu 16.04. (This is the first time where I am seeing Windows is doing something better than Ubuntu LOL)

    Let me try and go through my plugin again.

    Thanks