Bug 56564 - native exception unknown?
Summary: native exception unknown?
Status: NEW
Alias: None
Product: Runtime
Classification: Mono
Component: General (show other bugs)
Version: 4.8.0 (C9)
Hardware: PC Linux
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2017-05-17 13:58 UTC by Albert
Modified: 2017-05-17 13:58 UTC (History)
2 users (show)

See Also:
Tags:
Is this bug a regression?: ---
Last known good build:


Attachments

Description Albert 2017-05-17 13:58:11 UTC
I am getting this native exception randomly and coredump, any idea why is happening?


Stacktrace:

  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) System.IOSelector.Add (intptr,System.IOSelectorJob) [0x00000] in <65d66c5eaa6a48038257422d3c294dab>:0
  at System.Net.Sockets.Socket.QueueIOSelectorJob (System.Collections.Generic.Queue`1<System.Collections.Generic.KeyValuePair`2<intptr, System.IOSelectorJob>>,intptr,System.IOSelectorJob) [0x00036] in <65d66c5eaa6a48038257422d3c294dab>:0
  at System.Net.Sockets.Socket.BeginSend (byte[],int,int,System.Net.Sockets.SocketFlags,System.AsyncCallback,object) [0x00088] in <65d66c5eaa6a48038257422d3c294dab>:0
  at System.Net.Sockets.NetworkStream.BeginWrite (byte[],int,int,System.AsyncCallback,object) [0x000b4] in <65d66c5eaa6a48038257422d3c294dab>:0
  at Mono.Security.Protocol.Tls.RecordProtocol.BeginSendRecord (Mono.Security.Protocol.Tls.ContentType,byte[],System.AsyncCallback,object) [0x00026] in <59bcb3a41e31492f91d9513566444e88>:0
  at Mono.Security.Protocol.Tls.RecordProtocol.BeginSendRecord (Mono.Security.Protocol.Tls.Handshake.HandshakeType,System.AsyncCallback,object) [0x00024] in <59bcb3a41e31492f91d9513566444e88>:0
  at Mono.Security.Protocol.Tls.SslClientStream.BeginNegotiateHandshake (System.AsyncCallback,object) [0x0004c] in <59bcb3a41e31492f91d9513566444e88>:0
  at Mono.Security.Protocol.Tls.SslStreamBase.BeginNegotiateHandshake (Mono.Security.Protocol.Tls.SslStreamBase/InternalAsyncResult) [0x00021] in <59bcb3a41e31492f91d9513566444e88>:0
  at Mono.Security.Protocol.Tls.SslStreamBase.BeginWrite (byte[],int,int,System.AsyncCallback,object) [0x0007f] in <59bcb3a41e31492f91d9513566444e88>:0
  at Mono.Net.Security.Private.LegacySslStream.BeginWrite (byte[],int,int,System.AsyncCallback,object) [0x00006] in <65d66c5eaa6a48038257422d3c294dab>:0
  at Mono.Net.Security.Private.LegacySslStream.BeginAuthenticateAsClient (string,System.Security.Cryptography.X509Certificates.X509CertificateCollection,System.Security.Authentication.SslProtocols,bool,System.AsyncCallback,object) [0x0009e] in <65d66c5eaa6a48038257422d3c294dab>:0
  at Mono.Net.Security.Private.LegacySslStream.AuthenticateAsClient (string,System.Security.Cryptography.X509Certificates.X509CertificateCollection,System.Security.Authentication.SslProtocols,bool) [0x00000] in <65d66c5eaa6a48038257422d3c294dab>:0
  at Mono.Net.Security.MonoTlsStream.CreateStream (byte[]) [0x0006a] in <65d66c5eaa6a48038257422d3c294dab>:0
  at System.Net.WebConnection.CreateStream (System.Net.HttpWebRequest) [0x0008a] in <65d66c5eaa6a48038257422d3c294dab>:0
  at System.Net.WebConnection.InitConnection (object) [0x00087] in <65d66c5eaa6a48038257422d3c294dab>:0
  at System.Net.WebConnection.<WebConnection>m__0 (object) [0x00000] in <65d66c5eaa6a48038257422d3c294dab>:0
  at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context (object) [0x0000e] in <373b6e083d6e45e498c9082a8eebd27f>:0
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) [0x0008d] in <373b6e083d6e45e498c9082a8eebd27f>:0
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) [0x00000] in <373b6e083d6e45e498c9082a8eebd27f>:0
  at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem () [0x0002a] in <373b6e083d6e45e498c9082a8eebd27f>:0
  at System.Threading.ThreadPoolWorkQueue.Dispatch () [0x00096] in <373b6e083d6e45e498c9082a8eebd27f>:0
  at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback () [0x00000] in <373b6e083d6e45e498c9082a8eebd27f>:0
  at (wrapper runtime-invoke) <Module>.runtime_invoke_bool (object,intptr,intptr,intptr) [0x0001e] in <373b6e083d6e45e498c9082a8eebd27f>:0
