http://bugs.winehq.org/show_bug.cgi?id=36695
Bug ID: 36695 Summary: 64-bit binaries produced by Go produce lots of create_view messages and an eventual unhandled page fault, even if the program already finished running successfully Product: Wine Version: 1.7.19 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: pietro10@mac.com
Created attachment 48734 --> http://bugs.winehq.org/attachment.cgi?id=48734 Output of the hello, world program in the post.
wine seems to have a problem loading 64-bit binaries produced by the Go compiler for target windows/amd64 (GOOS=windows GOARCH=amd64).
First, on startup, wine prints a lot of messages of the form
fixme:virtual:create_view out of memory in virtual heap for 0x5c000000000-0x5c882002000
with different addresses each time. Then, the program starts running, often to completion (echo $? gives 0). At the same time, wine says
wine: Unhandled page fault at address 0x7f7f46f5b33f (thread 0029), starting debugger...
and tries to quit. (Smaller programs like the attached may not produce this message; the longer the program, the more likely it is to appear.) For small programs, the program code will race wine and succeed; larger programs will just not work.
Sometimes, the Unhandled page fault is accompanied by a messagebox with title "Wine program crash" and text "Internal errors - invalid parameters received".
The attachment is the output of
package main import "fmt" func main() { fmt.Println("hello, world") }
This is with wine from the official Ubuntu PPA. This has happened over many Go versions from the past few months; the one I used here is
go version go1.3beta2 +aecdc70c44ac Fri May 23 17:39:58 2014 -0700 linux/amd64