Skip to content

segfault after interrupting hung process with /stoppable=true #74

@tarkin000

Description

@tarkin000

In the course of debugging, I was running HFC with /stoppable=True.
Hitting enter would shutdown the service, but would hang in the terminal.
Hitting ctl-c causes this:

libev.c:432: Shutdown():        Goodbye.
Stacktrace:


Native stacktrace:

        mono() [0x4accca]
        mono() [0x5040fe]
        mono() [0x4275d7]
        /lib/x86_64-linux-gnu/libpthread.so.0(+0xf0a0) [0x7f3b55cc10a0]
        /lib/x86_64-linux-gnu/libpthread.so.0(pthread_mutex_lock+0x4) [0x7f3b55cbb194]
        /usr/lib/x86_64-linux-gnu/libevent-2.0.so.5(+0x255ee) [0x7f3b5160f5ee]
        /usr/lib/x86_64-linux-gnu/libevent-2.0.so.5(event_base_loop+0x120) [0x7f3b515faf60]
        /usr/lib/libhfc-native.so.1(ProcessLoop+0xd) [0x7f3b51d3245d]
        [0x4032aeaa]

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

Aborted

Command line:
mono --debug /usr/local/src/HyperFastCgi/src/HyperFastCgi/4.0/bin/Release/HyperFastCgi.exe /config=/etc/nginx/hyper.config /stoppable=True /printlog=True /loglevels=All

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