2023-09-02 12:17:06-------------------------------- panic: runtime error: index out of range [0] with length 0 goroutine 101 [running]: m7s.live/plugin/gb28181/v4.(*GB28181Config).OnEvent(0x3b53c20, {0x2177be0?, 0xc00127c4e0?}) D:/workspace/go/pkg/mod/m7s.live/plugin/gb28181/v4@v4.3.9/main.go:83 +0x61d m7s.live/engine/v4.(*Plugin).run(0xc0002fe7e0) D:/workspace/go/pkg/mod/m7s.live/engine/v4@v4.13.8/plugin.go:170 +0x13b m7s.live/engine/v4.(*Plugin).assign(0xc0002fe7e0) D:/workspace/go/pkg/mod/m7s.live/engine/v4@v4.13.8/plugin.go:154 +0x4db m7s.live/engine/v4.Run({0x2c43a38?, 0xc000044050}, {0x23cd9d6, 0xa}) D:/workspace/go/pkg/mod/m7s.live/engine/v4@v4.13.8/main.go:135 +0x1197 created by main.glob..func2 D:/workspace/go/project/PandaX/PandaX/main.go:81 +0x2e5 2023-09-02 12:19:16-------------------------------- 2023-09-04 11:15:17-------------------------------- 2023-09-05 08:33:55-------------------------------- 2023-09-05 08:34:49-------------------------------- 2023-09-05 08:35:41-------------------------------- panic: (*logrus.Entry) 0xc0005604d0 goroutine 1 [running]: github.com/sirupsen/logrus.(*Entry).log(0xc0005602a0, 0x0, {0xc0003e41c0, 0x69}) D:/workspace/go/pkg/mod/github.com/sirupsen/logrus@v1.9.0/entry.go:260 +0x4a7 github.com/sirupsen/logrus.(*Entry).Log(0xc0005602a0, 0x0, {0xc000725a80?, 0x1?, 0x1?}) D:/workspace/go/pkg/mod/github.com/sirupsen/logrus@v1.9.0/entry.go:304 +0x4f github.com/sirupsen/logrus.(*Entry).Logf(0xc0005602a0, 0x0, {0x1a02c73?, 0xc000725ae0?}, {0xc000725b70?, 0x10?, 0x16c1fa0?}) D:/workspace/go/pkg/mod/github.com/sirupsen/logrus@v1.9.0/entry.go:349 +0x85 github.com/sirupsen/logrus.(*Logger).Logf(0xc000134800, 0x0, {0x1a02c73, 0x17}, {0xc000725b70, 0x1, 0x1}) D:/workspace/go/pkg/mod/github.com/sirupsen/logrus@v1.9.0/logger.go:154 +0x85 github.com/sirupsen/logrus.(*Logger).Panicf(...) D:/workspace/go/pkg/mod/github.com/sirupsen/logrus@v1.9.0/logger.go:195 github.com/PandaXGO/PandaKit/starter.(*DbGorm).GormMysql(0xc000725cd0) D:/workspace/go/pkg/mod/github.com/!panda!x!g!o/!panda!kit@v0.0.0-20230901074047-e0e8e4bf2bed/starter/gorm.go:48 +0x279 github.com/PandaXGO/PandaKit/starter.(*DbGorm).GormInit(0xc000705420?) D:/workspace/go/pkg/mod/github.com/!panda!x!g!o/!panda!kit@v0.0.0-20230901074047-e0e8e4bf2bed/starter/gorm.go:28 +0x39 main.glob..func1(0x312cf80?, {0x19b20c5?, 0x0?, 0x0?}) D:/workspace/go/project/PandaX/PandaX/main.go:45 +0x2de github.com/spf13/cobra.(*Command).execute(0x312cf80, {0xc000078240, 0x0, 0x0}) D:/workspace/go/pkg/mod/github.com/spf13/cobra@v1.5.0/command.go:861 +0x5e3 github.com/spf13/cobra.(*Command).ExecuteC(0x312cf80) D:/workspace/go/pkg/mod/github.com/spf13/cobra@v1.5.0/command.go:990 +0x3bd github.com/spf13/cobra.(*Command).Execute(...) D:/workspace/go/pkg/mod/github.com/spf13/cobra@v1.5.0/command.go:918 main.main() D:/workspace/go/project/PandaX/PandaX/main.go:106 +0x25 2023-09-05 08:36:19-------------------------------- panic: (*logrus.Entry) 0xc0004ac930 goroutine 1 [running]: github.com/sirupsen/logrus.(*Entry).log(0xc0004ac620, 0x0, {0xc0004a4a98, 0x11}) D:/workspace/go/pkg/mod/github.com/sirupsen/logrus@v1.9.0/entry.go:260 +0x4a7 github.com/sirupsen/logrus.(*Entry).Log(0xc0004ac620, 0x0, {0xc000e37ca0?, 0xc0002e22f0?, 0x17c1660?}) D:/workspace/go/pkg/mod/github.com/sirupsen/logrus@v1.9.0/entry.go:304 +0x4f github.com/sirupsen/logrus.(*Logger).Log(0xc0001a8780, 0x0, {0xc000e37ca0, 0x1, 0x1}) D:/workspace/go/pkg/mod/github.com/sirupsen/logrus@v1.9.0/logger.go:204 +0x65 github.com/sirupsen/logrus.(*Logger).Panic(...) D:/workspace/go/pkg/mod/github.com/sirupsen/logrus@v1.9.0/logger.go:253 main.glob..func1(0x322cf80?, {0x1ab20c5?, 0x0?, 0x0?}) D:/workspace/go/project/PandaX/PandaX/main.go:49 +0x3e5 github.com/spf13/cobra.(*Command).execute(0x322cf80, {0xc000078240, 0x0, 0x0}) D:/workspace/go/pkg/mod/github.com/spf13/cobra@v1.5.0/command.go:861 +0x5e3 github.com/spf13/cobra.(*Command).ExecuteC(0x322cf80) D:/workspace/go/pkg/mod/github.com/spf13/cobra@v1.5.0/command.go:990 +0x3bd github.com/spf13/cobra.(*Command).Execute(...) D:/workspace/go/pkg/mod/github.com/spf13/cobra@v1.5.0/command.go:918 main.main() D:/workspace/go/project/PandaX/PandaX/main.go:106 +0x25 2023-09-05 08:38:22-------------------------------- 2023-09-05 08:47:20-------------------------------- 2023-09-06 14:30:10-------------------------------- 2023-09-06 14:56:27-------------------------------- 2023-09-06 15:18:30-------------------------------- 2023-09-06 15:38:46-------------------------------- 2023-09-06 15:46:36-------------------------------- 2023-09-06 16:01:19-------------------------------- 2023-09-06 16:04:52-------------------------------- 2023-09-08 15:31:06-------------------------------- 2023-09-08 17:25:24-------------------------------- 2023-09-08 17:26:01-------------------------------- 2023-09-08 17:30:49-------------------------------- 2023-09-13 08:48:08-------------------------------- 2023-09-13 08:52:52-------------------------------- 2023-09-13 09:04:51-------------------------------- 2023-09-13 09:10:21-------------------------------- 2023-09-13 08:48:08-------------------------------- 2023-09-13 08:52:52-------------------------------- 2023-09-13 09:04:51-------------------------------- 2023-09-13 09:10:21-------------------------------- 2023-09-13 09:14:56-------------------------------- 2023-09-13 08:48:08-------------------------------- 2023-09-13 08:52:52-------------------------------- 2023-09-13 09:04:51-------------------------------- 2023-09-13 09:10:21-------------------------------- 2023-09-13 08:48:08-------------------------------- 2023-09-13 08:52:52-------------------------------- 2023-09-13 09:04:51-------------------------------- 2023-09-13 09:10:21-------------------------------- 2023-09-13 09:14:56-------------------------------- 2023-09-13 17:17:59-------------------------------- panic: runtime error: invalid memory address or nil pointer dereference [signal 0xc0000005 code=0x0 addr=0x10 pc=0x1dc3346] goroutine 187 [running]: pandax/iothub.(*HookService).handleOne.func1() D:/workspace/go/project/PandaX/PandaX/iothub/hook_message_work.go:49 +0x266 created by pandax/iothub.(*HookService).handleOne D:/workspace/go/project/PandaX/PandaX/iothub/hook_message_work.go:33 +0xa5 2023-09-13 17:21:46-------------------------------- 2023-09-13 17:23:20-------------------------------- 2023-09-13 17:25:58-------------------------------- 2023-09-13 17:27:25-------------------------------- 2023-09-13 17:28:07-------------------------------- 2023-09-13 17:28:58-------------------------------- 2023-09-13 17:30:52-------------------------------- panic: interface conversion: interface {} is nil, not []interface {} goroutine 138 [running]: pandax/pkg/rule_engine/manifest.New({0xc0012ae010, 0x4, 0x8}) D:/workspace/go/project/PandaX/PandaX/pkg/rule_engine/manifest/manifest.go:35 +0xa95 pandax/pkg/rule_engine.NewRuleChainInstance({0xc0012ae010, 0x4, 0x8}) D:/workspace/go/project/PandaX/PandaX/pkg/rule_engine/instance.go:19 +0x67 pandax/iothub.(*HookService).handleOne.func1() D:/workspace/go/project/PandaX/PandaX/iothub/hook_message_work.go:57 +0x2fe created by pandax/iothub.(*HookService).handleOne D:/workspace/go/project/PandaX/PandaX/iothub/hook_message_work.go:34 +0xa5 2023-09-13 17:33:28-------------------------------- 2023-09-13 17:35:28-------------------------------- 2023-09-13 17:41:15-------------------------------- panic: interface conversion: interface {} is nil, not string goroutine 147 [running]: pandax/pkg/rule_engine/nodes.(*createAlarmNode).Handle(0xc0003a6ee0, 0xc001083560) D:/workspace/go/project/PandaX/PandaX/pkg/rule_engine/nodes/action_create_alarm_node.go:39 +0x71b pandax/pkg/rule_engine/nodes.(*scriptFilterNode).Handle(0xc0010834a0, 0xc001083560) D:/workspace/go/project/PandaX/PandaX/pkg/rule_engine/nodes/filter_script_node.go:35 +0x2cb pandax/pkg/rule_engine/nodes.(*saveTimeSeriesNode).Handle(0xc0010af8b0, 0xc001083560) D:/workspace/go/project/PandaX/PandaX/pkg/rule_engine/nodes/action_save_timeseries_node.go:49 +0x319 pandax/pkg/rule_engine/nodes.(*messageTypeSwitchNode).Handle(0xc0010af950, 0xc001083560) D:/workspace/go/project/PandaX/PandaX/pkg/rule_engine/nodes/filter_message_type_switch_node.go:42 +0x256 pandax/pkg/rule_engine/nodes.(*inputNode).Handle(0xc0010af7c0, 0xc001083560) D:/workspace/go/project/PandaX/PandaX/pkg/rule_engine/nodes/input_node.go:31 +0x112 pandax/pkg/rule_engine.(*ruleChainInstance).StartRuleChain(...) D:/workspace/go/project/PandaX/PandaX/pkg/rule_engine/instance.go:46 pandax/iothub.(*HookService).handleOne.func1() D:/workspace/go/project/PandaX/PandaX/iothub/hook_message_work.go:63 +0x3f5 created by pandax/iothub.(*HookService).handleOne D:/workspace/go/project/PandaX/PandaX/iothub/hook_message_work.go:34 +0xa5 2023-09-13 17:43:55-------------------------------- panic: interface conversion: interface {} is nil, not string goroutine 160 [running]: pandax/pkg/rule_engine/nodes.(*createAlarmNode).Handle(0xc0003e0a80, 0xc0011e4240) D:/workspace/go/project/PandaX/PandaX/pkg/rule_engine/nodes/action_create_alarm_node.go:39 +0x71b pandax/pkg/rule_engine/nodes.(*scriptFilterNode).Handle(0xc0011e4180, 0xc0011e4240) D:/workspace/go/project/PandaX/PandaX/pkg/rule_engine/nodes/filter_script_node.go:35 +0x2cb pandax/pkg/rule_engine/nodes.(*saveTimeSeriesNode).Handle(0xc00067b630, 0xc0011e4240) D:/workspace/go/project/PandaX/PandaX/pkg/rule_engine/nodes/action_save_timeseries_node.go:49 +0x319 pandax/pkg/rule_engine/nodes.(*messageTypeSwitchNode).Handle(0xc00067b6d0, 0xc0011e4240) D:/workspace/go/project/PandaX/PandaX/pkg/rule_engine/nodes/filter_message_type_switch_node.go:42 +0x256 pandax/pkg/rule_engine/nodes.(*inputNode).Handle(0xc00067b540, 0xc0011e4240) D:/workspace/go/project/PandaX/PandaX/pkg/rule_engine/nodes/input_node.go:31 +0x112 pandax/pkg/rule_engine.(*ruleChainInstance).StartRuleChain(...) D:/workspace/go/project/PandaX/PandaX/pkg/rule_engine/instance.go:46 pandax/iothub.(*HookService).handleOne.func1() D:/workspace/go/project/PandaX/PandaX/iothub/hook_message_work.go:61 +0x37f created by pandax/iothub.(*HookService).handleOne D:/workspace/go/project/PandaX/PandaX/iothub/hook_message_work.go:33 +0xa5 2023-09-14 08:57:51-------------------------------- 2023-09-14 10:48:04-------------------------------- 2023-09-14 11:22:33-------------------------------- 2023-09-14 11:25:57-------------------------------- 2023-09-14 11:29:25-------------------------------- 2023-09-14 11:32:45-------------------------------- 2023-09-14 14:01:33-------------------------------- 2023-09-14 15:15:13-------------------------------- 2023-09-14 15:43:21-------------------------------- 2023-09-14 15:43:53-------------------------------- 2023-09-14 15:45:44-------------------------------- 2023-09-14 15:48:55-------------------------------- 2023-09-14 15:51:40-------------------------------- 2023-09-14 15:52:32-------------------------------- 2023-09-14 16:06:33-------------------------------- 2023-09-14 16:13:58-------------------------------- 2023-09-14 16:16:13-------------------------------- 2023-09-14 16:21:06-------------------------------- 2023-09-14 16:45:25-------------------------------- 2023-09-14 17:03:46-------------------------------- 2023-09-14 17:16:48-------------------------------- 2023-09-14 17:22:08-------------------------------- 2023-09-15 08:46:35-------------------------------- 2023-09-15 08:47:33-------------------------------- 2023-09-15 08:49:55-------------------------------- 2023-09-15 08:51:36-------------------------------- 2023-09-15 08:57:24-------------------------------- 2023-09-15 08:59:11-------------------------------- 2023-09-15 09:00:14-------------------------------- 2023-09-15 09:02:06-------------------------------- 2023-09-15 09:04:31-------------------------------- 2023-09-15 09:06:29-------------------------------- 2023-09-15 09:09:13-------------------------------- 2023-09-15 09:11:32-------------------------------- 2023-09-15 09:13:46-------------------------------- 2023-09-15 09:14:22-------------------------------- 2023-09-15 09:41:31-------------------------------- 2023-09-15 09:43:12-------------------------------- 2023-09-15 09:43:57-------------------------------- 2023-09-15 09:46:00-------------------------------- 2023-09-15 09:46:49-------------------------------- 2023-09-15 09:47:19-------------------------------- 2023-09-15 10:38:48-------------------------------- 2023-09-15 14:45:53-------------------------------- 2023-09-15 14:52:47-------------------------------- 2023-09-16 10:02:42-------------------------------- 2023-09-19 10:13:20-------------------------------- panic: (*logrus.Entry) 0xc0002540e0 goroutine 1 [running]: github.com/sirupsen/logrus.(*Entry).log(0xc000254000, 0x0, {0xc0005320e0, 0x6d}) D:/workspace/go/pkg/mod/github.com/sirupsen/logrus@v1.9.0/entry.go:260 +0x4a7 github.com/sirupsen/logrus.(*Entry).Log(0xc000254000, 0x0, {0xc0004c6ba0?, 0x0?, 0x1a59720?}) D:/workspace/go/pkg/mod/github.com/sirupsen/logrus@v1.9.0/entry.go:304 +0x4f github.com/sirupsen/logrus.(*Logger).Log(0xc000438780, 0x0, {0xc0004c6ba0, 0x1, 0x1}) D:/workspace/go/pkg/mod/github.com/sirupsen/logrus@v1.9.0/logger.go:204 +0x65 github.com/sirupsen/logrus.(*Logger).Panic(...) D:/workspace/go/pkg/mod/github.com/sirupsen/logrus@v1.9.0/logger.go:253 pandax/pkg/initialize.InitTable() D:/workspace/go/project/PandaX/PandaX/pkg/initialize/table.go:43 +0x831 main.glob..func1(0x34ca040?, {0x1d4ab4d?, 0x0?, 0x0?}) D:/workspace/go/project/PandaX/PandaX/main.go:61 +0x538 github.com/spf13/cobra.(*Command).execute(0x34ca040, {0xc000078240, 0x0, 0x0}) D:/workspace/go/pkg/mod/github.com/spf13/cobra@v1.5.0/command.go:861 +0x5e3 github.com/spf13/cobra.(*Command).ExecuteC(0x34ca040) D:/workspace/go/pkg/mod/github.com/spf13/cobra@v1.5.0/command.go:990 +0x3bd github.com/spf13/cobra.(*Command).Execute(...) D:/workspace/go/pkg/mod/github.com/spf13/cobra@v1.5.0/command.go:918 main.main() D:/workspace/go/project/PandaX/PandaX/main.go:106 +0x25 2023-09-19 10:14:35-------------------------------- panic: (*logrus.Entry) 0xc000460690 goroutine 1 [running]: github.com/sirupsen/logrus.(*Entry).log(0xc000460230, 0x0, {0xc000532000, 0x6d}) D:/workspace/go/pkg/mod/github.com/sirupsen/logrus@v1.9.0/entry.go:260 +0x4a7 github.com/sirupsen/logrus.(*Entry).Log(0xc000460230, 0x0, {0xc00051cba0?, 0x0?, 0x1459720?}) D:/workspace/go/pkg/mod/github.com/sirupsen/logrus@v1.9.0/entry.go:304 +0x4f github.com/sirupsen/logrus.(*Logger).Log(0xc000134880, 0x0, {0xc00051cba0, 0x1, 0x1}) D:/workspace/go/pkg/mod/github.com/sirupsen/logrus@v1.9.0/logger.go:204 +0x65 github.com/sirupsen/logrus.(*Logger).Panic(...) D:/workspace/go/pkg/mod/github.com/sirupsen/logrus@v1.9.0/logger.go:253 pandax/pkg/initialize.InitTable() D:/workspace/go/project/PandaX/PandaX/pkg/initialize/table.go:43 +0x831 main.glob..func1(0x2eca040?, {0x174ab4d?, 0x0?, 0x0?}) D:/workspace/go/project/PandaX/PandaX/main.go:61 +0x538 github.com/spf13/cobra.(*Command).execute(0x2eca040, {0xc000078240, 0x0, 0x0}) D:/workspace/go/pkg/mod/github.com/spf13/cobra@v1.5.0/command.go:861 +0x5e3 github.com/spf13/cobra.(*Command).ExecuteC(0x2eca040) D:/workspace/go/pkg/mod/github.com/spf13/cobra@v1.5.0/command.go:990 +0x3bd github.com/spf13/cobra.(*Command).Execute(...) D:/workspace/go/pkg/mod/github.com/spf13/cobra@v1.5.0/command.go:918 main.main() D:/workspace/go/project/PandaX/PandaX/main.go:106 +0x25