Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aborted after a binary file changed #52

Open
junalmeida opened this issue Apr 4, 2016 · 4 comments
Open

Aborted after a binary file changed #52

junalmeida opened this issue Apr 4, 2016 · 4 comments

Comments

@junalmeida
Copy link

Change: NuGetServer.dll
Stacktrace:


Native stacktrace:

        /usr/bin/mono() [0x4b73d8]
        /usr/bin/mono() [0x50f13b]
        /usr/bin/mono() [0x423d22]
        /lib/x86_64-linux-gnu/libpthread.so.0(+0x10340) [0x7f8b6488c340]
        /lib/x86_64-linux-gnu/libc.so.6(+0x870c6) [0x7f8b6453e0c6]
        /usr/lib/libhfc-native.so(unregister_host+0x84) [0x7f8b27bfac74]
        [0x419ae9a6]

Debug info from gdb:

Could not attach to process.  If your uid matches the uid of the target
process, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try
again as the root user.  For more details, see /etc/sysctl.d/10-ptrace.conf
ptrace: Operation not permitted.
No threads.

=================================================================
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.
=================================================================
@xplicit
Copy link
Owner

xplicit commented Apr 5, 2016

This is a known issue - hyperfastcgi 0.4 does not gracefully handles web.config change or changes in bin directory. I hope can fix this soon. Currently as a workaround you have to stop the HyperfastCGI process before application update

@junalmeida
Copy link
Author

Ok, if there is any log or help I can provide you, let me know.
Do you know if this issue is related to managed or native code? Seems to be native, but there is no message of the error, just the stacktrace.

@xplicit
Copy link
Owner

xplicit commented Apr 6, 2016

I know how to reproduce this issue, so at this moment I just need some time to implement correct Application Domain reloading. The issue relates both to managed and unmanaged listeners.

@sossalemaire
Copy link

Have you been able to make any progress on this issue? It's no big deal in production, but during development it's annoying to have to restart hyperfastcgi that often. In my experience, around one application domain reload out of ten triggers the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants