{"action":"created","issue":{"url":"https://api.github.com/repos/boltdb/bolt/issues/517","repository_url":"https://api.github.com/repos/boltdb/bolt","labels_url":"https://api.github.com/repos/boltdb/bolt/issues/517/labels{/name}","comments_url":"https://api.github.com/repos/boltdb/bolt/issues/517/comments","events_url":"https://api.github.com/repos/boltdb/bolt/issues/517/events","html_url":"https://github.com/boltdb/bolt/issues/517","id":135025365,"number":517,"title":"go test crashes on Put_VeryLarge with file resize error","user":{"login":"djherbis","id":1535210,"avatar_url":"https://avatars.githubusercontent.com/u/1535210?v=3","gravatar_id":"","url":"https://api.github.com/users/djherbis","html_url":"https://github.com/djherbis","followers_url":"https://api.github.com/users/djherbis/followers","following_url":"https://api.github.com/users/djherbis/following{/other_user}","gists_url":"https://api.github.com/users/djherbis/gists{/gist_id}","starred_url":"https://api.github.com/users/djherbis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djherbis/subscriptions","organizations_url":"https://api.github.com/users/djherbis/orgs","repos_url":"https://api.github.com/users/djherbis/repos","events_url":"https://api.github.com/users/djherbis/events{/privacy}","received_events_url":"https://api.github.com/users/djherbis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-20T02:52:32Z","updated_at":"2016-03-09T01:58:29Z","closed_at":null,"body":"I'm consistently getting the following crash during go test.\r\n\r\n```\r\ngo version\r\ngo version go1.6 windows/amd64\r\n\r\ngo test\r\nseed: 90300\r\nquick settings: count=5, items=1000, ksize=1024, vsize=1024\r\n00010000000000000000000000000000\r\n--- FAIL: TestDB_Put_VeryLarge (2.08s)\r\n        bucket_test.go:194: file resize error: truncate C:\\Users\\DJHER_~1\\AppData\\Local\\Temp\\bolt-309957413: The requested operation cannot be performed on a file with a user-mapped section open.\r\npanic: file resize error: truncate C:\\Users\\DJHER_~1\\AppData\\Local\\Temp\\bolt-309957413: The requested operation cannot be performed on a file with a user-mapped section open. [recovered]\r\n        panic: file resize error: truncate C:\\Users\\DJHER_~1\\AppData\\Local\\Temp\\bolt-309957413: The requested operation cannot be performed on a file with a user-mapped section open.\r\n\r\ngoroutine 51 [running]:\r\npanic(0x60a960, 0xc0a5cdbdf0)\r\n        C:/Go/src/runtime/panic.go:464 +0x3f4\r\ntesting.tRunner.func1(0xc0821138c0)\r\n        C:/Go/src/testing/testing.go:467 +0x199\r\npanic(0x60a960, 0xc0a5cdbdf0)\r\n        C:/Go/src/runtime/panic.go:426 +0x4f7\r\ngithub.com/boltdb/bolt_test.(*DB).MustCheck(0xc082026040)\r\n        D:/Dropbox/Go/src/github.com/boltdb/bolt/db_test.go:1590 +0xd2\r\ngithub.com/boltdb/bolt_test.(*DB).Close(0xc082026040, 0x0, 0x0)\r\n        D:/Dropbox/Go/src/github.com/boltdb/bolt/db_test.go:1527 +0x55\r\ngithub.com/boltdb/bolt_test.(*DB).MustClose(0xc082026040)\r\n        D:/Dropbox/Go/src/github.com/boltdb/bolt/db_test.go:1536 +0x28\r\nruntime.Goexit()\r\n        C:/Go/src/runtime/panic.go:323 +0x109\r\ntesting.(*common).FailNow(0xc0821138c0)\r\n        C:/Go/src/testing/testing.go:346 +0x3d\r\ntesting.(*common).Fatal(0xc0821138c0, 0xc089ddbeb8, 0x1, 0x1)\r\n        C:/Go/src/testing/testing.go:383 +0x76\r\ngithub.com/boltdb/bolt_test.TestDB_Put_VeryLarge(0xc0821138c0)\r\n        D:/Dropbox/Go/src/github.com/boltdb/bolt/bucket_test.go:194 +0x2ee\r\ntesting.tRunner(0xc0821138c0, 0x763e10)\r\n        C:/Go/src/testing/testing.go:473 +0x9f\r\ncreated by testing.RunTests\r\n        C:/Go/src/testing/testing.go:582 +0x899\r\nexit status 2\r\nFAIL    github.com/boltdb/bolt  3.209s\r\n```"},"comment":{"url":"https://api.github.com/repos/boltdb/bolt/issues/comments/194064797","html_url":"https://github.com/boltdb/bolt/issues/517#issuecomment-194064797","issue_url":"https://api.github.com/repos/boltdb/bolt/issues/517","id":194064797,"user":{"login":"davecgh","id":2115102,"avatar_url":"https://avatars.githubusercontent.com/u/2115102?v=3","gravatar_id":"","url":"https://api.github.com/users/davecgh","html_url":"https://github.com/davecgh","followers_url":"https://api.github.com/users/davecgh/followers","following_url":"https://api.github.com/users/davecgh/following{/other_user}","gists_url":"https://api.github.com/users/davecgh/gists{/gist_id}","starred_url":"https://api.github.com/users/davecgh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davecgh/subscriptions","organizations_url":"https://api.github.com/users/davecgh/orgs","repos_url":"https://api.github.com/users/davecgh/repos","events_url":"https://api.github.com/users/davecgh/events{/privacy}","received_events_url":"https://api.github.com/users/davecgh/received_events","type":"User","site_admin":false},"created_at":"2016-03-09T01:58:29Z","updated_at":"2016-03-09T01:58:29Z","body":"I was looking to sync to the latest code and am seeing this too."}}