Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

random errors when doing the db.query using Denodo odbc driver #190

Open
revoluta opened this issue Sep 14, 2023 · 1 comment
Open

random errors when doing the db.query using Denodo odbc driver #190

revoluta opened this issue Sep 14, 2023 · 1 comment

Comments

@revoluta
Copy link

revoluta commented Sep 14, 2023

I'm having errors when I execute a query to Denodo, sometimes it randomly gives me a panic error and the service crashes.

rows, err := repo.db.Query(dbQuery)

Example error:

fatal error: unexpected signal during runtime execution
[signal SIGSEGV: segmentation violation code=0x1 addr=0x2964616564 pc=0x7fc6b0238691]

runtime stack:
runtime.throw({0xb184a5?, 0x0?})
	/usr/lib/golang/src/runtime/panic.go:1047 +0x5d fp=0x7fc69bffcc80 sp=0x7fc69bffcc50 pc=0x43965d
runtime.sigpanic()
	/usr/lib/golang/src/runtime/signal_unix.go:819 +0x369 fp=0x7fc69bffccd0 sp=0x7fc69bffcc80 pc=0x44f089

goroutine 678 [syscall]:
runtime.cgocall(0x9c99f0, 0xc00019ac08)
	/usr/lib/golang/src/runtime/cgocall.go:158 +0x5c fp=0xc00019abe0 sp=0xc00019aba8 pc=0x406adc
github.com/alexbrainman/odbc/api._Cfunc_SQLDescribeColW(0x7fc68c0008c0, 0x1, 0xc00044a000, 0x96, 0xc0004c8588, 0xc0004c856e, 0xc0004c8580, 0xc0004c858a, 0xc0004c858c)
	_cgo_gotypes.go:260 +0x4b fp=0xc00019ac08 sp=0xc00019abe0 pc=0x9be3cb
github.com/alexbrainman/odbc/api.SQLDescribeCol.func1(0xc00046bc00?, 0x8580?, 0x0?, 0xce26?, 0xc00019acf0?, 0x410707?, 0x2?, 0xa1b580?, 0xc00019ad01?)
	/root/go/pkg/mod/github.com/alexbrainman/[email protected]/api/zapi_unix.go:44 +0xd3 fp=0xc00019aca8 sp=0xc00019ac08 pc=0x9bfdf3
github.com/alexbrainman/odbc/api.SQLDescribeCol(0x101aaaaaaaaaa?, 0x9e68?, 0x0?, 0xda68?, 0x140?, 0xc00046bc00?, 0xc00044a000?, 0x0?, 0x400000?)
	/root/go/pkg/mod/github.com/alexbrainman/[email protected]/api/zapi_unix.go:44 +0x19 fp=0xc00019ad00 sp=0xc00019aca8 pc=0x9bfc99
github.com/alexbrainman/odbc.describeColumn(0x0?, 0x0, {0xc00044a000, 0x96, 0xc00019ae18?})
	/root/go/pkg/mod/github.com/alexbrainman/[email protected]/column.go:44 +0xca fp=0xc00019ad80 sp=0xc00019ad00 pc=0x9c0f8a
github.com/alexbrainman/odbc.NewColumn(0xc00019af98?, 0x894e6c?)
	/root/go/pkg/mod/github.com/alexbrainman/[email protected]/column.go:55 +0x6c fp=0xc00019ae50 sp=0xc00019ad80 pc=0x9c106c
github.com/alexbrainman/odbc.(*ODBCStmt).BindColumns(0xc0004242d0)
	/root/go/pkg/mod/github.com/alexbrainman/[email protected]/odbcstmt.go:140 +0x14a fp=0xc00019aea0 sp=0xc00019ae50 pc=0x9c4eea
github.com/alexbrainman/odbc.(*Stmt).Query(0xc0005c4a50, {0x1a05648, 0x0, 0x0})
	/root/go/pkg/mod/github.com/alexbrainman/[email protected]/stmt.go:102 +0x1a5 fp=0xc00019af28 sp=0xc00019aea0 pc=0x9c6945
database/sql.ctxDriverStmtQuery({0x14261e8, 0xc00009e480}, {0x1426370, 0xc0005c4a50}, {0x1a05648?, 0x0, 0x0})
	/usr/lib/golang/src/database/sql/ctxutil.go:94 +0x164 fp=0xc00019afa8 sp=0xc00019af28 pc=0x898aa4
database/sql.rowsiFromStatement({0x14261e8, 0xc00009e480}, {0x1424cb0, 0xc0005c2bd0}, 0xc0001bc280, {0x0, 0x0, 0x0})
	/usr/lib/golang/src/database/sql/sql.go:2835 +0x17e fp=0xc00019b038 sp=0xc00019afa8 pc=0x8a57be
database/sql.(*DB).queryDC(0x1?, {0x14261e8, 0xc00009e480}, {0x0, 0x0}, 0xc0004a2480, 0xc0004f0630, {0xb26f64, 0x22f}, {0x0, ...})
	/usr/lib/golang/src/database/sql/sql.go:1787 +0x3d7 fp=0xc00019b1d8 sp=0xc00019b038 pc=0x8a04f7
database/sql.(*DB).query(0xc00019b2c8?, {0x14261e8, 0xc00009e480}, {0xb26f64, 0x22f}, {0x0, 0x0, 0x0}, 0x0?)
	/usr/lib/golang/src/database/sql/sql.go:1735 +0xfd fp=0xc00019b258 sp=0xc00019b1d8 pc=0x8a009d
database/sql.(*DB).QueryContext(0x14261b0?, {0x14261e8, 0xc00009e480}, {0xb26f64, 0x22f}, {0x0, 0x0, 0x0})
	/usr/lib/golang/src/database/sql/sql.go:1708 +0xda fp=0xc00019b2d8 sp=0xc00019b258 pc=0x89fdda
gyms-info-ventas/infoVentas.(*Repository).VisorVentas(0xc000406378)
	/src/infoVentas/repository.go:444 +0x165 fp=0xc00019b5e8 sp=0xc00019b2d8 pc=0x9af165
gyms-info-ventas/infoVentas.(*Service).VisorVentas(...)
	/src/infoVentas/service.go:38
gyms-info-ventas/infoVentas.(*Controller).VisorVentas(0x1426220?, {0x1425b80, 0xc0000c60e0}, 0x141d9b8?)
	/src/infoVentas/controller.go:203 +0x29 fp=0xc00019b620 sp=0xc00019b5e8 pc=0x9ac7e9
gyms-info-ventas/infoVentas.(*Controller).VisorVentas-fm({0x1425b80?, 0xc0000c60e0?}, 0xc0005c4a20?)
	<autogenerated>:1 +0x3c fp=0xc00019b650 sp=0xc00019b620 pc=0x9c95dc
net/http.HandlerFunc.ServeHTTP(0xc000258700?, {0x1425b80?, 0xc0000c60e0?}, 0xc00046bc00?)
	/usr/lib/golang/src/net/http/server.go:2109 +0x2f fp=0xc00019b678 sp=0xc00019b650 pc=0x6ca9cf
github.com/gorilla/mux.(*Router).ServeHTTP(0xc0004be000, {0x1425b80, 0xc0000c60e0}, 0xc000258600)
	/root/go/pkg/mod/github.com/gorilla/[email protected]/mux.go:210 +0x1cf fp=0xc00019b7a0 sp=0xc00019b678 pc=0x9b572f
github.com/gorilla/handlers.recoveryHandler.ServeHTTP({{0x1420320, 0xc0004be000}, {0x14208a0, 0xc000414880}, 0x1}, {0x1425b80?, 0xc0000c60e0?}, 0xc0005418d0?)
	/root/go/pkg/mod/github.com/gorilla/[email protected]/recovery.go:78 +0xe4 fp=0xc00019b820 sp=0xc00019b7a0 pc=0x9b4724
github.com/gorilla/handlers.(*recoveryHandler).ServeHTTP(0x1426178?, {0x1425b80?, 0xc0000c60e0?}, 0x1a05648?)
	<autogenerated>:1 +0x88 fp=0xc00019b898 sp=0xc00019b820 pc=0x9b4ca8
gyms-info-ventas/api.SetMidAuth.func1({0x1425b80, 0xc0000c60e0}, 0xc000258300)
	/src/api/middlewares.go:30 +0x217 fp=0xc00019b910 sp=0xc00019b898 pc=0x9c79d7
net/http.HandlerFunc.ServeHTTP(0xc0005c4390?, {0x1425b80?, 0xc0000c60e0?}, 0x415a02?)
	/usr/lib/golang/src/net/http/server.go:2109 +0x2f fp=0xc00019b938 sp=0xc00019b910 pc=0x6ca9cf
github.com/gorilla/handlers.(*cors).ServeHTTP(0xc000466ea0, {0x1425b80, 0xc0000c60e0}, 0xc000258300)
	/root/go/pkg/mod/github.com/gorilla/[email protected]/cors.go:54 +0x370 fp=0xc00019bac8 sp=0xc00019b938 pc=0x9b2f90
net/http.serverHandler.ServeHTTP({0xc0005c4360?}, {0x1425b80, 0xc0000c60e0}, 0xc000258300)
	/usr/lib/golang/src/net/http/server.go:2947 +0x30c fp=0xc00019bb78 sp=0xc00019bac8 pc=0x6cddcc
net/http.(*conn).serve(0xc000000aa0, {0x1426220, 0xc0004d2a80})
	/usr/lib/golang/src/net/http/server.go:1991 +0x607 fp=0xc00019bfb8 sp=0xc00019bb78 pc=0x6c94a7
net/http.(*Server).Serve.func3()
	/usr/lib/golang/src/net/http/server.go:3102 +0x2e fp=0xc00019bfe0 sp=0xc00019bfb8 pc=0x6ce70e
runtime.goexit()
	/usr/lib/golang/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00019bfe8 sp=0xc00019bfe0 pc=0x469ca1
created by net/http.(*Server).Serve
	/usr/lib/golang/src/net/http/server.go:3102 +0x4db

goroutine 1 [IO wait]:
runtime.gopark(0x200000003?, 0xc0000061a0?, 0x0?, 0xea?, 0xc00011bb10?)
	/usr/lib/golang/src/runtime/proc.go:363 +0xd6 fp=0xc00011baa0 sp=0xc00011ba80 pc=0x43c276
runtime.netpollblock(0xc00011baf0?, 0x11bb68?, 0xc0?)
	/usr/lib/golang/src/runtime/netpoll.go:526 +0xf7 fp=0xc00011bad8 sp=0xc00011baa0 pc=0x434d97
internal/poll.runtime_pollWait(0x7fc6b06d0d28, 0x72)
	/usr/lib/golang/src/runtime/netpoll.go:305 +0x89 fp=0xc00011baf8 sp=0xc00011bad8 pc=0x4644e9
internal/poll.(*pollDesc).wait(0xc000414a00?, 0x6?, 0x0)
	/usr/lib/golang/src/internal/poll/fd_poll_runtime.go:84 +0x32 fp=0xc00011bb20 sp=0xc00011baf8 pc=0x4e1992
internal/poll.(*pollDesc).waitRead(...)
	/usr/lib/golang/src/internal/poll/fd_poll_runtime.go:89
internal/poll.(*FD).Accept(0xc000414a00)
	/usr/lib/golang/src/internal/poll/fd_unix.go:614 +0x234 fp=0xc00011bbb8 sp=0xc00011bb20 pc=0x4e6c14
net.(*netFD).accept(0xc000414a00)
	/usr/lib/golang/src/net/fd_unix.go:172 +0x35 fp=0xc00011bc70 sp=0xc00011bbb8 pc=0x5cce15
net.(*TCPListener).accept(0xc00040cac8)
	/usr/lib/golang/src/net/tcpsock_posix.go:142 +0x28 fp=0xc00011bca0 sp=0xc00011bc70 pc=0x5e2da8
net.(*TCPListener).Accept(0xc00040cac8)
	/usr/lib/golang/src/net/tcpsock.go:288 +0x3d fp=0xc00011bcd0 sp=0xc00011bca0 pc=0x5e1f7d
net/http.(*onceCloseListener).Accept(0xc000000aa0?)
	<autogenerated>:1 +0x2a fp=0xc00011bce8 sp=0xc00011bcd0 pc=0x6f364a
net/http.(*Server).Serve(0xc0004d6000, {0x1425970, 0xc00040cac8})
	/usr/lib/golang/src/net/http/server.go:3070 +0x385 fp=0xc00011be18 sp=0xc00011bce8 pc=0x6ce325
net/http.(*Server).ListenAndServe(0xc0004d6000)
	/usr/lib/golang/src/net/http/server.go:2999 +0x7d fp=0xc00011be48 sp=0xc00011be18 pc=0x6cdf5d
net/http.ListenAndServe(...)
	/usr/lib/golang/src/net/http/server.go:3255
gyms-info-ventas/api.(*ServerStruct).Run(0x19d0b40, {0xaf859d, 0x5}, {0xb08e93?, 0x0?}, {0x141fc80?, 0xc0000061a0?})
	/src/api/server.go:101 +0x58f fp=0xc00011bf38 sp=0xc00011be48 pc=0x9c8e4f
main.main()
	/src/main.go:22 +0x48 fp=0xc00011bf80 sp=0xc00011bf38 pc=0x9c9668
runtime.main()
	/usr/lib/golang/src/runtime/proc.go:250 +0x212 fp=0xc00011bfe0 sp=0xc00011bf80 pc=0x43beb2
runtime.goexit()
	/usr/lib/golang/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00011bfe8 sp=0xc00011bfe0 pc=0x469ca1

goroutine 2 [force gc (idle), 3 minutes]:
runtime.gopark(0x28825f9269c4f?, 0x0?, 0x0?, 0x0?, 0x0?)
	/usr/lib/golang/src/runtime/proc.go:363 +0xd6 fp=0xc00005cfb0 sp=0xc00005cf90 pc=0x43c276
runtime.goparkunlock(...)
	/usr/lib/golang/src/runtime/proc.go:369
runtime.forcegchelper()
	/usr/lib/golang/src/runtime/proc.go:302 +0xad fp=0xc00005cfe0 sp=0xc00005cfb0 pc=0x43c10d
runtime.goexit()
	/usr/lib/golang/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00005cfe8 sp=0xc00005cfe0 pc=0x469ca1
created by runtime.init.6
	/usr/lib/golang/src/runtime/proc.go:290 +0x25

goroutine 3 [GC sweep wait]:
runtime.gopark(0x1?, 0x0?, 0x0?, 0x0?, 0x0?)
	/usr/lib/golang/src/runtime/proc.go:363 +0xd6 fp=0xc00005d790 sp=0xc00005d770 pc=0x43c276
runtime.goparkunlock(...)
	/usr/lib/golang/src/runtime/proc.go:369
runtime.bgsweep(0x0?)
	/usr/lib/golang/src/runtime/mgcsweep.go:297 +0xd7 fp=0xc00005d7c8 sp=0xc00005d790 pc=0x427df7
runtime.gcenable.func1()
	/usr/lib/golang/src/runtime/mgc.go:178 +0x26 fp=0xc00005d7e0 sp=0xc00005d7c8 pc=0x41ca66
runtime.goexit()
	/usr/lib/golang/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00005d7e8 sp=0xc00005d7e0 pc=0x469ca1
created by runtime.gcenable
	/usr/lib/golang/src/runtime/mgc.go:178 +0x6b

goroutine 4 [GC scavenge wait]:
runtime.gopark(0x2880c5bb0e1e8?, 0x10ee78?, 0x0?, 0x0?, 0x0?)
	/usr/lib/golang/src/runtime/proc.go:363 +0xd6 fp=0xc00005df70 sp=0xc00005df50 pc=0x43c276
runtime.goparkunlock(...)
	/usr/lib/golang/src/runtime/proc.go:369
runtime.(*scavengerState).park(0x19d5080)
	/usr/lib/golang/src/runtime/mgcscavenge.go:389 +0x53 fp=0xc00005dfa0 sp=0xc00005df70 pc=0x425e53
runtime.bgscavenge(0x0?)
	/usr/lib/golang/src/runtime/mgcscavenge.go:622 +0x65 fp=0xc00005dfc8 sp=0xc00005dfa0 pc=0x426445
runtime.gcenable.func2()
	/usr/lib/golang/src/runtime/mgc.go:179 +0x26 fp=0xc00005dfe0 sp=0xc00005dfc8 pc=0x41ca06
runtime.goexit()
	/usr/lib/golang/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00005dfe8 sp=0xc00005dfe0 pc=0x469ca1
created by runtime.gcenable
	/usr/lib/golang/src/runtime/mgc.go:179 +0xaa

goroutine 5 [finalizer wait, 12 minutes]:
runtime.gopark(0x19d5b40?, 0xc000007860?, 0x0?, 0x0?, 0xc00005c770?)
	/usr/lib/golang/src/runtime/proc.go:363 +0xd6 fp=0xc00005c628 sp=0xc00005c608 pc=0x43c276
runtime.goparkunlock(...)
	/usr/lib/golang/src/runtime/proc.go:369
runtime.runfinq()
	/usr/lib/golang/src/runtime/mfinal.go:180 +0x10f fp=0xc00005c7e0 sp=0xc00005c628 pc=0x41bb6f
runtime.goexit()
	/usr/lib/golang/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00005c7e8 sp=0xc00005c7e0 pc=0x469ca1
created by runtime.createfing
	/usr/lib/golang/src/runtime/mfinal.go:157 +0x45

goroutine 18 [IO wait, 12 minutes]:
runtime.gopark(0x0?, 0xb?, 0x0?, 0x0?, 0x3?)
	/usr/lib/golang/src/runtime/proc.go:363 +0xd6 fp=0xc00050fce0 sp=0xc00050fcc0 pc=0x43c276
runtime.netpollblock(0x479505?, 0x0?, 0x0?)
	/usr/lib/golang/src/runtime/netpoll.go:526 +0xf7 fp=0xc00050fd18 sp=0xc00050fce0 pc=0x434d97
internal/poll.runtime_pollWait(0x7fc6b06d0f08, 0x72)
	/usr/lib/golang/src/runtime/netpoll.go:305 +0x89 fp=0xc00050fd38 sp=0xc00050fd18 pc=0x4644e9
internal/poll.(*pollDesc).wait(0xc000400900?, 0xc00050fed0?, 0x1)
	/usr/lib/golang/src/internal/poll/fd_poll_runtime.go:84 +0x32 fp=0xc00050fd60 sp=0xc00050fd38 pc=0x4e1992
internal/poll.(*pollDesc).waitRead(...)
	/usr/lib/golang/src/internal/poll/fd_poll_runtime.go:89
internal/poll.(*FD).Read(0xc000400900, {0xc00050fed0, 0x10000, 0x10000})
	/usr/lib/golang/src/internal/poll/fd_unix.go:167 +0x25a fp=0xc00050fde0 sp=0xc00050fd60 pc=0x4e2cfa
os.(*File).read(...)
	/usr/lib/golang/src/os/file_posix.go:31
os.(*File).Read(0xc000406108, {0xc00050fed0?, 0x0?, 0x0?})
	/usr/lib/golang/src/os/file.go:118 +0x5e fp=0xc00050fe38 sp=0xc00050fde0 pc=0x4ecd1e
github.com/fsnotify/fsnotify.(*Watcher).readEvents(0xc000424280)
	/root/go/pkg/mod/github.com/fsnotify/[email protected]/backend_inotify.go:356 +0xdf fp=0xc00051ffc8 sp=0xc00050fe38 pc=0x7bb85f
github.com/fsnotify/fsnotify.NewWatcher.func1()
	/root/go/pkg/mod/github.com/fsnotify/[email protected]/backend_inotify.go:150 +0x26 fp=0xc00051ffe0 sp=0xc00051ffc8 pc=0x7bb3c6
runtime.goexit()
	/usr/lib/golang/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00051ffe8 sp=0xc00051ffe0 pc=0x469ca1
created by github.com/fsnotify/fsnotify.NewWatcher
	/root/go/pkg/mod/github.com/fsnotify/[email protected]/backend_inotify.go:150 +0x1b0

goroutine 19 [select, 12 minutes]:
runtime.gopark(0xc000058fb0?, 0x2?, 0x0?, 0x0?, 0xc000058f24?)
	/usr/lib/golang/src/runtime/proc.go:363 +0xd6 fp=0xc000058db0 sp=0xc000058d90 pc=0x43c276
runtime.selectgo(0xc000058fb0, 0xc000058f20, 0x0?, 0x0, 0x0?, 0x1)
	/usr/lib/golang/src/runtime/select.go:328 +0x7bc fp=0xc000058ef0 sp=0xc000058db0 pc=0x44b5dc
git.globalia.com/stash/msvcae/go-hashicorp/consul.watch.func1()
	/root/go/pkg/mod/git.globalia.com/stash/msvcae/[email protected]/consul/fswatcher.go:32 +0xb5 fp=0xc000058fe0 sp=0xc000058ef0 pc=0x7bda55
runtime.goexit()
	/usr/lib/golang/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000058fe8 sp=0xc000058fe0 pc=0x469ca1
created by git.globalia.com/stash/msvcae/go-hashicorp/consul.watch
	/root/go/pkg/mod/git.globalia.com/stash/msvcae/[email protected]/consul/fswatcher.go:30 +0x116

goroutine 10 [select, 3 minutes]:
runtime.gopark(0xc0000aef68?, 0x5?, 0x0?, 0x30?, 0xc0000aee56?)
	/usr/lib/golang/src/runtime/proc.go:363 +0xd6 fp=0xc0000aec70 sp=0xc0000aec50 pc=0x43c276
runtime.selectgo(0xc0000aef68, 0xc0000aee4c, 0x19d4f60?, 0x0, 0xedc952c83?, 0x1)
	/usr/lib/golang/src/runtime/select.go:328 +0x7bc fp=0xc0000aedb0 sp=0xc0000aec70 pc=0x44b5dc
github.com/robfig/cron/v3.(*Cron).run(0xc0004268c0)
	/root/go/pkg/mod/github.com/robfig/cron/[email protected]/cron.go:263 +0xb9d fp=0xc0000aefc8 sp=0xc0000aedb0 pc=0x75747d
github.com/robfig/cron/v3.(*Cron).Start.func2()
	/root/go/pkg/mod/github.com/robfig/cron/[email protected]/cron.go:222 +0x26 fp=0xc0000aefe0 sp=0xc0000aefc8 pc=0x756846
runtime.goexit()
	/usr/lib/golang/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0000aefe8 sp=0xc0000aefe0 pc=0x469ca1
created by github.com/robfig/cron/v3.(*Cron).Start
	/root/go/pkg/mod/github.com/robfig/cron/[email protected]/cron.go:222 +0xca

goroutine 29 [select, 12 minutes]:
runtime.gopark(0xc00005e788?, 0x2?, 0x0?, 0x0?, 0xc00005e784?)
	/usr/lib/golang/src/runtime/proc.go:363 +0xd6 fp=0xc00005e610 sp=0xc00005e5f0 pc=0x43c276
runtime.selectgo(0xc00005e788, 0xc00005e780, 0x0?, 0x0, 0x2?, 0x1)
	/usr/lib/golang/src/runtime/select.go:328 +0x7bc fp=0xc00005e750 sp=0xc00005e610 pc=0x44b5dc
database/sql.(*DB).connectionOpener(0xc000421930, {0x1426178, 0xc00040ec00})
	/usr/lib/golang/src/database/sql/sql.go:1224 +0x8d fp=0xc00005e7b8 sp=0xc00005e750 pc=0x89cbed
database/sql.OpenDB.func1()
	/usr/lib/golang/src/database/sql/sql.go:792 +0x2e fp=0xc00005e7e0 sp=0xc00005e7b8 pc=0x89afce
runtime.goexit()
	/usr/lib/golang/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00005e7e8 sp=0xc00005e7e0 pc=0x469ca1
created by database/sql.OpenDB
	/usr/lib/golang/src/database/sql/sql.go:792 +0x18d

goroutine 28 [select, 12 minutes]:
runtime.gopark(0xc00007e4b0?, 0x5?, 0x4?, 0x0?, 0xc0004f80fa?)
	/usr/lib/golang/src/runtime/proc.go:363 +0xd6 fp=0xc0000af9a8 sp=0xc0000af988 pc=0x43c276
runtime.selectgo(0xc00007e4b0, 0xc0004f80f0, 0xa0?, 0x0, 0x0?, 0x1)
	/usr/lib/golang/src/runtime/select.go:328 +0x7bc fp=0xc0000afae8 sp=0xc0000af9a8 pc=0x44b5dc
reflect.rselect({0xc0004ca1e0, 0x5, 0x5?})
	/usr/lib/golang/src/runtime/select.go:590 +0x23e fp=0xc0000afb88 sp=0xc0000afae8 pc=0x465e1e
reflect.Select({0xc000435320?, 0x5, 0x4103bf?})
	/usr/lib/golang/src/reflect/value.go:2952 +0xd2 fp=0xc0000afcf0 sp=0xc0000afb88 pc=0x4c3492
github.com/lestrrat-go/jwx/jwk.(*AutoRefresh).refreshLoop(0xc000414680, {0x14261b0, 0xc000042050})
	/root/go/pkg/mod/github.com/lestrrat-go/[email protected]/jwk/refresh.go:420 +0x630 fp=0xc0000affb8 sp=0xc0000afcf0 pc=0x83e890
github.com/lestrrat-go/jwx/jwk.NewAutoRefresh.func1()
	/root/go/pkg/mod/github.com/lestrrat-go/[email protected]/jwk/refresh.go:124 +0x2e fp=0xc0000affe0 sp=0xc0000affb8 pc=0x83ccae
runtime.goexit()
	/usr/lib/golang/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0000affe8 sp=0xc0000affe0 pc=0x469ca1
created by github.com/lestrrat-go/jwx/jwk.NewAutoRefresh
	/root/go/pkg/mod/github.com/lestrrat-go/[email protected]/jwk/refresh.go:124 +0x18d

goroutine 59 [GC worker (idle), 7 minutes]:
runtime.gopark(0x287d2244d587a?, 0x3?, 0xb2?, 0xc8?, 0x19d0e00?)
	/usr/lib/golang/src/runtime/proc.go:363 +0xd6 fp=0xc000059750 sp=0xc000059730 pc=0x43c276
runtime.gcBgMarkWorker()
	/usr/lib/golang/src/runtime/mgc.go:1235 +0xf1 fp=0xc0000597e0 sp=0xc000059750 pc=0x41ebb1
runtime.goexit()
	/usr/lib/golang/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0000597e8 sp=0xc0000597e0 pc=0x469ca1
created by runtime.gcBgMarkStartWorkers
	/usr/lib/golang/src/runtime/mgc.go:1159 +0x25

goroutine 58 [GC worker (idle)]:
runtime.gopark(0x28825f93b242c?, 0x0?, 0xd0?, 0x9f?, 0x6dfe11?)
	/usr/lib/golang/src/runtime/proc.go:363 +0xd6 fp=0xc000059f50 sp=0xc000059f30 pc=0x43c276
runtime.gcBgMarkWorker()
	/usr/lib/golang/src/runtime/mgc.go:1235 +0xf1 fp=0xc000059fe0 sp=0xc000059f50 pc=0x41ebb1
runtime.goexit()
	/usr/lib/golang/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000059fe8 sp=0xc000059fe0 pc=0x469ca1
created by runtime.gcBgMarkStartWorkers
	/usr/lib/golang/src/runtime/mgc.go:1159 +0x25

goroutine 72 [GC worker (idle), 9 minutes]:
runtime.gopark(0x287b5b3db4a85?, 0x3?, 0xb7?, 0xbd?, 0x0?)
	/usr/lib/golang/src/runtime/proc.go:363 +0xd6 fp=0xc00005a750 sp=0xc00005a730 pc=0x43c276
runtime.gcBgMarkWorker()
	/usr/lib/golang/src/runtime/mgc.go:1235 +0xf1 fp=0xc00005a7e0 sp=0xc00005a750 pc=0x41ebb1
runtime.goexit()
	/usr/lib/golang/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00005a7e8 sp=0xc00005a7e0 pc=0x469ca1
created by runtime.gcBgMarkStartWorkers
	/usr/lib/golang/src/runtime/mgc.go:1159 +0x25

goroutine 45 [GC worker (idle), 10 minutes]:
runtime.gopark(0x287b0d17cb83f?, 0x0?, 0x0?, 0x0?, 0x0?)
	/usr/lib/golang/src/runtime/proc.go:363 +0xd6 fp=0xc000058750 sp=0xc000058730 pc=0x43c276
runtime.gcBgMarkWorker()
	/usr/lib/golang/src/runtime/mgc.go:1235 +0xf1 fp=0xc0000587e0 sp=0xc000058750 pc=0x41ebb1
runtime.goexit()
	/usr/lib/golang/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0000587e8 sp=0xc0000587e0 pc=0x469ca1
created by runtime.gcBgMarkStartWorkers
	/usr/lib/golang/src/runtime/mgc.go:1159 +0x25

goroutine 679 [IO wait]:
runtime.gopark(0x8?, 0xb?, 0x0?, 0x0?, 0x7?)
	/usr/lib/golang/src/runtime/proc.go:363 +0xd6 fp=0xc000491de8 sp=0xc000491dc8 pc=0x43c276
runtime.netpollblock(0x479505?, 0x491e68?, 0xc0?)
	/usr/lib/golang/src/runtime/netpoll.go:526 +0xf7 fp=0xc000491e20 sp=0xc000491de8 pc=0x434d97
internal/poll.runtime_pollWait(0x7fc6b06d04b8, 0x72)
	/usr/lib/golang/src/runtime/netpoll.go:305 +0x89 fp=0xc000491e40 sp=0xc000491e20 pc=0x4644e9
internal/poll.(*pollDesc).wait(0xc000414180?, 0xc0005c4371?, 0x0)
	/usr/lib/golang/src/internal/poll/fd_poll_runtime.go:84 +0x32 fp=0xc000491e68 sp=0xc000491e40 pc=0x4e1992
internal/poll.(*pollDesc).waitRead(...)
	/usr/lib/golang/src/internal/poll/fd_poll_runtime.go:89
internal/poll.(*FD).Read(0xc000414180, {0xc0005c4371, 0x1, 0x1})
	/usr/lib/golang/src/internal/poll/fd_unix.go:167 +0x25a fp=0xc000491ee8 sp=0xc000491e68 pc=0x4e2cfa
net.(*netFD).Read(0xc000414180, {0xc0005c4371?, 0xc0000b8118?, 0xc000491f68?})
	/usr/lib/golang/src/net/fd_posix.go:55 +0x29 fp=0xc000491f30 sp=0xc000491ee8 pc=0x5cad09
net.(*conn).Read(0xc000014028, {0xc0005c4371?, 0xc00007e050?, 0x0?})
	/usr/lib/golang/src/net/net.go:183 +0x45 fp=0xc000491f78 sp=0xc000491f30 pc=0x5d9f85
net/http.(*connReader).backgroundRead(0xc0005c4360)
	/usr/lib/golang/src/net/http/server.go:678 +0x3f fp=0xc000491fc8 sp=0xc000491f78 pc=0x6c323f
net/http.(*connReader).startBackgroundRead.func2()
	/usr/lib/golang/src/net/http/server.go:674 +0x26 fp=0xc000491fe0 sp=0xc000491fc8 pc=0x6c3166
runtime.goexit()
	/usr/lib/golang/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000491fe8 sp=0xc000491fe0 pc=0x469ca1
created by net/http.(*connReader).startBackgroundRead
	/usr/lib/golang/src/net/http/server.go:674 +0xca
@alexbrainman
Copy link
Owner

I'm having errors when I execute a query to Denodo, sometimes it randomly gives me a panic error and the service crashes.

rows, err := repo.db.Query(dbQuery)

Example error:

fatal error: unexpected signal during runtime execution
[signal SIGSEGV: segmentation violation code=0x1 addr=0x2964616564 pc=0x7fc6b0238691]

runtime stack:
runtime.throw({0xb184a5?, 0x0?})
	/usr/lib/golang/src/runtime/panic.go:1047 +0x5d fp=0x7fc69bffcc80 sp=0x7fc69bffcc50 pc=0x43965d
runtime.sigpanic()
	/usr/lib/golang/src/runtime/signal_unix.go:819 +0x369 fp=0x7fc69bffccd0 sp=0x7fc69bffcc80 pc=0x44f089

goroutine 678 [syscall]:
runtime.cgocall(0x9c99f0, 0xc00019ac08)
	/usr/lib/golang/src/runtime/cgocall.go:158 +0x5c fp=0xc00019abe0 sp=0xc00019aba8 pc=0x406adc
github.com/alexbrainman/odbc/api._Cfunc_SQLDescribeColW(0x7fc68c0008c0, 0x1, 0xc00044a000, 0x96, 0xc0004c8588, 0xc0004c856e, 0xc0004c8580, 0xc0004c858a, 0xc0004c858c)
	_cgo_gotypes.go:260 +0x4b fp=0xc00019ac08 sp=0xc00019abe0 pc=0x9be3cb
github.com/alexbrainman/odbc/api.SQLDescribeCol.func1(0xc00046bc00?, 0x8580?, 0x0?, 0xce26?, 0xc00019acf0?, 0x410707?, 0x2?, 0xa1b580?, 0xc00019ad01?)
	/root/go/pkg/mod/github.com/alexbrainman/[email protected]/api/zapi_unix.go:44 +0xd3 fp=0xc00019aca8 sp=0xc00019ac08 pc=0x9bfdf3
github.com/alexbrainman/odbc/api.SQLDescribeCol(0x101aaaaaaaaaa?, 0x9e68?, 0x0?, 0xda68?, 0x140?, 0xc00046bc00?, 0xc00044a000?, 0x0?, 0x400000?)
	/root/go/pkg/mod/github.com/alexbrainman/[email protected]/api/zapi_unix.go:44 +0x19 fp=0xc00019ad00 sp=0xc00019aca8 pc=0x9bfc99
github.com/alexbrainman/odbc.describeColumn(0x0?, 0x0, {0xc00044a000, 0x96, 0xc00019ae18?})
	/root/go/pkg/mod/github.com/alexbrainman/[email protected]/column.go:44 +0xca fp=0xc00019ad80 sp=0xc00019ad00 pc=0x9c0f8a
github.com/alexbrainman/odbc.NewColumn(0xc00019af98?, 0x894e6c?)
	/root/go/pkg/mod/github.com/alexbrainman/[email protected]/column.go:55 +0x6c fp=0xc00019ae50 sp=0xc00019ad80 pc=0x9c106c
github.com/alexbrainman/odbc.(*ODBCStmt).BindColumns(0xc0004242d0)
	/root/go/pkg/mod/github.com/alexbrainman/[email protected]/odbcstmt.go:140 +0x14a fp=0xc00019aea0 sp=0xc00019ae50 pc=0x9c4eea
github.com/alexbrainman/odbc.(*Stmt).Query(0xc0005c4a50, {0x1a05648, 0x0, 0x0})
	/root/go/pkg/mod/github.com/alexbrainman/[email protected]/stmt.go:102 +0x1a5 fp=0xc00019af28 sp=0xc00019aea0 pc=0x9c6945
database/sql.ctxDriverStmtQuery({0x14261e8, 0xc00009e480}, {0x1426370, 0xc0005c4a50}, {0x1a05648?, 0x0, 0x0})
	/usr/lib/golang/src/database/sql/ctxutil.go:94 +0x164 fp=0xc00019afa8 sp=0xc00019af28 pc=0x898aa4
database/sql.rowsiFromStatement({0x14261e8, 0xc00009e480}, {0x1424cb0, 0xc0005c2bd0}, 0xc0001bc280, {0x0, 0x0, 0x0})
	/usr/lib/golang/src/database/sql/sql.go:2835 +0x17e fp=0xc00019b038 sp=0xc00019afa8 pc=0x8a57be
database/sql.(*DB).queryDC(0x1?, {0x14261e8, 0xc00009e480}, {0x0, 0x0}, 0xc0004a2480, 0xc0004f0630, {0xb26f64, 0x22f}, {0x0, ...})
	/usr/lib/golang/src/database/sql/sql.go:1787 +0x3d7 fp=0xc00019b1d8 sp=0xc00019b038 pc=0x8a04f7
database/sql.(*DB).query(0xc00019b2c8?, {0x14261e8, 0xc00009e480}, {0xb26f64, 0x22f}, {0x0, 0x0, 0x0}, 0x0?)
	/usr/lib/golang/src/database/sql/sql.go:1735 +0xfd fp=0xc00019b258 sp=0xc00019b1d8 pc=0x8a009d
database/sql.(*DB).QueryContext(0x14261b0?, {0x14261e8, 0xc00009e480}, {0xb26f64, 0x22f}, {0x0, 0x0, 0x0})
	/usr/lib/golang/src/database/sql/sql.go:1708 +0xda fp=0xc00019b2d8 sp=0xc00019b258 pc=0x89fdda
gyms-info-ventas/infoVentas.(*Repository).VisorVentas(0xc000406378)
	/src/infoVentas/repository.go:444 +0x165 fp=0xc00019b5e8 sp=0xc00019b2d8 pc=0x9af165
gyms-info-ventas/infoVentas.(*Service).VisorVentas(...)
	/src/infoVentas/service.go:38
gyms-info-ventas/infoVentas.(*Controller).VisorVentas(0x1426220?, {0x1425b80, 0xc0000c60e0}, 0x141d9b8?)
	/src/infoVentas/controller.go:203 +0x29 fp=0xc00019b620 sp=0xc00019b5e8 pc=0x9ac7e9
gyms-info-ventas/infoVentas.(*Controller).VisorVentas-fm({0x1425b80?, 0xc0000c60e0?}, 0xc0005c4a20?)
	<autogenerated>:1 +0x3c fp=0xc00019b650 sp=0xc00019b620 pc=0x9c95dc
net/http.HandlerFunc.ServeHTTP(0xc000258700?, {0x1425b80?, 0xc0000c60e0?}, 0xc00046bc00?)
	/usr/lib/golang/src/net/http/server.go:2109 +0x2f fp=0xc00019b678 sp=0xc00019b650 pc=0x6ca9cf
github.com/gorilla/mux.(*Router).ServeHTTP(0xc0004be000, {0x1425b80, 0xc0000c60e0}, 0xc000258600)
	/root/go/pkg/mod/github.com/gorilla/[email protected]/mux.go:210 +0x1cf fp=0xc00019b7a0 sp=0xc00019b678 pc=0x9b572f
github.com/gorilla/handlers.recoveryHandler.ServeHTTP({{0x1420320, 0xc0004be000}, {0x14208a0, 0xc000414880}, 0x1}, {0x1425b80?, 0xc0000c60e0?}, 0xc0005418d0?)
	/root/go/pkg/mod/github.com/gorilla/[email protected]/recovery.go:78 +0xe4 fp=0xc00019b820 sp=0xc00019b7a0 pc=0x9b4724
github.com/gorilla/handlers.(*recoveryHandler).ServeHTTP(0x1426178?, {0x1425b80?, 0xc0000c60e0?}, 0x1a05648?)
	<autogenerated>:1 +0x88 fp=0xc00019b898 sp=0xc00019b820 pc=0x9b4ca8
gyms-info-ventas/api.SetMidAuth.func1({0x1425b80, 0xc0000c60e0}, 0xc000258300)
	/src/api/middlewares.go:30 +0x217 fp=0xc00019b910 sp=0xc00019b898 pc=0x9c79d7
net/http.HandlerFunc.ServeHTTP(0xc0005c4390?, {0x1425b80?, 0xc0000c60e0?}, 0x415a02?)
	/usr/lib/golang/src/net/http/server.go:2109 +0x2f fp=0xc00019b938 sp=0xc00019b910 pc=0x6ca9cf
github.com/gorilla/handlers.(*cors).ServeHTTP(0xc000466ea0, {0x1425b80, 0xc0000c60e0}, 0xc000258300)
	/root/go/pkg/mod/github.com/gorilla/[email protected]/cors.go:54 +0x370 fp=0xc00019bac8 sp=0xc00019b938 pc=0x9b2f90
net/http.serverHandler.ServeHTTP({0xc0005c4360?}, {0x1425b80, 0xc0000c60e0}, 0xc000258300)
	/usr/lib/golang/src/net/http/server.go:2947 +0x30c fp=0xc00019bb78 sp=0xc00019bac8 pc=0x6cddcc
net/http.(*conn).serve(0xc000000aa0, {0x1426220, 0xc0004d2a80})
	/usr/lib/golang/src/net/http/server.go:1991 +0x607 fp=0xc00019bfb8 sp=0xc00019bb78 pc=0x6c94a7
net/http.(*Server).Serve.func3()
	/usr/lib/golang/src/net/http/server.go:3102 +0x2e fp=0xc00019bfe0 sp=0xc00019bfb8 pc=0x6ce70e
runtime.goexit()
	/usr/lib/golang/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00019bfe8 sp=0xc00019bfe0 pc=0x469ca1
created by net/http.(*Server).Serve
	/usr/lib/golang/src/net/http/server.go:3102 +0x4db

goroutine 1 [IO wait]:
runtime.gopark(0x200000003?, 0xc0000061a0?, 0x0?, 0xea?, 0xc00011bb10?)
	/usr/lib/golang/src/runtime/proc.go:363 +0xd6 fp=0xc00011baa0 sp=0xc00011ba80 pc=0x43c276
runtime.netpollblock(0xc00011baf0?, 0x11bb68?, 0xc0?)
	/usr/lib/golang/src/runtime/netpoll.go:526 +0xf7 fp=0xc00011bad8 sp=0xc00011baa0 pc=0x434d97
internal/poll.runtime_pollWait(0x7fc6b06d0d28, 0x72)
	/usr/lib/golang/src/runtime/netpoll.go:305 +0x89 fp=0xc00011baf8 sp=0xc00011bad8 pc=0x4644e9
internal/poll.(*pollDesc).wait(0xc000414a00?, 0x6?, 0x0)
	/usr/lib/golang/src/internal/poll/fd_poll_runtime.go:84 +0x32 fp=0xc00011bb20 sp=0xc00011baf8 pc=0x4e1992
internal/poll.(*pollDesc).waitRead(...)
	/usr/lib/golang/src/internal/poll/fd_poll_runtime.go:89
internal/poll.(*FD).Accept(0xc000414a00)
	/usr/lib/golang/src/internal/poll/fd_unix.go:614 +0x234 fp=0xc00011bbb8 sp=0xc00011bb20 pc=0x4e6c14
net.(*netFD).accept(0xc000414a00)
	/usr/lib/golang/src/net/fd_unix.go:172 +0x35 fp=0xc00011bc70 sp=0xc00011bbb8 pc=0x5cce15
net.(*TCPListener).accept(0xc00040cac8)
	/usr/lib/golang/src/net/tcpsock_posix.go:142 +0x28 fp=0xc00011bca0 sp=0xc00011bc70 pc=0x5e2da8
net.(*TCPListener).Accept(0xc00040cac8)
	/usr/lib/golang/src/net/tcpsock.go:288 +0x3d fp=0xc00011bcd0 sp=0xc00011bca0 pc=0x5e1f7d
net/http.(*onceCloseListener).Accept(0xc000000aa0?)
	<autogenerated>:1 +0x2a fp=0xc00011bce8 sp=0xc00011bcd0 pc=0x6f364a
net/http.(*Server).Serve(0xc0004d6000, {0x1425970, 0xc00040cac8})
	/usr/lib/golang/src/net/http/server.go:3070 +0x385 fp=0xc00011be18 sp=0xc00011bce8 pc=0x6ce325
net/http.(*Server).ListenAndServe(0xc0004d6000)
	/usr/lib/golang/src/net/http/server.go:2999 +0x7d fp=0xc00011be48 sp=0xc00011be18 pc=0x6cdf5d
net/http.ListenAndServe(...)
	/usr/lib/golang/src/net/http/server.go:3255
gyms-info-ventas/api.(*ServerStruct).Run(0x19d0b40, {0xaf859d, 0x5}, {0xb08e93?, 0x0?}, {0x141fc80?, 0xc0000061a0?})
	/src/api/server.go:101 +0x58f fp=0xc00011bf38 sp=0xc00011be48 pc=0x9c8e4f
main.main()
	/src/main.go:22 +0x48 fp=0xc00011bf80 sp=0xc00011bf38 pc=0x9c9668
runtime.main()
	/usr/lib/golang/src/runtime/proc.go:250 +0x212 fp=0xc00011bfe0 sp=0xc00011bf80 pc=0x43beb2
runtime.goexit()
	/usr/lib/golang/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00011bfe8 sp=0xc00011bfe0 pc=0x469ca1

goroutine 2 [force gc (idle), 3 minutes]:
runtime.gopark(0x28825f9269c4f?, 0x0?, 0x0?, 0x0?, 0x0?)
	/usr/lib/golang/src/runtime/proc.go:363 +0xd6 fp=0xc00005cfb0 sp=0xc00005cf90 pc=0x43c276
runtime.goparkunlock(...)
	/usr/lib/golang/src/runtime/proc.go:369
runtime.forcegchelper()
	/usr/lib/golang/src/runtime/proc.go:302 +0xad fp=0xc00005cfe0 sp=0xc00005cfb0 pc=0x43c10d
runtime.goexit()
	/usr/lib/golang/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00005cfe8 sp=0xc00005cfe0 pc=0x469ca1
created by runtime.init.6
	/usr/lib/golang/src/runtime/proc.go:290 +0x25

goroutine 3 [GC sweep wait]:
runtime.gopark(0x1?, 0x0?, 0x0?, 0x0?, 0x0?)
	/usr/lib/golang/src/runtime/proc.go:363 +0xd6 fp=0xc00005d790 sp=0xc00005d770 pc=0x43c276
runtime.goparkunlock(...)
	/usr/lib/golang/src/runtime/proc.go:369
runtime.bgsweep(0x0?)
	/usr/lib/golang/src/runtime/mgcsweep.go:297 +0xd7 fp=0xc00005d7c8 sp=0xc00005d790 pc=0x427df7
runtime.gcenable.func1()
	/usr/lib/golang/src/runtime/mgc.go:178 +0x26 fp=0xc00005d7e0 sp=0xc00005d7c8 pc=0x41ca66
runtime.goexit()
	/usr/lib/golang/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00005d7e8 sp=0xc00005d7e0 pc=0x469ca1
created by runtime.gcenable
	/usr/lib/golang/src/runtime/mgc.go:178 +0x6b

goroutine 4 [GC scavenge wait]:
runtime.gopark(0x2880c5bb0e1e8?, 0x10ee78?, 0x0?, 0x0?, 0x0?)
	/usr/lib/golang/src/runtime/proc.go:363 +0xd6 fp=0xc00005df70 sp=0xc00005df50 pc=0x43c276
runtime.goparkunlock(...)
	/usr/lib/golang/src/runtime/proc.go:369
runtime.(*scavengerState).park(0x19d5080)
	/usr/lib/golang/src/runtime/mgcscavenge.go:389 +0x53 fp=0xc00005dfa0 sp=0xc00005df70 pc=0x425e53
runtime.bgscavenge(0x0?)
	/usr/lib/golang/src/runtime/mgcscavenge.go:622 +0x65 fp=0xc00005dfc8 sp=0xc00005dfa0 pc=0x426445
runtime.gcenable.func2()
	/usr/lib/golang/src/runtime/mgc.go:179 +0x26 fp=0xc00005dfe0 sp=0xc00005dfc8 pc=0x41ca06
runtime.goexit()
	/usr/lib/golang/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00005dfe8 sp=0xc00005dfe0 pc=0x469ca1
created by runtime.gcenable
	/usr/lib/golang/src/runtime/mgc.go:179 +0xaa

goroutine 5 [finalizer wait, 12 minutes]:
runtime.gopark(0x19d5b40?, 0xc000007860?, 0x0?, 0x0?, 0xc00005c770?)
	/usr/lib/golang/src/runtime/proc.go:363 +0xd6 fp=0xc00005c628 sp=0xc00005c608 pc=0x43c276
runtime.goparkunlock(...)
	/usr/lib/golang/src/runtime/proc.go:369
runtime.runfinq()
	/usr/lib/golang/src/runtime/mfinal.go:180 +0x10f fp=0xc00005c7e0 sp=0xc00005c628 pc=0x41bb6f
runtime.goexit()
	/usr/lib/golang/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00005c7e8 sp=0xc00005c7e0 pc=0x469ca1
created by runtime.createfing
	/usr/lib/golang/src/runtime/mfinal.go:157 +0x45

goroutine 18 [IO wait, 12 minutes]:
runtime.gopark(0x0?, 0xb?, 0x0?, 0x0?, 0x3?)
	/usr/lib/golang/src/runtime/proc.go:363 +0xd6 fp=0xc00050fce0 sp=0xc00050fcc0 pc=0x43c276
runtime.netpollblock(0x479505?, 0x0?, 0x0?)
	/usr/lib/golang/src/runtime/netpoll.go:526 +0xf7 fp=0xc00050fd18 sp=0xc00050fce0 pc=0x434d97
internal/poll.runtime_pollWait(0x7fc6b06d0f08, 0x72)
	/usr/lib/golang/src/runtime/netpoll.go:305 +0x89 fp=0xc00050fd38 sp=0xc00050fd18 pc=0x4644e9
internal/poll.(*pollDesc).wait(0xc000400900?, 0xc00050fed0?, 0x1)
	/usr/lib/golang/src/internal/poll/fd_poll_runtime.go:84 +0x32 fp=0xc00050fd60 sp=0xc00050fd38 pc=0x4e1992
internal/poll.(*pollDesc).waitRead(...)
	/usr/lib/golang/src/internal/poll/fd_poll_runtime.go:89
internal/poll.(*FD).Read(0xc000400900, {0xc00050fed0, 0x10000, 0x10000})
	/usr/lib/golang/src/internal/poll/fd_unix.go:167 +0x25a fp=0xc00050fde0 sp=0xc00050fd60 pc=0x4e2cfa
os.(*File).read(...)
	/usr/lib/golang/src/os/file_posix.go:31
os.(*File).Read(0xc000406108, {0xc00050fed0?, 0x0?, 0x0?})
	/usr/lib/golang/src/os/file.go:118 +0x5e fp=0xc00050fe38 sp=0xc00050fde0 pc=0x4ecd1e
github.com/fsnotify/fsnotify.(*Watcher).readEvents(0xc000424280)
	/root/go/pkg/mod/github.com/fsnotify/[email protected]/backend_inotify.go:356 +0xdf fp=0xc00051ffc8 sp=0xc00050fe38 pc=0x7bb85f
github.com/fsnotify/fsnotify.NewWatcher.func1()
	/root/go/pkg/mod/github.com/fsnotify/[email protected]/backend_inotify.go:150 +0x26 fp=0xc00051ffe0 sp=0xc00051ffc8 pc=0x7bb3c6
runtime.goexit()
	/usr/lib/golang/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00051ffe8 sp=0xc00051ffe0 pc=0x469ca1
created by github.com/fsnotify/fsnotify.NewWatcher
	/root/go/pkg/mod/github.com/fsnotify/[email protected]/backend_inotify.go:150 +0x1b0

goroutine 19 [select, 12 minutes]:
runtime.gopark(0xc000058fb0?, 0x2?, 0x0?, 0x0?, 0xc000058f24?)
	/usr/lib/golang/src/runtime/proc.go:363 +0xd6 fp=0xc000058db0 sp=0xc000058d90 pc=0x43c276
runtime.selectgo(0xc000058fb0, 0xc000058f20, 0x0?, 0x0, 0x0?, 0x1)
	/usr/lib/golang/src/runtime/select.go:328 +0x7bc fp=0xc000058ef0 sp=0xc000058db0 pc=0x44b5dc
git.globalia.com/stash/msvcae/go-hashicorp/consul.watch.func1()
	/root/go/pkg/mod/git.globalia.com/stash/msvcae/[email protected]/consul/fswatcher.go:32 +0xb5 fp=0xc000058fe0 sp=0xc000058ef0 pc=0x7bda55
runtime.goexit()
	/usr/lib/golang/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000058fe8 sp=0xc000058fe0 pc=0x469ca1
created by git.globalia.com/stash/msvcae/go-hashicorp/consul.watch
	/root/go/pkg/mod/git.globalia.com/stash/msvcae/[email protected]/consul/fswatcher.go:30 +0x116

goroutine 10 [select, 3 minutes]:
runtime.gopark(0xc0000aef68?, 0x5?, 0x0?, 0x30?, 0xc0000aee56?)
	/usr/lib/golang/src/runtime/proc.go:363 +0xd6 fp=0xc0000aec70 sp=0xc0000aec50 pc=0x43c276
runtime.selectgo(0xc0000aef68, 0xc0000aee4c, 0x19d4f60?, 0x0, 0xedc952c83?, 0x1)
	/usr/lib/golang/src/runtime/select.go:328 +0x7bc fp=0xc0000aedb0 sp=0xc0000aec70 pc=0x44b5dc
github.com/robfig/cron/v3.(*Cron).run(0xc0004268c0)
	/root/go/pkg/mod/github.com/robfig/cron/[email protected]/cron.go:263 +0xb9d fp=0xc0000aefc8 sp=0xc0000aedb0 pc=0x75747d
github.com/robfig/cron/v3.(*Cron).Start.func2()
	/root/go/pkg/mod/github.com/robfig/cron/[email protected]/cron.go:222 +0x26 fp=0xc0000aefe0 sp=0xc0000aefc8 pc=0x756846
runtime.goexit()
	/usr/lib/golang/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0000aefe8 sp=0xc0000aefe0 pc=0x469ca1
created by github.com/robfig/cron/v3.(*Cron).Start
	/root/go/pkg/mod/github.com/robfig/cron/[email protected]/cron.go:222 +0xca

goroutine 29 [select, 12 minutes]:
runtime.gopark(0xc00005e788?, 0x2?, 0x0?, 0x0?, 0xc00005e784?)
	/usr/lib/golang/src/runtime/proc.go:363 +0xd6 fp=0xc00005e610 sp=0xc00005e5f0 pc=0x43c276
runtime.selectgo(0xc00005e788, 0xc00005e780, 0x0?, 0x0, 0x2?, 0x1)
	/usr/lib/golang/src/runtime/select.go:328 +0x7bc fp=0xc00005e750 sp=0xc00005e610 pc=0x44b5dc
database/sql.(*DB).connectionOpener(0xc000421930, {0x1426178, 0xc00040ec00})
	/usr/lib/golang/src/database/sql/sql.go:1224 +0x8d fp=0xc00005e7b8 sp=0xc00005e750 pc=0x89cbed
database/sql.OpenDB.func1()
	/usr/lib/golang/src/database/sql/sql.go:792 +0x2e fp=0xc00005e7e0 sp=0xc00005e7b8 pc=0x89afce
runtime.goexit()
	/usr/lib/golang/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00005e7e8 sp=0xc00005e7e0 pc=0x469ca1
