Skip to content
New issue

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

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

Already on GitHub? # to your account

Get stack trace error trying to search the database #11

Closed
nikitavoloboev opened this issue Aug 16, 2018 · 11 comments
Closed

Get stack trace error trying to search the database #11

nikitavoloboev opened this issue Aug 16, 2018 · 11 comments

Comments

@nikitavoloboev
Copy link

Here is the error I get:

Starting debug for 'GitHub jump'

[2018-08-16 15:31:29][ERROR: input.scriptfilter] Code 2: fatal error: unexpected signal during runtime execution
[signal 0xb code=0x1 addr=0x243829d00027 pc=0x4025129]

runtime stack:
runtime.throw(0x46930e0, 0x2a)
	/usr/local/Cellar/go/1.5.3/libexec/src/runtime/panic.go:527 +0x90
runtime.sigpanic()
	/usr/local/Cellar/go/1.5.3/libexec/src/runtime/sigpanic_unix.go:12 +0x5a
runtime.(*gcWork).put(0xc820020720, 0xc8204cc000)
	/usr/local/Cellar/go/1.5.3/libexec/src/runtime/mgcwork.go:87 +0x49
runtime.greyobject(0xc8204cc000, 0x0, 0x0, 0xc81ffd99ff, 0x0, 0x4dacf98, 0xc820020720)
	/usr/local/Cellar/go/1.5.3/libexec/src/runtime/mgcmark.go:1015 +0x2f1
runtime.shade(0xc8204cc000)
	/usr/local/Cellar/go/1.5.3/libexec/src/runtime/mgcmark.go:953 +0x9a
runtime.gcmarkwb_m(0xc8200574c0, 0xc8204cc000)
	/usr/local/Cellar/go/1.5.3/libexec/src/runtime/mbarrier.go:91 +0xc1
runtime.writebarrierptr_nostore1.func1()
	/usr/local/Cellar/go/1.5.3/libexec/src/runtime/mbarrier.go:117 +0x134
runtime.systemstack(0xc820020a00)
	/usr/local/Cellar/go/1.5.3/libexec/src/runtime/asm_amd64.s:262 +0x79
runtime.mstart()
	/usr/local/Cellar/go/1.5.3/libexec/src/runtime/proc1.go:668

goroutine 1 [running]:
runtime.systemstack_switch()
	/usr/local/Cellar/go/1.5.3/libexec/src/runtime/asm_amd64.s:216 fp=0xc820057410 sp=0xc820057408
runtime.writebarrierptr_nostore1(0xc8200574c0, 0xc8204cc000)
	/usr/local/Cellar/go/1.5.3/libexec/src/runtime/mbarrier.go:118 +0x71 fp=0xc820057448 sp=0xc820057410
runtime.writebarrierptr(0xc8200574c0, 0xc8204cc000)
	/usr/local/Cellar/go/1.5.3/libexec/src/runtime/mbarrier.go:137 +0x4b fp=0xc820057478 sp=0xc820057448
runtime.convT2E(0x45ec880, 0xc820057758, 0xc8204cc000, 0x45ec880, 0xc8204cc000)
	/usr/local/Cellar/go/1.5.3/libexec/src/runtime/iface.go:144 +0x140 fp=0xc8200574a0 sp=0xc820057478
github.com/lox/alfred-github-jump/vendor/github.com/mattn/go-sqlite3.(*SQLiteRows).Next(0xc820012870, 0xc82001c780, 0x6, 0x6, 0x0, 0x0)
	/Users/lachlan/Projects/go/src/github.com/lox/alfred-github-jump/vendor/github.com/mattn/go-sqlite3/sqlite3.go:990 +0xd5c fp=0xc820057798 sp=0xc8200574a0
database/sql.(*Rows).Next(0xc82001c6c0, 0xc82045d2e8)
	/usr/local/Cellar/go/1.5.3/libexec/src/database/sql/sql.go:1639 +0x12b fp=0xc820057820 sp=0xc820057798
