-
Notifications
You must be signed in to change notification settings - Fork 429
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
panic: assertion failed: write: circular dependency occurred #861
Comments
Follow-up: Removing the "-ignore-checksum" flag gets rid of the error. |
Hello there @wsnoble, thank you for the issue and welcome to drive! So for the past 1 month or so, we've been plagued by such boltdb crashes but There are a few issues similar to this one:
and a wiki entry was made here https://github.com/odeke-em/drive/wiki/Boltdb-breaks-drive-with-(panic:-invalid-page-type:)-or-(panic:--above-high-water-mark). |
I'm trying this boltdb solution but got stuck after I did
$ cd $GOPATH/src/github.com/boltdb/bolt && git reset --hard
852d3024fa8d89dcc9a715bab6f4dcd7d59577dd
That seemed to work fine (it said "HEAD is now at 852d302 skip empty pages
during cursor seek"). However, the command "drive-gen" that I'm supposed to
issue next does not seem to exist on my system. Is that supposed to be
alongside "drive" in $GOPATH/bin?
Sorry if this is not the right place to ask this. I don't see any way to
post a query to Aaron Nel on that wiki.
Bill
…On Thu, Jan 26, 2017 at 11:41 PM, Emmanuel T Odeke ***@***.*** > wrote:
Hello there @wsnoble <https://github.com/wsnoble>, thank you for the
issue and welcome to drive!
So for the past 1 month or so, we've been plagued by such boltdb crashes
but
excluding -ignore-checksum is a first, thanks for trying that.
There are a few issues similar to this one:
- #607 <#607>
- #846 <#846>
and a wiki entry was made here https://github.com/odeke-em/
drive/wiki/Boltdb-breaks-drive-with-(panic:-invalid-
page-type:)-or-(panic:--above-high-water-mark).
Please take a look at the wiki entry and see if that does anything for you.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#861 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AVfFJs2CBlcFo-lsb2HJ9lMCg6F2cuQUks5rWZ-agaJpZM4Ltuj6>
.
|
@wsnoble thanks for trying it out. $ go get -u github.com/odeke-em/drive/drive-gen and then it should be available in your $GOPATH/bin |
OK, that worked. But I still get an error: panic: page 2 already freed goroutine 1127304 [running]: Is there anything else I might try, or further debug information that you would find useful? Bill |
Hey @wsnoble, please get and test out with the latest boltdb as per boltdb/bolt#654 $ go get -u -v github.com/odeke-em/drive/drive-gen && drive-gen and let me know if the problem persists and I'll report back to the boltdb issue. |
I did this, but I get the same problem. Attached is a log showing the output when I issued the command you suggested, followed by the panic message issued from my push command. |
Ah crap, sorry that you've had so much trouble getting it to work. Let me cross-compile a binary for you from my computer. |
Please see https://drive.google.com/open?id=0By5qQkvRAeV2aGh5Ukt1Tm9zZnc
|
Alas! Your binary also fails, with an identical error (attached). :( |
I tried pushing a large directory structure with this command:
drive push -ignore-checksum=false -quiet 2012-fdr-psm
It yielded the error
panic: assertion failed: write: circular dependency occurred
goroutine 1131507 [running]:
panic(0x8a7240, 0xc503d00850)
/net/noble/vol1/home/noble/software/go/src/runtime/panic.go:500 +0x1a1
github.com/boltdb/bolt._assert(0xc529535100, 0x97fabe, 0x23, 0x0, 0x0, 0x0)
/net/noble/vol1/home/noble/work/src/github.com/boltdb/bolt/db.go:1029 +0xff
..
I am running
bash-4.1$ drive version
drive version: 0.3.9.1
Commit Hash: <CURRENT_COMMIT>
Go Version: <GO_VERSION>
OS: <OS_INFO>
BuildTime:
My OS is CentOS Release 6.8 with linux kernel 2.6.32.
Full output log is attached.
drive.txt
The text was updated successfully, but these errors were encountered: