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
Labels
FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone

Comments

@MarErm27
Copy link

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 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 the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Jul 17, 2020
@prattmic prattmic added this to the Unplanned milestone Jul 17, 2020
@prattmic
Copy link
Member

cc @mknyszek

@MarErm27
Copy link
Author

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.

@golang golang locked and limited conversation to collaborators Jul 18, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Projects
None yet
Development

No branches or pull requests

3 participants