Skip to content

WebView: fatal: morestack on g0 #261

@pennersr

Description

@pennersr

I was trying out the webview and ran into an issue using the following code:

package main

import (
	. "github.com/lxn/walk/declarative"
)

func main() {
	m := MainWindow{
		Title:   "Webtest",
		MinSize: Size{600, 400},
		Layout:  VBox{},
		Children: []Widget{
			WebView{
				URL: "https://www.google.com",
			},
		},
	}	
	m.Run()
}

Try searching for "what is my browser" using the embedded search page. Then, click on the "https://www.whatismybrowser.com" link that is likely to be the 1st search result. Alternatively, you can change the URL in the source directly to point to whatismybrowser. The page never appears, instead an error message is printed thousands of time on the console and the application crashes:

fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions