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

wails dev not opening app ui windows 11 #3995

Open
Git-Dominik opened this issue Jan 10, 2025 · 11 comments
Open

wails dev not opening app ui windows 11 #3995

Git-Dominik opened this issue Jan 10, 2025 · 11 comments
Labels
Bug Something isn't working

Comments

@Git-Dominik
Copy link

Description

wails dev doesn't work, can't find a solution
wails build does work work

PS C:\Users\domin\OneDrive\Desktop\Sigma-Launcher\Sigma-Launcher> wails dev
Wails CLI v2.9.2

Executing: go mod tidy
  • Generating bindings: 2025/01/10 23:27:21 Added torrent
Done.
  • Installing frontend dependencies: Done.
  • Compiling frontend: Done.

> [email protected] dev
> vite


  VITE v3.2.11  ready in 130 ms

Vite Server URL: http://localhost:5173/
  ➜  Local:   http://localhost:5173/
Running frontend DevWatcher command: 'npm run dev'
  ➜  Network: use --host to expose
Building application for development...
  • Generating bindings: Done.
  • Generating application assets: Done.
  • Compiling application: Done.
 INFO  Wails is now using the new Go WebView2Loader. If you encounter any issues with it, please report them to https://github.com/wailsapp/wails/issues/2004. You could also use the old legacy loader with `-tags native_webview2loader`, but keep in mind this will be deprecated in the near future.

Using DevServer URL: http://localhost:34115
Using Frontend DevServer URL: http://localhost:5173/
Using reload debounce setting of 100 milliseconds
Watching (sub)/directory: C:\Users\domin\OneDrive\Desktop\Sigma-Launcher\Sigma-Launcher
INF | Serving assets from frontend DevServer URL: http://localhost:5173/
DEB | WebView2 Runtime Version '131.0.2903.112' installed. Minimum version required: 94.0.992.31.
runtime: newstack at runtime.getfp+0x1e sp=0x4a65f54 stack=[0x4a64000, 0x4a66000]
        morebuf={pc:0xf39d78 sp:0x4a65f58 lr:0x0}
        sched={pc:0xf423fe sp:0x4a65f54 lr:0x0 ctxt:0x0}
DEB | [DevWebServer] Serving DevServer at http://localhost:34115
runtime.getcallerfp()
        C:/Program Files (x86)/Go/src/runtime/runtime2.go:1289 +0x8 fp=0x4a65f60 sp=0x4a65f58 pc=0xf39d78
runtime.entersyscallblock()
        C:/Program Files (x86)/Go/src/runtime/proc.go:4552 +0x67 fp=0x4a65fa0 sp=0x4a65f60 pc=0xf5f717
runtime.notetsleepg(0x236da00, 0xffffffffffffffff)
        C:/Program Files (x86)/Go/src/runtime/lock_sema.go:296 +0x36 fp=0x4a65fc4 sp=0x4a65fa0 pc=0xef0876
os/signal.signal_recv()
        C:/Program Files (x86)/Go/src/runtime/sigqueue.go:152 +0x39 fp=0x4a65fdc sp=0x4a65fc4 pc=0xf611b9
os/signal.loop()
        C:/Program Files (x86)/Go/src/os/signal/signal_unix.go:23 +0x1c fp=0x4a65ff0 sp=0x4a65fdc pc=0x165a97c
runtime.goexit({})
        C:/Program Files (x86)/Go/src/runtime/asm_386.s:1393 +0x1 fp=0x4a65ff4 sp=0x4a65ff0 pc=0xf663c1
created by os/signal.Notify.func1.1 in goroutine 1
        C:/Program Files (x86)/Go/src/os/signal/signal.go:151 +0x2d
fatal error: runtime: stack split at bad time

runtime stack:
runtime.throw({0x1cb7497, 0x20})
        C:/Program Files (x86)/Go/src/runtime/panic.go:1067 +0x35 fp=0x24fff764 sp=0x24fff750 pc=0xf5f355
runtime.newstack()
        C:/Program Files (x86)/Go/src/runtime/stack.go:1009 +0xadc fp=0x24fff800 sp=0x24fff764 pc=0xf3fb4c
runtime.morestack()
        C:/Program Files (x86)/Go/src/runtime/asm_386.s:483 +0x6c fp=0x24fff804 sp=0x24fff800 pc=0xf6500c

goroutine 35 gp=0x4ac0248 m=7 mp=0x4863908 [running]:
runtime.getcallerfp()
        C:/Program Files (x86)/Go/src/runtime/runtime2.go:1289 +0x8 fp=0x4a65f60 sp=0x4a65f58 pc=0xf39d78
runtime.entersyscallblock()
        C:/Program Files (x86)/Go/src/runtime/proc.go:4552 +0x67 fp=0x4a65fa0 sp=0x4a65f60 pc=0xf5f717
runtime.notetsleepg(0x236da00, 0xffffffffffffffff)
        C:/Program Files (x86)/Go/src/runtime/lock_sema.go:296 +0x36 fp=0x4a65fc4 sp=0x4a65fa0 pc=0xef0876
os/signal.signal_recv()
        C:/Program Files (x86)/Go/src/runtime/sigqueue.go:152 +0x39 fp=0x4a65fdc sp=0x4a65fc4 pc=0xf611b9
os/signal.loop()
        C:/Program Files (x86)/Go/src/os/signal/signal_unix.go:23 +0x1c fp=0x4a65ff0 sp=0x4a65fdc pc=0x165a97c
runtime.goexit({})
        C:/Program Files (x86)/Go/src/runtime/asm_386.s:1393 +0x1 fp=0x4a65ff4 sp=0x4a65ff0 pc=0xf663c1
created by os/signal.Notify.func1.1 in goroutine 1
        C:/Program Files (x86)/Go/src/os/signal/signal.go:151 +0x2d

goroutine 1 gp=0x4858008 m=nil [runnable, locked to thread]:
runtime.newobject(0x1b6e360)
        C:/Program Files (x86)/Go/src/runtime/malloc.go:1385 +0x3b fp=0x4a5fb24 sp=0x4a5fb20 pc=0xef1dbb
github.com/wailsapp/wails/v2/internal/frontend/desktop/windows/winc/w32.SendMessage(0x2b0924, 0x80, 0x0, 0x46510a2f)
        C:/Users/domin/go/pkg/mod/github.com/wailsapp/wails/[email protected]/internal/frontend/desktop/windows/winc/w32/user32.go:372 +0x3d fp=0x4a5fb7c sp=0x4a5fb24 pc=0x156d01d
github.com/wailsapp/wails/v2/internal/frontend/desktop/windows/winc.(*Form).SetIcon(0x4ac05a8, 0x0, 0x4c02000)
        C:/Users/domin/go/pkg/mod/github.com/wailsapp/wails/[email protected]/internal/frontend/desktop/windows/winc/form.go:224 +0x58 fp=0x4a5fb9c sp=0x4a5fb7c pc=0x15771a8
github.com/wailsapp/wails/v2/internal/frontend/desktop/windows.NewWindow({0x0, 0x0}, 0x48f2008, 0x4a9a138, 0x4a9c328)
        C:/Users/domin/go/pkg/mod/github.com/wailsapp/wails/[email protected]/internal/frontend/desktop/windows/window.go:85 +0x47c fp=0x4a5fc6c sp=0x4a5fb9c pc=0x159d51c
github.com/wailsapp/wails/v2/internal/frontend/desktop/windows.(*Frontend).Run(0x4a8e100, {0x1d5e87c, 0x4a9a1f8})
        C:/Users/domin/go/pkg/mod/github.com/wailsapp/wails/[email protected]/internal/frontend/desktop/windows/frontend.go:149 +0x11f fp=0x4a5fcd0 sp=0x4a5fc6c pc=0x1592f1f
github.com/wailsapp/wails/v2/internal/frontend/devserver.(*DevWebServer).Run(0x4a901e0, {0x1d5e87c, 0x4a9a1f8})
        C:/Users/domin/go/pkg/mod/github.com/wailsapp/wails/[email protected]/internal/frontend/devserver/devserver.go:128 +0xfa3 fp=0x4a5fed0 sp=0x4a5fcd0 pc=0x164a263
github.com/wailsapp/wails/v2/internal/app.(*App).Run(0x4a9e2a0)
        C:/Users/domin/go/pkg/mod/github.com/wailsapp/wails/[email protected]/internal/app/app_dev.go:32 +0x58 fp=0x4a5ff00 sp=0x4a5fed0 pc=0x1657838
github.com/wailsapp/wails/v2/pkg/application.(*Application).Run(0x4897578)
        C:/Users/domin/go/pkg/mod/github.com/wailsapp/wails/[email protected]/pkg/application/application.go:73 +0x173 fp=0x4a5ff44 sp=0x4a5ff00 pc=0x165b283
github.com/wailsapp/wails/v2.Run(0x48f2008)
        C:/Users/domin/go/pkg/mod/github.com/wailsapp/wails/[email protected]/wails.go:14 +0x3f fp=0x4a5ff60 sp=0x4a5ff44 pc=0x165b67f
main.main()
        C:/Users/domin/OneDrive/Desktop/Sigma-Launcher/Sigma-Launcher/main.go:23 +0x2de fp=0x4a5ffc0 sp=0x4a5ff60 pc=0x1aeccde
runtime.main()
        C:/Program Files (x86)/Go/src/runtime/proc.go:272 +0x243 fp=0x4a5fff0 sp=0x4a5ffc0 pc=0xf27803
runtime.goexit({})
        C:/Program Files (x86)/Go/src/runtime/asm_386.s:1393 +0x1 fp=0x4a5fff4 sp=0x4a5fff0 pc=0xf663c1

goroutine 2 gp=0x4858488 m=nil [force gc (idle)]:
runtime.gopark(0x1ce0cd0, 0x234b100, 0x11, 0xa, 0x1)
        C:/Program Files (x86)/Go/src/runtime/proc.go:424 +0xd8 fp=0x485bfc8 sp=0x485bfb4 pc=0xf5f468
runtime.goparkunlock(0x234b100, 0x11, 0xa, 0x1)
        C:/Program Files (x86)/Go/src/runtime/proc.go:430 +0x43 fp=0x485bfdc sp=0x485bfc8 pc=0xf27c63
runtime.forcegchelper()
        C:/Program Files (x86)/Go/src/runtime/proc.go:337 +0xd7 fp=0x485bff0 sp=0x485bfdc pc=0xf27b37
runtime.goexit({})
        C:/Program Files (x86)/Go/src/runtime/asm_386.s:1393 +0x1 fp=0x485bff4 sp=0x485bff0 pc=0xf663c1
created by runtime.init.6 in goroutine 1
        C:/Program Files (x86)/Go/src/runtime/proc.go:325 +0x21

goroutine 3 gp=0x48586c8 m=nil [GC sweep wait]:
runtime.gopark(0x1ce0cd0, 0x234b540, 0xc, 0x9, 0x1)
        C:/Program Files (x86)/Go/src/runtime/proc.go:424 +0xd8 fp=0x485dfbc sp=0x485dfa8 pc=0xf5f468
runtime.goparkunlock(0x234b540, 0xc, 0x9, 0x1)
        C:/Program Files (x86)/Go/src/runtime/proc.go:430 +0x43 fp=0x485dfd0 sp=0x485dfbc pc=0xf27c63
runtime.bgsweep(0x48261c0)
        C:/Program Files (x86)/Go/src/runtime/mgcsweep.go:277 +0xa0 fp=0x485dfe8 sp=0x485dfd0 pc=0xf0c1b0
runtime.gcenable.gowrap1()
        C:/Program Files (x86)/Go/src/runtime/mgc.go:204 +0x25 fp=0x485dff0 sp=0x485dfe8 pc=0xefdc85
runtime.goexit({})
        C:/Program Files (x86)/Go/src/runtime/asm_386.s:1393 +0x1 fp=0x485dff4 sp=0x485dff0 pc=0xf663c1
created by runtime.gcenable in goroutine 1
        C:/Program Files (x86)/Go/src/runtime/mgc.go:204 +0x75

goroutine 4 gp=0x48587e8 m=nil [GC scavenge wait]:
runtime.gopark(0x1ce0cd0, 0x234c180, 0xd, 0xa, 0x2)
        C:/Program Files (x86)/Go/src/runtime/proc.go:424 +0xd8 fp=0x4869fa8 sp=0x4869f94 pc=0xf5f468
runtime.goparkunlock(0x234c180, 0xd, 0xa, 0x2)
        C:/Program Files (x86)/Go/src/runtime/proc.go:430 +0x43 fp=0x4869fbc sp=0x4869fa8 pc=0xf27c63
runtime.(*scavengerState).park(0x234c180)
        C:/Program Files (x86)/Go/src/runtime/mgcscavenge.go:425 +0x50 fp=0x4869fcc sp=0x4869fbc pc=0xf094c0
runtime.bgscavenge(0x48261c0)
        C:/Program Files (x86)/Go/src/runtime/mgcscavenge.go:653 +0x49 fp=0x4869fe8 sp=0x4869fcc pc=0xf09b19
runtime.gcenable.gowrap2()
        C:/Program Files (x86)/Go/src/runtime/mgc.go:205 +0x25 fp=0x4869ff0 sp=0x4869fe8 pc=0xefdc45
runtime.goexit({})
        C:/Program Files (x86)/Go/src/runtime/asm_386.s:1393 +0x1 fp=0x4869ff4 sp=0x4869ff0 pc=0xf663c1
created by runtime.gcenable in goroutine 1
        C:/Program Files (x86)/Go/src/runtime/mgc.go:205 +0xb5

goroutine 5 gp=0x4858a28 m=nil [finalizer wait]:
runtime.gopark(0x1ce0b5c, 0x236cfb4, 0x10, 0xa, 0x1)
        C:/Program Files (x86)/Go/src/runtime/proc.go:424 +0xd8 fp=0x486bf9c sp=0x486bf88 pc=0xf5f468
runtime.runfinq()
        C:/Program Files (x86)/Go/src/runtime/mfinal.go:193 +0xf2 fp=0x486bff0 sp=0x486bf9c pc=0xefcce2
runtime.goexit({})
        C:/Program Files (x86)/Go/src/runtime/asm_386.s:1393 +0x1 fp=0x486bff4 sp=0x486bff0 pc=0xf663c1
created by runtime.createfing in goroutine 1
        C:/Program Files (x86)/Go/src/runtime/mfinal.go:163 +0x5e

goroutine 6 gp=0x4859328 m=nil [chan receive]:
runtime.gopark(0x1ce0b34, 0x4826cb4, 0xe, 0x7, 0x2)
        C:/Program Files (x86)/Go/src/runtime/proc.go:424 +0xd8 fp=0x485ff8c sp=0x485ff78 pc=0xf5f468
runtime.chanrecv(0x4826c80, 0x0, 0x1)
        C:/Program Files (x86)/Go/src/runtime/chan.go:639 +0x2d7 fp=0x485ffc8 sp=0x485ff8c pc=0xeea6c7
runtime.chanrecv1(0x4826c80, 0x0)
        C:/Program Files (x86)/Go/src/runtime/chan.go:489 +0x1c fp=0x485ffdc sp=0x485ffc8 pc=0xeea3bc
runtime.unique_runtime_registerUniqueMapCleanup.func1(0x1ce13e0)
        C:/Program Files (x86)/Go/src/runtime/mgc.go:1781 +0x29 fp=0x485ffe8 sp=0x485ffdc pc=0xf56fe9
runtime.unique_runtime_registerUniqueMapCleanup.gowrap1()
        C:/Program Files (x86)/Go/src/runtime/mgc.go:1784 +0x27 fp=0x485fff0 sp=0x485ffe8 pc=0xf00e17
runtime.goexit({})
        C:/Program Files (x86)/Go/src/runtime/asm_386.s:1393 +0x1 fp=0x485fff4 sp=0x485fff0 pc=0xf663c1
created by unique.runtime_registerUniqueMapCleanup in goroutine 1
        C:/Program Files (x86)/Go/src/runtime/mgc.go:1779 +0x9a

goroutine 34 gp=0x48865a8 m=nil [chan receive]:
runtime.gopark(0x1ce0b34, 0x48895b4, 0xe, 0x7, 0x2)
        C:/Program Files (x86)/Go/src/runtime/proc.go:424 +0xd8 fp=0x4865f4c sp=0x4865f38 pc=0xf5f468
runtime.chanrecv(0x4889580, 0x4865fc8, 0x1)
        C:/Program Files (x86)/Go/src/runtime/chan.go:639 +0x2d7 fp=0x4865f88 sp=0x4865f4c pc=0xeea6c7
runtime.chanrecv2(0x4889580, 0x4865fc8)
        C:/Program Files (x86)/Go/src/runtime/chan.go:494 +0x1c fp=0x4865f9c sp=0x4865f88 pc=0xeea3dc
