Skip to content

panic: runtime error: invalid memory address or nil pointer dereference #24

@sbogar-shs

Description

@sbogar-shs

We are getting very frequent crashes with the logs shown below

2021-03-29T14:15:03.997-04:00 [APP/PROC/WEB/3] [ERR] panic: runtime error: invalid memory address or nil pointer dereference
2021-03-29T14:15:03.997-04:00 [APP/PROC/WEB/3] [ERR] [signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0x560402361b31]
2021-03-29T14:15:03.997-04:00 [APP/PROC/WEB/3] [ERR] goroutine 313 [running]:
2021-03-29T14:15:03.997-04:00 [APP/PROC/WEB/3] [ERR] github.com/SumoLogic/sumologic-cloudfoundry-nozzle/sumoCFFirehose.(*SumoLogicAppender).SendToSumo(0xc000356480, 0xc000c1c000, 0x11608, 0xc00023c000, 0xb8, 0xc00032e001)
2021-03-29T14:15:03.997-04:00 [APP/PROC/WEB/3] [ERR] /tmp/gobuildpack.gopath389540859/.go/src/github.com/SumoLogic/sumologic-cloudfoundry-nozzle/sumoCFFirehose/sumoLogicAppender.go:393 +0x551
2021-03-29T14:15:03.998-04:00 [APP/PROC/WEB/3] [ERR] created by github.com/SumoLogic/sumologic-cloudfoundry-nozzle/sumoCFFirehose.(*SumoLogicAppender).Start
2021-03-29T14:15:03.998-04:00 [APP/PROC/WEB/3] [ERR] /tmp/gobuildpack.gopath389540859/.go/src/github.com/SumoLogic/sumologic-cloudfoundry-nozzle/sumoCFFirehose/sumoLogicAppender.go:113 +0x589
2021-03-29T14:15:04.004-04:00 [APP/PROC/WEB/3] [OUT] Exit status 2

I found this issue in GO lang that seems similar...could we have a similar issue in the nozzle?

golang/go#20942

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions