如何修复SIGSEGV,以防止MVC应用程序在Mono中运行

时间:2019-03-06 20:19:20

标签: asp.net-mvc asp.net-mvc-4 mono mod-mono xsp

ASP.NET MVC应用程序使用Apache和mod_mono安装在Debian服务器中。

尝试启动它会在Mono中导致SIGSEGV异常。 Apache error.log包含

[Wed Mar 06 22:07:13 2019] [notice] Apache/2.2.22 (Debian) mod_mono/3.12 configured -- resuming normal operations
Listening on: /tmp/.mod_mono_server4
Root directory: /
Stacktrace:

[Wed Mar 06 22:07:35 2019] [error] (70014)End of file found: read_data failed
[Wed Mar 06 22:07:35 2019] [error] Command stream corrupted, last command was 1
Listening on: /tmp/.mod_mono_server4
Root directory: /
Stacktrace:


Native stacktrace:

    /usr/bin/mono() [0x4accca]
    /usr/bin/mono() [0x5040fe]
    /usr/bin/mono() [0x4275d7]
    /lib/x86_64-linux-gnu/libpthread.so.0(+0xf0a0) [0x7f47845d30a0]
    /usr/bin/mono() [0x47aad9]
    /usr/bin/mono() [0x50fcb8]
    /usr/bin/mono() [0x510253]
    /usr/bin/mono() [0x425efc]
    /usr/bin/mono() [0x4af809]
    /usr/bin/mono() [0x4b0117]
    [0x411fe68c]

Debug info from gdb:


=================================================================
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.
=================================================================

如何解决此问题,以便应用程序可以运行? 同一台服务器还包含使用运行良好的较旧ASP.NET MVC创建的其他应用程序。

Mono是使用Debian软件包安装的:

mono --version
Mono JIT compiler version 4.6.2 (Stable 4.6.2.7/08fd525 Mon Nov 14 12:30:00 UTC 2016)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
        TLS:           __thread
        SIGSEGV:       altstack
        Notifications: epoll
        Architecture:  amd64
        Disabled:      none
        Misc:          softdebug
        LLVM:          supported, not enabled.
        GC:            sgen

0 个答案:

没有答案