github.com/wailsapp/wails/v2/internal/frontend/desktop/windows.(*Frontend).startSecondInstanceProcessor(0x4a8e100)
        C:/Users/domin/go/pkg/mod/github.com/wailsapp/wails/[email protected]/internal/frontend/desktop/windows/frontend.go:924 +0x42 fp=0x4865fe4 sp=0x4865f9c pc=0x1599a32
github.com/wailsapp/wails/v2/internal/frontend/desktop/windows.NewFrontend.gowrap1()
        C:/Users/domin/go/pkg/mod/github.com/wailsapp/wails/[email protected]/internal/frontend/desktop/windows/frontend.go:119 +0x29 fp=0x4865ff0 sp=0x4865fe4 pc=0x1592ce9
runtime.goexit({})
        C:/Program Files (x86)/Go/src/runtime/asm_386.s:1393 +0x1 fp=0x4865ff4 sp=0x4865ff0 pc=0xf663c1
created by github.com/wailsapp/wails/v2/internal/frontend/desktop/windows.NewFrontend in goroutine 1
        C:/Users/domin/go/pkg/mod/github.com/wailsapp/wails/[email protected]/internal/frontend/desktop/windows/frontend.go:119 +0xaa7

goroutine 36 gp=0x4ac0368 m=nil [chan receive]:
runtime.gopark(0x1ce0b34, 0x486c0b4, 0xe, 0x7, 0x2)
        C:/Program Files (x86)/Go/src/runtime/proc.go:424 +0xd8 fp=0x4a67f7c sp=0x4a67f68 pc=0xf5f468
runtime.chanrecv(0x486c080, 0x0, 0x1)
        C:/Program Files (x86)/Go/src/runtime/chan.go:639 +0x2d7 fp=0x4a67fb8 sp=0x4a67f7c pc=0xeea6c7
runtime.chanrecv1(0x486c080, 0x0)
        C:/Program Files (x86)/Go/src/runtime/chan.go:489 +0x1c fp=0x4a67fcc sp=0x4a67fb8 pc=0xeea3bc
github.com/wailsapp/wails/v2/internal/signal.Start.func1()
        C:/Users/domin/go/pkg/mod/github.com/wailsapp/wails/[email protected]/internal/signal/signal.go:31 +0x2d fp=0x4a67ff0 sp=0x4a67fcc pc=0x165aebd
runtime.goexit({})
        C:/Program Files (x86)/Go/src/runtime/asm_386.s:1393 +0x1 fp=0x4a67ff4 sp=0x4a67ff0 pc=0xf663c1
created by github.com/wailsapp/wails/v2/internal/signal.Start in goroutine 1
        C:/Users/domin/go/pkg/mod/github.com/wailsapp/wails/[email protected]/internal/signal/signal.go:30 +0x106

goroutine 37 gp=0x4ac0488 m=nil [IO wait]:
runtime.gopark(0x1ce0cb8, 0x25340f38, 0x2, 0x2, 0x5)
        C:/Program Files (x86)/Go/src/runtime/proc.go:424 +0xd8 fp=0x4afd864 sp=0x4afd850 pc=0xf5f468
runtime.netpollblock(0x25340f28, 0x72, 0x0)
        C:/Program Files (x86)/Go/src/runtime/netpoll.go:575 +0xe8 fp=0x4afd87c sp=0x4afd864 pc=0xf1f178
internal/poll.runtime_pollWait(0x25340f28, 0x72)
        C:/Program Files (x86)/Go/src/runtime/netpoll.go:351 +0x50 fp=0x4afd890 sp=0x4afd87c pc=0xf5e820
internal/poll.(*pollDesc).wait(0x487ca94, 0x72, 0x0)
        C:/Program Files (x86)/Go/src/internal/poll/fd_poll_runtime.go:84 +0x83 fp=0x4afd8b4 sp=0x4afd890 pc=0x1031213
internal/poll.execIO(0x487c9bc, 0x4afd9c0)
        C:/Program Files (x86)/Go/src/internal/poll/fd_windows.go:177 +0x29a fp=0x4afd994 sp=0x4afd8b4 pc=0x1032afa
internal/poll.(*FD).acceptOne(0x487c9a8, 0x3e4, {0x4a74000, 0x2, 0x2}, 0x487c9bc)
        C:/Program Files (x86)/Go/src/internal/poll/fd_windows.go:946 +0xdb fp=0x4afd9ec sp=0x4afd994 pc=0x1038f6b
internal/poll.(*FD).Accept(0x487c9a8, 0x4afdc28)
        C:/Program Files (x86)/Go/src/internal/poll/fd_windows.go:980 +0x3bf fp=0x4afdb34 sp=0x4afd9ec pc=0x103957f
net.(*netFD).accept(0x487c9a8)
        C:/Program Files (x86)/Go/src/net/fd_windows.go:182 +0x109 fp=0x4afdc78 sp=0x4afdb34 pc=0x124a869
net.(*TCPListener).accept(0x49748d0)
        C:/Program Files (x86)/Go/src/net/tcpsock_posix.go:159 +0x67 fp=0x4afdcf8 sp=0x4afdc78 pc=0x127c547
net.(*TCPListener).AcceptTCP(0x49748d0)
        C:/Program Files (x86)/Go/src/net/tcpsock.go:359 +0x71 fp=0x4afdd3c sp=0x4afdcf8 pc=0x1279c91
github.com/labstack/echo/v4.tcpKeepAliveListener.Accept({0x49748d0})
        C:/Users/domin/go/pkg/mod/github.com/labstack/echo/[email protected]/echo.go:982 +0x5b fp=0x4afdd74 sp=0x4afdd3c pc=0x1631cbb
github.com/labstack/echo/v4.(*tcpKeepAliveListener).Accept(0x499b170)
        <autogenerated>:1 +0x83 fp=0x4afddb0 sp=0x4afdd74 pc=0x163aee3
net/http.(*onceCloseListener).Accept(0x4a1a580)
        <autogenerated>:1 +0x77 fp=0x4afdde8 sp=0x4afddb0 pc=0x1450f27
net/http.(*Server).Serve(0x4a9c1e8, {0x1d5e730, 0x499b170})
        C:/Program Files (x86)/Go/src/net/http/server.go:3330 +0x4e0 fp=0x4afdf5c sp=0x4afdde8 pc=0x141e5a0
github.com/labstack/echo/v4.(*Echo).Start(0x4a8c168, {0x488ae40, 0xf})
        C:/Users/domin/go/pkg/mod/github.com/labstack/echo/[email protected]/echo.go:679 +0x116 fp=0x4afdfa0 sp=0x4afdf5c pc=0x162eee6
github.com/wailsapp/wails/v2/internal/frontend/devserver.(*DevWebServer).Run.func3(0x4a8c168, 0x489c460)
        C:/Users/domin/go/pkg/mod/github.com/wailsapp/wails/[email protected]/internal/frontend/devserver/devserver.go:117 +0x48 fp=0x4afdfd8 sp=0x4afdfa0 pc=0x164a358
github.com/wailsapp/wails/v2/internal/frontend/devserver.(*DevWebServer).Run.gowrap1()
        C:/Users/domin/go/pkg/mod/github.com/wailsapp/wails/[email protected]/internal/frontend/devserver/devserver.go:122 +0x42 fp=0x4afdff0 sp=0x4afdfd8 pc=0x164a2f2
runtime.goexit({})
        C:/Program Files (x86)/Go/src/runtime/asm_386.s:1393 +0x1 fp=0x4afdff4 sp=0x4afdff0 pc=0xf663c1
created by github.com/wailsapp/wails/v2/internal/frontend/devserver.(*DevWebServer).Run in goroutine 1
        C:/Users/domin/go/pkg/mod/github.com/wailsapp/wails/[email protected]/internal/frontend/devserver/devserver.go:116 +0xe9f

To Reproduce

wails dev

Expected behaviour

should open app ui

Screenshots

No response

Attempted Fixes

reinstalled, tried new projects cleaned modcache

System Details

Wails Doctor



# Wails
Version | v2.9.2

# System
┌────────────────────────────────────────────────────────────────────────┐
| OS           | Windows 10 Enterprise                                   |
| Version      | 2009 (Build: 22631)                                     |
| ID           | 23H2                                                    |
| Go Version   | go1.23.4                                                |
| Platform     | windows                                                 |
| Architecture | 386                                                     |
| CPU          | AMD Ryzen 5 5600X 6-Core Processor                      |
| GPU 1        | Meta Virtual Monitor (Meta Inc.) - Driver: 17.12.55.198 |
| GPU 2        | NVIDIA GeForce RTX 3070 (NVIDIA) - Driver: 32.0.15.6094 |
| Memory       | 16GB                                                    |
└────────────────────────────────────────────────────────────────────────┘

