Crash with specific minidump JSON
With a recently generated minidump JSON (from a windows crash), CrashDragon fails to render the webpage:
template: report.html:134:102: executing "report.html" at <$v.Location>: can't evaluate field Location in type struct { Frame int "json:\"frame\""; MissingSymbols bool "json:\"missing_symbols,omitempty\""; Module string "json:\"module\""; ModuleOffset string "json:\"module_offset\""; Offset string "json:\"offset\""; Registers struct { R10 string "json:\"r10,omitempty\""; R11 string "json:\"r11,omitempty\""; R12 string "json:\"r12,omitempty\""; R13 string "json:\"r13,omitempty\""; R14 string "json:\"r14,omitempty\""; R15 string "json:\"r15,omitempty\""; R8 string "json:\"r8,omitempty\""; R9 string "json:\"r9,omitempty\""; Rax string "json:\"rax,omitempty\""; Rbp string "json:\"rbp,omitempty\""; Rbx string "json:\"rbx,omitempty\""; Rcx string "json:\"rcx,omitempty\""; Rdi string "json:\"rdi,omitempty\""; Rdx string "json:\"rdx,omitempty\""; Rip string "json:\"rip,omitempty\""; Rsi string "json:\"rsi,omitempty\""; Rsp string "json:\"rsp,omitempty\"" } "json:\"registers,omitempty\""; Trust string "json:\"trust\""; File string "json:\"file,omitempty\""; Function string "json:\"function,omitempty\""; FunctionOffset string "json:\"function_offset,omitempty\""; Line int "json:\"line,omitempty\"" }
/usr/local/go/src/runtime/panic.go:491 (0x42b5c2)
gopanic: reflectcall(nil, unsafe.Pointer(d.fn), deferArgs(d), uint32(d.siz), uint32(d.siz))
/go/src/code.videolan.org/videolan/CrashDragon/vendor/github.com/gin-gonic/gin/context.go:428 (0x7f1b1e)
(*Context).Render: panic(err)
/go/src/code.videolan.org/videolan/CrashDragon/vendor/github.com/gin-gonic/gin/context.go:437 (0x7f1bbf)
(*Context).HTML: c.Render(code, instance)
/go/src/code.videolan.org/videolan/CrashDragon/server/report.go:205 (0x85ed14)
GetReport: c.HTML(http.StatusOK, "report.html", gin.H{
/go/src/code.videolan.org/videolan/CrashDragon/vendor/github.com/gin-gonic/gin/context.go:97 (0x7f0302)
(*Context).Next: c.handlers[c.index](c)
/go/src/code.videolan.org/videolan/CrashDragon/vendor/github.com/gin-gonic/gin/recovery.go:45 (0x7fef19)
RecoveryWithWriter.func1: c.Next()
/go/src/code.videolan.org/videolan/CrashDragon/vendor/github.com/gin-gonic/gin/context.go:97 (0x7f0302)
(*Context).Next: c.handlers[c.index](c)
/go/src/code.videolan.org/videolan/CrashDragon/vendor/github.com/gin-gonic/gin/logger.go:72 (0x7fe330)
LoggerWithWriter.func1: c.Next()
/go/src/code.videolan.org/videolan/CrashDragon/vendor/github.com/gin-gonic/gin/context.go:97 (0x7f0302)
(*Context).Next: c.handlers[c.index](c)
/go/src/code.videolan.org/videolan/CrashDragon/vendor/github.com/gin-gonic/gin/gin.go:284 (0x7f6183)
(*Engine).handleHTTPRequest: context.Next()
/go/src/code.videolan.org/videolan/CrashDragon/vendor/github.com/gin-gonic/gin/gin.go:265 (0x7f5b0a)
(*Engine).ServeHTTP: engine.handleHTTPRequest(c)
/usr/local/go/src/net/http/server.go:2619 (0x668703)
serverHandler.ServeHTTP: handler.ServeHTTP(rw, req)
/usr/local/go/src/net/http/server.go:1801 (0x6648bc)
(*conn).serve: serverHandler{c.server}.ServeHTTP(w, w.req)
/usr/local/go/src/runtime/asm_amd64.s:2337 (0x459900)
goexit: BYTE $0x90 // NOP