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

WebView:Fixed a panic (see Attachment) of open new browser window in IE 10. #695

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

TerryLiu
Copy link

=====================
Attachment :

panic: Error: ULong() v.Vt != VT_UI4, ptr=0xa79a260, value=&{Vt:3 reserved:[0 0 0 0 0 0 6 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]}

goroutine 1 [running, locked to thread]:
github.com/lxn/win.(*VARIANT).MustULong(...)
E:/GoLangPRoject/pkg/mod/github.com/lxn/[email protected]/oleaut32.go:240
github.com/lxn/walk.webView_DWebBrowserEvents2_Invoke(0xc000764940, 0x111, 0x7feefcec600, 0x0, 0x1, 0xa79a1c0, 0x0, 0x0, 0x0, 0x4)
E:/GoLangPRoject/pkg/mod/github.com/lxn/[email protected]/webview_dwebbrowserevents2.go:212 +0x11d9
syscall.Syscall(0x776d6680, 0x2, 0x4081e, 0xe76c890, 0x0, 0x0, 0x0, 0x0)
D:/Go/src/runtime/syscall_windows.go:188 +0xe9
github.com/lxn/win.IsDialogMessage(0x4081e, 0xe76c890, 0x0)
E:/GoLangPRoject/pkg/mod/github.com/lxn/[email protected]/user32.go:2747 +0x72
github.com/lxn/walk.(*FormBase).mainLoop(0xc000545000, 0x0)
E:/GoLangPRoject/pkg/mod/github.com/lxn/[email protected]/mainloop_default.go:35 +0xdc
github.com/lxn/walk.(*FormBase).Run(0xc000545000, 0x0)
E:/GoLangPRoject/pkg/mod/github.com/lxn/[email protected]/form.go:373 +0xd7

=====================
Attachment :
=====================
panic: Error: ULong() v.Vt !=  VT_UI4, ptr=0xa79a260, value=&{Vt:3 reserved:[0 0 0 0 0 0 6 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]}

goroutine 1 [running, locked to thread]:
github.com/lxn/win.(*VARIANT).MustULong(...)
        E:/GoLangPRoject/pkg/mod/github.com/lxn/[email protected]/oleaut32.go:240
github.com/lxn/walk.webView_DWebBrowserEvents2_Invoke(0xc000764940, 0x111, 0x7feefcec600, 0x0, 0x1, 0xa79a1c0, 0x0, 0x0, 0x0, 0x4)
        E:/GoLangPRoject/pkg/mod/github.com/lxn/[email protected]/webview_dwebbrowserevents2.go:212 +0x11d9
syscall.Syscall(0x776d6680, 0x2, 0x4081e, 0xe76c890, 0x0, 0x0, 0x0, 0x0)
        D:/Go/src/runtime/syscall_windows.go:188 +0xe9
github.com/lxn/win.IsDialogMessage(0x4081e, 0xe76c890, 0x0)
        E:/GoLangPRoject/pkg/mod/github.com/lxn/[email protected]/user32.go:2747 +0x72
github.com/lxn/walk.(*FormBase).mainLoop(0xc000545000, 0x0)
        E:/GoLangPRoject/pkg/mod/github.com/lxn/[email protected]/mainloop_default.go:35 +0xdc
github.com/lxn/walk.(*FormBase).Run(0xc000545000, 0x0)
        E:/GoLangPRoject/pkg/mod/github.com/lxn/[email protected]/form.go:373 +0xd7
=====================
Attachment :
=====================
panic: Error: ULong() v.Vt !=  VT_UI4, ptr=0xa79a260, value=&{Vt:3 reserved:[0 0 0 0 0 0 6 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]}

goroutine 1 [running, locked to thread]:
github.com/lxn/win.(*VARIANT).MustULong(...)
        E:/GoLangPRoject/pkg/mod/github.com/lxn/[email protected]/oleaut32.go:240
github.com/lxn/walk.webView_DWebBrowserEvents2_Invoke(0xc000764940, 0x111, 0x7feefcec600, 0x0, 0x1, 0xa79a1c0, 0x0, 0x0, 0x0, 0x4)
        E:/GoLangPRoject/pkg/mod/github.com/lxn/[email protected]/webview_dwebbrowserevents2.go:212 +0x11d9
syscall.Syscall(0x776d6680, 0x2, 0x4081e, 0xe76c890, 0x0, 0x0, 0x0, 0x0)
        D:/Go/src/runtime/syscall_windows.go:188 +0xe9
github.com/lxn/win.IsDialogMessage(0x4081e, 0xe76c890, 0x0)
        E:/GoLangPRoject/pkg/mod/github.com/lxn/[email protected]/user32.go:2747 +0x72
github.com/lxn/walk.(*FormBase).mainLoop(0xc000545000, 0x0)
        E:/GoLangPRoject/pkg/mod/github.com/lxn/[email protected]/mainloop_default.go:35 +0xdc
github.com/lxn/walk.(*FormBase).Run(0xc000545000, 0x0)
        E:/GoLangPRoject/pkg/mod/github.com/lxn/[email protected]/form.go:373 +0xd7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant