Skip to content

Instantly share code, notes, and snippets.

View carlosmn's full-sized avatar
💭
Buried under a heap of yaks under a stack of todos

Carlos Martín Nieto carlosmn

💭
Buried under a heap of yaks under a stack of todos
View GitHub Profile
@carlosmn
carlosmn / anfile.md
Created September 12, 2017 07:44
An gist

An content

// Perform snapshot of domain console
func DomainVNCSnapshot(w http.ResponseWriter, r *http.Request) {
ruuid := chi.URLParam(r, "uuid")
errstr := "Failure retrieving VM details"
domobj, err := GetDomObj(ruuid)
if err != nil {
http.Error(w, errstr, http.StatusInternalServerError)
return
}
defer domobj.Free()
source 'https://rubygems.org'
gem "sd_notify"
Stack overflow in unmanaged: IP: 0x7f7b0a88e33c, fault addr: 0x7f7afbc07f88
Stack overflow: IP: 0x7f7b0a88e33c, fault addr: 0x7f7afbbfef98
Stacktrace:
at <unknown> <0xffffffff>
at System.Net.Dns.GetHostByName (string) [0x0001d] in <a9a08e39ba304bd0a84c49bd158dfc02>:0
<...>
at System.Net.Dns.GetHostEntry (string) [0x00062] in <a9a08e39ba304bd0a84c49bd158dfc02>:0
at System.Net.Dns.GetHostAddresses (string) [0x00066] in <a9a08e39ba304bd0a84c49bd158dfc02>:0
at System.Net.Sockets.TcpClient.Connect (string,int) [0x00064] in <a9a08e39ba304bd0a84c49bd158dfc02>:0
at Meebey.SmartIrc4net.IrcConnection.Connect (string[],int) [0x001ac] in /home/carlos/smuxi/lib/SmartIrc4net/src/IrcConnection/IrcConnection.cs:616