ANO: panic: close of closed channel #9

Closed
opened 2023-10-19 15:41:50 +02:00 by cmsassot · 1 comment
Owner
panic: close of closed channel

goroutine 3944 [running]:
forge.cadoles.com/arcad/edge/pkg/bus/memory.(*eventDispatcher).close(...)
	/workspace/arcad_edge_master/pkg/bus/memory/event_dispatcher.go:87
forge.cadoles.com/arcad/edge/pkg/bus/memory.(*eventDispatcherSet).Remove(0xc000aadc60, 0xc001144e70)
	/workspace/arcad_edge_master/pkg/bus/memory/event_dispatcher.go:29 +0x8d
forge.cadoles.com/arcad/edge/pkg/bus/memory.(*Bus).Publish(0xef8460?, {0x1397328, 0xc0011c8630}, {0x138ef00?, 0xc000015ac0})
	/workspace/arcad_edge_master/pkg/bus/memory/bus.go:56 +0x1b8
forge.cadoles.com/arcad/edge/pkg/module.(*RPCModule).sendResponse(0xc000120200, {0x1397328?, 0xc0011c8630}, 0xc000c4aa20)
	/workspace/arcad_edge_master/pkg/module/rpc.go:236 +0x23c
forge.cadoles.com/arcad/edge/pkg/module.(*RPCModule).handleMessages.func2({0x1397328, 0xc0011c8630}, 0xc00156ee10, {0x139ea58?, 0xc000c4a9c0?})
	/workspace/arcad_edge_master/pkg/module/rpc.go:115 +0x15e
forge.cadoles.com/arcad/edge/pkg/module.(*RPCModule).handleMessage(0xc000120200, {0x13972b8, 0xc0000380d8}, {0x138eee0?, 0xc001054480?}, 0xc000b8c4d0)
	/workspace/arcad_edge_master/pkg/module/rpc.go:202 +0x98c
created by forge.cadoles.com/arcad/edge/pkg/module.(*RPCModule).hand
``` panic: close of closed channel goroutine 3944 [running]: forge.cadoles.com/arcad/edge/pkg/bus/memory.(*eventDispatcher).close(...) /workspace/arcad_edge_master/pkg/bus/memory/event_dispatcher.go:87 forge.cadoles.com/arcad/edge/pkg/bus/memory.(*eventDispatcherSet).Remove(0xc000aadc60, 0xc001144e70) /workspace/arcad_edge_master/pkg/bus/memory/event_dispatcher.go:29 +0x8d forge.cadoles.com/arcad/edge/pkg/bus/memory.(*Bus).Publish(0xef8460?, {0x1397328, 0xc0011c8630}, {0x138ef00?, 0xc000015ac0}) /workspace/arcad_edge_master/pkg/bus/memory/bus.go:56 +0x1b8 forge.cadoles.com/arcad/edge/pkg/module.(*RPCModule).sendResponse(0xc000120200, {0x1397328?, 0xc0011c8630}, 0xc000c4aa20) /workspace/arcad_edge_master/pkg/module/rpc.go:236 +0x23c forge.cadoles.com/arcad/edge/pkg/module.(*RPCModule).handleMessages.func2({0x1397328, 0xc0011c8630}, 0xc00156ee10, {0x139ea58?, 0xc000c4a9c0?}) /workspace/arcad_edge_master/pkg/module/rpc.go:115 +0x15e forge.cadoles.com/arcad/edge/pkg/module.(*RPCModule).handleMessage(0xc000120200, {0x13972b8, 0xc0000380d8}, {0x138eee0?, 0xc001054480?}, 0xc000b8c4d0) /workspace/arcad_edge_master/pkg/module/rpc.go:202 +0x98c created by forge.cadoles.com/arcad/edge/pkg/module.(*RPCModule).hand ```
cmsassot added the
Type = Anomalie
label 2023-10-19 15:41:50 +02:00
Owner

Corrigé via de4ab0d02c

Corrigé via https://forge.cadoles.com/arcad/edge/commit/de4ab0d02cc1bb4e8f158f59f890ce19f2daf94e
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: arcad/edge#9
No description provided.