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

undump: panic (sql no rows) #2

Open
whilei opened this issue Aug 21, 2018 · 0 comments
Open

undump: panic (sql no rows) #2

whilei opened this issue Aug 21, 2018 · 0 comments

Comments

@whilei
Copy link
Member

whilei commented Aug 21, 2018

tile 18/144232/77102 size is 1487461 with detail 14, >1000000
Going to try keeping the sparsest 60.51% of the features to make it fit
  99.9%  18/144232/77102
Dump: Migrating .mbtiles file back into a bolt db:  tippedcanoetrack.db
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x553650]

goroutine 1 [running]:
sync.(*RWMutex).RLocker(...)
        /usr/local/go/src/database/sql/sql.go:2441
database/sql.(*Rows).Next(0x0, 0xc420458060)
        /usr/local/go/src/database/sql/sql.go:2441 +0x30
github.com/rotblauer/tileTester2/undump.checkCount(0x0, 0x6e7da0)
        /root/gocode/src/github.com/rotblauer/tileTester2/undump/undump.go:92 +0x49
github.com/rotblauer/tileTester2/undump.MbtilesToBolt(0xc420458010, 0xb, 0x6e34ed, 0x13)
        /root/gocode/src/github.com/rotblauer/tileTester2/undump/undump.go:115 +0xe4
main.main()
        /root/gocode/src/github.com/rotblauer/tileTester2/dump.go:243 +0x610
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

1 participant