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

fatal: morestack on g0 error #213

Closed
itsbalamurali opened this issue Aug 16, 2017 · 2 comments
Closed

fatal: morestack on g0 error #213

itsbalamurali opened this issue Aug 16, 2017 · 2 comments

Comments

@itsbalamurali
Copy link

Hi,

As soon as i try to quit the program am getting the following error in console.

fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
runtime: gp: gp=0xc420000340, goid=0, gp->atomicstatus=67449862
runtime:  g:  g=0xc4201f21a0, goid=fatal: morestack on g0
0,  g->atomicstatus=0
fatal error: bad g->status in ready
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0

runtime stack:
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
runtime.throw(0x437e2b4, 0x16)
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
	/usr/local/Cellar/go/1.8.3/libexec/src/runtime/panic.go:596 +0x95
runtime.ready(0xc420000340, 0x4, 0xc4207cfa01)
	/usr/local/Cellar/go/1.8.3/libexec/src/runtime/proc.gofatal: morestack on g0
:573 +0x13e
runtime.goready.func1fatal: morestack on g0
()
	/usr/local/Cellar/go/1.8.3/libexec/src/runtime/proc.go:282 +0x38
runtime.systemstack(0xc42001b300)
	/usr/local/Cellar/go/1.8.3/libexec/src/runtime/asm_amd64.sfatal: morestack on g0
:327 +0x79fatal: morestack on g0

runtime.mstart()
	/usr/local/Cellar/go/1.8.3/libexec/src/runtime/proc.go:1132

goroutine 5674 [running]:
runtime.systemstack_switch(fatal: morestack on g0
)
	/usr/local/Cellar/go/1.8.3/libexec/src/runtime/asm_amd64.s:281fatal: morestack on g0
 fp=0xc4207cfdc8 sp=0xc4207cfdc0
runtime.goready(0xc420000340, 0x4)
	/usr/local/Cellar/go/1.8.3/libexec/src/runtime/proc.go:283 +0x54 fp=0xc4207cfdf8fatal: morestack on g0
 sp=0xc4207cfdc8
runtime.send(0xc42051ef60, 0xc420770cd0, 0xc4207cff80, 0xc4207cfea8)
	/usr/local/Cellar/go/1.8.3/libexec/src/runtime/chan.go:287 +fatal: morestack on g0
0x84 fp=0xc4207cfe28 sp=0xc4207cfdf8
runtime.chansend(0x42ffb80, 0xc42051ef60, 0xc4207cff80, 0x101010101010101, 0x429fef6, fatal: morestack on g0
0x10100000001)
	/usr/local/Cellar/go/1.8.3/libexec/src/runtime/chan.go:186 +0x87b fp=0xc4207cfed8 sp=0xc4207cfe28fatal: morestack on g0

runtime.chansend1(fatal: morestack on g0
0x42ffb80, 0xc42051ef60, 0xc4207cff80)
fatal: morestack on g0
	/usr/local/Cellar/go/1.8.3/libexec/src/runtime/chan.go:113 +0x4d fp=0xc4207cff18 sp=0xc4207cfed8
bitbucket.org/utuindia/push-broker/vendor/gopkg.in/rana/ora%2ev4.(*DrvStmt).QueryContext.func1(0xc42051ef60, 0xc42047cd10, 0xc42047cd08, 0x44fb620fatal: morestack on g0
, 0xc4200101f8, 0x4541c20fatal: morestack on g0
, 0x0, 0x0)
	/Users/itsbalamurali/Workspace/go/src/bitbucket.org/utuindia/push-broker/vendor/gopkg.in/rana/ora.v4/drvStmt_go1_8.go:78 +0x126 fp=0xc4207cffa0 sp=0xc4207cff18
runtime.goexit()
	fatal: morestack on g0
/usr/local/Cellar/go/1.8.3/libexec/src/runtime/asm_amd64.s:2197fatal: morestack on g0
 +0x1 fp=0xc4207cffa8 sp=fatal: morestack on g0
0xc4207cffa0
created by bitbucket.org/utuindia/push-broker/vendor/gopkg.in/rana/ora%2ev4.(*DrvStmt).QueryContext
fatal: morestack on g0
	/Users/itsbalamurali/Workspace/go/src/bitbucket.org/utuindia/push-broker/vendor/gopkg.in/rana/ora.v4/drvStmt_go1_8.go:82 +0x30c

goroutine 0 [??? (scan), locked to thread]:

fatal: morestack on g0
goroutine 0 [??? (scan), locked to thread]:

goroutine 0 [??? (scan), locked to thread]:

goroutine 0 [fatal: morestack on g0
??? (scan), locked to thread]:

goroutine 0 [??? (scan), locked to thread]:

goroutine 5 [syscall, 2fatal: morestack on g0
 minutes]:
os/signal.signal_recv(0x0)
	/usr/local/Cellar/go/1.8.3/libexec/src/runtime/sigqueue.go:116 +0xff
os/signal.loopfatal: morestack on g0
()
	/usr/local/Cellar/go/1.8.3/libexec/src/os/signal/signal_unix.go:22 +0x22fatal: morestack on g0

created by os/signal.init.1
	fatal: morestack on g0
/usr/local/Cellar/go/1.8.3/libexec/src/os/signal/signal_unix.go:28 +0x41
fatal: morestack on g0

goroutine 6 [chan receive, 2 minutes]:
database/sql.(*DB).connectionOpener(0xc4200cc820)
fatal: morestack on g0
	/usr/local/Cellar/go/1.8.3/libexec/src/database/sql/sql.go:837 +0x4a
created by database/sql.Open
	/usr/local/Cellar/go/1.8.3/libexec/src/database/sql/sql.go:582 +0x212

fatal: morestack on g0
goroutine 8 [select, 2 minutesfatal: morestack on g0
, locked to thread]:
runtime.gopark(0x438ab48, 0x0, 0x437985f, 0x6, 0x18, 0x2)
	/usr/local/Cellar/go/1.8.3/libexec/src/runtime/proc.gofatal: morestack on g0
:271 +0x13a
runtime.selectgoImpl(0xc420032f50, 0x0, 0x18)
fatal: morestack on g0
	/usr/local/Cellar/go/1.8.3/libexec/src/runtime/select.go:423 +0x1364
runtime.selectgo(0xc420032f50)
	/usr/local/Cellar/go/1.8.3/libexec/src/runtime/select.go:238 +0x1cfatal: morestack on g0

runtime.ensureSigM.func1()
	/usr/local/Cellar/go/1.8.3/libexec/src/runtime/signal_unix.go:434 +0x265
runtime.goexit()
	/usr/local/Cellar/go/1.8.3/libexec/src/runtime/asm_amd64.s:2197 +fatal: morestack on g0
0x1

goroutine fatal: morestack on g0
0 [??? (scan), locked to thread]:
fatal: morestack on g0
exit status 2

Process finished with exit code 1

Any help appreciated.

@tgulacsi
Copy link
Collaborator

What program? Can you share a reproduction code?

@itsbalamurali
Copy link
Author

Solution is already mentioned here #189

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