Skip to content

centos下运行gamesever报错 #23

Description

@speedneeder

系统为centos 6.5 按照教程之中的介绍,安装好mono等环节,redis已装,httpd服务为apache,服务都已开启。

输入mono GameServer.exe之后报错:

Missing method .ctor in assembly /data/tmp/scut/Console/ZyGames.Framework.Game.dll, type System.Runtime.CompilerServices.DynamicAttribute
Can't find custom attr constructor image: /data/tmp/scut/Console/ZyGames.Framework.Game.dll mtoken: 0x0a000003

  • Assertion at class.c:5600, condition `!mono_loader_get_last_error ()' not met

Stacktrace:

at <0xffffffff>
at ZyGames.Framework.Game.Runtime.ConsoleRuntimeHost.Start () <0x0003a>
at GameServer.Program.Main (string[]) <0x0003c>
at (wrapper runtime-invoke) .runtime_invoke_void_object (object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

    mono() [0x4a3645]
    /lib64/libpthread.so.0(+0xf710) [0x7f87fada0710]
    /lib64/libc.so.6(gsignal+0x35) [0x7f87faa2f925]
    /lib64/libc.so.6(abort+0x175) [0x7f87faa31105]
    mono() [0x62d9fd]
    mono() [0x62daa7]
    mono() [0x515700]
    mono(mono_class_get_full+0xe0) [0x5148b0]
    mono(mono_field_from_token+0x2bc) [0x53c93c]
    mono() [0x45c4c3]
    mono() [0x41b32f]
    mono() [0x41cfa3]
    mono() [0x41dabb]
    mono() [0x4a7aa8]
    mono() [0x4a84c4]
    [0x409d8de6]

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.

Aborted

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions