Skip to content

Instantly share code, notes, and snippets.

@jpasichnyk
Created June 13, 2015 20:43
Show Gist options
  • Save jpasichnyk/5e2ddfda6a372ee8044b to your computer and use it in GitHub Desktop.
Save jpasichnyk/5e2ddfda6a372ee8044b to your computer and use it in GitHub Desktop.
repro for mono dns lookup crash results
$ mono --debug test3.exe
Cannot handle address family 51520
Stacktrace:
at <unknown> <0xffffffff>
at (wrapper managed-to-native) System.Net.Dns.GetHostByName_internal (string,string&,string[]&,string[]&) <IL 0x00010, 0xffffffff>
at System.Net.Dns.GetHostByName (string) <IL 0x00018, 0x0004d>
at System.Net.Dns.GetHostEntry (string) <IL 0x00062, 0x000a5>
at StatsdClient.StatsdUDP.GetIpv4Address (string) <IL 0x00012, 0x0004f>
at StatsdClient.StatsdUDP..ctor (string,int,int) <IL 0x0002c, 0x000f9>
at StatsdClient.Metrics.CreateStatsD (StatsdClient.MetricsConfig) <IL 0x00036, 0x000d1>
at StatsdClient.Metrics.Configure (StatsdClient.MetricsConfig) <IL 0x0003f, 0x000b3>
at Tests.IPV4ParsingTests.Main (string[]) <IL 0x00014, 0x0008b>
at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object (object,intptr,intptr,intptr) <IL 0x00060, 0xffffffff>
Native stacktrace:
mono() [0x4b1fac]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x10340) [0x7ffa36754340]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x39) [0x7ffa363b5cc9]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x148) [0x7ffa363b90d8]
mono() [0x629309]
mono() [0x629517]
mono() [0x6295c2]
mono() [0x624c35]
mono() [0x578b26]
[0x408d3da0]
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.
=================================================================
Aborted
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment