Git Product home page Git Product logo

neo-server's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

neo-server's Issues

특정쿼리 입력시 Machbase-neo 다운 되는현상

특정회사에서 다음과 같은 Query를 Restful api로 입력시 machbase-neo가 강제종료되는 문제가 있습니다.

Query

select to_date(time,'YYYY-MM-DD HH24:MI:SS') FROM EXAMPLE;

machsql 실행 내용

Mach> select to_date(time,'YYYY-MM-DD HH24:MI:SS') FROM EXAMPLE;
to_date(time,'YYYY-MM-DD HH24:MI:SS')
----------------------------------------
[ERR-02037: Function [TO_DATE] argument data type is mismatched.]
[0] row(s) selected.
Elapsed time: 0.001

machbase-neo 내용

runtime stack:
runtime.throw({0x12f7424?, 0x7f4196800040?})
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/panic.go:1047 +0x5d fp=0x7f41ea9fd520 sp=0x7f41ea9fd4f0 pc=0x4924dd
runtime.sigpanic()
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/signal_unix.go:819 +0x369 fp=0x7f41ea9fd570 sp=0x7f41ea9fd520 pc=0x4a8489

goroutine 58 [syscall]:
runtime.cgocall(0xd6fa90, 0xc000707400)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/cgocall.go:158 +0x5c fp=0xc0007073d8 sp=0xc0007073a0 pc=0x45e5fc
github.com/machbase/neo-engine._Cfunc_MachFreeStmt(0x7f41e6011d40, 0x7f41e9a06510)
        _cgo_gotypes.go:682 +0x4c fp=0xc000707400 sp=0xc0007073d8 pc=0xb9974c
github.com/machbase/neo-engine.machFreeStmt.func1(0x7f41eafb4478?, 0xc0005a0500?)
        /home/ubuntu/actions-runner/_work/neo-server/neo-server/vendor/github.com/machbase/neo-engine/mach_native.go:158 +0x65 fp=0xc000707440 sp=0xc000707400 pc=0xb9e745
github.com/machbase/neo-engine.machFreeStmt(0x11667a0?, 0xc00049a250?)
        /home/ubuntu/actions-runner/_work/neo-server/neo-server/vendor/github.com/machbase/neo-engine/mach_native.go:158 +0x25 fp=0xc000707498 sp=0xc000707440 pc=0xb9e645
github.com/machbase/neo-engine.(*Rows).Close(0xc0005aa3c0)
        /home/ubuntu/actions-runner/_work/neo-server/neo-server/vendor/github.com/machbase/neo-engine/mach_rows.go:165 +0x35 fp=0xc0007074b8 sp=0xc000707498 pc=0xb95335
github.com/machbase/neo-shell/do.Query.func1()
        /home/ubuntu/actions-runner/_work/neo-server/neo-server/vendor/github.com/machbase/neo-shell/do/query.go:21 +0x2b fp=0xc0007074d0 sp=0xc0007074b8 pc=0xa787ab
github.com/machbase/neo-shell/do.Query(0xc0007076d0, {0xc0003d1000?, 0x2?}, {0x0?, 0x203000?, 0xc00070a120?})
        /home/ubuntu/actions-runner/_work/neo-server/neo-server/vendor/github.com/machbase/neo-shell/do/query.go:59 +0x4af fp=0xc0007075c0 sp=0xc0007074d0 pc=0xa786cf
github.com/machbase/neo-shell/server/httpsvr.(*Server).handleQuery(0xc0004ce2c0, 0xc0005a0500)
        /home/ubuntu/actions-runner/_work/neo-server/neo-server/vendor/github.com/machbase/neo-shell/server/httpsvr/h_query.go:117 +0xf34 fp=0xc000707738 sp=0xc0007075c0 pc=0xd1d6f4
github.com/machbase/neo-shell/server/httpsvr.(*Server).handleQuery-fm(0xc0005a0500?)
        <autogenerated>:1 +0x2c fp=0xc000707758 sp=0xc000707738 pc=0xd2096c
github.com/gin-gonic/gin.(*Context).Next(...)
        /home/ubuntu/actions-runner/_work/neo-server/neo-server/vendor/github.com/gin-gonic/gin/context.go:173
github.com/machbase/neo-shell/server/ginutil.logger.func1(0xc0005a0500)
        /home/ubuntu/actions-runner/_work/neo-server/neo-server/vendor/github.com/machbase/neo-shell/server/ginutil/logging.go:90 +0x149 fp=0xc0007078b0 sp=0xc000707758 pc=0xce6909
github.com/gin-gonic/gin.(*Context).Next(...)
        /home/ubuntu/actions-runner/_work/neo-server/neo-server/vendor/github.com/gin-gonic/gin/context.go:173
github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1(0xc0005a0500)
        /home/ubuntu/actions-runner/_work/neo-server/neo-server/vendor/github.com/gin-gonic/gin/recovery.go:101 +0x82 fp=0xc000707900 sp=0xc0007078b0 pc=0xcbe6c2
github.com/gin-gonic/gin.(*Context).Next(...)
        /home/ubuntu/actions-runner/_work/neo-server/neo-server/vendor/github.com/gin-gonic/gin/context.go:173
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest(0xc000480ea0, 0xc0005a0500)
        /home/ubuntu/actions-runner/_work/neo-server/neo-server/vendor/github.com/gin-gonic/gin/gin.go:616 +0x671 fp=0xc000707a88 sp=0xc000707900 pc=0xcbd5d1
github.com/gin-gonic/gin.(*Engine).ServeHTTP(0xc000480ea0, {0x1465760?, 0xc0006e4460}, 0xc0005a0400)
        /home/ubuntu/actions-runner/_work/neo-server/neo-server/vendor/github.com/gin-gonic/gin/gin.go:572 +0x1dd fp=0xc000707ac8 sp=0xc000707a88 pc=0xcbcd7d
net/http.serverHandler.ServeHTTP({0xc000183800?}, {0x1465760, 0xc0006e4460}, 0xc0005a0400)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/net/http/server.go:2947 +0x30c fp=0xc000707b78 sp=0xc000707ac8 pc=0x8717cc
net/http.(*conn).serve(0xc0004920a0, {0x1466620, 0xc00059f2f0})
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/net/http/server.go:1991 +0x607 fp=0xc000707fb8 sp=0xc000707b78 pc=0x86c9e7
net/http.(*Server).Serve.func3()
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/net/http/server.go:3102 +0x2e fp=0xc000707fe0 sp=0xc000707fb8 pc=0x87210e
runtime.goexit()
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000707fe8 sp=0xc000707fe0 pc=0x4c3c81
created by net/http.(*Server).Serve
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/net/http/server.go:3102 +0x4db

goroutine 1 [chan receive]:
runtime.gopark(0xc00041fd38?, 0xc00041fd90?, 0x73?, 0x28?, 0xc00041fd90?)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/proc.go:363 +0xd6 fp=0xc00041fd60 sp=0xc00041fd40 pc=0x4950f6
runtime.chanrecv(0xc0000a4660, 0x0, 0x1)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/chan.go:583 +0x49b fp=0xc00041fdf0 sp=0xc00041fd60 pc=0x4615fb
runtime.chanrecv1(0xc0000a4660?, 0xc00041fe38?)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/chan.go:442 +0x18 fp=0xc00041fe18 sp=0xc00041fdf0 pc=0x4610f8
github.com/machbase/booter.(*boot).WaitSignal(0xc0006cafc0)
        /home/ubuntu/actions-runner/_work/neo-server/neo-server/vendor/github.com/machbase/booter/boot.go:143 +0xcd fp=0xc00041fe78 sp=0xc00041fe18 pc=0xb8484d
github.com/machbase/booter.WaitSignal(...)
        /home/ubuntu/actions-runner/_work/neo-server/neo-server/vendor/github.com/machbase/booter/default_svr.go:135
main.doServe()
        /home/ubuntu/actions-runner/_work/neo-server/neo-server/main/machbase-neo/main.go:49 +0x1ba fp=0xc00041fef0 sp=0xc00041fe78 pc=0xd6f13a
main.main()
        /home/ubuntu/actions-runner/_work/neo-server/neo-server/main/machbase-neo/main.go:25 +0x139 fp=0xc00041ff80 sp=0xc00041fef0 pc=0xd6edb9
runtime.main()
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/proc.go:250 +0x212 fp=0xc00041ffe0 sp=0xc00041ff80 pc=0x494d32
runtime.goexit()
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00041ffe8 sp=0xc00041ffe0 pc=0x4c3c81

goroutine 2 [force gc (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/proc.go:363 +0xd6 fp=0xc00006cfb0 sp=0xc00006cf90 pc=0x4950f6
runtime.goparkunlock(...)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/proc.go:369
runtime.forcegchelper()
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/proc.go:302 +0xad fp=0xc00006cfe0 sp=0xc00006cfb0 pc=0x494f8d
runtime.goexit()
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00006cfe8 sp=0xc00006cfe0 pc=0x4c3c81
created by runtime.init.6
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/proc.go:290 +0x25

goroutine 3 [GC sweep wait]:
runtime.gopark(0x1?, 0x0?, 0x0?, 0x0?, 0x0?)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/proc.go:363 +0xd6 fp=0xc00006d790 sp=0xc00006d770 pc=0x4950f6
runtime.goparkunlock(...)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/proc.go:369
runtime.bgsweep(0x0?)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/mgcsweep.go:297 +0xd7 fp=0xc00006d7c8 sp=0xc00006d790 pc=0x47fc77
runtime.gcenable.func1()
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/mgc.go:178 +0x26 fp=0xc00006d7e0 sp=0xc00006d7c8 pc=0x4748c6
runtime.goexit()
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00006d7e8 sp=0xc00006d7e0 pc=0x4c3c81
created by runtime.gcenable
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/mgc.go:178 +0x6b

goroutine 4 [GC scavenge wait]:
runtime.gopark(0xc00007e000?, 0x145af40?, 0x0?, 0x0?, 0x0?)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/proc.go:363 +0xd6 fp=0xc00006df70 sp=0xc00006df50 pc=0x4950f6
runtime.goparkunlock(...)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/proc.go:369
runtime.(*scavengerState).park(0x1ee6d00)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/mgcscavenge.go:389 +0x53 fp=0xc00006dfa0 sp=0xc00006df70 pc=0x47dcd3
runtime.bgscavenge(0x0?)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/mgcscavenge.go:622 +0x65 fp=0xc00006dfc8 sp=0xc00006dfa0 pc=0x47e2c5
runtime.gcenable.func2()
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/mgc.go:179 +0x26 fp=0xc00006dfe0 sp=0xc00006dfc8 pc=0x474866
runtime.goexit()
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00006dfe8 sp=0xc00006dfe0 pc=0x4c3c81
created by runtime.gcenable
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/mgc.go:179 +0xaa

goroutine 5 [finalizer wait]:
runtime.gopark(0x1ee7900?, 0xc000007860?, 0x0?, 0x0?, 0xc00006c770?)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/proc.go:363 +0xd6 fp=0xc00006c628 sp=0xc00006c608 pc=0x4950f6
runtime.goparkunlock(...)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/proc.go:369
runtime.runfinq()
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/mfinal.go:180 +0x10f fp=0xc00006c7e0 sp=0xc00006c628 pc=0x4739cf
runtime.goexit()
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00006c7e8 sp=0xc00006c7e0 pc=0x4c3c81
created by runtime.createfing
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/mfinal.go:157 +0x45

goroutine 6 [GC worker (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/proc.go:363 +0xd6 fp=0xc00006e750 sp=0xc00006e730 pc=0x4950f6
runtime.gcBgMarkWorker()
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/mgc.go:1235 +0xf1 fp=0xc00006e7e0 sp=0xc00006e750 pc=0x476a11
runtime.goexit()
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00006e7e8 sp=0xc00006e7e0 pc=0x4c3c81
created by runtime.gcBgMarkStartWorkers
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/mgc.go:1159 +0x25

goroutine 18 [GC worker (idle)]:
runtime.gopark(0x15d8b74d8ddfa5?, 0x0?, 0x0?, 0x0?, 0x0?)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/proc.go:363 +0xd6 fp=0xc000068750 sp=0xc000068730 pc=0x4950f6
runtime.gcBgMarkWorker()
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/mgc.go:1235 +0xf1 fp=0xc0000687e0 sp=0xc000068750 pc=0x476a11
runtime.goexit()
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0000687e8 sp=0xc0000687e0 pc=0x4c3c81
created by runtime.gcBgMarkStartWorkers
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/mgc.go:1159 +0x25

goroutine 7 [GC worker (idle)]:
runtime.gopark(0x15d8b74d9014a1?, 0x0?, 0x0?, 0x0?, 0x0?)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/proc.go:363 +0xd6 fp=0xc00006ef50 sp=0xc00006ef30 pc=0x4950f6
runtime.gcBgMarkWorker()
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/mgc.go:1235 +0xf1 fp=0xc00006efe0 sp=0xc00006ef50 pc=0x476a11
runtime.goexit()
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00006efe8 sp=0xc00006efe0 pc=0x4c3c81
created by runtime.gcBgMarkStartWorkers
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/mgc.go:1159 +0x25

goroutine 8 [GC worker (idle)]:
runtime.gopark(0x15d8b74d8fe98c?, 0x0?, 0x0?, 0x0?, 0x0?)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/proc.go:363 +0xd6 fp=0xc00006f750 sp=0xc00006f730 pc=0x4950f6
runtime.gcBgMarkWorker()
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/mgc.go:1235 +0xf1 fp=0xc00006f7e0 sp=0xc00006f750 pc=0x476a11
runtime.goexit()
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00006f7e8 sp=0xc00006f7e0 pc=0x4c3c81
created by runtime.gcBgMarkStartWorkers
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/mgc.go:1159 +0x25

goroutine 9 [GC worker (idle)]:
runtime.gopark(0x15d8b74d9026ac?, 0x3?, 0x6c?, 0x2?, 0x0?)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/proc.go:363 +0xd6 fp=0xc00006ff50 sp=0xc00006ff30 pc=0x4950f6
runtime.gcBgMarkWorker()
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/mgc.go:1235 +0xf1 fp=0xc00006ffe0 sp=0xc00006ff50 pc=0x476a11
runtime.goexit()
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00006ffe8 sp=0xc00006ffe0 pc=0x4c3c81
created by runtime.gcBgMarkStartWorkers
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/mgc.go:1159 +0x25

goroutine 34 [GC worker (idle)]:
runtime.gopark(0x15d8b74d8debbe?, 0x3?, 0xf1?, 0xfb?, 0x0?)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/proc.go:363 +0xd6 fp=0xc000456750 sp=0xc000456730 pc=0x4950f6
runtime.gcBgMarkWorker()
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/mgc.go:1235 +0xf1 fp=0xc0004567e0 sp=0xc000456750 pc=0x476a11
runtime.goexit()
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0004567e8 sp=0xc0004567e0 pc=0x4c3c81
created by runtime.gcBgMarkStartWorkers
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/mgc.go:1159 +0x25

goroutine 19 [GC worker (idle)]:
runtime.gopark(0x15d8b74d8fdbc2?, 0x0?, 0x0?, 0x0?, 0x0?)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/proc.go:363 +0xd6 fp=0xc000068f50 sp=0xc000068f30 pc=0x4950f6
runtime.gcBgMarkWorker()
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/mgc.go:1235 +0xf1 fp=0xc000068fe0 sp=0xc000068f50 pc=0x476a11
runtime.goexit()
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000068fe8 sp=0xc000068fe0 pc=0x4c3c81
created by runtime.gcBgMarkStartWorkers
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/mgc.go:1159 +0x25

goroutine 20 [GC worker (idle)]:
runtime.gopark(0x15d8b74d8de958?, 0x0?, 0x0?, 0x0?, 0x0?)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/proc.go:363 +0xd6 fp=0xc000069750 sp=0xc000069730 pc=0x4950f6
runtime.gcBgMarkWorker()
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/mgc.go:1235 +0xf1 fp=0xc0000697e0 sp=0xc000069750 pc=0x476a11
runtime.goexit()
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0000697e8 sp=0xc0000697e0 pc=0x4c3c81
created by runtime.gcBgMarkStartWorkers
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/mgc.go:1159 +0x25

goroutine 50 [IO wait]:
runtime.gopark(0xc0000aeae0?, 0x0?, 0x80?, 0xba?, 0xc000083cb8?)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/proc.go:363 +0xd6 fp=0xc000083c48 sp=0xc000083c28 pc=0x4950f6
runtime.netpollblock(0xc000083ca8?, 0x4736c0?, 0xc0?)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/netpoll.go:526 +0xf7 fp=0xc000083c80 sp=0xc000083c48 pc=0x48db77
internal/poll.runtime_pollWait(0x7f41ee43d250, 0x72)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/netpoll.go:305 +0x89 fp=0xc000083ca0 sp=0xc000083c80 pc=0x4bddc9
internal/poll.(*pollDesc).wait(0xc000390100?, 0xc00007a330?, 0x0)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/internal/poll/fd_poll_runtime.go:84 +0x32 fp=0xc000083cc8 sp=0xc000083ca0 pc=0x52cef2
internal/poll.(*pollDesc).waitRead(...)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/internal/poll/fd_poll_runtime.go:89
internal/poll.(*FD).Accept(0xc000390100)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/internal/poll/fd_unix.go:614 +0x234 fp=0xc000083d60 sp=0xc000083cc8 pc=0x532174
net.(*netFD).accept(0xc000390100)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/net/fd_unix.go:172 +0x35 fp=0xc000083e18 sp=0xc000083d60 pc=0x5ea5b5
net.(*UnixListener).accept(0xc0003cede0?)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/net/unixsock_posix.go:166 +0x1c fp=0xc000083e40 sp=0xc000083e18 pc=0x60aa1c
net.(*UnixListener).Accept(0xc00039ba40)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/net/unixsock.go:260 +0x3d fp=0xc000083e70 sp=0xc000083e40 pc=0x60943d
google.golang.org/grpc.(*Server).Serve(0xc0001803c0, {0x14655b0?, 0xc00039ba40})
        /home/ubuntu/actions-runner/_work/neo-server/neo-server/vendor/google.golang.org/grpc/server.go:823 +0x475 fp=0xc000083fb8 sp=0xc000083e70 pc=0x94e615
github.com/machbase/neo-server/mods/server.(*svr).Start.func3()
        /home/ubuntu/actions-runner/_work/neo-server/neo-server/mods/server/server.go:334 +0x2e fp=0xc000083fe0 sp=0xc000083fb8 pc=0xd6844e
runtime.goexit()
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000083fe8 sp=0xc000083fe0 pc=0x4c3c81
created by github.com/machbase/neo-server/mods/server.(*svr).Start
        /home/ubuntu/actions-runner/_work/neo-server/neo-server/mods/server/server.go:334 +0x1caa

goroutine 51 [IO wait]:
runtime.gopark(0x62cbbe?, 0xc0000aeae0?, 0x0?, 0x0?, 0xc000085cb0?)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/proc.go:363 +0xd6 fp=0xc000085c40 sp=0xc000085c20 pc=0x4950f6
runtime.netpollblock(0x629d98?, 0x85ca8?, 0xc0?)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/netpoll.go:526 +0xf7 fp=0xc000085c78 sp=0xc000085c40 pc=0x48db77
internal/poll.runtime_pollWait(0x7f41ee43d160, 0x72)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/netpoll.go:305 +0x89 fp=0xc000085c98 sp=0xc000085c78 pc=0x4bddc9
internal/poll.(*pollDesc).wait(0xc000390280?, 0xc000500000?, 0x0)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/internal/poll/fd_poll_runtime.go:84 +0x32 fp=0xc000085cc0 sp=0xc000085c98 pc=0x52cef2
internal/poll.(*pollDesc).waitRead(...)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/internal/poll/fd_poll_runtime.go:89
internal/poll.(*FD).Accept(0xc000390280)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/internal/poll/fd_unix.go:614 +0x234 fp=0xc000085d58 sp=0xc000085cc0 pc=0x532174
net.(*netFD).accept(0xc000390280)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/net/fd_unix.go:172 +0x35 fp=0xc000085e10 sp=0xc000085d58 pc=0x5ea5b5
net.(*TCPListener).accept(0xc0005a8060)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/net/tcpsock_posix.go:142 +0x28 fp=0xc000085e40 sp=0xc000085e10 pc=0x604648
net.(*TCPListener).Accept(0xc0005a8060)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/net/tcpsock.go:288 +0x3d fp=0xc000085e70 sp=0xc000085e40 pc=0x60381d
google.golang.org/grpc.(*Server).Serve(0xc000180000, {0x1465580?, 0xc0005a8060})
        /home/ubuntu/actions-runner/_work/neo-server/neo-server/vendor/google.golang.org/grpc/server.go:823 +0x475 fp=0xc000085fb8 sp=0xc000085e70 pc=0x94e615
github.com/machbase/neo-server/mods/server.(*svr).Start.func4()
        /home/ubuntu/actions-runner/_work/neo-server/neo-server/mods/server/server.go:336 +0x2e fp=0xc000085fe0 sp=0xc000085fb8 pc=0xd683ee
runtime.goexit()
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000085fe8 sp=0xc000085fe0 pc=0x4c3c81
created by github.com/machbase/neo-server/mods/server.(*svr).Start
        /home/ubuntu/actions-runner/_work/neo-server/neo-server/mods/server/server.go:336 +0x1d3e

goroutine 52 [IO wait]:
runtime.gopark(0x200000003?, 0xc000481040?, 0x0?, 0xc0?, 0xc000080cb0?)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/proc.go:363 +0xd6 fp=0xc000080c40 sp=0xc000080c20 pc=0x4950f6
runtime.netpollblock(0xc000080c90?, 0x80d08?, 0xc0?)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/netpoll.go:526 +0xf7 fp=0xc000080c78 sp=0xc000080c40 pc=0x48db77
internal/poll.runtime_pollWait(0x7f41ee43d070, 0x72)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/netpoll.go:305 +0x89 fp=0xc000080c98 sp=0xc000080c78 pc=0x4bddc9
internal/poll.(*pollDesc).wait(0xc000390300?, 0x6?, 0x0)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/internal/poll/fd_poll_runtime.go:84 +0x32 fp=0xc000080cc0 sp=0xc000080c98 pc=0x52cef2
internal/poll.(*pollDesc).waitRead(...)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/internal/poll/fd_poll_runtime.go:89
internal/poll.(*FD).Accept(0xc000390300)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/internal/poll/fd_unix.go:614 +0x234 fp=0xc000080d58 sp=0xc000080cc0 pc=0x532174
net.(*netFD).accept(0xc000390300)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/net/fd_unix.go:172 +0x35 fp=0xc000080e10 sp=0xc000080d58 pc=0x5ea5b5
net.(*TCPListener).accept(0xc0005a8438)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/net/tcpsock_posix.go:142 +0x28 fp=0xc000080e40 sp=0xc000080e10 pc=0x604648
net.(*TCPListener).Accept(0xc0005a8438)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/net/tcpsock.go:288 +0x3d fp=0xc000080e70 sp=0xc000080e40 pc=0x60381d
net/http.(*onceCloseListener).Accept(0xc00038a1e0?)
        <autogenerated>:1 +0x2a fp=0xc000080e88 sp=0xc000080e70 pc=0x882a6a
net/http.(*Server).Serve(0xc000348000, {0x1465580, 0xc0005a8438})
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/net/http/server.go:3070 +0x385 fp=0xc000080fb8 sp=0xc000080e88 pc=0x871d25
github.com/machbase/neo-server/mods/server.(*svr).Start.func5()
        /home/ubuntu/actions-runner/_work/neo-server/neo-server/mods/server/server.go:371 +0x2e fp=0xc000080fe0 sp=0xc000080fb8 pc=0xd6838e
runtime.goexit()
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000080fe8 sp=0xc000080fe0 pc=0x4c3c81
created by github.com/machbase/neo-server/mods/server.(*svr).Start
        /home/ubuntu/actions-runner/_work/neo-server/neo-server/mods/server/server.go:371 +0x1a90

goroutine 53 [chan receive]:
runtime.gopark(0xc000455798?, 0xcd70b7?, 0x30?, 0x57?, 0x0?)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/proc.go:363 +0xd6 fp=0xc0004556f0 sp=0xc0004556d0 pc=0x4950f6
runtime.chanrecv(0xc00059c0c0, 0x0, 0x1)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/chan.go:583 +0x49b fp=0xc000455780 sp=0xc0004556f0 pc=0x4615fb
runtime.chanrecv1(0x0?, 0x0?)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/chan.go:442 +0x18 fp=0xc0004557a8 sp=0xc000455780 pc=0x4610f8
github.com/rcrowley/go-metrics.(*meterArbiter).tick(0x1ee6400)
        /home/ubuntu/actions-runner/_work/neo-server/neo-server/vendor/github.com/rcrowley/go-metrics/meter.go:239 +0x2a fp=0xc0004557c8 sp=0xc0004557a8 pc=0xcd6f8a
github.com/rcrowley/go-metrics.NewMeter.func2()
        /home/ubuntu/actions-runner/_work/neo-server/neo-server/vendor/github.com/rcrowley/go-metrics/meter.go:46 +0x26 fp=0xc0004557e0 sp=0xc0004557c8 pc=0xcd6546
runtime.goexit()
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0004557e8 sp=0xc0004557e0 pc=0x4c3c81
created by github.com/rcrowley/go-metrics.NewMeter
        /home/ubuntu/actions-runner/_work/neo-server/neo-server/vendor/github.com/rcrowley/go-metrics/meter.go:46 +0xd3

goroutine 54 [IO wait]:
runtime.gopark(0x0?, 0x0?, 0x5?, 0x0?, 0xc000086d68?)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/proc.go:363 +0xd6 fp=0xc000086cf8 sp=0xc000086cd8 pc=0x4950f6
runtime.netpollblock(0x0?, 0x0?, 0x0?)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/netpoll.go:526 +0xf7 fp=0xc000086d30 sp=0xc000086cf8 pc=0x48db77
internal/poll.runtime_pollWait(0x7f41ee43cf80, 0x72)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/netpoll.go:305 +0x89 fp=0xc000086d50 sp=0xc000086d30 pc=0x4bddc9
internal/poll.(*pollDesc).wait(0xc000390380?, 0xc00020b486?, 0x0)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/internal/poll/fd_poll_runtime.go:84 +0x32 fp=0xc000086d78 sp=0xc000086d50 pc=0x52cef2
internal/poll.(*pollDesc).waitRead(...)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/internal/poll/fd_poll_runtime.go:89
internal/poll.(*FD).Accept(0xc000390380)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/internal/poll/fd_unix.go:614 +0x234 fp=0xc000086e10 sp=0xc000086d78 pc=0x532174
net.(*netFD).accept(0xc000390380)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/net/fd_unix.go:172 +0x35 fp=0xc000086ec8 sp=0xc000086e10 pc=0x5ea5b5
net.(*TCPListener).accept(0xc0005a8498)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/net/tcpsock_posix.go:142 +0x28 fp=0xc000086ef8 sp=0xc000086ec8 pc=0x604648
net.(*TCPListener).Accept(0xc0005a8498)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/net/tcpsock.go:288 +0x3d fp=0xc000086f28 sp=0xc000086ef8 pc=0x60381d
github.com/machbase/neo-shell/server/mqttsvr/mqtt.(*tcpListener).runTcpListener(0xc0005d01b0)
        /home/ubuntu/actions-runner/_work/neo-server/neo-server/vendor/github.com/machbase/neo-shell/server/mqttsvr/mqtt/lsnr_tcp.go:176 +0x13c fp=0xc000086fc8 sp=0xc000086f28 pc=0xd3711c
github.com/machbase/neo-shell/server/mqttsvr/mqtt.(*tcpListener).Start.func1()
        /home/ubuntu/actions-runner/_work/neo-server/neo-server/vendor/github.com/machbase/neo-shell/server/mqttsvr/mqtt/lsnr_tcp.go:134 +0x26 fp=0xc000086fe0 sp=0xc000086fc8 pc=0xd36e26
runtime.goexit()
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000086fe8 sp=0xc000086fe0 pc=0x4c3c81
created by github.com/machbase/neo-shell/server/mqttsvr/mqtt.(*tcpListener).Start
        /home/ubuntu/actions-runner/_work/neo-server/neo-server/vendor/github.com/machbase/neo-shell/server/mqttsvr/mqtt/lsnr_tcp.go:134 +0x96

goroutine 55 [select]:
runtime.gopark(0xc000456ef8?, 0x2?, 0x60?, 0x6d?, 0xc000456e8c?)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/proc.go:363 +0xd6 fp=0xc0006face0 sp=0xc0006facc0 pc=0x4950f6
runtime.selectgo(0xc0006faef8, 0xc000456e88, 0x0?, 0x0, 0x0?, 0x1)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/select.go:328 +0x7bc fp=0xc0006fae20 sp=0xc0006face0 pc=0x4a46dc
github.com/machbase/neo-shell/server/mqttsvr/mqtt.(*server).Start.func1()
        /home/ubuntu/actions-runner/_work/neo-server/neo-server/vendor/github.com/machbase/neo-shell/server/mqttsvr/mqtt/mqtt.go:173 +0x196 fp=0xc0006fafe0 sp=0xc0006fae20 pc=0xd398f6
runtime.goexit()
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0006fafe8 sp=0xc0006fafe0 pc=0x4c3c81
created by github.com/machbase/neo-shell/server/mqttsvr/mqtt.(*server).Start
        /home/ubuntu/actions-runner/_work/neo-server/neo-server/vendor/github.com/machbase/neo-shell/server/mqttsvr/mqtt/mqtt.go:168 +0x31c

goroutine 56 [IO wait]:
runtime.gopark(0x1ee7900?, 0x7f41eaf98f50?, 0x0?, 0x0?, 0xc0006fbc50?)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/proc.go:363 +0xd6 fp=0xc0006fbbe0 sp=0xc0006fbbc0 pc=0x4950f6
runtime.netpollblock(0x0?, 0x471d6b?, 0x0?)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/netpoll.go:526 +0xf7 fp=0xc0006fbc18 sp=0xc0006fbbe0 pc=0x48db77
internal/poll.runtime_pollWait(0x7f41ee43ce90, 0x72)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/netpoll.go:305 +0x89 fp=0xc0006fbc38 sp=0xc0006fbc18 pc=0x4bddc9
internal/poll.(*pollDesc).wait(0xc000390400?, 0xc0005d0240?, 0x0)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/internal/poll/fd_poll_runtime.go:84 +0x32 fp=0xc0006fbc60 sp=0xc0006fbc38 pc=0x52cef2
internal/poll.(*pollDesc).waitRead(...)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/internal/poll/fd_poll_runtime.go:89
internal/poll.(*FD).Accept(0xc000390400)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/internal/poll/fd_unix.go:614 +0x234 fp=0xc0006fbcf8 sp=0xc0006fbc60 pc=0x532174
net.(*netFD).accept(0xc000390400)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/net/fd_unix.go:172 +0x35 fp=0xc0006fbdb0 sp=0xc0006fbcf8 pc=0x5ea5b5
net.(*TCPListener).accept(0xc000688000)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/net/tcpsock_posix.go:142 +0x28 fp=0xc0006fbde0 sp=0xc0006fbdb0 pc=0x604648
net.(*TCPListener).Accept(0xc000688000)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/net/tcpsock.go:288 +0x3d fp=0xc0006fbe10 sp=0xc0006fbde0 pc=0x60381d
github.com/gliderlabs/ssh.(*Server).Serve(0xc000155c20, {0x1465580?, 0xc000688000})
        /home/ubuntu/actions-runner/_work/neo-server/neo-server/vendor/github.com/gliderlabs/ssh/server.go:237 +0x1bd fp=0xc0006fbed8 sp=0xc0006fbe10 pc=0xd50f5d
github.com/machbase/neo-shell/server/sshsvr/sshd.(*server).ListenAndServe(0xc0000c0700)
        /home/ubuntu/actions-runner/_work/neo-server/neo-server/vendor/github.com/machbase/neo-shell/server/sshsvr/sshd/sshd.go:174 +0x25f fp=0xc0006fbf80 sp=0xc0006fbed8 pc=0xd59a5f
github.com/machbase/neo-shell/server/sshsvr.(*MachShell).Start.func1()
        /home/ubuntu/actions-runner/_work/neo-server/neo-server/vendor/github.com/machbase/neo-shell/server/sshsvr/sshsvr.go:94 +0x2f fp=0xc0006fbfe0 sp=0xc0006fbf80 pc=0xd5eaef
runtime.goexit()
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0006fbfe8 sp=0xc0006fbfe0 pc=0x4c3c81
created by github.com/machbase/neo-shell/server/sshsvr.(*MachShell).Start
        /home/ubuntu/actions-runner/_work/neo-server/neo-server/vendor/github.com/machbase/neo-shell/server/sshsvr/sshsvr.go:93 +0x725

goroutine 57 [select, locked to thread]:
runtime.gopark(0xc0004577a8?, 0x2?, 0x77?, 0x54?, 0xc0004577a4?)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/proc.go:363 +0xd6 fp=0xc000457618 sp=0xc0004575f8 pc=0x4950f6
runtime.selectgo(0xc0004577a8, 0xc0004577a0, 0x0?, 0x0, 0x0?, 0x1)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/select.go:328 +0x7bc fp=0xc000457758 sp=0xc000457618 pc=0x4a46dc
runtime.ensureSigM.func1()
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/signal_unix.go:991 +0x1b0 fp=0xc0004577e0 sp=0xc000457758 pc=0x4a8930
runtime.goexit()
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0004577e8 sp=0xc0004577e0 pc=0x4c3c81
created by runtime.ensureSigM
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/signal_unix.go:974 +0xbd

goroutine 21 [syscall]:
runtime.notetsleepg(0x0?, 0x0?)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/lock_futex.go:236 +0x34 fp=0xc0004fdfa0 sp=0xc0004fdf68 pc=0x4669f4
os/signal.signal_recv()
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/sigqueue.go:152 +0x2f fp=0xc0004fdfc0 sp=0xc0004fdfa0 pc=0x4c01cf
os/signal.loop()
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/os/signal/signal_unix.go:23 +0x19 fp=0xc0004fdfe0 sp=0xc0004fdfc0 pc=0x613099
runtime.goexit()
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0004fdfe8 sp=0xc0004fdfe0 pc=0x4c3c81
created by os/signal.Notify.func1.1
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/os/signal/signal.go:151 +0x2a

goroutine 12 [IO wait]:
runtime.gopark(0x0?, 0xb?, 0x0?, 0x0?, 0x51?)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/proc.go:363 +0xd6 fp=0xc0006fc540 sp=0xc0006fc520 pc=0x4950f6
runtime.netpollblock(0x510e25?, 0x3?, 0x0?)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/netpoll.go:526 +0xf7 fp=0xc0006fc578 sp=0xc0006fc540 pc=0x48db77
internal/poll.runtime_pollWait(0x7f41ee43ccb0, 0x72)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/netpoll.go:305 +0x89 fp=0xc0006fc598 sp=0xc0006fc578 pc=0x4bddc9
internal/poll.(*pollDesc).wait(0xc000390480?, 0xc00068a000?, 0x0)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/internal/poll/fd_poll_runtime.go:84 +0x32 fp=0xc0006fc5c0 sp=0xc0006fc598 pc=0x52cef2
internal/poll.(*pollDesc).waitRead(...)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/internal/poll/fd_poll_runtime.go:89
internal/poll.(*FD).Read(0xc000390480, {0xc00068a000, 0x1000, 0x1000})
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/internal/poll/fd_unix.go:167 +0x25a fp=0xc0006fc640 sp=0xc0006fc5c0 pc=0x52e25a
net.(*netFD).Read(0xc000390480, {0xc00068a000?, 0xc0006fc6c0?, 0x866465?})
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/net/fd_posix.go:55 +0x29 fp=0xc0006fc688 sp=0xc0006fc640 pc=0x5e84a9
net.(*conn).Read(0xc0004702b0, {0xc00068a000?, 0x0?, 0x0?})
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/net/net.go:183 +0x45 fp=0xc0006fc6d0 sp=0xc0006fc688 pc=0x5fb205
net/http.(*connReader).Read(0xc0006fe1e0, {0xc00068a000, 0x1000, 0x1000})
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/net/http/server.go:786 +0x171 fp=0xc0006fc720 sp=0xc0006fc6d0 pc=0x866c51
bufio.(*Reader).fill(0xc0000c8d20)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/bufio/bufio.go:106 +0xff fp=0xc0006fc758 sp=0xc0006fc720 pc=0x5c269f
bufio.(*Reader).ReadSlice(0xc0000c8d20, 0x0?)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/bufio/bufio.go:372 +0x2f fp=0xc0006fc7a8 sp=0xc0006fc758 pc=0x5c328f
bufio.(*Reader).ReadLine(0xc0000c8d20)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/bufio/bufio.go:401 +0x27 fp=0xc0006fc7f8 sp=0xc0006fc7a8 pc=0x5c34e7
net/textproto.(*Reader).readLineSlice(0xc0006fe210)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/net/textproto/reader.go:58 +0x99 fp=0xc0006fc8e8 sp=0xc0006fc7f8 pc=0x816f59
net/textproto.(*Reader).ReadLine(...)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/net/textproto/reader.go:39
net/http.readRequest(0xc0004702b0?)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/net/http/request.go:1036 +0x79 fp=0xc0006fc9f0 sp=0xc0006fc8e8 pc=0x862119
net/http.(*conn).readRequest(0xc00038a1e0, {0x1466578, 0xc0002283c0})
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/net/http/server.go:994 +0x24a fp=0xc0006fcb78 sp=0xc0006fc9f0 pc=0x8681ea
net/http.(*conn).serve(0xc00038a1e0, {0x1466620, 0xc00059f2f0})
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/net/http/server.go:1916 +0x345 fp=0xc0006fcfb8 sp=0xc0006fcb78 pc=0x86c725
net/http.(*Server).Serve.func3()
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/net/http/server.go:3102 +0x2e fp=0xc0006fcfe0 sp=0xc0006fcfb8 pc=0x87210e
runtime.goexit()
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0006fcfe8 sp=0xc0006fcfe0 pc=0x4c3c81
created by net/http.(*Server).Serve
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/net/http/server.go:3102 +0x4db

goroutine 59 [IO wait]:
runtime.gopark(0x0?, 0xb?, 0x0?, 0x0?, 0x50?)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/proc.go:363 +0xd6 fp=0xc000457de8 sp=0xc000457dc8 pc=0x4950f6
runtime.netpollblock(0x510e25?, 0x0?, 0x0?)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/netpoll.go:526 +0xf7 fp=0xc000457e20 sp=0xc000457de8 pc=0x48db77
internal/poll.runtime_pollWait(0x7f41ee43cda0, 0x72)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/netpoll.go:305 +0x89 fp=0xc000457e40 sp=0xc000457e20 pc=0x4bddc9
internal/poll.(*pollDesc).wait(0xc0000c0780?, 0xc000183811?, 0x0)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/internal/poll/fd_poll_runtime.go:84 +0x32 fp=0xc000457e68 sp=0xc000457e40 pc=0x52cef2
internal/poll.(*pollDesc).waitRead(...)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/internal/poll/fd_poll_runtime.go:89
internal/poll.(*FD).Read(0xc0000c0780, {0xc000183811, 0x1, 0x1})
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/internal/poll/fd_unix.go:167 +0x25a fp=0xc000457ee8 sp=0xc000457e68 pc=0x52e25a
net.(*netFD).Read(0xc0000c0780, {0xc000183811?, 0x0?, 0x0?})
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/net/fd_posix.go:55 +0x29 fp=0xc000457f30 sp=0xc000457ee8 pc=0x5e84a9
net.(*conn).Read(0xc000498018, {0xc000183811?, 0x0?, 0x0?})
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/net/net.go:183 +0x45 fp=0xc000457f78 sp=0xc000457f30 pc=0x5fb205
net/http.(*connReader).backgroundRead(0xc000183800)
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/net/http/server.go:678 +0x3f fp=0xc000457fc8 sp=0xc000457f78 pc=0x86677f
net/http.(*connReader).startBackgroundRead.func2()
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/net/http/server.go:674 +0x26 fp=0xc000457fe0 sp=0xc000457fc8 pc=0x8666a6
runtime.goexit()
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000457fe8 sp=0xc000457fe0 pc=0x4c3c81
created by net/http.(*connReader).startBackgroundRead
        /home/ubuntu/actions-runner/_work/_tool/go/1.19.6/x64/src/net/http/server.go:674 +0xca

JSON 사용시 select 결과가 다 나오지 않음.

machbase-neo» CREATE TAG TABLE tag (name VARCHAR(20) PRIMARY KEY, time DATETIME BASETIME, value json);
machbase-neo» insert into tag values('sjkim1', sysdate, '');
machbase-neo» insert into tag values('sjkim1', sysdate, '{"a":1}');
machbase-neo» insert into tag values('sjkim1', sysdate, '{"a":2}');
machbase-neo» insert into tag values('sjkim1', sysdate, '{"a":32}');
machbase-neo» select * from tag;
┌────────┬────────┬─────────────────────────┬───────┐
│ ROWNUM │ NAME   │ TIME(UTC)               │ VALUE │
├────────┼────────┼─────────────────────────┼───────┤
│ 1      │ sjkim1 │ 2023-02-22 07:33:00.789 │ NULL  │
└────────┴────────┴─────────────────────────┴───────┘
ERR scan convert from STRING to <nil> not supported

원래 데이터

Mach> select * from tag;
NAME                  TIME                            VALUE

--------------------------------------------------------------------------------------------------------------------------------------------
sjkim1                2023-02-22 16:33:00 789:668:615 NULL

sjkim1                2023-02-22 16:33:09 225:017:672 {"a":1}

sjkim1                2023-02-22 16:33:15 658:423:555 {"a":2}

sjkim1                2023-02-22 16:33:23 099:471:032 {"a":32}

스키마

machbase-neo» desc tag
>  ;
TABLE  TAG  Tag Table
TAGS     sjkim1
┌────────┬────┬───────┬──────────┬────────┐
│ ROWNUM │ ID │ NAME  │ TYPE     │ LENGTH │
├────────┼────┼───────┼──────────┼────────┤
│      1 │  0 │ NAME  │ varchar  │     20 │
│      2 │  1 │ TIME  │ datetime │      8 │
│      3 │  2 │ VALUE │ undef    │  32767 │
└────────┴────┴───────┴──────────┴────────┘

특정 쿼리 restful api로 입력시 데이터 조회가 안되는 현상

현재 특정 쿼리를 restful api로 입력할 때 데이터 조회가 안되는 현상이 있습니다.

특정 Query

select to_char(time,'YYYY-MM-DD HH24:MI:SS mmm:uuu:nnn') FROM EXAMPLE limit 10;

machsql 결과

Mach> select to_char(t.time,'YYYY-MM-DD HH24:MI:SS mmm:uuu:nnn') FROM EXAMPLE t limit 10;
to_char(t.time,'YYYY-MM-DD HH24:MI:SS mmm:uuu:nnn')
------------------------------------------------------------------------------------
2022-12-07 11:32:22 000:000:000
2023-03-17 15:04:50 000:000:000
2023-03-17 15:04:50 000:000:000
2023-03-17 15:04:50 000:000:000
2023-03-17 15:04:50 000:000:000
2023-03-17 15:04:50 000:000:000
2023-03-17 15:04:50 000:000:000
2023-03-17 15:04:50 000:000:000
2023-03-17 15:04:50 000:000:000
2023-03-17 15:04:50 000:000:000
[10] row(s) selected.

restful 결과

➜  machbase-neo-fog-v0.9.3-linux-amd64 curl -o - -X POST http://192.168.0.84:5654/db/query \
    -H 'Content-Type: application/json' \
    -d '{ "q":"select to_char(t.time,'YYYY-MM-DD HH24:MI:SS mmm:uuu:nnn') FROM EXAMPLE t limit 10" }'
curl: (6) Couldn't resolve host 'HH24:MI:SS'
{"success":false,"reason":"unexpected EOF","elapse":""}% 

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.