# Dependencies
┌────────────────────────────────────────────────────────┐
| Dependency | Package Name | Status    | Version        |
| WebView2   | N/A          | Installed | 131.0.2903.112 |
| Nodejs     | N/A          | Installed | 20.18.0        |
| npm        | N/A          | Installed | 10.8.2         |
| *upx       | N/A          | Available |                |
| *nsis      | N/A          | Available |                |
└─────────────── * - Optional Dependency ────────────────┘

# Diagnosis
Optional package(s) installation details:
  - upx : Available at https://upx.github.io/
  - nsis : More info at https://wails.io/docs/guides/windows-installer/

 SUCCESS  Your system is ready for Wails development!

 ♥   If Wails is useful to you or your company, please consider sponsoring the project:

Additional context

fix vro pls 🙏

@Git-Dominik Git-Dominik added the Bug Something isn't working label Jan 10, 2025
@leaanthony
Copy link
Member

leaanthony commented Jan 11, 2025

The problem looks to be in your code: C:/Program Files (x86)/Go/src/runtime/runtime2.go:1289

Actually that's the Go source code. How odd..

Does it work for the default templates?

@beatscode
Copy link

I'm getting the same issue however i'm on m1 mac. Wails dev seems like its working but I can't see the app ui. Wails Build open the program successfully.

@leaanthony
Copy link
Member

I need a minimum reproducible example to help further

@Git-Dominik
Copy link
Author

The problem looks to be in your code: C:/Program Files (x86)/Go/src/runtime/runtime2.go:1289

Actually that's the Go source code. How odd..

Does it work for the default templates?

Yeah, it’s the Go source code, and I have no idea why this is happening. I tried reinstalling Go, but it didn’t make a difference. The default template doesn’t work on my PC either, even though everything works perfectly on my laptop without any issues. I’ve made sure both machines are running the same versions of everything, so I’m not sure what’s going wrong.

@leaanthony
Copy link
Member

leaanthony commented Jan 14, 2025

This is the kind of thing Discord is much better at solving.

Can you please check 2 things:

  • What Webview2 version is on your working system?
  • Try running go get -u github.com/wailsapp/[email protected] in your project and trying again

I noticed this is Enterprise version so I'm wondering if there's some restrictions in writing to the webview2 data path...

@Git-Dominik
Copy link
Author

This is the kind of thing Discord is much better at solving.

Can you please check 2 things:

  • What Webview2 version is on your working system?
  • Try running go get -u github.com/wailsapp/[email protected] in your project and trying again

I noticed this is Enterprise version so I'm wondering if there's some restrictions in writing to the webview2 data path...

Both systems are running the same WebView2 version: 131.0.2903.112.

'go get -u github.com/wailsapp/[email protected]'
Same errors after running this

@ryanulit
Copy link

ryanulit commented Jan 17, 2025

I'm having a similar issue but different error on my Macbook Pro M1...

Installed the latest wails with

go install github.com/wailsapp/wails/v2/cmd/wails@latest

Created a new project

wails init -n wails-new-test -t react-ts

Ran wails dev and get this "quit unexpectedly error"

Image

The Apple report gives

Exception Type:        EXC_BAD_ACCESS (SIGKILL (Code Signature Invalid))
Exception Codes:       UNKNOWN_0x32 at 0x00000001028ccc40
Exception Codes:       0x0000000000000032, 0x00000001028ccc40

Termination Reason:    Namespace CODESIGNING, Code 2 Invalid Page

Kernel Triage:
VM - (arg = 0x0) A memory corruption was found in executable text

And wails doctor says everything is good

Image

HTH

@ryanulit
Copy link

FYI - Upgrading to go v1.23.5 has solved the above issue

@leaanthony
Copy link
Member

@Git-Dominik - Is the laptop enterprise edition too?

@Git-Dominik
Copy link
Author

@Git-Dominik - Is the laptop enterprise edition too?

Sorry for the late reply, yes its also the enterprise edition.

@leaanthony
Copy link
Member

So the environments are exactly the same and one works and the other does not. It sounds like there might be an environmental issue. Antivirus?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants