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

syscall: exit status -2147483646 #8144

Closed
gopherbot opened this issue Jun 3, 2014 · 10 comments
Closed

syscall: exit status -2147483646 #8144

gopherbot opened this issue Jun 3, 2014 · 10 comments

Comments

@gopherbot
Copy link

by lufei93@163.com:

https://github.com/AllenDang/gform
Run demo,Normally in Go1.2,
but Go1.3rc1 :exit status -2147483646
@ianlancetaylor
Copy link
Contributor

Comment 1:

Would it be possible to make a smaller test case?

Labels changed: added repo-main.

@alexbrainman
Copy link
Member

Comment 2:

-2147483646 is 0x80000002 is EXCEPTION_DATATYPE_MISALIGNMENT. Might be a clue.
Alex

@alexbrainman
Copy link
Member

Comment 3:

I cannot even build it.
# GOOS=windows go build github.com/AllenDang/gform/demo
# github.com/AllenDang/gform
go/path/others/src/github.com/AllenDang/gform/app.go:56: undefined: w32.GetMessage
go/path/others/src/github.com/AllenDang/gform/app.go:58: undefined: w32.TranslateMessage
go/path/others/src/github.com/AllenDang/gform/app.go:59: undefined: w32.DispatchMessage
go/path/others/src/github.com/AllenDang/gform/app.go:69: undefined: w32.PostQuitMessage
go/path/others/src/github.com/AllenDang/gform/buttons.go:12: undefined: w32.SendMessage
go/path/others/src/github.com/AllenDang/gform/buttons.go:21: undefined: w32.SendMessage
go/path/others/src/github.com/AllenDang/gform/buttons.go:57: undefined: w32.SetCapture
go/path/others/src/github.com/AllenDang/gform/buttons.go:59: undefined:
w32.ReleaseCapture
go/path/others/src/github.com/AllenDang/gform/canvas.go:15: undefined: w32.GetDC
go/path/others/src/github.com/AllenDang/gform/canvas.go:36: undefined: w32.ReleaseDC
go/path/others/src/github.com/AllenDang/gform/canvas.go:36: too many errors
#
Alex

@gopherbot
Copy link
Author

Comment 4 by lufei93@163.com:

gform is based on w32,
you can test: go get github.com/AllenDang/gform

@alexbrainman
Copy link
Member

Comment 5:

Yes, I can see now. It uses cgo. lufei93, what is the app that you run? How do you build
it? What is your environment?
Alex

@gopherbot
Copy link
Author

Comment 6 by lufei93@163.com:

go run ...\src\github.com\AllenDang\gform\demo\controls.go   (go1.2.2.windows-386.msi)
result:2014-06-03_141951.jpg
Everything's all right

Attachments:

  1. 2014-06-03_141951.jpg (32468 bytes)

@gopherbot
Copy link
Author

Comment 7 by lufei93@163.com:

go run ...\src\github.com\AllenDang\gform\demo\controls.go   (go1.3rc1.windows-386.msi)
Click on the button "Browse Folder Dlg" will quit unexpectedly
result:exit status -2147483646

@alexbrainman
Copy link
Member

Comment 8:

It does not crashing for me. Sorry. I'm using
go version devel +876107512a67 Mon Jun 02 16:01:53 2014 -0700 windows/386
Alex

@gopherbot
Copy link
Author

Comment 9 by lufei93@163.com:

thank you,I'll try

@bradfitz bradfitz removed the new label Dec 18, 2014
@rsc
Copy link
Contributor

rsc commented Apr 10, 2015

Timed out.

@rsc rsc closed this as completed Apr 10, 2015
@golang golang locked and limited conversation to collaborators Jun 25, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants