We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the Bug A clear and concise description of what the bug is.
Steps to Reproduce Steps to reproduce the behavior: shell
./migrate create -ext sql -dir dbmigration create_users_table ./migrate --path dbmigrate --database "mysql://user:pass@tcp(127.0.0.1:4000)/dbtest?x-tls-insecure-skip-verify=true" up
and console print
panic: suint(-1072703689) expects input >= 0 goroutine 49 gp=0xc59c248 m=0 mp=0xafc0020 [running]: panic({0x96f2860, 0xc5b2040}) runtime/panic.go:804 +0x144 fp=0xc5be77c sp=0xc5be728 pc=0x80b9de4 github.com/golang-migrate/migrate/v4.suint(...) github.com/golang-migrate/migrate/v4/util.go:45 github.com/golang-migrate/migrate/v4.(*Migrate).readUp(0xc661c80, 0xffffffff, 0xffffffff, 0xc596280) github.com/golang-migrate/migrate/v4/migrate.go:582 +0x684 fp=0xc5be7dc sp=0xc5be77c pc=0x86e1014 github.com/golang-migrate/migrate/v4.(*Migrate).Up.gowrap1() github.com/golang-migrate/migrate/v4/migrate.go:283 +0x3d fp=0xc5be7f0 sp=0xc5be7dc pc=0x86df8dd runtime.goexit({}) runtime/asm_386.s:1393 +0x1 fp=0xc5be7f4 sp=0xc5be7f0 pc=0x80c0ce1 created by github.com/golang-migrate/migrate/v4.(*Migrate).Up in goroutine 1 github.com/golang-migrate/migrate/v4/migrate.go:283 +0xda goroutine 1 gp=0xc006128 m=nil [IO wait]: runtime.gopark(0x9b6b598, 0xf74fce90, 0x2, 0x2, 0x5) runtime/proc.go:424 +0x10c fp=0xc03993c sp=0xc039928 pc=0x80ba1cc runtime.netpollblock(0xf74fce80, 0x72, 0x0) runtime/netpoll.go:575 +0xea fp=0xc039954 sp=0xc03993c pc=0x807d9fa internal/poll.runtime_pollWait(0xf74fce80, 0x72) runtime/netpoll.go:351 +0x52 fp=0xc039968 sp=0xc039954 pc=0x80b94d2 internal/poll.(*pollDesc).wait(0xc612298, 0x72, 0x0) internal/poll/fd_poll_runtime.go:84 +0x37 fp=0xc03997c sp=0xc039968 pc=0x8137d97 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0xc612280, {0xc702000, 0x1000, 0x1000}) internal/poll/fd_unix.go:165 +0x1fc fp=0xc0399c4 sp=0xc03997c pc=0x8138c8c net.(*netFD).Read(0xc612280, {0xc702000, 0x1000, 0x1000}) net/fd_posix.go:55 +0x3f fp=0xc0399f0 sp=0xc0399c4 pc=0x826bc6f net.(*conn).Read(0xc15a058, {0xc702000, 0x1000, 0x1000}) net/net.go:189 +0x4f fp=0xc039a1c sp=0xc0399f0 pc=0x827b94f net.(*TCPConn).Read(0xc15a058, {0xc702000, 0x1000, 0x1000}) <autogenerated>:1 +0x42 fp=0xc039a3c sp=0xc039a1c pc=0x828dc72 github.com/go-sql-driver/mysql.(*buffer).fill(0xc56b4a8, 0x4) github.com/go-sql-driver/[email protected]/buffer.go:90 +0x250 fp=0xc039aa8 sp=0xc039a3c pc=0x8d20330 github.com/go-sql-driver/mysql.(*buffer).readNext(0xc56b4a8, 0x4) github.com/go-sql-driver/[email protected]/buffer.go:119 +0x32 fp=0xc039abc sp=0xc039aa8 pc=0x8d20462 github.com/go-sql-driver/mysql.(*mysqlConn).readPacket(0xc56b4a8) github.com/go-sql-driver/[email protected]/packets.go:31 +0x6d fp=0xc039b14 sp=0xc039abc pc=0x8d2a32d github.com/go-sql-driver/mysql.(*mysqlConn).readResultSetHeaderPacket(0xc56b4a8) github.com/go-sql-driver/[email protected]/packets.go:537 +0x25 fp=0xc039b38 sp=0xc039b14 pc=0x8d2c875 github.com/go-sql-driver/mysql.(*mysqlConn).exec(0xc56b4a8, {0xc800000, 0x2c}) github.com/go-sql-driver/[email protected]/connection.go:345 +0xab fp=0xc039b5c sp=0xc039b38 pc=0x8d228fb github.com/go-sql-driver/mysql.(*mysqlConn).BeginTx(0xc56b4a8, {0x9ec31b4, 0xafcda20}, {0x6, 0x0}) github.com/go-sql-driver/[email protected]/connection.go:493 +0xf4 fp=0xc039b8c sp=0xc039b5c pc=0x8d23494 database/sql.ctxDriverBegin({0x9ec31b4, 0xafcda20}, 0xc039ce4, {0x9ec0ef4, 0xc56b4a8}) database/sql/ctxutil.go:104 +0x7e fp=0xc039bc4 sp=0xc039b8c pc=0x86a4b8e database/sql.(*DB).beginDC.func1() database/sql/sql.go:1898 +0xe4 fp=0xc039c08 sp=0xc039bc4 pc=0x86ac364 database/sql.withLock({0x9ebdc38, 0xc645740}, 0xc039c4c) database/sql/sql.go:3566 +0x64 fp=0xc039c24 sp=0xc039c08 pc=0x86b2234 database/sql.(*DB).beginDC(0xc56b408, {0x9ec31b4, 0xafcda20}, 0xc645740, 0xc654f78, 0xc039ce4) database/sql/sql.go:1894 +0x92 fp=0xc039c6c sp=0xc039c24 pc=0x86ac0d2 database/sql.(*Conn).BeginTx(0xc6fe080, {0x9ec31b4, 0xafcda20}, 0xc039ce4) database/sql/sql.go:2107 +0x7b fp=0xc039c94 sp=0xc039c6c pc=0x86acd4b github.com/golang-migrate/migrate/v4/database/mysql.(*Mysql).SetVersion(0xc6a6190, 0xc00fd737, 0x1) github.com/golang-migrate/migrate/v4/database/mysql/mysql.go:359 +0x5a fp=0xc039d28 sp=0xc039c94 pc=0x8d38faa github.com/golang-migrate/migrate/v4.(*Migrate).runMigrations(0xc661c80, 0xc596280) github.com/golang-migrate/migrate/v4/migrate.go:740 +0x132 fp=0xc039de0 sp=0xc039d28 pc=0x86e1bd2 github.com/golang-migrate/migrate/v4.(*Migrate).Up(0xc661c80) github.com/golang-migrate/migrate/v4/migrate.go:284 +0xee fp=0xc039e00 sp=0xc039de0 pc=0x86df7ee github.com/golang-migrate/migrate/v4/internal/cli.upCmd(0xc661c80, 0xffffffff) github.com/golang-migrate/migrate/v4/internal/cli/commands.go:169 +0xea fp=0xc039e2c sp=0xc039e00 pc=0x957ac3a github.com/golang-migrate/migrate/v4/internal/cli.Main({0x9eabd94, 0x6}) github.com/golang-migrate/migrate/v4/internal/cli/main.go:248 +0x897 fp=0xc039fa0 sp=0xc039e2c pc=0x957bef7 main.main() github.com/golang-migrate/migrate/v4/cmd/migrate/main.go:6 +0x2d fp=0xc039fac sp=0xc039fa0 pc=0x957deed runtime.main() runtime/proc.go:272 +0x2a6 fp=0xc039ff0 sp=0xc039fac pc=0x8084886 runtime.goexit({}) runtime/asm_386.s:1393 +0x1 fp=0xc039ff4 sp=0xc039ff0 pc=0x80c0ce1 goroutine 2 gp=0xc006488 m=nil [force gc (idle)]: runtime.gopark(0x9b6b5a4, 0xafbbef0, 0x11, 0xa, 0x1) runtime/proc.go:424 +0x10c fp=0xc076fdc sp=0xc076fc8 pc=0x80ba1cc runtime.goparkunlock(...) runtime/proc.go:430 runtime.forcegchelper() runtime/proc.go:337 +0xd3 fp=0xc076ff0 sp=0xc076fdc pc=0x8084bf3 runtime.goexit({}) runtime/asm_386.s:1393 +0x1 fp=0xc076ff4 sp=0xc076ff0 pc=0x80c0ce1 created by runtime.init.6 in goroutine 1 runtime/proc.go:325 +0x23 goroutine 3 gp=0xc0067e8 m=nil [GC sweep wait]: runtime.gopark(0x9b6b5a4, 0xafbdcf0, 0xc, 0x9, 0x1) runtime/proc.go:424 +0x10c fp=0xc0777cc sp=0xc0777b8 pc=0x80ba1cc runtime.goparkunlock(...) runtime/proc.go:430 runtime.bgsweep(0xc04a0c0) runtime/mgcsweep.go:317 +0xf8 fp=0xc0777e8 sp=0xc0777cc pc=0x806f868 runtime.gcenable.gowrap1() runtime/mgc.go:203 +0x27 fp=0xc0777f0 sp=0xc0777e8 pc=0x8060e67 runtime.goexit({}) runtime/asm_386.s:1393 +0x1 fp=0xc0777f4 sp=0xc0777f0 pc=0x80c0ce1 created by runtime.gcenable in goroutine 1 runtime/mgc.go:203 +0x77 goroutine 4 gp=0xc006908 m=nil [GC scavenge wait]: runtime.gopark(0x9b6b5a4, 0xafbee00, 0xd, 0xa, 0x2) runtime/proc.go:424 +0x10c fp=0xc077fb8 sp=0xc077fa4 pc=0x80ba1cc runtime.goparkunlock(...) runtime/proc.go:430 runtime.(*scavengerState).park(0xafbee00) runtime/mgcscavenge.go:425 +0x60 fp=0xc077fcc sp=0xc077fb8 pc=0x806cd40 runtime.bgscavenge(0xc04a0c0) runtime/mgcscavenge.go:658 +0x6f fp=0xc077fe8 sp=0xc077fcc pc=0x806d3cf runtime.gcenable.gowrap2() runtime/mgc.go:204 +0x27 fp=0xc077ff0 sp=0xc077fe8 pc=0x8060e27 runtime.goexit({}) runtime/asm_386.s:1393 +0x1 fp=0xc077ff4 sp=0xc077ff0 pc=0x80c0ce1 created by runtime.gcenable in goroutine 1 runtime/mgc.go:204 +0xb7 goroutine 5 gp=0xc006fc8 m=nil [finalizer wait]: runtime.gopark(0x9b6b454, 0xafcdb10, 0x10, 0xa, 0x1) runtime/proc.go:424 +0x10c fp=0xc076798 sp=0xc076784 pc=0x80ba1cc runtime.runfinq() runtime/mfinal.go:193 +0xfc fp=0xc0767f0 sp=0xc076798 pc=0x805ff6c runtime.goexit({}) runtime/asm_386.s:1393 +0x1 fp=0xc0767f4 sp=0xc0767f0 pc=0x80c0ce1 created by runtime.createfing in goroutine 1 runtime/mfinal.go:163 +0x60 goroutine 6 gp=0xc2e67e8 m=nil [GC worker (idle)]: runtime.gopark(0x9b6b460, 0xc0b6000, 0x1a, 0xa, 0x0) runtime/proc.go:424 +0x10c fp=0xc07878c sp=0xc078778 pc=0x80ba1cc runtime.gcBgMarkWorker(0xc04a580) runtime/mgc.go:1363 +0xfd fp=0xc0787e8 sp=0xc07878c pc=0x806388d runtime.gcBgMarkStartWorkers.gowrap1() runtime/mgc.go:1279 +0x27 fp=0xc0787f0 sp=0xc0787e8 pc=0x8063777 runtime.goexit({}) runtime/asm_386.s:1393 +0x1 fp=0xc0787f4 sp=0xc0787f0 pc=0x80c0ce1 created by runtime.gcBgMarkStartWorkers in goroutine 1 runtime/mgc.go:1279 +0x12c goroutine 17 gp=0xc0a2248 m=nil [GC worker (idle)]: runtime.gopark(0x9b6b460, 0xc500000, 0x1a, 0xa, 0x0) runtime/proc.go:424 +0x10c fp=0xc07278c sp=0xc072778 pc=0x80ba1cc runtime.gcBgMarkWorker(0xc04a580) runtime/mgc.go:1363 +0xfd fp=0xc0727e8 sp=0xc07278c pc=0x806388d runtime.gcBgMarkStartWorkers.gowrap1() runtime/mgc.go:1279 +0x27 fp=0xc0727f0 sp=0xc0727e8 pc=0x8063777 runtime.goexit({}) runtime/asm_386.s:1393 +0x1 fp=0xc0727f4 sp=0xc0727f0 pc=0x80c0ce1 created by runtime.gcBgMarkStartWorkers in goroutine 1 runtime/mgc.go:1279 +0x12c goroutine 33 gp=0xc504008 m=nil [GC worker (idle)]: runtime.gopark(0x9b6b460, 0xc048420, 0x1a, 0xa, 0x0) runtime/proc.go:424 +0x10c fp=0xc50a78c sp=0xc50a778 pc=0x80ba1cc runtime.gcBgMarkWorker(0xc04a580) runtime/mgc.go:1363 +0xfd fp=0xc50a7e8 sp=0xc50a78c pc=0x806388d runtime.gcBgMarkStartWorkers.gowrap1() runtime/mgc.go:1279 +0x27 fp=0xc50a7f0 sp=0xc50a7e8 pc=0x8063777 runtime.goexit({}) runtime/asm_386.s:1393 +0x1 fp=0xc50a7f4 sp=0xc50a7f0 pc=0x80c0ce1 created by runtime.gcBgMarkStartWorkers in goroutine 1 runtime/mgc.go:1279 +0x12c goroutine 7 gp=0xc2e6908 m=nil [GC worker (idle)]: runtime.gopark(0x9b6b460, 0xc0b6018, 0x1a, 0xa, 0x0) runtime/proc.go:424 +0x10c fp=0xc078f8c sp=0xc078f78 pc=0x80ba1cc runtime.gcBgMarkWorker(0xc04a580) runtime/mgc.go:1363 +0xfd fp=0xc078fe8 sp=0xc078f8c pc=0x806388d runtime.gcBgMarkStartWorkers.gowrap1() runtime/mgc.go:1279 +0x27 fp=0xc078ff0 sp=0xc078fe8 pc=0x8063777 runtime.goexit({}) runtime/asm_386.s:1393 +0x1 fp=0xc078ff4 sp=0xc078ff0 pc=0x80c0ce1 created by runtime.gcBgMarkStartWorkers in goroutine 1 runtime/mgc.go:1279 +0x12c goroutine 18 gp=0xc0a2368 m=nil [GC worker (idle)]: runtime.gopark(0x9b6b460, 0xc0b6030, 0x1a, 0xa, 0x0) runtime/proc.go:424 +0x10c fp=0xc072f8c sp=0xc072f78 pc=0x80ba1cc runtime.gcBgMarkWorker(0xc04a580) runtime/mgc.go:1363 +0xfd fp=0xc072fe8 sp=0xc072f8c pc=0x806388d runtime.gcBgMarkStartWorkers.gowrap1() runtime/mgc.go:1279 +0x27 fp=0xc072ff0 sp=0xc072fe8 pc=0x8063777 runtime.goexit({}) runtime/asm_386.s:1393 +0x1 fp=0xc072ff4 sp=0xc072ff0 pc=0x80c0ce1 created by runtime.gcBgMarkStartWorkers in goroutine 1 runtime/mgc.go:1279 +0x12c goroutine 19 gp=0xc0a2488 m=nil [GC worker (idle)]: runtime.gopark(0x9b6b460, 0xc0b6048, 0x1a, 0xa, 0x0) runtime/proc.go:424 +0x10c fp=0xc07378c sp=0xc073778 pc=0x80ba1cc runtime.gcBgMarkWorker(0xc04a580) runtime/mgc.go:1363 +0xfd fp=0xc0737e8 sp=0xc07378c pc=0x806388d runtime.gcBgMarkStartWorkers.gowrap1() runtime/mgc.go:1279 +0x27 fp=0xc0737f0 sp=0xc0737e8 pc=0x8063777 runtime.goexit({}) runtime/asm_386.s:1393 +0x1 fp=0xc0737f4 sp=0xc0737f0 pc=0x80c0ce1 created by runtime.gcBgMarkStartWorkers in goroutine 1 runtime/mgc.go:1279 +0x12c goroutine 20 gp=0xc0a25a8 m=nil [GC worker (idle)]: runtime.gopark(0x9b6b460, 0xc0b6060, 0x1a, 0xa, 0x0) runtime/proc.go:424 +0x10c fp=0xc073f8c sp=0xc073f78 pc=0x80ba1cc runtime.gcBgMarkWorker(0xc04a580) runtime/mgc.go:1363 +0xfd fp=0xc073fe8 sp=0xc073f8c pc=0x806388d runtime.gcBgMarkStartWorkers.gowrap1() runtime/mgc.go:1279 +0x27 fp=0xc073ff0 sp=0xc073fe8 pc=0x8063777 runtime.goexit({}) runtime/asm_386.s:1393 +0x1 fp=0xc073ff4 sp=0xc073ff0 pc=0x80c0ce1 created by runtime.gcBgMarkStartWorkers in goroutine 1 runtime/mgc.go:1279 +0x12c goroutine 21 gp=0xc0a26c8 m=nil [GC worker (idle)]: runtime.gopark(0x9b6b460, 0xc0b6078, 0x1a, 0xa, 0x0) runtime/proc.go:424 +0x10c fp=0xc07478c sp=0xc074778 pc=0x80ba1cc runtime.gcBgMarkWorker(0xc04a580) runtime/mgc.go:1363 +0xfd fp=0xc0747e8 sp=0xc07478c pc=0x806388d runtime.gcBgMarkStartWorkers.gowrap1() runtime/mgc.go:1279 +0x27 fp=0xc0747f0 sp=0xc0747e8 pc=0x8063777 runtime.goexit({}) runtime/asm_386.s:1393 +0x1 fp=0xc0747f4 sp=0xc0747f0 pc=0x80c0ce1 created by runtime.gcBgMarkStartWorkers in goroutine 1 runtime/mgc.go:1279 +0x12c goroutine 8 gp=0xc583c28 m=nil [select]: runtime.gopark(0x9b6b5d4, 0x0, 0x9, 0x3, 0x1) runtime/proc.go:424 +0x10c fp=0xc50ceac sp=0xc50ce98 pc=0x80ba1cc runtime.selectgo(0xc50cfc4, 0xc50cfb8, 0x0, 0x0, 0x3, 0x1) runtime/select.go:335 +0xb81 fp=0xc50cf98 sp=0xc50ceac pc=0x80972a1 go.opencensus.io/stats/view.(*worker).start(0xc61e5a0) [email protected]/stats/view/worker.go:292 +0xc0 fp=0xc50cfe8 sp=0xc50cf98 pc=0x8aaf420 go.opencensus.io/stats/view.init.0.gowrap1() [email protected]/stats/view/worker.go:34 +0x27 fp=0xc50cff0 sp=0xc50cfe8 pc=0x8aae937 runtime.goexit({}) runtime/asm_386.s:1393 +0x1 fp=0xc50cff4 sp=0xc50cff0 pc=0x80c0ce1 created by go.opencensus.io/stats/view.init.0 in goroutine 1 [email protected]/stats/view/worker.go:34 +0x97 goroutine 9 gp=0xc583d48 m=nil [chan receive]: runtime.gopark(0x9b6b434, 0xc04b074, 0xe, 0x7, 0x2) runtime/proc.go:424 +0x10c fp=0xc50d790 sp=0xc50d77c pc=0x80ba1cc runtime.chanrecv(0xc04b040, 0x0, 0x1) runtime/chan.go:639 +0x3c9 fp=0xc50d7cc sp=0xc50d790 pc=0x8051419 runtime.chanrecv1(0xc04b040, 0x0) runtime/chan.go:489 +0x1c fp=0xc50d7e0 sp=0xc50d7cc pc=0x805101c runtime.unique_runtime_registerUniqueMapCleanup.func1(...) runtime/mgc.go:1732 runtime.unique_runtime_registerUniqueMapCleanup.gowrap1() runtime/mgc.go:1735 +0x3a fp=0xc50d7f0 sp=0xc50d7e0 pc=0x806471a runtime.goexit({}) runtime/asm_386.s:1393 +0x1 fp=0xc50d7f4 sp=0xc50d7f0 pc=0x80c0ce1 created by unique.runtime_registerUniqueMapCleanup in goroutine 1 runtime/mgc.go:1730 +0x9c goroutine 10 gp=0xc56d328 m=nil [chan receive]: runtime.gopark(0x9b6b434, 0xc596074, 0xe, 0x7, 0x2) runtime/proc.go:424 +0x10c fp=0xc50df84 sp=0xc50df70 pc=0x80ba1cc runtime.chanrecv(0xc596040, 0x0, 0x1) runtime/chan.go:639 +0x3c9 fp=0xc50dfc0 sp=0xc50df84 pc=0x8051419 runtime.chanrecv1(0xc596040, 0x0) runtime/chan.go:489 +0x1c fp=0xc50dfd4 sp=0xc50dfc0 pc=0x805101c github.com/ClickHouse/clickhouse-go.init.0.func1() github.com/ClickHouse/[email protected]/bootstrap.go:50 +0x44 fp=0xc50dff0 sp=0xc50dfd4 pc=0x86de034 runtime.goexit({}) runtime/asm_386.s:1393 +0x1 fp=0xc50dff4 sp=0xc50dff0 pc=0x80c0ce1 created by github.com/ClickHouse/clickhouse-go.init.0 in goroutine 1 github.com/ClickHouse/[email protected]/bootstrap.go:47 +0x4d goroutine 11 gp=0xc67cfc8 m=nil [select]: runtime.gopark(0x9b6b5d4, 0x0, 0x9, 0x3, 0x1) runtime/proc.go:424 +0x10c fp=0xc074eb8 sp=0xc074ea4 pc=0x80ba1cc runtime.selectgo(0xc074fcc, 0xc074fc4, 0x0, 0x0, 0x2, 0x1) runtime/select.go:335 +0xb81 fp=0xc074fa4 sp=0xc074eb8 pc=0x80972a1 database/sql.(*DB).connectionOpener(0xc56b408, {0x9ec333c, 0xc61d320}) database/sql/sql.go:1253 +0xab fp=0xc074fe0 sp=0xc074fa4 pc=0x86a846b database/sql.OpenDB.gowrap1() database/sql/sql.go:833 +0x35 fp=0xc074ff0 sp=0xc074fe0 pc=0x86a6a85 runtime.goexit({}) runtime/asm_386.s:1393 +0x1 fp=0xc074ff4 sp=0xc074ff0 pc=0x80c0ce1 created by database/sql.OpenDB in goroutine 1 database/sql/sql.go:833 +0x132 goroutine 34 gp=0xc67d0e8 m=nil [select]: runtime.gopark(0x9b6b5d4, 0x0, 0x9, 0x3, 0x1) runtime/proc.go:424 +0x10c fp=0xc6ebe88 sp=0xc6ebe74 pc=0x80ba1cc runtime.selectgo(0xc6ebfbc, 0xc6ebf94, 0x0, 0x0, 0x2, 0x1) runtime/select.go:335 +0xb81 fp=0xc6ebf74 sp=0xc6ebe88 pc=0x80972a1 github.com/go-sql-driver/mysql.(*mysqlConn).startWatcher.func1() github.com/go-sql-driver/[email protected]/connection.go:621 +0xaf fp=0xc6ebff0 sp=0xc6ebf74 pc=0x8d246cf runtime.goexit({}) runtime/asm_386.s:1393 +0x1 fp=0xc6ebff4 sp=0xc6ebff0 pc=0x80c0ce1 created by github.com/go-sql-driver/mysql.(*mysqlConn).startWatcher in goroutine 1 github.com/go-sql-driver/[email protected]/connection.go:618 +0x101 goroutine 35 gp=0xc67d208 m=5 mp=0xc580008 [syscall]: runtime.notetsleepg(0xafcfbc0, 0xffffffffffffffff) runtime/lock_futex.go:246 +0x2e fp=0xc6e7fcc sp=0xc6e7fb4 pc=0x80565ee os/signal.signal_recv() runtime/sigqueue.go:152 +0x3b fp=0xc6e7fe4 sp=0xc6e7fcc pc=0x80bc12b os/signal.loop() os/signal/signal_unix.go:23 +0x1a fp=0xc6e7ff0 sp=0xc6e7fe4 pc=0x9579c7a runtime.goexit({}) runtime/asm_386.s:1393 +0x1 fp=0xc6e7ff4 sp=0xc6e7ff0 pc=0x80c0ce1 created by os/signal.Notify.func1.1 in goroutine 1 os/signal/signal.go:151 +0x27 goroutine 15 gp=0xc67d328 m=nil [select, locked to thread]: runtime.gopark(0x9b6b5d4, 0x0, 0x9, 0x3, 0x1) runtime/proc.go:424 +0x10c fp=0xc6edeb0 sp=0xc6ede9c pc=0x80ba1cc runtime.selectgo(0xc6edfd8, 0xc6edfc0, 0x0, 0x0, 0x2, 0x1) runtime/select.go:335 +0xb81 fp=0xc6edf9c sp=0xc6edeb0 pc=0x80972a1 runtime.ensureSigM.func1() runtime/signal_unix.go:1060 +0x1a4 fp=0xc6edff0 sp=0xc6edf9c pc=0x80b1c14 runtime.goexit({}) runtime/asm_386.s:1393 +0x1 fp=0xc6edff4 sp=0xc6edff0 pc=0x80c0ce1 created by runtime.ensureSigM in goroutine 1 runtime/signal_unix.go:1043 +0xe3 goroutine 36 gp=0xc784008 m=nil [chan receive]: runtime.gopark(0x9b6b434, 0xc6fe0f4, 0xe, 0x7, 0x2) runtime/proc.go:424 +0x10c fp=0xc075778 sp=0xc075764 pc=0x80ba1cc runtime.chanrecv(0xc6fe0c0, 0xc0757dc, 0x1) runtime/chan.go:639 +0x3c9 fp=0xc0757b4 sp=0xc075778 pc=0x8051419 runtime.chanrecv2(0xc6fe0c0, 0xc0757dc) runtime/chan.go:494 +0x1c fp=0xc0757c8 sp=0xc0757b4 pc=0x805103c github.com/golang-migrate/migrate/v4/internal/cli.Main.func3() github.com/golang-migrate/migrate/v4/internal/cli/main.go:142 +0x43 fp=0xc0757f0 sp=0xc0757c8 pc=0x957dc33 runtime.goexit({}) runtime/asm_386.s:1393 +0x1 fp=0xc0757f4 sp=0xc0757f0 pc=0x80c0ce1 created by github.com/golang-migrate/migrate/v4/internal/cli.Main in goroutine 1 github.com/golang-migrate/migrate/v4/internal/cli/main.go:141 +0x5d3 goroutine 50 gp=0xc59c368 m=nil [runnable]: github.com/golang-migrate/migrate/v4.(*Migrate).readUp.func1() github.com/golang-migrate/migrate/v4/migrate.go:571 fp=0xc5beff0 sp=0xc5befec pc=0x86e1110 runtime.goexit({}) runtime/asm_386.s:1393 +0x1 fp=0xc5beff4 sp=0xc5beff0 pc=0x80c0ce1 created by github.com/golang-migrate/migrate/v4.(*Migrate).readUp in goroutine 49 github.com/golang-migrate/migrate/v4/migrate.go:571 +0x39a Aborted
Expected Behavior initialize successful
Migrate Version migrate v4.18.0
Loaded Source Drivers mysql
Loaded Database Drivers e.g. spanner, stub, clickhouse, cockroachdb, crdb-postgres, postgres, postgresql, pgx, redshift, cassandra, cockroach, mysql Obtained by running: migrate -help
migrate -help
Go Version migrate v4.18.0
Stacktrace see above
Additional context none
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the Bug
A clear and concise description of what the bug is.
Steps to Reproduce
Steps to reproduce the behavior:
shell
./migrate create -ext sql -dir dbmigration create_users_table ./migrate --path dbmigrate --database "mysql://user:pass@tcp(127.0.0.1:4000)/dbtest?x-tls-insecure-skip-verify=true" up
and console print
Expected Behavior
initialize successful
Migrate Version
migrate v4.18.0
Loaded Source Drivers
mysql
Loaded Database Drivers
e.g. spanner, stub, clickhouse, cockroachdb, crdb-postgres, postgres, postgresql, pgx, redshift, cassandra, cockroach, mysql
Obtained by running:
migrate -help
Go Version
migrate v4.18.0
Stacktrace
see above
Additional context
none
The text was updated successfully, but these errors were encountered: