Skip to content

icmpecho.reply4: index out of range [0] with length 0 #213

@hussainmohd-a

Description

@hussainmohd-a
Token: fdroid
icmpecho.reply4 [11] runtime error: index out of range [0] with length 0 [gobind@v20260112110838-e5bc08c]
 (#0)
<===>
goroutine 520 [running]:
github.com/celzero/firestack/intra/log.(*simpleLogger).Stack(0x4000194008, 0x0?, {0x40002a42a0?, 0x7d1fb80938?}, {0x4000888000, 0x80000, 0x80000})
	github.com/celzero/firestack@v0.0.0-00010101000000-000000000000/intra/log/logger.go:483 +0x15c
github.com/celzero/firestack/intra/log.C({0x40002a42a0, 0x6a}, {0x4000888000, 0x80000, 0x80000})
	github.com/celzero/firestack@v0.0.0-00010101000000-000000000000/intra/log/log.go:163 +0x8c
github.com/celzero/firestack/intra/core.applog(0x7d1f6bfc01?, {0x40002a42a0, 0x6a})
	github.com/celzero/firestack@v0.0.0-00010101000000-000000000000/intra/core/dontpanic.go:157 +0x188
github.com/celzero/firestack/intra/core.Recover(0xb, {0x7d1ff7e760, 0x40003144f0})
	github.com/celzero/firestack@v0.0.0-00010101000000-000000000000/intra/core/dontpanic.go:130 +0x128
panic({0x7d2006b3a0?, 0x40007023c0?})
	runtime/panic.go:783 +0x120
gvisor.dev/gvisor/pkg/tcpip/header.ICMPv4.Type(...)
	gvisor.dev/gvisor@v0.0.0-20250816201027-ba3b9ca85f20/pkg/tcpip/header/icmpv4.go:131
github.com/celzero/firestack/intra/netstack.(*icmpForwarder).reply4(0x40000e9380, {0x0, {{0x68, 0x10, 0x85, 0xe5, 0x0, 0x0, 0x0, 0x0, ...}, ...}, ...}, ...)
	github.com/celzero/firestack@v0.0.0-00010101000000-000000000000/intra/netstack/icmp.go:75 +0x994
github.com/celzero/firestack/intra/netstack.(*icmpResponder).forward.func1()
	github.com/celzero/firestack@v0.0.0-00010101000000-000000000000/intra/netstack/icmpecho.go:179 +0x44
github.com/celzero/firestack/intra/core.Gx.func1()
	github.com/celzero/firestack@v0.0.0-00010101000000-000000000000/intra/core/async.go:64 +0x84
created by github.com/celzero/firestack/intra/core.Gx in goroutine 98
	github.com/celzero/firestack@v0.0.0-00010101000000-000000000000/intra/core/async.go:60 +0x78

goroutine 17 [syscall, locked to thread]:
runtime.goexit({})
	runtime/asm_arm64.s:1268 +0x4

goroutine 34 [syscall, locked to thread]:
runtime.goexit({})
	runtime/asm_arm64.s:1268 +0x4

goroutine 22 [runnable]:
sync.(*RWMutex).Unlock(0x4000116360)
	sync/rwmutex.go:201 +0x110
github.com/celzero/firestack/intra/log.(*ring[...]).process(0x0)
	github.com/celzero/firestack@v0.0.0-00010101000000-000000000000/intra/log/ring.go:68 +0x84
created by github.com/celzero/firestack/intra/log.newRing[...] in goroutine 1
	github.com/celzero/firestack@v0.0.0-00010101000000-000000000000/intra/log/ring.go:31 +0x108

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