created by database/sql.OpenDB
	/usr/lib/golang/src/database/sql/sql.go:792 +0x18d

goroutine 28 [select, 12 minutes]:
runtime.gopark(0xc00007e4b0?, 0x5?, 0x4?, 0x0?, 0xc0004f80fa?)
	/usr/lib/golang/src/runtime/proc.go:363 +0xd6 fp=0xc0000af9a8 sp=0xc0000af988 pc=0x43c276
runtime.selectgo(0xc00007e4b0, 0xc0004f80f0, 0xa0?, 0x0, 0x0?, 0x1)
	/usr/lib/golang/src/runtime/select.go:328 +0x7bc fp=0xc0000afae8 sp=0xc0000af9a8 pc=0x44b5dc
reflect.rselect({0xc0004ca1e0, 0x5, 0x5?})
	/usr/lib/golang/src/runtime/select.go:590 +0x23e fp=0xc0000afb88 sp=0xc0000afae8 pc=0x465e1e
reflect.Select({0xc000435320?, 0x5, 0x4103bf?})
	/usr/lib/golang/src/reflect/value.go:2952 +0xd2 fp=0xc0000afcf0 sp=0xc0000afb88 pc=0x4c3492
github.com/lestrrat-go/jwx/jwk.(*AutoRefresh).refreshLoop(0xc000414680, {0x14261b0, 0xc000042050})
	/root/go/pkg/mod/github.com/lestrrat-go/[email protected]/jwk/refresh.go:420 +0x630 fp=0xc0000affb8 sp=0xc0000afcf0 pc=0x83e890
github.com/lestrrat-go/jwx/jwk.NewAutoRefresh.func1()
	/root/go/pkg/mod/github.com/lestrrat-go/[email protected]/jwk/refresh.go:124 +0x2e fp=0xc0000affe0 sp=0xc0000affb8 pc=0x83ccae
runtime.goexit()
	/usr/lib/golang/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0000affe8 sp=0xc0000affe0 pc=0x469ca1
created by github.com/lestrrat-go/jwx/jwk.NewAutoRefresh
	/root/go/pkg/mod/github.com/lestrrat-go/[email protected]/jwk/refresh.go:124 +0x18d

goroutine 59 [GC worker (idle), 7 minutes]:
runtime.gopark(0x287d2244d587a?, 0x3?, 0xb2?, 0xc8?, 0x19d0e00?)
	/usr/lib/golang/src/runtime/proc.go:363 +0xd6 fp=0xc000059750 sp=0xc000059730 pc=0x43c276
runtime.gcBgMarkWorker()
	/usr/lib/golang/src/runtime/mgc.go:1235 +0xf1 fp=0xc0000597e0 sp=0xc000059750 pc=0x41ebb1
runtime.goexit()
	/usr/lib/golang/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0000597e8 sp=0xc0000597e0 pc=0x469ca1
created by runtime.gcBgMarkStartWorkers
	/usr/lib/golang/src/runtime/mgc.go:1159 +0x25

goroutine 58 [GC worker (idle)]:
runtime.gopark(0x28825f93b242c?, 0x0?, 0xd0?, 0x9f?, 0x6dfe11?)
	/usr/lib/golang/src/runtime/proc.go:363 +0xd6 fp=0xc000059f50 sp=0xc000059f30 pc=0x43c276
runtime.gcBgMarkWorker()
	/usr/lib/golang/src/runtime/mgc.go:1235 +0xf1 fp=0xc000059fe0 sp=0xc000059f50 pc=0x41ebb1
runtime.goexit()
	/usr/lib/golang/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000059fe8 sp=0xc000059fe0 pc=0x469ca1
created by runtime.gcBgMarkStartWorkers
	/usr/lib/golang/src/runtime/mgc.go:1159 +0x25

goroutine 72 [GC worker (idle), 9 minutes]:
runtime.gopark(0x287b5b3db4a85?, 0x3?, 0xb7?, 0xbd?, 0x0?)
	/usr/lib/golang/src/runtime/proc.go:363 +0xd6 fp=0xc00005a750 sp=0xc00005a730 pc=0x43c276
runtime.gcBgMarkWorker()
	/usr/lib/golang/src/runtime/mgc.go:1235 +0xf1 fp=0xc00005a7e0 sp=0xc00005a750 pc=0x41ebb1
runtime.goexit()
	/usr/lib/golang/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00005a7e8 sp=0xc00005a7e0 pc=0x469ca1
created by runtime.gcBgMarkStartWorkers
	/usr/lib/golang/src/runtime/mgc.go:1159 +0x25

goroutine 45 [GC worker (idle), 10 minutes]:
runtime.gopark(0x287b0d17cb83f?, 0x0?, 0x0?, 0x0?, 0x0?)
	/usr/lib/golang/src/runtime/proc.go:363 +0xd6 fp=0xc000058750 sp=0xc000058730 pc=0x43c276
runtime.gcBgMarkWorker()
	/usr/lib/golang/src/runtime/mgc.go:1235 +0xf1 fp=0xc0000587e0 sp=0xc000058750 pc=0x41ebb1
runtime.goexit()
	/usr/lib/golang/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0000587e8 sp=0xc0000587e0 pc=0x469ca1
created by runtime.gcBgMarkStartWorkers
	/usr/lib/golang/src/runtime/mgc.go:1159 +0x25

goroutine 679 [IO wait]:
runtime.gopark(0x8?, 0xb?, 0x0?, 0x0?, 0x7?)
	/usr/lib/golang/src/runtime/proc.go:363 +0xd6 fp=0xc000491de8 sp=0xc000491dc8 pc=0x43c276
runtime.netpollblock(0x479505?, 0x491e68?, 0xc0?)
	/usr/lib/golang/src/runtime/netpoll.go:526 +0xf7 fp=0xc000491e20 sp=0xc000491de8 pc=0x434d97
internal/poll.runtime_pollWait(0x7fc6b06d04b8, 0x72)
	/usr/lib/golang/src/runtime/netpoll.go:305 +0x89 fp=0xc000491e40 sp=0xc000491e20 pc=0x4644e9
internal/poll.(*pollDesc).wait(0xc000414180?, 0xc0005c4371?, 0x0)
	/usr/lib/golang/src/internal/poll/fd_poll_runtime.go:84 +0x32 fp=0xc000491e68 sp=0xc000491e40 pc=0x4e1992
internal/poll.(*pollDesc).waitRead(...)
	/usr/lib/golang/src/internal/poll/fd_poll_runtime.go:89
internal/poll.(*FD).Read(0xc000414180, {0xc0005c4371, 0x1, 0x1})
	/usr/lib/golang/src/internal/poll/fd_unix.go:167 +0x25a fp=0xc000491ee8 sp=0xc000491e68 pc=0x4e2cfa
net.(*netFD).Read(0xc000414180, {0xc0005c4371?, 0xc0000b8118?, 0xc000491f68?})
	/usr/lib/golang/src/net/fd_posix.go:55 +0x29 fp=0xc000491f30 sp=0xc000491ee8 pc=0x5cad09
net.(*conn).Read(0xc000014028, {0xc0005c4371?, 0xc00007e050?, 0x0?})
	/usr/lib/golang/src/net/net.go:183 +0x45 fp=0xc000491f78 sp=0xc000491f30 pc=0x5d9f85
net/http.(*connReader).backgroundRead(0xc0005c4360)
	/usr/lib/golang/src/net/http/server.go:678 +0x3f fp=0xc000491fc8 sp=0xc000491f78 pc=0x6c323f
net/http.(*connReader).startBackgroundRead.func2()
	/usr/lib/golang/src/net/http/server.go:674 +0x26 fp=0xc000491fe0 sp=0xc000491fc8 pc=0x6c3166
runtime.goexit()
	/usr/lib/golang/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000491fe8 sp=0xc000491fe0 pc=0x469ca1
created by net/http.(*connReader).startBackgroundRead
	/usr/lib/golang/src/net/http/server.go:674 +0xca

I have no good ideas how to debug your crash.

Alex

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants