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

pointer 0xc000437168 to unallocated span span.base()=0xc000430000 span.limit=0xc000438000 span.state=0 #40268

Closed
MarErm27 opened this issue Jul 17, 2020 · 3 comments

Comments

@MarErm27
Copy link

@MarErm27 MarErm27 commented Jul 17, 2020

What version of Go are you using (go version)?

I've tried go1.14.2, go1.14.4 and some older versions

$ go version

Does this issue reproduce with the latest release?

yes

What operating system and processor architecture are you using (go env)?

I've tried two
AMD Ryzen™ 7 2700X, Windows
and
Intel(R) Xeon(R) CPU E5-2670 v3 @ 2.30GHz, Linux

go env Output
$ go env

What did you do?

I've described it here Iwark/spreadsheet#52

What did you expect to see?

I've tried to update Google Sheets cell and it works well in debug regime

What did you see instead?

It returns an error when I run it not in debug regime

@MarErm27
Copy link
Author

@MarErm27 MarErm27 commented Jul 17, 2020

Here runtime\mbitmap.go
in function findObject
I changed this statement

		// The following ensures that we are rigorous about what data
		// structures hold valid pointers.
		if debug.invalidptr != 0 {
			badPointer(s, p, refBase, refOff)
		}

to this

		// The following ensures that we are rigorous about what data
		// structures hold valid pointers.
		if debug.invalidptr != 0 {
			return
			badPointer(s, p, refBase, refOff)
		}

and it works... I probably shouldn't leave it like this...

@prattmic prattmic added this to the Unplanned milestone Jul 17, 2020
@prattmic
Copy link
Member

@prattmic prattmic commented Jul 17, 2020

@MarErm27
Copy link
Author

@MarErm27 MarErm27 commented Jul 18, 2020

Hi, I was creating a client multiple times but I had to create it once and to use it. After I've done it like this error is gone.

@MarErm27 MarErm27 closed this Jul 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.