main.ListRepositories(0x0, 0x0, 0x0, 0x0, 0x0)
	/Users/lachlan/Projects/go/src/github.com/lox/alfred-github-jump/repos.go:72 +0x190 fp=0xc8200579d8 sp=0xc820057820
main.reposCommand(0xc82000f3f0, 0x1, 0x1)
	/Users/lachlan/Projects/go/src/github.com/lox/alfred-github-jump/repos.go:39 +0x2b6 fp=0xc820057ce8 sp=0xc8200579d8
main.main()
	/Users/lachlan/Projects/go/src/github.com/lox/alfred-github-jump/main.go:33 +0x58d fp=0xc820057f50 sp=0xc820057ce8
runtime.main()
	/usr/local/Cellar/go/1.5.3/libexec/src/runtime/proc.go:111 +0x2b0 fp=0xc820057fa0 sp=0xc820057f50
runtime.goexit()
	/usr/local/Cellar/go/1.5.3/libexec/src/runtime/asm_amd64.s:1721 +0x1 fp=0xc820057fa8 sp=0xc820057fa0

goroutine 17 [syscall, locked to thread]:
runtime.goexit()
	/usr/local/Cellar/go/1.5.3/libexec/src/runtime/asm_amd64.s:1721 +0x1

goroutine 5 [chan receive]:
database/sql.(*DB).connectionOpener(0xc8200a6d20)
	/usr/local/Cellar/go/1.5.3/libexec/src/database/sql/sql.go:634 +0x45
created by database/sql.Open
	/usr/local/Cellar/go/1.5.3/libexec/src/database/sql/sql.go:481 +0x336
[2018-08-16 15:31:29][ERROR: input.scriptfilter] Code 2: runtime: newstack sp=0xc82002ef40 stack=[0x24383f307e85, 0xc82002efe0]
	morebuf={pc:0x401f431 sp:0xc82002ef50 lr:0x0}
	sched={pc:0x4022b20 sp:0xc82002ef48 lr:0x0 ctxt:0x0}
runtime: gp=0xc8204b0180, gp->status=0x4
 runtime: split stack overflow: 0xc82002ef40 < 0x24383f307e85
fatal error: runtime: split stack overflow

runtime stack:
runtime.throw(0x466b500, 0x1d)
	/usr/local/Cellar/go/1.5.3/libexec/src/runtime/panic.go:527 +0x90
runtime.newstack()
	/usr/local/Cellar/go/1.5.3/libexec/src/runtime/stack1.go:752 +0x89f
runtime.morestack()
	/usr/local/Cellar/go/1.5.3/libexec/src/runtime/asm_amd64.s:330 +0x7f

goroutine 19 [stack growth]:
runtime.gcDrain(0xc820021c20, 0x7d0)
	/usr/local/Cellar/go/1.5.3/libexec/src/runtime/mgcmark.go:718 fp=0xc82002ef50 sp=0xc82002ef48
runtime.gcBgMarkWorker(0xc820020a00)
	/usr/local/Cellar/go/1.5.3/libexec/src/runtime/mgc.go:1320 +0x281 fp=0xc82002efb8 sp=0xc82002ef50
runtime.goexit()
	/usr/local/Cellar/go/1.5.3/libexec/src/runtime/asm_amd64.s:1721 +0x1 fp=0xc82002efc0 sp=0xc82002efb8
created by runtime.gcBgMarkStartWorkers
	/usr/local/Cellar/go/1.5.3/libexec/src/runtime/mgc.go:1239 +0x93

goroutine 1 [runnable]:
database/sql.(*Rows).Next(0xc82001c6c0, 0xc82045e158)
	/usr/local/Cellar/go/1.5.3/libexec/src/database/sql/sql.go:1632
main.ListRepositories(0x0, 0x0, 0x0, 0x0, 0x0)
	/Users/lachlan/Projects/go/src/github.com/lox/alfred-github-jump/repos.go:72 +0x190
main.reposCommand(0xc82000f3f0, 0x1, 0x1)
	/Users/lachlan/Projects/go/src/github.com/lox/alfred-github-jump/repos.go:39 +0x2b6
main.main()
	/Users/lachlan/Projects/go/src/github.com/lox/alfred-github-jump/main.go:33 +0x58d

goroutine 17 [syscall, locked to thread]:
runtime.goexit()
	/usr/local/Cellar/go/1.5.3/libexec/src/runtime/asm_amd64.s:1721 +0x1

goroutine 5 [chan receive]:
database/sql.(*DB).connectionOpener(0xc8200a6dc0)
	/usr/local/Cellar/go/1.5.3/libexec/src/database/sql/sql.go:634 +0x45
created by database/sql.Open
	/usr/local/Cellar/go/1.5.3/libexec/src/database/sql/sql.go:481 +0x336
[2018-08-16 15:31:29][ERROR: input.scriptfilter] Code 2: fatal error: unexpected signal during runtime execution
[signal 0xb code=0x1 addr=0x24384d543c82 pc=0x4025129]

runtime stack:
runtime.throw(0x46930e0, 0x2a)
	/usr/local/Cellar/go/1.5.3/libexec/src/runtime/panic.go:527 +0x90
runtime.sigpanic()
	/usr/local/Cellar/go/1.5.3/libexec/src/runtime/sigpanic_unix.go:12 +0x5a
runtime.(*gcWork).put(0xc82001f220, 0xc82049fff0)
	/usr/local/Cellar/go/1.5.3/libexec/src/runtime/mgcwork.go:87 +0x49
runtime.greyobject(0xc82049fff0, 0x0, 0x0, 0xc81ffdb000, 0x2, 0x4dac878, 0xc82001f220)
	/usr/local/Cellar/go/1.5.3/libexec/src/runtime/mgcmark.go:1015 +0x2f1
runtime.shade(0xc82049fff0)
	/usr/local/Cellar/go/1.5.3/libexec/src/runtime/mgcmark.go:953 +0x9a
runtime.gcmarkwb_m(0xc820057978, 0xc82049fff0)
	/usr/local/Cellar/go/1.5.3/libexec/src/runtime/mbarrier.go:91 +0xc1
runtime.writebarrierptr_nostore1.func1()
	/usr/local/Cellar/go/1.5.3/libexec/src/runtime/mbarrier.go:117 +0x134
runtime.systemstack(0xc820020a00)
	/usr/local/Cellar/go/1.5.3/libexec/src/runtime/asm_amd64.s:262 +0x79
runtime.mstart()
	/usr/local/Cellar/go/1.5.3/libexec/src/runtime/proc1.go:668

goroutine 1 [running]:
runtime.systemstack_switch()
	/usr/local/Cellar/go/1.5.3/libexec/src/runtime/asm_amd64.s:216 fp=0xc8200577b8 sp=0xc8200577b0
runtime.writebarrierptr_nostore1(0xc820057978, 0xc82049fff0)
	/usr/local/Cellar/go/1.5.3/libexec/src/runtime/mbarrier.go:118 +0x71 fp=0xc8200577f0 sp=0xc8200577b8
runtime.writebarrierptr(0xc820057978, 0xc82049fff0)
	/usr/local/Cellar/go/1.5.3/libexec/src/runtime/mbarrier.go:137 +0x4b fp=0xc820057820 sp=0xc8200577f0
main.ListRepositories(0x0, 0x0, 0x0, 0x0, 0x0)
	/Users/lachlan/Projects/go/src/github.com/lox/alfred-github-jump/repos.go:75 +0x6a8 fp=0xc8200579d8 sp=0xc820057820
main.reposCommand(0xc82000f3f0, 0x1, 0x1)
	/Users/lachlan/Projects/go/src/github.com/lox/alfred-github-jump/repos.go:39 +0x2b6 fp=0xc820057ce8 sp=0xc8200579d8
main.main()
	/Users/lachlan/Projects/go/src/github.com/lox/alfred-github-jump/main.go:33 +0x58d fp=0xc820057f50 sp=0xc820057ce8
runtime.main()
	/usr/local/Cellar/go/1.5.3/libexec/src/runtime/proc.go:111 +0x2b0 fp=0xc820057fa0 sp=0xc820057f50
runtime.goexit()
	/usr/local/Cellar/go/1.5.3/libexec/src/runtime/asm_amd64.s:1721 +0x1 fp=0xc820057fa8 sp=0xc820057fa0

goroutine 17 [syscall, locked to thread]:
runtime.goexit()
	/usr/local/Cellar/go/1.5.3/libexec/src/runtime/asm_amd64.s:1721 +0x1

goroutine 5 [chan receive]:
database/sql.(*DB).connectionOpener(0xc8200a6dc0)
	/usr/local/Cellar/go/1.5.3/libexec/src/database/sql/sql.go:634 +0x45
created by database/sql.Open
	/usr/local/Cellar/go/1.5.3/libexec/src/database/sql/sql.go:481 +0x336
[2018-08-16 15:31:30][ERROR: input.scriptfilter] Code 2: fatal error: unexpected signal during runtime execution
[signal 0xb code=0x1 addr=0x243854797261 pc=0x4025129]

runtime stack:
runtime.throw(0x46930e0, 0x2a)
	/usr/local/Cellar/go/1.5.3/libexec/src/runtime/panic.go:527 +0x90
runtime.sigpanic()
	/usr/local/Cellar/go/1.5.3/libexec/src/runtime/sigpanic_unix.go:12 +0x5a
runtime.(*gcWork).put(0xc82001f220, 0xc8204a6560)
	/usr/local/Cellar/go/1.5.3/libexec/src/runtime/mgcwork.go:87 +0x49
runtime.greyobject(0xc8204a6560, 0x0, 0x0, 0xc81ffdacd4, 0x0, 0x4dac928, 0xc82001f220)
	/usr/local/Cellar/go/1.5.3/libexec/src/runtime/mgcmark.go:1015 +0x2f1
runtime.shade(0xc8204a6560)
	/usr/local/Cellar/go/1.5.3/libexec/src/runtime/mgcmark.go:953 +0x9a
runtime.gcmarkwb_m(0xc8200579c8, 0xc8204a6560)
	/usr/local/Cellar/go/1.5.3/libexec/src/runtime/mbarrier.go:91 +0xc1
runtime.writebarrierptr_nostore1.func1()
	/usr/local/Cellar/go/1.5.3/libexec/src/runtime/mbarrier.go:117 +0x134
runtime.systemstack(0xc820020a00)
	/usr/local/Cellar/go/1.5.3/libexec/src/runtime/asm_amd64.s:262 +0x79
runtime.mstart()
	/usr/local/Cellar/go/1.5.3/libexec/src/runtime/proc1.go:668

goroutine 1 [running]:
runtime.systemstack_switch()
	/usr/local/Cellar/go/1.5.3/libexec/src/runtime/asm_amd64.s:216 fp=0xc8200577b8 sp=0xc8200577b0
runtime.writebarrierptr_nostore1(0xc8200579c8, 0xc8204a6560)
	/usr/local/Cellar/go/1.5.3/libexec/src/runtime/mbarrier.go:118 +0x71 fp=0xc8200577f0 sp=0xc8200577b8
runtime.writebarrierptr(0xc8200579c8, 0xc8204a6560)
	/usr/local/Cellar/go/1.5.3/libexec/src/runtime/mbarrier.go:137 +0x4b fp=0xc820057820 sp=0xc8200577f0
main.ListRepositories(0x0, 0x0, 0x0, 0x0, 0x0)
	/Users/lachlan/Projects/go/src/github.com/lox/alfred-github-jump/repos.go:75 +0x60d fp=0xc8200579d8 sp=0xc820057820
main.reposCommand(0xc82000f3f0, 0x1, 0x1)
	/Users/lachlan/Projects/go/src/github.com/lox/alfred-github-jump/repos.go:39 +0x2b6 fp=0xc820057ce8 sp=0xc8200579d8
main.main()
	/Users/lachlan/Projects/go/src/github.com/lox/alfred-github-jump/main.go:33 +0x58d fp=0xc820057f50 sp=0xc820057ce8
runtime.main()
	/usr/local/Cellar/go/1.5.3/libexec/src/runtime/proc.go:111 +0x2b0 fp=0xc820057fa0 sp=0xc820057f50
runtime.goexit()
	/usr/local/Cellar/go/1.5.3/libexec/src/runtime/asm_amd64.s:1721 +0x1 fp=0xc820057fa8 sp=0xc820057fa0

goroutine 17 [syscall, locked to thread]:
runtime.goexit()
	/usr/local/Cellar/go/1.5.3/libexec/src/runtime/asm_amd64.s:1721 +0x1

goroutine 5 [chan receive]:
database/sql.(*DB).connectionOpener(0xc8200a6c80)
	/usr/local/Cellar/go/1.5.3/libexec/src/database/sql/sql.go:634 +0x45
created by database/sql.Open
	/usr/local/Cellar/go/1.5.3/libexec/src/database/sql/sql.go:481 +0x336
@nikitavoloboev
Copy link
Author

nikitavoloboev commented Aug 16, 2018

I have Go installed not with brew but through official package on the website if that makes a difference.

@nikitavoloboev
Copy link
Author

@lox Do you have any clue as to how one can fix this error?

I just updated my mac and can't live without GitHub Jump not working. I am willing to submit a PR too.

@lox
Copy link
Owner

lox commented Aug 18, 2018

Sounds like golang/go#16331.

Go 1.5 is very, very old, wanna update that too and try again?

@nikitavoloboev
Copy link
Author

Go 1.5 is very, very old, wanna update that too and try again?

nikivi% go version
go version go1.10.3 darwin/amd64

I downloaded the most recent version of Go from official installer on golang.org

This command was entered in a new shell in iTerm. Does Alfred use different version of Go? I thought the workflow read a compiled binary, why does Go version matter?

@lox
Copy link
Owner

lox commented Aug 18, 2018 via email

@nikitavoloboev
Copy link
Author

nikitavoloboev commented Aug 18, 2018

Might be worth rebuilding the binary with a new golang?

How would I do that?

Clone this repo to something like ~/Desktop then run go build and transfer the binary to inside the workflow directory itself?

I am also curious, aren't you shipping a built binary with the workflow when a person downloads the released workflow? I have few Go workflows I built with AwGo and I just ship the binary with my workflow.

@lox
Copy link
Owner

lox commented Aug 19, 2018

It's been two years since I last looked at this project, so I'm a bit blurry on it. How did you install it?

@lox
Copy link
Owner

lox commented Aug 19, 2018

Ah-hah! Releases.

@lox
Copy link
Owner

lox commented Aug 19, 2018

Also appears I haven't been watching issues on this repo! 😱

I've put out a new release with a modern build chain. Can you let me know if v1.2.0 works for you @nikitavoloboev? Re-open if you see that issue again.

@lox lox closed this as completed Aug 19, 2018
@nikitavoloboev
Copy link
Author

Can you let me know if v1.2.0 works for you @nikitavoloboev?

It does, thank you. Only #13 has some issues.

@lox
Copy link
Owner

lox commented Oct 23, 2019

Interestingly, I just ran into this myself with a very recent golang.

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

No branches or pull requests

2 participants