Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 626322 - net-misc/drive-0.3.9.1: Pull, panic invalid page type
Summary: net-misc/drive-0.3.9.1: Pull, panic invalid page type
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Zac Medico
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-27 07:41 UTC by Massimo Burcheri
Modified: 2022-05-16 09:07 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Massimo Burcheri 2017-07-27 07:41:45 UTC
drive pull is not working for different Google Drive accounts I tried.
I filed the upstream bug as https://github.com/odeke-em/drive/issues/934 but I begin to feel that this could be more Gentoo specific as the error trace is referencing to /var/tmp/portage/net-misc/drive-0.3.9/work/drive-0.3.9/src/github.com/...



$ drive pull -ignore-name-clashes
Resolving...
panic: invalid page type: 20: 10

goroutine 1 [running]:
github.com/boltdb/bolt.(*Cursor).search(0xc4201b7618, 0xc4201b7688, 0x1c, 0x20, 0x14)
	/var/tmp/portage/net-misc/drive-0.3.9/work/drive-0.3.9/src/github.com/boltdb/bolt/cursor.go:256 +0x405
github.com/boltdb/bolt.(*Cursor).searchPage(0xc4201b7618, 0xc4201b7688, 0x1c, 0x20, 0x7f3113022000)
	/var/tmp/portage/net-misc/drive-0.3.9/work/drive-0.3.9/src/github.com/boltdb/bolt/cursor.go:314 +0x156
github.com/boltdb/bolt.(*Cursor).search(0xc4201b7618, 0xc4201b7688, 0x1c, 0x20, 0x18)
	/var/tmp/portage/net-misc/drive-0.3.9/work/drive-0.3.9/src/github.com/boltdb/bolt/cursor.go:271 +0x1bb
github.com/boltdb/bolt.(*Cursor).seek(0xc4201b7618, 0xc4201b7688, 0x1c, 0x20, 0x0, 0x0, 0xc42018a178, 0xc4202848d8, 0xc4202f7720, 0x1, ...)
	/var/tmp/portage/net-misc/drive-0.3.9/work/drive-0.3.9/src/github.com/boltdb/bolt/cursor.go:159 +0xb1
github.com/boltdb/bolt.(*Bucket).Get(0xc420537300, 0xc4201b7688, 0x1c, 0x20, 0x1c, 0x20, 0x0)
	/var/tmp/portage/net-misc/drive-0.3.9/work/drive-0.3.9/src/github.com/boltdb/bolt/bucket.go:267 +0xef
github.com/odeke-em/drive/config.(*Context).DeserializeIndex.func1(0xc4202848c0, 0x9d1d50, 0xc4202848c0)
	/var/tmp/portage/net-misc/drive-0.3.9/work/drive-0.3.9/src/github.com/odeke-em/drive/config/config.go:134 +0x10c
github.com/boltdb/bolt.(*DB).View(0xc4201005a0, 0xc4201b77a0, 0x0, 0x0)
	/var/tmp/portage/net-misc/drive-0.3.9/work/drive-0.3.9/src/github.com/boltdb/bolt/db.go:629 +0x9f
github.com/odeke-em/drive/config.(*Context).DeserializeIndex(0xc42001d0c0, 0xc42028c960, 0x1c, 0x0, 0x0, 0x0)
	/var/tmp/portage/net-misc/drive-0.3.9/work/drive-0.3.9/src/github.com/odeke-em/drive/config/config.go:140 +0x13f
github.com/odeke-em/drive/src.(*Commands).deserializeIndex(0xc42001d180, 0xc42028c960, 0x1c, 0x20)
	/var/tmp/portage/net-misc/drive-0.3.9/work/drive-0.3.9/src/github.com/odeke-em/drive/src/push.go:242 +0x42
github.com/odeke-em/drive/src.(*Commands).(github.com/odeke-em/drive/src.deserializeIndex)-fm(0xc42028c960, 0x1c, 0x0)
	/var/tmp/portage/net-misc/drive-0.3.9/work/drive-0.3.9/src/github.com/odeke-em/drive/src/changes.go:719 +0x3e
github.com/odeke-em/drive/src.resolveConflicts(0xc42030e480, 0x3, 0x4, 0xc420560400, 0xc4201b7a20, 0x8, 0xc42030e480, 0x3, 0x4, 0xa, ...)
	/var/tmp/portage/net-misc/drive-0.3.9/work/drive-0.3.9/src/github.com/odeke-em/drive/src/changes.go:700 +0x104
github.com/odeke-em/drive/src.(*Commands).resolveConflicts(0xc42001d180, 0xc4203da140, 0xa, 0xa, 0x0, 0x0, 0x0)
	/var/tmp/portage/net-misc/drive-0.3.9/work/drive-0.3.9/src/github.com/odeke-em/drive/src/changes.go:719 +0x1cc
github.com/odeke-em/drive/src.pull(0xc42001d180, 0x2, 0x1, 0xc42000ae00)
	/var/tmp/portage/net-misc/drive-0.3.9/work/drive-0.3.9/src/github.com/odeke-em/drive/src/pull.go:116 +0x294
github.com/odeke-em/drive/src.(*Commands).Pull(0xc42001d180, 0xc42000ae00, 0xc42001d180)
	/var/tmp/portage/net-misc/drive-0.3.9/work/drive-0.3.9/src/github.com/odeke-em/drive/src/pull.go:71 +0x34
main.(*pullCmd).Run(0xc420154000, 0xc4200106b0, 0x0, 0x0, 0xc42014e390)
	/var/tmp/portage/net-misc/drive-0.3.9/work/drive-0.3.9/src/github.com/odeke-em/drive/cmd/drive/main.go:789 +0x98c
github.com/odeke-em/command.Run()
	/var/tmp/portage/net-misc/drive-0.3.9/work/drive-0.3.9/src/github.com/odeke-em/command/command.go:202 +0x7a
github.com/odeke-em/command.ParseAndRun()
	/var/tmp/portage/net-misc/drive-0.3.9/work/drive-0.3.9/src/github.com/odeke-em/command/command.go:209 +0x25
main.main()
	/var/tmp/portage/net-misc/drive-0.3.9/work/drive-0.3.9/src/github.com/odeke-em/drive/cmd/drive/main.go:126 +0x1737
Comment 1 Zac Medico gentoo-dev 2017-09-15 07:10:29 UTC
Please try with drive-0.3.9.1.
Comment 2 Massimo Burcheri 2017-09-15 09:03:56 UTC
Same issue with drive-0.3.9.1.
Comment 3 Zac Medico gentoo-dev 2022-05-15 17:34:09 UTC
Is this still an issue with drive-0.4.0_p20210208?
Comment 4 Massimo Burcheri 2022-05-16 09:07:19 UTC
Thanks for notifying, the issue is solved with current 0.4.0_p20210208.