Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

interface conversion panic when using with a heapdump generated by a 1.4 compiled application #4

Open
mohae opened this issue Sep 19, 2015 · 0 comments

Comments

@mohae
Copy link

mohae commented Sep 19, 2015

A panic occurs when using hview against a dump generated by Hugo compiled with 1.4.

The full output:

Loading...
inferring types...
2015/09/18 20:42:00 Type *template.Template is ambiguous.  Could be any of:
2015/09/18 20:42:00   *html/template.Template
2015/09/18 20:42:00   *text/template.Template
2015/09/18 20:42:00 Type *map.hdr[string]*template.Template is ambiguous.  Could be any of:
2015/09/18 20:42:00   *map.hdr[string]*html/template.Template
2015/09/18 20:42:00   *map.hdr[string]*text/template.Template
2015/09/18 20:42:00 Type template.Template is ambiguous.  Could be any of:
2015/09/18 20:42:00   text/template.Template
2015/09/18 20:42:00   html/template.Template
2015/09/18 20:42:00 Type map.iter[string]*template.Template is ambiguous.  Could be any of:
2015/09/18 20:42:00   map.iter[string]*text/template.Template
2015/09/18 20:42:00   map.iter[string]*html/template.Template
2015/09/18 20:42:00 Type map.bucket[string]*template.Template is ambiguous.  Could be any of:
2015/09/18 20:42:00   map.bucket[string]*text/template.Template
2015/09/18 20:42:00   map.bucket[string]*html/template.Template
2015/09/18 20:42:00 Type []*template.Template is ambiguous.  Could be any of:
2015/09/18 20:42:00   []*text/template.Template
2015/09/18 20:42:00   []*html/template.Template
2015/09/18 20:42:00 Type [8]*template.Template is ambiguous.  Could be any of:
2015/09/18 20:42:00   [8]*html/template.Template
2015/09/18 20:42:00   [8]*text/template.Template
2015/09/18 20:42:00 Type template.state is ambiguous.  Could be any of:
2015/09/18 20:42:00   text/template.state
2015/09/18 20:42:00   html/template.state
2015/09/18 20:42:00 Type []val<*template.Template> is ambiguous.  Could be any of:
2015/09/18 20:42:00   []val<*text/template.Template>
2015/09/18 20:42:00   []val<*html/template.Template>
2015/09/18 20:42:00 Type map.hdr[string]*template.Template is ambiguous.  Could be any of:
2015/09/18 20:42:00   map.hdr[string]*html/template.Template
2015/09/18 20:42:00   map.hdr[string]*text/template.Template
2015/09/18 20:42:00 Type *map.bucket[string]*template.Template is ambiguous.  Could be any of:
2015/09/18 20:42:00   *map.bucket[string]*text/template.Template
2015/09/18 20:42:00   *map.bucket[string]*html/template.Template
2015/09/18 20:42:00 Type template.FuncMap is ambiguous.  Could be any of:
2015/09/18 20:42:00   text/template.FuncMap
2015/09/18 20:42:00   html/template.FuncMap
2015/09/18 20:42:00 Type map[string]*template.Template is ambiguous.  Could be any of:
2015/09/18 20:42:00   map[string]*html/template.Template
2015/09/18 20:42:00   map[string]*text/template.Template
2015/09/18 20:42:00 Type *template.state is ambiguous.  Could be any of:
2015/09/18 20:42:00   *text/template.state
2015/09/18 20:42:00   *html/template.state
2015/09/18 20:42:00 Type **template.Template is ambiguous.  Could be any of:
2015/09/18 20:42:00   **html/template.Template
2015/09/18 20:42:00   **text/template.Template
panic: interface conversion: read.dwarfType is *read.dwarfBaseType, not *read.dwarfPtrType

goroutine 1 [running]:
github.com/randall77/heapdump14/read.typePropagate(0xc20805e000, 0x7fff7c06f517, 0x18)
    /home/asd/code/go/src/github.com/randall77/heapdump14/read/parser.go:1546 +0x2598
github.com/randall77/heapdump14/read.Read(0x7fff7c06f4f6, 0x20, 0x7fff7c06f517, 0x18, 0x0)
    /home/asd/code/go/src/github.com/randall77/heapdump14/read/parser.go:2120 +0x6d
main.main()
    /home/asd/code/go/src/github.com/randall77/heapdump14/hview/main.go:893 +0x1f2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant