Skip to content

panic: runtime error: invalid memory address or nil pointer dereference on Android 12 Piexl6 #185

Closed
@cfc4n

Description

@cfc4n
{"code":0,"message":"success","currentTime":1661487653910}
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0xa8ed0]

goroutine 37 [running]:
bytes.(*Buffer).Write(0x0, {0x400049d320, 0x1000, 0x1000})
	/usr/local/go/src/bytes/buffer.go:170 +0x20
ecapture/pkg/event_processor.(*DefaultParser).Write(0x400058a190, {0x400049d320, 0x1000, 0x1000})
	/home/ubuntu/ecapture/pkg/event_processor/iparser.go:115 +0x4c
ecapture/pkg/event_processor.(*eventWorker).parserEvent(0x40000a4140, {0x575140, 0x400049d300})
	/home/ubuntu/ecapture/pkg/event_processor/iworker.go:98 +0x104
ecapture/pkg/event_processor.(*eventWorker).Run(0x40000a4140)
	/home/ubuntu/ecapture/pkg/event_processor/iworker.go:122 +0xc0
ecapture/pkg/event_processor.NewEventWorker.func1(0x40000a4140)
	/home/ubuntu/ecapture/pkg/event_processor/iworker.go:41 +0x28
created by ecapture/pkg/event_processor.NewEventWorker
	/home/ubuntu/ecapture/pkg/event_processor/iworker.go:40 +0x11c

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