Use "Dns.GetHostEntry" or "Dns.GetHostByName",sometime throw error "Cannot handle address family xxxxx"
Cannot handle address family 53936
at <unknown> <0xffffffff>
at (wrapper managed-to-native) System.Net.Dns.GetHostByName_internal (string,string&,string&,string&) <0xffffffff>
at System.Net.Dns.GetHostByName (string) <0x0004d>
at System.Net.ServicePoint.get_HostEntry () <0x00223>
at System.Net.WebConnection.Connect (System.Net.HttpWebRequest) <0x001d4>
at System.Net.WebConnection.InitConnection (object) <0x00312>
at System.Net.WebConnection.<WebConnection>m__0 (object) <0x00024>
at (wrapper runtime-invoke) <Module>.runtime_invoke_void__this___object (object,intptr,intptr,intptr) <0xffffffff>
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.
OS: Ubuntu 14.04, 64 bit
Same issue on Mono JIT compiler version 4.3.0 (master/a5f77b1 Fri Jun 26 13:57:47 CST 2015).
It can be fixed by clearing dns client cache with "service nscd restart" command.
I also see this issue. I am using :
Mono JIT compiler version 4.0.2 ((no/c99aa0c Wed Jun 24 13:39:51 BST 2015)
I get a crash on Debian 8 but NOT on Debian 7
disable IPv6 and you're golden
I believe this issue is linked to this bug :
Should be fixed by https://github.com/mono/mono/commit/be1d9a7fe207f86fe7033cb49dea0e9a367ece79.
João, could you add this one to C6SR1?
*** Bug 35509 has been marked as a duplicate of this bug. ***
@Joao: aspnet5 is hitting this pretty regularly, it would be great to get this into C6SR1 :)
Since Joao is FTO, I've created the Trello card for backporting this to C6SR1: https://trello.com/c/2MibizOG/101-mono-bug-30018
is this bug fixed in 4.2.1? I still get this mono core dump error on ubuntu .
Mono JIT compiler version 4.2.1 (Stable 188.8.131.52/6dd2d0d Thu Nov 12 09:52:44 UTC 2015)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
LLVM: supported, not enabled.
@zed: it will be available in Service Release 1, which is in the alpha channel right now: http://www.mono-project.com/download/alpha/.
great, that did work! thanks Alex!
Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on GitHub
to continue tracking issues. Bugzilla will remain available for
reference in read-only mode. We will continue to work on open Bugzilla
bugs, copy them to the new locations as needed for follow-up, and add
the new items under Related Links.
Create a new report for Bug 30018 on Developer
Community or GitHub if you have new information to add and do not yet see a matching
In special cases on GitHub you might also want the comments:
GitHub Markdown with public comments
Our sincere thanks to everyone who has contributed on this bug tracker
over the years. Thanks also for your understanding as we make these
adjustments and improvements for the future.