/proc/self/maps:
00400000-00783000 r-xp 00000000 09:01 254208                             /usr/bin/mono-sgen
00982000-0098d000 rw-p 00382000 09:01 254208                             /usr/bin/mono-sgen
0098d000-01598000 rw-p 00000000 00:00 0                                  [heap]
40000000-40170000 rwxp 00000000 00:00 0
7fffd8000000-7fffd8021000 rw-p 00000000 00:00 0
7fffd8021000-7fffdc000000 ---p 00000000 00:00 0
7fffe0000000-7fffe0021000 rw-p 00000000 00:00 0
7fffe0021000-7fffe4000000 ---p 00000000 00:00 0
7fffe4000000-7fffe40a2000 rw-p 00000000 00:00 0
7fffe40a2000-7fffe8000000 ---p 00000000 00:00 0
7fffe8000000-7fffe8021000 rw-p 00000000 00:00 0
7fffe8021000-7fffec000000 ---p 00000000 00:00 0
7fffed00d000-7fffed00e000 ---p 00000000 00:00 0
7fffed00e000-7fffed04e000 rw-p 00000000 00:00 0
7fffed04e000-7fffed064000 r-xp 00000000 09:01 883440                     /lib64/libresolv-2.12.so
7fffed064000-7fffed264000 ---p 00016000 09:01 883440                     /lib64/libresolv-2.12.so
7fffed264000-7fffed265000 r--p 00016000 09:01 883440                     /lib64/libresolv-2.12.so
7fffed265000-7fffed266000 rw-p 00017000 09:01 883440                     /lib64/libresolv-2.12.so
7fffed266000-7fffed268000 rw-p 00000000 00:00 0
7fffed268000-7fffed26d000 r-xp 00000000 09:01 883034                     /lib64/libnss_dns-2.12.so
7fffed26d000-7fffed46c000 ---p 00005000 09:01 883034                     /lib64/libnss_dns-2.12.so
7fffed46c000-7fffed46d000 r--p 00004000 09:01 883034                     /lib64/libnss_dns-2.12.so
7fffed46d000-7fffed46e000 rw-p 00005000 09:01 883034                     /lib64/libnss_dns-2.12.so
7fffed46e000-7fffed47a000 r-xp 00000000 09:01 883438                     /lib64/libnss_files-2.12.so
7fffed47a000-7fffed67a000 ---p 0000c000 09:01 883438                     /lib64/libnss_files-2.12.so
7fffed67a000-7fffed67b000 r--p 0000c000 09:01 883438                     /lib64/libnss_files-2.12.so
7fffed67b000-7fffed67c000 rw-p 0000d000 09:01 883438                     /lib64/libnss_files-2.12.so
7fffed67c000-7fffed685000 ---p 00000000 00:00 0
7fffed685000-7fffed87d000 rw-p 00000000 00:00 0
7fffed87d000-7fffed886000 ---p 00000000 00:00 0
7fffed886000-7fffeda7e000 rw-p 00000000 00:00 0
7fffeda7e000-7fffedad0000 r--p 00000000 09:01 343811                     /usr/lib/mono/gac/Mono.Security/4.0.0.0__0738eb9f132ed756/Mono.Security.dll
7fffedad0000-7fffede00000 r--p 00000000 09:01 345988                     /usr/lib/mono/gac/System.Xml/4.0.0.0__b77a5c561934e089/System.Xml.dll
7fffede00000-7fffedf00000 rw-p 00000000 00:00 0
7fffedf2c000-7fffee015000 r--p 00000000 09:01 345890                     /usr/lib/mono/gac/System.Core/4.0.0.0__b77a5c561934e089/System.Core.dll
7fffee015000-7fffee287000 r--p 00000000 09:01 345993                     /usr/lib/mono/gac/System/4.0.0.0__b77a5c561934e089/System.dll
7fffee287000-7fffee659000 r--p 00000000 09:02 2539609                    /usr/bp/bin/elk/Nest.dll
7fffee659000-7fffee662000 ---p 00000000 00:00 0
7fffee662000-7fffee85a000 rw-p 00000000 00:00 0
7fffee85a000-7fffeebff000 r--p 00000000 09:01 313444                     /usr/lib/mono/4.5/mscorlib.dll
7fffeebff000-7fffefbff000 rw-p 00000000 00:00 0
7fffefbff000-7fffefc00000 ---p 00000000 00:00 0
7fffefc00000-7ffff1000000 rw-p 00000000 00:00 0
7ffff100f000-7ffff1018000 ---p 00000000 00:00 0
7ffff1018000-7ffff1050000 rw-p 00000000 00:00 0
7ffff1050000-7ffff10f0000 r--p 00000000 09:02 2539610                    /usr/bp/bin/elk/Newtonsoft.Json.dll
7ffff10f0000-7ffff10f5000 rw-p 00000000 00:00 0
7ffff10f5000-7ffff6f86000 r--p 00000000 09:01 254018                     /usr/lib/locale/locale-archive
7ffff6f86000-7ffff7110000 r-xp 00000000 09:01 883020                     /lib64/libc-2.12.so
7ffff7110000-7ffff7310000 ---p 0018a000 09:01 883020                     /lib64/libc-2.12.so
7ffff7310000-7ffff7314000 r--p 0018a000 09:01 883020                     /lib64/libc-2.12.so
7ffff7314000-7ffff7315000 rw-p 0018e000 09:01 883020                     /lib64/libc-2.12.so
7ffff7315000-7ffff731a000 rw-p 00000000 00:00 0
7ffff731a000-7ffff7330000 r-xp 00000000 09:01 883010                     /lib64/libgcc_s-4.4.7-20120601.so.1
7ffff7330000-7ffff752f000 ---p 00016000 09:01 883010                     /lib64/libgcc_s-4.4.7-20120601.so.1
7ffff752f000-7ffff7530000 rw-p 00015000 09:01 883010                     /lib64/libgcc_s-4.4.7-20120601.so.1
7ffff7530000-7ffff7547000 r-xp 00000000 09:01 883044                     /lib64/libpthread-2.12.so
7ffff7547000-7ffff7747000 ---p 00017000 09:01 883044                     /lib64/libpthread-2.12.so
7ffff7747000-7ffff7748000 r--p 00017000 09:01 883044                     /lib64/libpthread-2.12.so
7ffff7748000-7ffff7749000 rw-p 00018000 09:01 883044                     /lib64/libpthread-2.12.so
7ffff7749000-7ffff774d000 rw-p 00000000 00:00 0
7ffff774d000-7ffff774f000 r-xp 00000000 09:01 883434                     /lib64/libdl-2.12.so
7ffff774f000-7ffff794f000 ---p 00002000 09:01 883434                     /lib64/libdl-2.12.so
7ffff794f000-7ffff7950000 r--p 00002000 09:01 883434                     /lib64/libdl-2.12.so
7ffff7950000-7ffff7951000 rw-p 00003000 09:01 883434                     /lib64/libdl-2.12.so
7ffff7951000-7ffff7958000 r-xp 00000000 09:01 883441                     /lib64/librt-2.12.so
7ffff7958000-7ffff7b57000 ---p 00007000 09:01 883441                     /lib64/librt-2.12.so
7ffff7b57000-7ffff7b58000 r--p 00006000 09:01 883441                     /lib64/librt-2.12.so
7ffff7b58000-7ffff7b59000 rw-p 00007000 09:01 883441                     /lib64/librt-2.12.so
7ffff7b59000-7ffff7bdc000 r-xp 00000000 09:01 883435                     /lib64/libm-2.12.so
7ffff7bdc000-7ffff7ddb000 ---p 00083000 09:01 883435                     /lib64/libm-2.12.so
7ffff7ddb000-7ffff7ddc000 r--p 00082000 09:01 883435                     /lib64/libm-2.12.so
7ffff7ddc000-7ffff7ddd000 rw-p 00083000 09:01 883435                     /lib64/libm-2.12.so
7ffff7ddd000-7ffff7dfd000 r-xp 00000000 09:01 883036                     /lib64/ld-2.12.so
7ffff7e1c000-7ffff7e2a000 rw-p 00000000 00:00 0
7ffff7e2a000-7ffff7e3a000 rwxp 00000000 00:00 0
7ffff7e3a000-7ffff7e3c000 rw-p 00000000 00:00 0
7ffff7e3c000-7ffff7e5c000 r--p 00000000 09:01 345886                     /usr/lib/mono/gac/System.Configuration/4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
7ffff7e5c000-7ffff7ec3000 r--p 00000000 09:02 2539523                    /usr/bp/bin/elk/Elasticsearch.Net.dll
7ffff7ec3000-7ffff7ee1000 r--p 00000000 09:01 345939                     /usr/lib/mono/gac/System.Net.Http/4.0.0.0__b03f5f7f11d50a3a/System.Net.Http.dll
7ffff7ee1000-7ffff7ee9000 r--p 00000000 09:01 343402                     /usr/lib/mono/gac/Microsoft.CSharp/4.0.0.0__b03f5f7f11d50a3a/Microsoft.CSharp.dll
7ffff7ee9000-7ffff7f04000 r--p 00000000 09:02 2539536                    /usr/bp/bin/elk/elkcollect.exe
7ffff7f04000-7ffff7f8b000 rw-p 00000000 00:00 0
7ffff7f8b000-7ffff7fea000 ---p 00000000 00:00 0
7ffff7fea000-7ffff7ff3000 rw-p 00000000 00:00 0
7ffff7ff3000-7ffff7ff9000 rw-p 00000000 00:00 0
7ffff7ff9000-7ffff7ffa000 rw-s 00000000 00:10 68998819                   /dev/shm/mono.19098
7ffff7ffa000-7ffff7ffb000 rw-p 00000000 00:00 0
7ffff7ffb000-7ffff7ffc000 r-xp 00000000 00:00 0                          [vdso]
7ffff7ffc000-7ffff7ffd000 r--p 0001f000 09:01 883036                     /lib64/ld-2.12.so
7ffff7ffd000-7ffff7ffe000 rw-p 00020000 09:01 883036                     /lib64/ld-2.12.so
7ffff7ffe000-7ffff7fff000 rw-p 00000000 00:00 0
7fffff000000-7fffff008000 ---p 00000000 00:00 0
7ffffffea000-7ffffffff000 rw-p 00000000 00:00 0                          [stack]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]

Native stacktrace:

        mono() [0x4a7bd3]
        /lib64/libpthread.so.0(+0xf7e0) [0x7ffff753f7e0]
        /lib64/libc.so.6(gsignal+0x35) [0x7ffff6fb8625]
        /lib64/libc.so.6(abort+0x175) [0x7ffff6fb9e05]
        mono() [0x654399]
        mono() [0x66b338]
        mono() [0x66b493]
        mono() [0x5aec7c]
        mono() [0x5af6d0]
        [0x40164f7b]

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

Note You need to log in before you can comment on or make changes to this bug.