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

SIGABRT running overnight "condition `is_ok (error)' not met" (mono internal null reference) #20181

Open
n432sean opened this issue Jul 29, 2020 · 0 comments

Comments

@n432sean
Copy link

n432sean commented Jul 29, 2020

Steps to Reproduce

Unsure. It occurred when our winforms application was left running overnight running many background threads.

Current Behavior

SIGABRT occurred during an overnight run

Expected Behavior

Run without SIGABRT

On which platforms did you notice this

[ ] macOS
[x] Linux
[ ] Windows

Version Used:

Mono JIT compiler version 6.4.0.198 (tarball Wed Jul 22 14:17:00 UTC 2020)
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
Interpreter: yes
LLVM: yes(610)
Suspend: hybrid
GC: sgen (concurrent by default)

Stacktrace

 * Assertion at exception.c:109, condition `is_ok (error)' not met, function:mono_exception_new_by_name_domain, (null) assembly:/usr/lib/mono/4.5/mscorlib.dll type:ThreadAbortException member:(null)

=================================================================
 Native Crash Reporting
 =================================================================
 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.
 =================================================================
 /proc/self/maps:
 00400000-00864000 r-xp 00000000 fd:00 204510542 /usr/bin/mono-sgen
 00a64000-00a6c000 r--p 00464000 fd:00 204510542 /usr/bin/mono-sgen
 00a6c000-00a72000 rw-p 0046c000 fd:00 204510542 /usr/bin/mono-sgen
 00a72000-00a8d000 rw-p 00000000 00:00 0 
 024ae000-1e449000 rw-p 00000000 00:00 0 [heap]
 4071d000-4082d000 rwxp 00000000 00:00 0 
 40832000-40bf2000 rwxp 00000000 00:00 0 
 40bf7000-41277000 rwxp 00000000 00:00 0 
 4127d000-41c11000 rwxp 00000000 00:00 0 
 7fd9a3600000-7fd9a3700000 rw-p 00000000 00:00 0 
 7fd9a3800000-7fd9a3900000 rw-p 00000000 00:00 0 
 7fd9a4800000-7fd9a4900000 rw-p 00000000 00:00 0 
 7fd9a4a00000-7fd9a4b00000 rw-p 00000000 00:00 0 
 7fd9a4c00000-7fd9a4d00000 rw-p 00000000 00:00 0 
 7fd9a4e00000-7fd9a4f00000 rw-p 00000000 00:00 0 
 7fd9a5000000-7fd9a5100000 rw-p 00000000 00:00 0 
 7fd9a5800000-7fd9a5900000 rw-p 00000000 00:00 0 
 7fd9a5e00000-7fd9a5f00000 rw-p 00000000 00:00 0 
 7fd9a8000000-7fd9a9b8d000 rw-p 00000000 00:00 0 
 7fd9a9b8d000-7fd9ac000000 ---p 00000000 00:00 0 
 7fd9ae100000-7fd9ae200000 rw-p 00000000 00:00 0 
 7fd9aed00000-7fd9aee00000 rw-p 00000000 00:00 0 
 7fd9af900000-7fd9afa00000 rw-p 00000000 00:00 0 
 7fd9b0500000-7fd9b0600000 rw-p 00000000 00:00 0 
 7fd9b1300000-7fd9b1400000 rw-p 00000000 00:00 0

=================================================================
 Native stacktrace:
 =================================================================
 0x4b9bd2 - mono : (null)
 0x4b9ec1 - mono : (null)
 0x468869 - mono : (null)
 0x4b926f - mono : (null)
 0x7fdc512a85d0 - /lib64/libpthread.so.0 : (null)
 0x7fdc50cec207 - /lib64/libc.so.6 : gsignal
 0x7fdc50ced8f8 - /lib64/libc.so.6 : abort
 0x7156f4 - mono : (null)
 0x6fc7f9 - mono : (null)
 0x71561e - mono : (null)
 0x715af0 - mono : monoeg_assertion_message
 0x5c0afb - mono : (null)
 0x5c0b5d - mono : mono_exception_from_name_domain
 0x46a74c - mono : (null)
 0x4b2a1d - mono : (null)
 0x4127e82c - Unknown

 

Thread 3 (Thread 0x7fd9e6dcb700 (LWP 26372)):
 #0 0x00007fdc512a8179 in waitpid () at /lib64/libpthread.so.0
 #1 0x00000000004b9d1f in dump_native_stacktrace (mctx=mctx@entry=0x7fd9e6dc90c0, signal=0x732b48 "SIGABRT") at mini-posix.c:1110
 #2 0x00000000004b9ec1 in mono_dump_native_crash_info (signal=signal@entry=0x732b48 "SIGABRT", mctx=mctx@entry=0x7fd9e6dc90c0, info=info@entry=0x7fd9e6dc93b0) at mini-posix.c:1158
 #3 0x0000000000468869 in mono_handle_native_crash (signal=signal@entry=0x732b48 "SIGABRT", mctx=mctx@entry=0x7fd9e6dc90c0, info=info@entry=0x7fd9e6dc93b0) at mini-exceptions.c:3328
 #4 0x00000000004b926f in sigabrt_signal_handler (_dummy=6, _info=0x7fd9e6dc93b0, context=0x7fd9e6dc9280) at mini-posix.c:234
 #5 0x00007fdc512a85d0 in <signal handler called> () at /lib64/libpthread.so.0
 #6 0x00007fdc50cec207 in raise () at /lib64/libc.so.6
 #7 0x00007fdc50ced8f8 in abort () at /lib64/libc.so.6
 #8 0x00000000007156f4 in monoeg_assert_abort () at goutput.c:57
 #9 0x00000000006fc7f9 in mono_log_write_logfile (log_domain=<optimized out>, level=<optimized out>, hdr=<optimized out>, message=0x7fdb6c059760 "* Assertion at exception.c:109, condition `is_ok (error)' not met, function:mono_exception_new_by_name_domain, (null) assembly:/usr/lib/mono/4.5/mscorlib.dll type:ThreadAbortException member:(null)\n") at mono-log-common.c:136
 #10 0x000000000071561e in monoeg_g_logv_nofree (msg=<optimized out>, log_level=G_LOG_LEVEL_ERROR, log_domain=0x0) at goutput.c:134
 #11 0x000000000071561e in monoeg_g_logv_nofree (log_domain=log_domain@entry=0x0, log_level=log_level@entry=G_LOG_LEVEL_ERROR, format=format@entry=0x720068 "* Assertion at %s:%d, condition `%s' not met, function:%s, %s\n", args=args@entry=0x7fd9e6dc9a68) at goutput.c:149
 #12 0x0000000000715af0 in monoeg_assertion_message (args=0x7fd9e6dc9a68, format=0x720068 "* Assertion at %s:%d, condition `%s' not met, function:%s, %s\n", log_level=G_LOG_LEVEL_ERROR, log_domain=0x0) at goutput.c:142
 #13 0x0000000000715af0 in monoeg_assertion_message (format=format@entry=0x720068 "* Assertion at %s:%d, condition `%s' not met, function:%s, %s\n") at goutput.c:184
 #14 0x00000000005c0afb in mono_exception_new_by_name_domain (domain=domain@entry=0x24c53c0, image=image@entry=0x24c8890, name_space=name_space@entry=0x74e5ea "System", name=name@entry=0x721b96 "NullReferenceException", error=error@entry=0x7fd9e6dc9bb0) at exception.c:109
 #15 0x00000000005c0b5d in mono_exception_from_name_domain (domain=0x24c53c0, image=0x24c8890, name_space=name_space@entry=0x74e5ea "System", name=name@entry=0x721b96 "NullReferenceException") at exception.c:140
 #16 0x00000000005c0c17 in mono_exception_from_name (image=<optimized out>, name_space=name_space@entry=0x74e5ea "System", name=name@entry=0x721b96 "NullReferenceException") at exception.c:77
 #17 0x00000000005c17b3 in mono_get_exception_null_reference () at exception.c:462
 #18 0x000000000046a74c in mono_handle_exception_internal (ctx=ctx@entry=0x7fd9e6dca570, obj=obj@entry=0x0, resume=resume@entry=0, out_ji=0x0) at mini-exceptions.c:2500
 #19 0x000000000046a846 in mono_handle_exception (ctx=ctx@entry=0x7fd9e6dca570, void_obj=void_obj@entry=0x0) at mini-exceptions.c:3030
 #20 0x00000000004b2a1d in mono_amd64_throw_exception (dummy1=<optimized out>, dummy2=<optimized out>, dummy3=<optimized out>, dummy4=<optimized out>, dummy5=<optimized out>, dummy6=<optimized out>, mctx=0x7fd9e6dca740, exc=0x0, rethrow=0, preserve_ips=0) at exceptions-amd64.c:403
 #21 0x000000004127e82c in ()
 #22 0x00007fd9e6dca740 in ()
 #23 0x0000000000000000 in ()
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

1 participant