Corrupted Data or Memory Leak:

  • Corrupt data being passed to ImageLibrary or a memory leak in the plugin code could cause the GC to fail.

    mmap(PROT_NONE) failed
    Caught fatal signal - signo:6 code:-6 errno:0 addr:0x3e60000005f
    Obtained 27 stack frames.
    #0 0x007fc728df6730 in funlockfile
    #1 0x007fc728c5b8eb in gsignal
    #2 0x007fc728c46535 in abort
    #3 0x007fc720e9c3d2 in GC_unmap
    #4 0x007fc720e9c32a in GC_unmap_old
    #5 0x007fc720e9e090 in GC_finish_collection
    #6 0x007fc720e9e2f5 in GC_collect_a_little_inner
    #7 0x007fc720ea42d2 in GC_alloc_large
    #8 0x007fc720ea0745 in GC_generic_malloc
    #9 0x007fc720ea461e in GC_malloc_kind_global
    #10 0x007fc720e6ea92 in mono_gc_register_root
    #11 0x007fc720e6a55e in mono_gc_reference_queue_free
    #12 0x007fc720e198d4 in mono_string_new_size
    #13 0x007fc720ddcaee in mono_lookup_icall_symbol
    #14 0x0000004069b035 in (wrapper managed-to-native) string:FastAllocateString (int)
    #15 0x000000406b337b in System.Text.StringBuilder:ToString ()
    #16 0x000000409717d7 in System.IO.StringWriter:ToString ()
    #17 0x000000409cd380 in Newtonsoft.Json.JsonConvert:SerializeObjectInternal (object,System.Type,Newtonsoft.Json.JsonSerializer)
    #18 0x00000040b9546b in Newtonsoft.Json.JsonConvert:SerializeObject (object,System.Type,Newtonsoft.Json.Formatting,Newtonsoft.Json.JsonSerializerSettings)
    #19 0x00000040b95403 in Newtonsoft.Json.JsonConvert:SerializeObject (object,Newtonsoft.Json.Formatting,Newtonsoft.Json.JsonSerializerSettings)
    #20 0x000000421c4b6f in Oxide.Plugins.ImageLibrary:SaveData ()
    #21 0x00000042073c13 in Oxide.Plugins.ImageLibrary/ImageAssets:Next ()
    #22 0x000000421c4b1b in Oxide.Plugins.ImageLibrary/ImageAssets:StoreByteArray (byte[],string)
    #23 0x000000420743df in Oxide.Plugins.ImageLibrary/ImageAssets/<DownloadImage>d__12:MoveNext ()
    #24 0x000000407134ce in UnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr)
    #25 0x000000407135cc in (wrapper runtime-invoke) <Module>:runtime_invoke_void_object_intptr (object,intptr,intptr,intptr)