Skip to content

runtime error: invalid memory address or nil pointer  #15

@mgdsxhy

Description

@mgdsxhy

env:
Red Hat Enterprise Linux Server release 6.10 (Santiago)
Linux version 2.6.32-754.el6.x86_64 (mockbuild@x86-033.build.eng.bos.redhat.com) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-23) (GCC) ) #1 SMP Thu May 24 18:18:25 EDT 2018

error:
failed to open stream: no SMBIOS entry point found in memorypanic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x38 pc=0x9c5449]

goroutine 1 [running]:
github.com/yumaojun03/dmidecode.(*Decoder).System(0x0, 0xc00000e018, 0xc000575d70, 0x1, 0x1, 0x3c)
C:/Users/ss/go/pkg/mod/github.com/yumaojun03/dmidecode@v0.1.4/decoder.go:104 +0x29

Is it not supported by the system or for other reasons?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions