panic: runtime error: slice bounds out of range [:-1] #22
wpetit
commented 2023-12-05 21:21:40 +01:00
Owner
```
Tue Dec 5 20:09:43 2023 daemon.err emissary[6720]: panic: runtime error: slice bounds out of range [:-1]
Tue Dec 5 20:09:43 2023 daemon.err emissary[6720]:
Tue Dec 5 20:09:43 2023 daemon.err emissary[6720]: goroutine 95 [running]:
Tue Dec 5 20:09:43 2023 daemon.err emissary[6720]: github.com/dop251/goja.(*vm).popTryFrame(0x400012efc0?)
Tue Dec 5 20:09:43 2023 daemon.err emissary[6720]: /root/go/pkg/mod/github.com/dop251/goja@v0.0.0-20230304130813-e2f543bf4b4c/vm.go:721 +0x40
Tue Dec 5 20:09:43 2023 daemon.err emissary[6720]: github.com/dop251/goja.(*vm).try(0x400012efc0, 0x401133fb80)
Tue Dec 5 20:09:43 2023 daemon.err emissary[6720]: /root/go/pkg/mod/github.com/dop251/goja@v0.0.0-20230304130813-e2f543bf4b4c/vm.go:812 +0x204
Tue Dec 5 20:09:43 2023 daemon.err emissary[6720]: github.com/dop251/goja.(*Runtime).tryPanic(...)
Tue Dec 5 20:09:43 2023 daemon.err emissary[6720]: /root/go/pkg/mod/github.com/dop251/goja@v0.0.0-20230304130813-e2f543bf4b4c/runtime.go:2596
Tue Dec 5 20:09:43 2023 daemon.err emissary[6720]: github.com/dop251/goja.(*Object).Export(0x401133fc60?)
Tue Dec 5 20:09:43 2023 daemon.err emissary[6720]: /root/go/pkg/mod/github.com/dop251/goja@v0.0.0-20230304130813-e2f543bf4b4c/value.go:777 +0x4c
Tue Dec 5 20:09:43 2023 daemon.err emissary[6720]: forge.cadoles.com/arcad/edge/pkg/app.(*Server).Exec(0x40002a21c0, {0x1187a90?, 0x4015071aa0}, {0xc6be40?, 0x4006a2ccd8}, {0x400651c9e0, 0x2, 0x2})
Tue Dec 5 20:09:43 2023 daemon.err emissary[6720]: /root/go/pkg/mod/forge.cadoles.com/arcad/edge@v0.0.0-20231205131822-753a6c9708c6/pkg/app/server.go:138 +0x2bc
Tue Dec 5 20:09:43 2023 daemon.err emissary[6720]: forge.cadoles.com/arcad/edge/pkg/module/rpc.(*Module).handleRequest(0x40002a2d00, {0x1183480, 0x400651c960})
Tue Dec 5 20:09:43 2023 daemon.err emissary[6720]: /root/go/pkg/mod/forge.cadoles.com/arcad/edge@v0.0.0-20231205131822-753a6c9708c6/pkg/module/rpc/module.go:115 +0x1a4
Tue Dec 5 20:09:43 2023 daemon.err emissary[6720]: forge.cadoles.com/arcad/edge/pkg/bus/memory.(*Bus).Reply.func2()
Tue Dec 5 20:09:43 2023 daemon.err emissary[6720]: /root/go/pkg/mod/forge.cadoles.com/arcad/edge@v0.0.0-20231205131822-753a6c9708c6/pkg/bus/memory/request_reply.go:153 +0x21c
Tue Dec 5 20:09:43 2023 daemon.err emissary[6720]: created by forge.cadoles.com/arcad/edge/pkg/bus/memory.(*Bus).Reply in goroutine 87
Tue Dec 5 20:09:43 2023 daemon.err emissary[6720]: /root/go/pkg/mod/forge.cadoles.com/arcad/edge@v0.0.0-20231205131822-753a6c9708c6/pkg/bus/memory/request_reply.go:128 +0x1d
```
wpetit
added the 2023-12-05 21:21:40 +01:00
Type = Anomalie
label
wpetit
referenced this issue from a commit 2023-12-05 21:28:28 +01:00
fix: do not use goja.Value outside of loop
wpetit
closed this issue 2024-01-11 12:50:09 +01:00
Labels
No Label
Cat = Documentation
Cycle = A Livrer DEV
Cycle = A Livrer PREPROD
Cycle = Backlog
Cycle = En Cours
Cycle = En Revue
Cycle = Livré DEV
Cycle = Livré PREPROD
Cycle = Retour DEV
Equipe = DEV
Equipe = SYS
Priorité = 01 - Haute
Priorité = 02 - Moyenne
Priorité = 03 - Basse
Statut = Bloqué
Statut = En Attente
Statut = En Rédaction
Type = ADR
Type = Anomalie
Type = CCTP
Type = Epic
Type = Question
Type = Scénario
Type = Tâche
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: arcad/edge#22
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?