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

cmd/go: gopls marker Test/hover\const.txt failures (ACCESS_VIOLATION in cmd/go due to stack corruption on windows) #73156

Closed
gopherbot opened this issue Apr 3, 2025 · 3 comments
Labels
GoCommand cmd/go NeedsFix The path to resolution is known, but the work has not been done. Tools This label describes issues relating to any tools in the x/tools repository.
Milestone

Comments

@gopherbot
Copy link
Contributor

#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/test/marker" && test == "Test/hover\\const.txt"

Issue created automatically to collect these failures.

Example (log):

=== RUN   Test/hover\const.txt
=== PAUSE Test/hover\const.txt
=== CONT  Test/hover\const.txt
    marker_test.go:284: unmeetable expectation:
          once the following is met:
            completed work "diagnosing opened files" at least 2 times
          must have:
            no Error log messages
        reason:
          postcondition is not met:
            found matching log "2025/04/03 12:15:48 tidy: diagnosing file:///C:/b/s/w/ir/x/t/Testhoverconst.txt842173373/001/work/go.mod: err: exit status 2: stderr: Exception 0xc0000005 0x8 0x20 0x20\nPC=0x20\n\nruntime.cgocall(0x27feb0, 0x1c559e0)\n\truntime/cgocall.go:167 +0x64 fp=0x225f750 sp=0x225f718 pc=0x275a84\nruntime.syscall_syscalln(0x76c033b0, 0x7, {0x225f780, 0x9, 0x9})\n\truntime/syscall_windows.go:521 +0x66 fp=0x225f760 sp=0x225f750 pc=0x261276\nsyscall.Syscall9(0x76c033b0, 0x7, 0x1f5c320, 0x80000000, 0x3, 0x0, 0x3, 0x2000001, 0x0, 0x0, ...)\n\truntime/syscall_windows.go:469 +0x77 fp=0x225f7a8 sp=0x225f760 pc=0x27c697\nsyscall.createFile(0x1f5c320, 0x80000000, 0x3, 0x0, 0x3, 0x2000001, 0x0)\n\tsyscall/zsyscall_windows.go:506 +0xa8 fp=0x225f7f4 sp=0x225f7a8 pc=0x29dbd8\nsyscall.Open({0x259c900, 0x4f}, 0x80000, 0x0)\n\tsyscall/syscall_windows.go:407 +0x180 fp=0x225f854 sp=0x225f7f4 pc=0x299ea0\nos.openFileNolog({0x259c900, 0x4f}, 0x0, 0x0)\n\tos/file_windows.go:104 +0xaa fp=0x225f87c sp=0x225f854 pc=0x31143a\nos.OpenFile({0x259c900, 0x4f}, 0x0, 0x0)\n\tos/file.go:393 +0x4f fp=0x225f89c sp=0x225f87c pc=0x30f7cf\nos.Open(...)\n\tos/file.go:371\ncmd/go/internal/fsys.Open({0x259c900, 0x4f})\n\tcmd/go/internal/fsys/fsys.go:573 +0xab fp=0x225f8d4 sp=0x225f89c pc=0x3da1eb\ncmd/go/internal/modindex.getFileInfo({0x1c16880, 0x30}, {0x220ab40, 0x1e}, 0x1fa5560)\n\tcmd/go/internal/modindex/build.go:442 +0x40e fp=0x225f94c sp=0x225f8d4 pc=0x6a1abe\ncmd/go/internal/modindex.importRaw({0x259a2a0, 0x1a}, {0x25dc05b, 0x15})\n\tcmd/go/internal/modindex/scan.go:220 +0x49e fp=0x225fa54 sp=0x225f94c pc=0x6afc4e\ncmd/go/internal/modindex.indexPackage({0x259a2a0, 0x1a}, {0x25dc040, 0x30})\n\tcmd/go/internal/modindex/scan.go:86 +0x85 fp=0x225fa74 sp=0x225fa54 pc=0x6af455\ncmd/go/internal/modindex.openIndexPackage.func1()\n\tcmd/go/internal/modindex/read.go:232 +0x17c fp=0x225fb78 sp=0x225fa74 pc=0x6a80fc\ncmd/internal/par.(*ErrCache[...]).Do.func1()\n\tcmd/internal/par/work.go:119 +0x1a fp=0x225fb88 sp=0x225fb78 pc=0x6b1e8a\ncmd/internal/par.(*Cache[...]).Do(0xa7e680, {{0x259a2a0, 0x1a}, {0x25dc040, 0x30}}, 0x203dbf4)\n\tcmd/internal/par/work.go:160 +0x127 fp=0x225fbcc sp=0x225fb88 pc=0x6b20e7\ncmd/internal/par.(*ErrCache[...]).Do(0xa7dc60, {{0x259a2a0, 0x1a}, {0x25dc040, 0x30}}, 0x203dc3c)\n\tcmd/internal/par/work.go:118 +0x56 fp=0x225fc04 sp=0x225fbcc pc=0x6b1e46\ncmd/go/internal/modindex.openIndexPackage({0x259a2a0, 0x1a}, {0x25dc040, 0x30})\n\tcmd/go/internal/modindex/read.go:219 +0x8d fp=0x225fc54 sp=0x225fc04 pc=0x6a7f4d\ncmd/go/internal/modindex.GetPackage({0x259a2a0, 0x1a}, {0x25dc040, 0x30})\n\tcmd/go/internal/modindex/read.go:151 +0x1fc fp=0x225fc88 sp=0x225fc54 pc=0x6a78dc\ncmd/go/internal/modindex.IsStandardPackage({0x1c14870, 0x16}, {0x94f275, 0x2}, {0x22f9068c, 0x15})\n\tcmd/go/internal/modindex/read.go:692 +0x248 fp=0x225fcf8 sp=0x225fc88 pc=0x6ac8d8\ncmd/go/internal/modload.importFromModules({0xa7c3d0, 0xe64940}, {0x22f9068c, 0x15}, 0x1d282a0, 0x0, 0x1)\n\tcmd/go/internal/modload/import.go:301 +0x5cb fp=0x225ff00 sp=0x225fcf8 pc=0x6cb7db\ncmd/go/internal/modload.(*loader).load(0x1d2b960, {0xa7c3d0, 0xe64940}, 0x1ee3e30)\n\tcmd/go/internal/modload/load.go:1860 +0xa5 fp=0x225ffa0 sp=0x225ff00 pc=0x6ed985\ncmd/go/internal/modload.(*loader).pkg.func1.1()\n\tcmd/go/internal/modload/load.go:1673 +0x33 fp=0x225ffb4 sp=0x225ffa0 pc=0x6ec853\ncmd/internal/par.(*Queue).Add.func1()\n\tcmd/internal/par/queue.go:58 +0x57 fp=0x225fff0 sp=0x225ffb4 pc=0x3e14e7\nruntime.goexit({})\n\truntime/asm_386.s:1386 +0x1 fp=0x225fff4 sp=0x225fff0 pc=0x27f1b1\ncreated by cmd/internal/par.(*Queue).Add in goroutine 23\n\tcmd/internal/par/queue.go:56 +0x194\n\ngoroutine 1 gp=0x1c4a008 m=nil [chan receive]:\nruntime.gopark(0x9b0438, 0x1e1e434, 0xe, 0x7, 0x2)\n\truntime/proc.go:458 +0xfd fp=0x213579c sp=0x2135788 pc=0x2789dd\nruntime.chanrecv(0x1e1e400, 0x0, 0x1)\n\truntime/chan.go:664 +0x426 fp=0x21357dc sp=0x213579c pc=0x212786\nruntime.chanrecv1(0x1e1e400, 0x0)\n\truntime/chan.go:506 +0x1c fp=0x21357f0 sp=0x21357dc pc=0x21232c\ncmd/go/internal/modload.loadFromRoots({0xa7c3d0, 0xe64940}, {{{0x0, 0x0}, 0x1d5f6c0, 0x1, 0x0, {0x0, 0x0}, 0x1, ...}, ...})\n\tcmd/go/internal/modload/load.go:1169 +0x404 fp=0x2135a04 sp=0x21357f0 pc=0x6e94a4\ncmd/go/internal/modload.LoadPackages({0xa7c3d0, 0xe64940}, {{0x0, 0x0}, 0x1d5f6c0, 0x1, 0x0, {0x0, 0x0}, 0x1, ...}, ...)\n\tcmd/go/internal/modload/load.go:372 +0x422 fp=0x2135bc0 sp=0x2135a04 pc=0x6e33e2\ncmd/go/internal/modcmd.runTidy({0xa7c3d0, 0xe64940}, 0xe3d1a0, {0x1c22218, 0x0, 0x0})\n\tcmd/go/internal/modcmd/tidy.go:133 +0x248 fp=0x2135c94 sp=0x2135bc0 pc=0x8191c8\nmain.invoke(0xe3d1a0, {0x1c22210, 0x2, 0x2})\n\tcmd/go/main.go:341 +0x8be fp=0x2135e68 sp=0x2135c94 pc=0x85973e\nmain.main()\n\tcmd/go/main.go:220 +0xffe fp=0x2135fac sp=0x2135e68 pc=0x8587de\nruntime.main()\n\truntime/proc.go:283 +0x280 fp=0x2135ff0 sp=0x2135fac pc=0x245540\nruntime.goexit({})\n\truntime/asm_386.s:1386 +0x1 fp=0x2135ff4 sp=0x2135ff0 pc=0x27f1b1\n\ngoroutine 2 gp=0x1c4a488 m=nil [force gc (idle)]:\nruntime.gopark(0x9b05cc, 0xe433c8, 0x11, 0xa, 0x1)\n\truntime/proc.go:458 +0xfd fp=0x1c4dfdc sp=0x1c4dfc8 pc=0x2789dd\nruntime.goparkunlock(...)\n\truntime/proc.go:464\nruntime.forcegchelper()\n\truntime/proc.go:371 +0xcf fp=0x1c4dff0 sp=0x1c4dfdc pc=0x24586f\nruntime.goexit({})\n\truntime/asm_386.s:1386 +0x1 fp=0x1c4dff4 sp=0x1c4dff0 pc=0x27f1b1\ncreated by runtime.init.6 in goroutine 1\n\truntime/proc.go:359 +0x21\n\ngoroutine 3 gp=0x1c4a6c8 m=nil [GC sweep wait]:\nruntime.gopark(0x9b05cc, 0xe43790, 0xc, 0x9, 0x1)\n\truntime/proc.go:458 +0xfd fp=0x1c4ffcc sp=0x1c4ffb8 pc=0x2789dd\nruntime.goparkunlock(...)\n\truntime/proc.go:464\nruntime.bgsweep(0x1c16440)\n\truntime/mgcsweep.go:316 +0xf4 fp=0x1c4ffe8 sp=0x1c4ffcc pc=0x22f494\nruntime.gcenable.gowrap1()\n\truntime/mgc.go:203 +0x25 fp=0x1c4fff0 sp=0x1c4ffe8 pc=0x220ad5\nruntime.goexit({})\n\truntime/asm_386.s:1386 +0x1 fp=0x1c4fff4 sp=0x1c4fff0 pc=0x27f1b1\ncreated by runtime.gcenable in goroutine 1\n\truntime/mgc.go:203 +0x75\n\ngoroutine 4 gp=0x1c4a7e8 m=nil [sleep]:\nruntime.gopark(0x9b05cc, 0xe44560, 0x13, 0xe, 0x2)\n\truntime/proc.go:458 +0xfd fp=0x1c5bf68 sp=0x1c5bf54 pc=0x2789dd\nruntime.goparkunlock(...)\n\truntime/proc.go:464\nruntime.(*scavengerState).sleep(0xe44560, 0x4137700000000000)\n\truntime/mgcscavenge.go:504 +0x151 fp=0x1c5bfcc sp=0x1c5bf68 pc=0x22cc91\nruntime.bgscavenge(0x1c16440)\n\truntime/mgcscavenge.go:662 +0xa4 fp=0x1c5bfe8 sp=0x1c5bfcc pc=0x22d124\nruntime.gcenable.gowrap2()\n\truntime/mgc.go:204 +0x25 fp=0x1c5bff0 sp=0x1c5bfe8 pc=0x220a95\nruntime.goexit({})\n\truntime/asm_386.s:1386 +0x1 fp=0x1c5bff4 sp=0x1c5bff0 pc=0x27f1b1\ncreated by runtime.gcenable in goroutine 1\n\truntime/mgc.go:204 +0xb5\n\ngoroutine 5 gp=0x1c4aa28 m=nil [finalizer wait]:\nruntime.gopark(0x9b045c, 0xe64a34, 0x10, 0xa, 0x1)\n\truntime/proc.go:458 +0xfd fp=0x1c5df98 sp=0x1c5df84 pc=0x2789dd\nruntime.runFinalizersAndCleanups()\n\truntime/mfinal.go:197 +0xf5 fp=0x1c5dff0 sp=0x1c5df98 pc=0x21fb65\nruntime.goexit({})\n\truntime/asm_386.s:1386 +0x1 fp=0x1c5dff4 sp=0x1c5dff0 pc=0x27f1b1\ncreated by runtime.createfing in goroutine 1\n\truntime/mfinal.go:167 +0x5e\n\ngoroutine 18 gp=0x1d06128 m=nil [chan receive]:\nruntime.gopark(0x9b0438, 0x1d14cf4, 0xe, 0x7, 0x2)\n\truntime/proc.go:458 +0xfd fp=0x1c57f8c sp=0x1c57f78 pc=0x2789dd\nruntime.chanrecv(0x1d14cc0, 0x0, 0x1)\n\truntime/chan.go:664 +0x426 fp=0x1c57fcc sp=0x1c57f8c pc=0x212786\nruntime.chanrecv1(0x1d14cc0, 0x0)\n\truntime/chan.go:506 +0x1c fp=0x1c57fe0 sp=0x1c57fcc pc=0x21232c\nruntime.unique_runtime_registerUniqueMapCleanup.func2(...)\n\truntime/mgc.go:1804\nruntime.unique_runtime_registerUniqueMapCleanup.gowrap1()\n\truntime/mgc.go:1807 +0x38 fp=0x1c57ff0 sp=0x1c57fe0 pc=0x2243e8\nruntime.goexit({})\n\truntime/asm_386.s:1386 +0x1 fp=0x1c57ff4 sp=0x1c57ff0 pc=0x27f1b1\ncreated by unique.runtime_registerUniqueMapCleanup in goroutine 1\n\truntime/mgc.go:1802 +0x6a\n\ngoroutine 24 gp=0x1d065a8 m=8 mp=0x1f80808 [syscall]:\n\tgoroutine running on other thread; stack unavailable\ncreated by cmd/internal/par.(*Queue).Add in goroutine 23\n\tcmd/internal/par/queue.go:56 +0x194\n\ngoroutine 31 gp=0x1d07b08 m=10 mp=0x2190008 [running]:\nruntime.cgocall(0x0, 0x3d77b3)\n\truntime/cgocall.go:167 +0x64 fp=0x1e09800 sp=0x1e097c8 pc=0x275a84\nruntime.syscall_syscalln(0x353, 0x0, {0x0, 0x3, 0x3})\n\truntime/syscall_windows.go:521 +0x66 fp=0x1e09810 sp=0x1e09800 pc=0x261276\ncreated by cmd/internal/par.(*Queue).Add in goroutine 23\n\tcmd/internal/par/queue.go:56 +0x194\n\ngoroutine 33 gp=0x1d07d48 m=12 mp=0x2280008 [syscall]:\n\tgoroutine running on other thread; stack unavailable\ncreated by cmd/internal/par.(*Queue).Add in goroutine 23\n\tcmd/internal/par/queue.go:56 +0x194\n\ngoroutine 50 gp=0x2110128 m=nil [GC worker (idle)]:\nruntime.gopark(0x9b046c, 0x21003d8, 0x1b, 0xa, 0x0)\n\truntime/proc.go:458 +0xfd fp=0x1f4ff8c sp=0x1f4ff78 pc=0x2789dd\nruntime.gcBgMarkWorker(0x2118000)\n\truntime/mgc.go:1431 +0xe2 fp=0x1f4ffe8 sp=0x1f4ff8c pc=0x223582\nruntime.gcBgMarkStartWorkers.gowrap1()\n\truntime/mgc.go:1347 +0x25 fp=0x1f4fff0 sp=0x1f4ffe8 pc=0x223485\nruntime.goexit({})\n\truntime/asm_386.s:1386 +0x1 fp=0x1f4fff4 sp=0x1f4fff0 pc=0x27f1b1\ncreated by runtime.gcBgMarkStartWorkers in goroutine 33\n\truntime/mgc.go:1347 +0x11a\n\ngoroutine 51 gp=0x2110248 m=nil [GC worker (idle)]:\nruntime.gopark(0x9b046c, 0x21003f0, 0x1b, 0xa, 0x0)\n\truntime/proc.go:458 +0xfd fp=0x1f51f8c sp=0x1f51f78 pc=0x2789dd\nruntime.gcBgMarkWorker(0x2118000)\n\truntime/mgc.go:1431 +0xe2 fp=0x1f51fe8 sp=0x1f51f8c pc=0x223582\nruntime.gcBgMarkStartWorkers.gowrap1()\n\truntime/mgc.go:1347 +0x25 fp=0x1f51ff0 sp=0x1f51fe8 pc=0x223485\nruntime.goexit({})\n\truntime/asm_386.s:1386 +0x1 fp=0x1f51ff4 sp=0x1f51ff0 pc=0x27f1b1\ncreated by runtime.gcBgMarkStartWorkers in goroutine 33\n\truntime/mgc.go:1347 +0x11a\n\ngoroutine 52 gp=0x2110368 m=nil [GC worker (idle)]:\nruntime.gopark(0x9b046c, 0x2100408, 0x1b, 0xa, 0x0)\n\truntime/proc.go:458 +0xfd fp=0x211ff8c sp=0x211ff78 pc=0x2789dd\nruntime.gcBgMarkWorker(0x2118000)\n\truntime/mgc.go:1431 +0xe2 fp=0x211ffe8 sp=0x211ff8c pc=0x223582\nruntime.gcBgMarkStartWorkers.gowrap1()\n\truntime/mgc.go:1347 +0x25 fp=0x211fff0 sp=0x211ffe8 pc=0x223485\nruntime.goexit({})\n\truntime/asm_386.s:1386 +0x1 fp=0x211fff4 sp=0x211fff0 pc=0x27f1b1\ncreated by runtime.gcBgMarkStartWorkers in goroutine 33\n\truntime/mgc.go:1347 +0x11a\n\ngoroutine 53 gp=0x2110488 m=nil [GC worker (idle)]:\nruntime.gopark(0x9b046c, 0x2100420, 0x1b, 0xa, 0x0)\n\truntime/proc.go:458 +0xfd fp=0x2121f8c sp=0x2121f78 pc=0x2789dd\nruntime.gcBgMarkWorker(0x2118000)\n\truntime/mgc.go:1431 +0xe2 fp=0x2121fe8 sp=0x2121f8c pc=0x223582\nruntime.gcBgMarkStartWorkers.gowrap1()\n\truntime/mgc.go:1347 +0x25 fp=0x2121ff0 sp=0x2121fe8 pc=0x223485\nruntime.goexit({})\n\truntime/asm_386.s:1386 +0x1 fp=0x2121ff4 sp=0x2121ff0 pc=0x27f1b1\ncreated by runtime.gcBgMarkStartWorkers in goroutine 33\n\truntime/mgc.go:1347 +0x11a\n\ngoroutine 54 gp=0x21105a8 m=nil [GC worker (idle)]:\nruntime.gopark(0x9b046c, 0x2100438, 0x1b, 0xa, 0x0)\n\truntime/proc.go:458 +0xfd fp=0x211bf8c sp=0x211bf78 pc=0x2789dd\nruntime.gcBgMarkWorker(0x2118000)\n\truntime/mgc.go:1431 +0xe2 fp=0x211bfe8 sp=0x211bf8c pc=0x223582\nruntime.gcBgMarkStartWorkers.gowrap1()\n\truntime/mgc.go:1347 +0x25 fp=0x211bff0 sp=0x211bfe8 pc=0x223485\nruntime.goexit({})\n\truntime/asm_386.s:1386 +0x1 fp=0x211bff4 sp=0x211bff0 pc=0x27f1b1\ncreated by runtime.gcBgMarkStartWorkers in goroutine 33\n\truntime/mgc.go:1347 +0x11a\n\ngoroutine 55 gp=0x21106c8 m=nil [GC worker (idle)]:\nruntime.gopark(0x9b046c, 0x2100450, 0x1b, 0xa, 0x0)\n\truntime/proc.go:458 +0xfd fp=0x211df8c sp=0x211df78 pc=0x2789dd\nruntime.gcBgMarkWorker(0x2118000)\n\truntime/mgc.go:1431 +0xe2 fp=0x211dfe8 sp=0x211df8c pc=0x223582\nruntime.gcBgMarkStartWorkers.gowrap1()\n\truntime/mgc.go:1347 +0x25 fp=0x211dff0 sp=0x211dfe8 pc=0x223485\nruntime.goexit({})\n\truntime/asm_386.s:1386 +0x1 fp=0x211dff4 sp=0x211dff0 pc=0x27f1b1\ncreated by runtime.gcBgMarkStartWorkers in goroutine 33\n\truntime/mgc.go:1347 +0x11a\n\ngoroutine 56 gp=0x21107e8 m=nil [GC worker (idle)]:\nruntime.gopark(0x9b046c, 0x2100468, 0x1b, 0xa, 0x0)\n\truntime/proc.go:458 +0xfd fp=0x2127f8c sp=0x2127f78 pc=0x2789dd\nruntime.gcBgMarkWorker(0x2118000)\n\truntime/mgc.go:1431 +0xe2 fp=0x2127fe8 sp=0x2127f8c pc=0x223582\nruntime.gcBgMarkStartWorkers.gowrap1()\n\truntime/mgc.go:1347 +0x25 fp=0x2127ff0 sp=0x2127fe8 pc=0x223485\nruntime.goexit({})\n\truntime/asm_386.s:1386 +0x1 fp=0x2127ff4 sp=0x2127ff0 pc=0x27f1b1\ncreated by runtime.gcBgMarkStartWorkers in goroutine 33\n\truntime/mgc.go:1347 +0x11a\n\ngoroutine 57 gp=0x2110908 m=nil [GC worker (idle)]:\nruntime.gopark(0x9b046c, 0x2100480, 0x1b, 0xa, 0x0)\n\truntime/proc.go:458 +0xfd fp=0x2129f8c sp=0x2129f78 pc=0x2789dd\nruntime.gcBgMarkWorker(0x2118000)\n\truntime/mgc.go:1431 +0xe2 fp=0x2129fe8 sp=0x2129f8c pc=0x223582\nruntime.gcBgMarkStartWorkers.gowrap1()\n\truntime/mgc.go:1347 +0x25 fp=0x2129ff0 sp=0x2129fe8 pc=0x223485\nruntime.goexit({})\n\truntime/asm_386.s:1386 +0x1 fp=0x2129ff4 sp=0x2129ff0 pc=0x27f1b1\ncreated by runtime.gcBgMarkStartWorkers in goroutine 33\n\truntime/mgc.go:1347 +0x11a\n\ngoroutine 58 gp=0x2110a28 m=nil [GC worker (idle)]:\nruntime.gopark(0x9b046c, 0x2100498, 0x1b, 0xa, 0x0)\n\truntime/proc.go:458 +0xfd fp=0x2123f8c sp=0x2123f78 pc=0x2789dd\nruntime.gcBgMarkWorker(0x2118000)\n\truntime/mgc.go:1431 +0xe2 fp=0x2123fe8 sp=0x2123f8c pc=0x223582\nruntime.gcBgMarkStartWorkers.gowrap1()\n\truntime/mgc.go:1347 +0x25 fp=0x2123ff0 sp=0x2123fe8 pc=0x223485\nruntime.goexit({})\n\truntime/asm_386.s:1386 +0x1 fp=0x2123ff4 sp=0x2123ff0 pc=0x27f1b1\ncreated by runtime.gcBgMarkStartWorkers in goroutine 33\n\truntime/mgc.go:1347 +0x11a\n\ngoroutine 59 gp=0x2110b48 m=nil [GC worker (idle)]:\nruntime.gopark(0x9b046c, 0x21004b0, 0x1b, 0xa, 0x0)\n\truntime/proc.go:458 +0xfd fp=0x2125f8c sp=0x2125f78 pc=0x2789dd\nruntime.gcBgMarkWorker(0x2118000)\n\truntime/mgc.go:1431 +0xe2 fp=0x2125fe8 sp=0x2125f8c pc=0x223582\nruntime.gcBgMarkStartWorkers.gowrap1()\n\truntime/mgc.go:1347 +0x25 fp=0x2125ff0 sp=0x2125fe8 pc=0x223485\nruntime.goexit({})\n\truntime/asm_386.s:1386 +0x1 fp=0x2125ff4 sp=0x2125ff0 pc=0x27f1b1\ncreated by runtime.gcBgMarkStartWorkers in goroutine 33\n\truntime/mgc.go:1347 +0x11a\n\ngoroutine 60 gp=0x2110d88 m=nil [GC worker (idle)]:\nruntime.gopark(0x9b046c, 0x21004c8, 0x1b, 0xa, 0x0)\n\truntime/proc.go:458 +0xfd fp=0x212ff8c sp=0x212ff78 pc=0x2789dd\nruntime.gcBgMarkWorker(0x2118000)\n\truntime/mgc.go:1431 +0xe2 fp=0x212ffe8 sp=0x212ff8c pc=0x223582\nruntime.gcBgMarkStartWorkers.gowrap1()\n\truntime/mgc.go:1347 +0x25 fp=0x212fff0 sp=0x212ffe8 pc=0x223485\nruntime.goexit({})\n\truntime/asm_386.s:1386 +0x1 fp=0x212fff4 sp=0x212fff0 pc=0x27f1b1\ncreated by runtime.gcBgMarkStartWorkers in goroutine 33\n\truntime/mgc.go:1347 +0x11a\n\ngoroutine 61 gp=0x2110ea8 m=nil [GC worker (idle)]:\nruntime.gopark(0x9b046c, 0x21004e0, 0x1b, 0xa, 0x0)\n\truntime/proc.go:458 +0xfd fp=0x2131f8c sp=0x2131f78 pc=0x2789dd\nruntime.gcBgMarkWorker(0x2118000)\n\truntime/mgc.go:1431 +0xe2 fp=0x2131fe8 sp=0x2131f8c pc=0x223582\nruntime.gcBgMarkStartWorkers.gowrap1()\n\truntime/mgc.go:1347 +0x25 fp=0x2131ff0 sp=0x2131fe8 pc=0x223485\nruntime.goexit({})\n\truntime/asm_386.s:1386 +0x1 fp=0x2131ff4 sp=0x2131ff0 pc=0x27f1b1\ncreated by runtime.gcBgMarkStartWorkers in goroutine 33\n\truntime/mgc.go:1347 +0x11a\n\ngoroutine 62 gp=0x2110fc8 m=nil [GC worker (idle)]:\nruntime.gopark(0x9b046c, 0x21004f8, 0x1b, 0xa, 0x0)\n\truntime/proc.go:458 +0xfd fp=0x212bf8c sp=0x212bf78 pc=0x2789dd\nruntime.gcBgMarkWorker(0x2118000)\n\truntime/mgc.go:1431 +0xe2 fp=0x212bfe8 sp=0x212bf8c pc=0x223582\nruntime.gcBgMarkStartWorkers.gowrap1()\n\truntime/mgc.go:1347 +0x25 fp=0x212bff0 sp=0x212bfe8 pc=0x223485\nruntime.goexit({})\n\truntime/asm_386.s:1386 +0x1 fp=0x212bff4 sp=0x212bff0 pc=0x27f1b1\ncreated by runtime.gcBgMarkStartWorkers in goroutine 33\n\truntime/mgc.go:1347 +0x11a\n\ngoroutine 63 gp=0x21110e8 m=nil [GC worker (idle)]:\nruntime.gopark(0x9b046c, 0x2100510, 0x1b, 0xa, 0x0)\n\truntime/proc.go:458 +0xfd fp=0x212df8c sp=0x212df78 pc=0x2789dd\nruntime.gcBgMarkWorker(0x2118000)\n\truntime/mgc.go:1431 +0xe2 fp=0x212dfe8 sp=0x212df8c pc=0x223582\nruntime.gcBgMarkStartWorkers.gowrap1()\n\truntime/mgc.go:1347 +0x25 fp=0x212dff0 sp=0x212dfe8 pc=0x223485\nruntime.goexit({})\n\truntime/asm_386.s:1386 +0x1 fp=0x212dff4 sp=0x212dff0 pc=0x27f1b1\ncreated by runtime.gcBgMarkStartWorkers in goroutine 33\n\truntime/mgc.go:1347 +0x11a\n\ngoroutine 64 gp=0x2111208 m=nil [GC worker (idle)]:\nruntime.gopark(0x9b046c, 0x2100528, 0x1b, 0xa, 0x0)\n\truntime/proc.go:458 +0xfd fp=0x2137f8c sp=0x2137f78 pc=0x2789dd\nruntime.gcBgMarkWorker(0x2118000)\n\truntime/mgc.go:1431 +0xe2 fp=0x2137fe8 sp=0x2137f8c pc=0x223582\nruntime.gcBgMarkStartWorkers.gowrap1()\n\truntime/mgc.go:1347 +0x25 fp=0x2137ff0 sp=0x2137fe8 pc=0x223485\nruntime.goexit({})\n\truntime/asm_386.s:1386 +0x1 fp=0x2137ff4 sp=0x2137ff0 pc=0x27f1b1\ncreated by runtime.gcBgMarkStartWorkers in goroutine 33\n\truntime/mgc.go:1347 +0x11a\n\ngoroutine 65 gp=0x2111328 m=nil [GC worker (idle)]:\nruntime.gopark(0x9b046c, 0x2100540, 0x1b, 0xa, 0x0)\n\truntime/proc.go:458 +0xfd fp=0x2139f8c sp=0x2139f78 pc=0x2789dd\nruntime.gcBgMarkWorker(0x2118000)\n\truntime/mgc.go:1431 +0xe2 fp=0x2139fe8 sp=0x2139f8c pc=0x223582\nruntime.gcBgMarkStartWorkers.gowrap1()\n\truntime/mgc.go:1347 +0x25 fp=0x2139ff0 sp=0x2139fe8 pc=0x223485\nruntime.goexit({})\n\truntime/asm_386.s:1386 +0x1 fp=0x2139ff4 sp=0x2139ff0 pc=0x27f1b1\ncreated by runtime.gcBgMarkStartWorkers in goroutine 33\n\truntime/mgc.go:1347 +0x11a\neax     0x1\nebx     0x1c55b28\necx     0x1\nedx     0x0\nedi     0x1c4a908\nesi     0x21cffdd8\nebp     0x21cffdac\nesp     0x225f718\neip     0x20\neflags  0x10206\ncs      0x23\nfs      0x53\ngs      0x2b\n\n"
--- FAIL: Test/hover\const.txt (2.57s)

watchflakes

@gopherbot gopherbot added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Apr 3, 2025
@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/test/marker" && test == "Test/hover\\const.txt"
2025-04-03 16:13 x_tools-gotip-windows-386 tools@7799973f go@9302a571 x/tools/gopls/internal/test/marker.Test/hover\const.txt (log)
=== RUN   Test/hover\const.txt
=== PAUSE Test/hover\const.txt
=== CONT  Test/hover\const.txt
    marker_test.go:284: unmeetable expectation:
          once the following is met:
            completed work "diagnosing opened files" at least 2 times
          must have:
            no Error log messages
        reason:
          postcondition is not met:
            found matching log "2025/04/03 12:15:48 tidy: diagnosing file:///C:/b/s/w/ir/x/t/Testhoverconst.txt842173373/001/work/go.mod: err: exit status 2: stderr: Exception 0xc0000005 0x8 0x20 0x20\nPC=0x20\n\nruntime.cgocall(0x27feb0, 0x1c559e0)\n\truntime/cgocall.go:167 +0x64 fp=0x225f750 sp=0x225f718 pc=0x275a84\nruntime.syscall_syscalln(0x76c033b0, 0x7, {0x225f780, 0x9, 0x9})\n\truntime/syscall_windows.go:521 +0x66 fp=0x225f760 sp=0x225f750 pc=0x261276\nsyscall.Syscall9(0x76c033b0, 0x7, 0x1f5c320, 0x80000000, 0x3, 0x0, 0x3, 0x2000001, 0x0, 0x0, ...)\n\truntime/syscall_windows.go:469 +0x77 fp=0x225f7a8 sp=0x225f760 pc=0x27c697\nsyscall.createFile(0x1f5c320, 0x80000000, 0x3, 0x0, 0x3, 0x2000001, 0x0)\n\tsyscall/zsyscall_windows.go:506 +0xa8 fp=0x225f7f4 sp=0x225f7a8 pc=0x29dbd8\nsyscall.Open({0x259c900, 0x4f}, 0x80000, 0x0)\n\tsyscall/syscall_windows.go:407 +0x180 fp=0x225f854 sp=0x225f7f4 pc=0x299ea0\nos.openFileNolog({0x259c900, 0x4f}, 0x0, 0x0)\n\tos/file_windows.go:104 +0xaa fp=0x225f87c sp=0x225f854 pc=0x31143a\nos.OpenFile({0x259c900, 0x4f}, 0x0, 0x0)\n\tos/file.go:393 +0x4f fp=0x225f89c sp=0x225f87c pc=0x30f7cf\nos.Open(...)\n\tos/file.go:371\ncmd/go/internal/fsys.Open({0x259c900, 0x4f})\n\tcmd/go/internal/fsys/fsys.go:573 +0xab fp=0x225f8d4 sp=0x225f89c pc=0x3da1eb\ncmd/go/internal/modindex.getFileInfo({0x1c16880, 0x30}, {0x220ab40, 0x1e}, 0x1fa5560)\n\tcmd/go/internal/modindex/build.go:442 +0x40e fp=0x225f94c sp=0x225f8d4 pc=0x6a1abe\ncmd/go/internal/modindex.importRaw({0x259a2a0, 0x1a}, {0x25dc05b, 0x15})\n\tcmd/go/internal/modindex/scan.go:220 +0x49e fp=0x225fa54 sp=0x225f94c pc=0x6afc4e\ncmd/go/internal/modindex.indexPackage({0x259a2a0, 0x1a}, {0x25dc040, 0x30})\n\tcmd/go/internal/modindex/scan.go:86 +0x85 fp=0x225fa74 sp=0x225fa54 pc=0x6af455\ncmd/go/internal/modindex.openIndexPackage.func1()\n\tcmd/go/internal/modindex/read.go:232 +0x17c fp=0x225fb78 sp=0x225fa74 pc=0x6a80fc\ncmd/internal/par.(*ErrCache[...]).Do.func1()\n\tcmd/internal/par/work.go:119 +0x1a fp=0x225fb88 sp=0x225fb78 pc=0x6b1e8a\ncmd/internal/par.(*Cache[...]).Do(0xa7e680, {{0x259a2a0, 0x1a}, {0x25dc040, 0x30}}, 0x203dbf4)\n\tcmd/internal/par/work.go:160 +0x127 fp=0x225fbcc sp=0x225fb88 pc=0x6b20e7\ncmd/internal/par.(*ErrCache[...]).Do(0xa7dc60, {{0x259a2a0, 0x1a}, {0x25dc040, 0x30}}, 0x203dc3c)\n\tcmd/internal/par/work.go:118 +0x56 fp=0x225fc04 sp=0x225fbcc pc=0x6b1e46\ncmd/go/internal/modindex.openIndexPackage({0x259a2a0, 0x1a}, {0x25dc040, 0x30})\n\tcmd/go/internal/modindex/read.go:219 +0x8d fp=0x225fc54 sp=0x225fc04 pc=0x6a7f4d\ncmd/go/internal/modindex.GetPackage({0x259a2a0, 0x1a}, {0x25dc040, 0x30})\n\tcmd/go/internal/modindex/read.go:151 +0x1fc fp=0x225fc88 sp=0x225fc54 pc=0x6a78dc\ncmd/go/internal/modindex.IsStandardPackage({0x1c14870, 0x16}, {0x94f275, 0x2}, {0x22f9068c, 0x15})\n\tcmd/go/internal/modindex/read.go:692 +0x248 fp=0x225fcf8 sp=0x225fc88 pc=0x6ac8d8\ncmd/go/internal/modload.importFromModules({0xa7c3d0, 0xe64940}, {0x22f9068c, 0x15}, 0x1d282a0, 0x0, 0x1)\n\tcmd/go/internal/modload/import.go:301 +0x5cb fp=0x225ff00 sp=0x225fcf8 pc=0x6cb7db\ncmd/go/internal/modload.(*loader).load(0x1d2b960, {0xa7c3d0, 0xe64940}, 0x1ee3e30)\n\tcmd/go/internal/modload/load.go:1860 +0xa5 fp=0x225ffa0 sp=0x225ff00 pc=0x6ed985\ncmd/go/internal/modload.(*loader).pkg.func1.1()\n\tcmd/go/internal/modload/load.go:1673 +0x33 fp=0x225ffb4 sp=0x225ffa0 pc=0x6ec853\ncmd/internal/par.(*Queue).Add.func1()\n\tcmd/internal/par/queue.go:58 +0x57 fp=0x225fff0 sp=0x225ffb4 pc=0x3e14e7\nruntime.goexit({})\n\truntime/asm_386.s:1386 +0x1 fp=0x225fff4 sp=0x225fff0 pc=0x27f1b1\ncreated by cmd/internal/par.(*Queue).Add in goroutine 23\n\tcmd/internal/par/queue.go:56 +0x194\n\ngoroutine 1 gp=0x1c4a008 m=nil [chan receive]:\nruntime.gopark(0x9b0438, 0x1e1e434, 0xe, 0x7, 0x2)\n\truntime/proc.go:458 +0xfd fp=0x213579c sp=0x2135788 pc=0x2789dd\nruntime.chanrecv(0x1e1e400, 0x0, 0x1)\n\truntime/chan.go:664 +0x426 fp=0x21357dc sp=0x213579c pc=0x212786\nruntime.chanrecv1(0x1e1e400, 0x0)\n\truntime/chan.go:506 +0x1c fp=0x21357f0 sp=0x21357dc pc=0x21232c\ncmd/go/internal/modload.loadFromRoots({0xa7c3d0, 0xe64940}, {{{0x0, 0x0}, 0x1d5f6c0, 0x1, 0x0, {0x0, 0x0}, 0x1, ...}, ...})\n\tcmd/go/internal/modload/load.go:1169 +0x404 fp=0x2135a04 sp=0x21357f0 pc=0x6e94a4\ncmd/go/internal/modload.LoadPackages({0xa7c3d0, 0xe64940}, {{0x0, 0x0}, 0x1d5f6c0, 0x1, 0x0, {0x0, 0x0}, 0x1, ...}, ...)\n\tcmd/go/internal/modload/load.go:372 +0x422 fp=0x2135bc0 sp=0x2135a04 pc=0x6e33e2\ncmd/go/internal/modcmd.runTidy({0xa7c3d0, 0xe64940}, 0xe3d1a0, {0x1c22218, 0x0, 0x0})\n\tcmd/go/internal/modcmd/tidy.go:133 +0x248 fp=0x2135c94 sp=0x2135bc0 pc=0x8191c8\nmain.invoke(0xe3d1a0, {0x1c22210, 0x2, 0x2})\n\tcmd/go/main.go:341 +0x8be fp=0x2135e68 sp=0x2135c94 pc=0x85973e\nmain.main()\n\tcmd/go/main.go:220 +0xffe fp=0x2135fac sp=0x2135e68 pc=0x8587de\nruntime.main()\n\truntime/proc.go:283 +0x280 fp=0x2135ff0 sp=0x2135fac pc=0x245540\nruntime.goexit({})\n\truntime/asm_386.s:1386 +0x1 fp=0x2135ff4 sp=0x2135ff0 pc=0x27f1b1\n\ngoroutine 2 gp=0x1c4a488 m=nil [force gc (idle)]:\nruntime.gopark(0x9b05cc, 0xe433c8, 0x11, 0xa, 0x1)\n\truntime/proc.go:458 +0xfd fp=0x1c4dfdc sp=0x1c4dfc8 pc=0x2789dd\nruntime.goparkunlock(...)\n\truntime/proc.go:464\nruntime.forcegchelper()\n\truntime/proc.go:371 +0xcf fp=0x1c4dff0 sp=0x1c4dfdc pc=0x24586f\nruntime.goexit({})\n\truntime/asm_386.s:1386 +0x1 fp=0x1c4dff4 sp=0x1c4dff0 pc=0x27f1b1\ncreated by runtime.init.6 in goroutine 1\n\truntime/proc.go:359 +0x21\n\ngoroutine 3 gp=0x1c4a6c8 m=nil [GC sweep wait]:\nruntime.gopark(0x9b05cc, 0xe43790, 0xc, 0x9, 0x1)\n\truntime/proc.go:458 +0xfd fp=0x1c4ffcc sp=0x1c4ffb8 pc=0x2789dd\nruntime.goparkunlock(...)\n\truntime/proc.go:464\nruntime.bgsweep(0x1c16440)\n\truntime/mgcsweep.go:316 +0xf4 fp=0x1c4ffe8 sp=0x1c4ffcc pc=0x22f494\nruntime.gcenable.gowrap1()\n\truntime/mgc.go:203 +0x25 fp=0x1c4fff0 sp=0x1c4ffe8 pc=0x220ad5\nruntime.goexit({})\n\truntime/asm_386.s:1386 +0x1 fp=0x1c4fff4 sp=0x1c4fff0 pc=0x27f1b1\ncreated by runtime.gcenable in goroutine 1\n\truntime/mgc.go:203 +0x75\n\ngoroutine 4 gp=0x1c4a7e8 m=nil [sleep]:\nruntime.gopark(0x9b05cc, 0xe44560, 0x13, 0xe, 0x2)\n\truntime/proc.go:458 +0xfd fp=0x1c5bf68 sp=0x1c5bf54 pc=0x2789dd\nruntime.goparkunlock(...)\n\truntime/proc.go:464\nruntime.(*scavengerState).sleep(0xe44560, 0x4137700000000000)\n\truntime/mgcscavenge.go:504 +0x151 fp=0x1c5bfcc sp=0x1c5bf68 pc=0x22cc91\nruntime.bgscavenge(0x1c16440)\n\truntime/mgcscavenge.go:662 +0xa4 fp=0x1c5bfe8 sp=0x1c5bfcc pc=0x22d124\nruntime.gcenable.gowrap2()\n\truntime/mgc.go:204 +0x25 fp=0x1c5bff0 sp=0x1c5bfe8 pc=0x220a95\nruntime.goexit({})\n\truntime/asm_386.s:1386 +0x1 fp=0x1c5bff4 sp=0x1c5bff0 pc=0x27f1b1\ncreated by runtime.gcenable in goroutine 1\n\truntime/mgc.go:204 +0xb5\n\ngoroutine 5 gp=0x1c4aa28 m=nil [finalizer wait]:\nruntime.gopark(0x9b045c, 0xe64a34, 0x10, 0xa, 0x1)\n\truntime/proc.go:458 +0xfd fp=0x1c5df98 sp=0x1c5df84 pc=0x2789dd\nruntime.runFinalizersAndCleanups()\n\truntime/mfinal.go:197 +0xf5 fp=0x1c5dff0 sp=0x1c5df98 pc=0x21fb65\nruntime.goexit({})\n\truntime/asm_386.s:1386 +0x1 fp=0x1c5dff4 sp=0x1c5dff0 pc=0x27f1b1\ncreated by runtime.createfing in goroutine 1\n\truntime/mfinal.go:167 +0x5e\n\ngoroutine 18 gp=0x1d06128 m=nil [chan receive]:\nruntime.gopark(0x9b0438, 0x1d14cf4, 0xe, 0x7, 0x2)\n\truntime/proc.go:458 +0xfd fp=0x1c57f8c sp=0x1c57f78 pc=0x2789dd\nruntime.chanrecv(0x1d14cc0, 0x0, 0x1)\n\truntime/chan.go:664 +0x426 fp=0x1c57fcc sp=0x1c57f8c pc=0x212786\nruntime.chanrecv1(0x1d14cc0, 0x0)\n\truntime/chan.go:506 +0x1c fp=0x1c57fe0 sp=0x1c57fcc pc=0x21232c\nruntime.unique_runtime_registerUniqueMapCleanup.func2(...)\n\truntime/mgc.go:1804\nruntime.unique_runtime_registerUniqueMapCleanup.gowrap1()\n\truntime/mgc.go:1807 +0x38 fp=0x1c57ff0 sp=0x1c57fe0 pc=0x2243e8\nruntime.goexit({})\n\truntime/asm_386.s:1386 +0x1 fp=0x1c57ff4 sp=0x1c57ff0 pc=0x27f1b1\ncreated by unique.runtime_registerUniqueMapCleanup in goroutine 1\n\truntime/mgc.go:1802 +0x6a\n\ngoroutine 24 gp=0x1d065a8 m=8 mp=0x1f80808 [syscall]:\n\tgoroutine running on other thread; stack unavailable\ncreated by cmd/internal/par.(*Queue).Add in goroutine 23\n\tcmd/internal/par/queue.go:56 +0x194\n\ngoroutine 31 gp=0x1d07b08 m=10 mp=0x2190008 [running]:\nruntime.cgocall(0x0, 0x3d77b3)\n\truntime/cgocall.go:167 +0x64 fp=0x1e09800 sp=0x1e097c8 pc=0x275a84\nruntime.syscall_syscalln(0x353, 0x0, {0x0, 0x3, 0x3})\n\truntime/syscall_windows.go:521 +0x66 fp=0x1e09810 sp=0x1e09800 pc=0x261276\ncreated by cmd/internal/par.(*Queue).Add in goroutine 23\n\tcmd/internal/par/queue.go:56 +0x194\n\ngoroutine 33 gp=0x1d07d48 m=12 mp=0x2280008 [syscall]:\n\tgoroutine running on other thread; stack unavailable\ncreated by cmd/internal/par.(*Queue).Add in goroutine 23\n\tcmd/internal/par/queue.go:56 +0x194\n\ngoroutine 50 gp=0x2110128 m=nil [GC worker (idle)]:\nruntime.gopark(0x9b046c, 0x21003d8, 0x1b, 0xa, 0x0)\n\truntime/proc.go:458 +0xfd fp=0x1f4ff8c sp=0x1f4ff78 pc=0x2789dd\nruntime.gcBgMarkWorker(0x2118000)\n\truntime/mgc.go:1431 +0xe2 fp=0x1f4ffe8 sp=0x1f4ff8c pc=0x223582\nruntime.gcBgMarkStartWorkers.gowrap1()\n\truntime/mgc.go:1347 +0x25 fp=0x1f4fff0 sp=0x1f4ffe8 pc=0x223485\nruntime.goexit({})\n\truntime/asm_386.s:1386 +0x1 fp=0x1f4fff4 sp=0x1f4fff0 pc=0x27f1b1\ncreated by runtime.gcBgMarkStartWorkers in goroutine 33\n\truntime/mgc.go:1347 +0x11a\n\ngoroutine 51 gp=0x2110248 m=nil [GC worker (idle)]:\nruntime.gopark(0x9b046c, 0x21003f0, 0x1b, 0xa, 0x0)\n\truntime/proc.go:458 +0xfd fp=0x1f51f8c sp=0x1f51f78 pc=0x2789dd\nruntime.gcBgMarkWorker(0x2118000)\n\truntime/mgc.go:1431 +0xe2 fp=0x1f51fe8 sp=0x1f51f8c pc=0x223582\nruntime.gcBgMarkStartWorkers.gowrap1()\n\truntime/mgc.go:1347 +0x25 fp=0x1f51ff0 sp=0x1f51fe8 pc=0x223485\nruntime.goexit({})\n\truntime/asm_386.s:1386 +0x1 fp=0x1f51ff4 sp=0x1f51ff0 pc=0x27f1b1\ncreated by runtime.gcBgMarkStartWorkers in goroutine 33\n\truntime/mgc.go:1347 +0x11a\n\ngoroutine 52 gp=0x2110368 m=nil [GC worker (idle)]:\nruntime.gopark(0x9b046c, 0x2100408, 0x1b, 0xa, 0x0)\n\truntime/proc.go:458 +0xfd fp=0x211ff8c sp=0x211ff78 pc=0x2789dd\nruntime.gcBgMarkWorker(0x2118000)\n\truntime/mgc.go:1431 +0xe2 fp=0x211ffe8 sp=0x211ff8c pc=0x223582\nruntime.gcBgMarkStartWorkers.gowrap1()\n\truntime/mgc.go:1347 +0x25 fp=0x211fff0 sp=0x211ffe8 pc=0x223485\nruntime.goexit({})\n\truntime/asm_386.s:1386 +0x1 fp=0x211fff4 sp=0x211fff0 pc=0x27f1b1\ncreated by runtime.gcBgMarkStartWorkers in goroutine 33\n\truntime/mgc.go:1347 +0x11a\n\ngoroutine 53 gp=0x2110488 m=nil [GC worker (idle)]:\nruntime.gopark(0x9b046c, 0x2100420, 0x1b, 0xa, 0x0)\n\truntime/proc.go:458 +0xfd fp=0x2121f8c sp=0x2121f78 pc=0x2789dd\nruntime.gcBgMarkWorker(0x2118000)\n\truntime/mgc.go:1431 +0xe2 fp=0x2121fe8 sp=0x2121f8c pc=0x223582\nruntime.gcBgMarkStartWorkers.gowrap1()\n\truntime/mgc.go:1347 +0x25 fp=0x2121ff0 sp=0x2121fe8 pc=0x223485\nruntime.goexit({})\n\truntime/asm_386.s:1386 +0x1 fp=0x2121ff4 sp=0x2121ff0 pc=0x27f1b1\ncreated by runtime.gcBgMarkStartWorkers in goroutine 33\n\truntime/mgc.go:1347 +0x11a\n\ngoroutine 54 gp=0x21105a8 m=nil [GC worker (idle)]:\nruntime.gopark(0x9b046c, 0x2100438, 0x1b, 0xa, 0x0)\n\truntime/proc.go:458 +0xfd fp=0x211bf8c sp=0x211bf78 pc=0x2789dd\nruntime.gcBgMarkWorker(0x2118000)\n\truntime/mgc.go:1431 +0xe2 fp=0x211bfe8 sp=0x211bf8c pc=0x223582\nruntime.gcBgMarkStartWorkers.gowrap1()\n\truntime/mgc.go:1347 +0x25 fp=0x211bff0 sp=0x211bfe8 pc=0x223485\nruntime.goexit({})\n\truntime/asm_386.s:1386 +0x1 fp=0x211bff4 sp=0x211bff0 pc=0x27f1b1\ncreated by runtime.gcBgMarkStartWorkers in goroutine 33\n\truntime/mgc.go:1347 +0x11a\n\ngoroutine 55 gp=0x21106c8 m=nil [GC worker (idle)]:\nruntime.gopark(0x9b046c, 0x2100450, 0x1b, 0xa, 0x0)\n\truntime/proc.go:458 +0xfd fp=0x211df8c sp=0x211df78 pc=0x2789dd\nruntime.gcBgMarkWorker(0x2118000)\n\truntime/mgc.go:1431 +0xe2 fp=0x211dfe8 sp=0x211df8c pc=0x223582\nruntime.gcBgMarkStartWorkers.gowrap1()\n\truntime/mgc.go:1347 +0x25 fp=0x211dff0 sp=0x211dfe8 pc=0x223485\nruntime.goexit({})\n\truntime/asm_386.s:1386 +0x1 fp=0x211dff4 sp=0x211dff0 pc=0x27f1b1\ncreated by runtime.gcBgMarkStartWorkers in goroutine 33\n\truntime/mgc.go:1347 +0x11a\n\ngoroutine 56 gp=0x21107e8 m=nil [GC worker (idle)]:\nruntime.gopark(0x9b046c, 0x2100468, 0x1b, 0xa, 0x0)\n\truntime/proc.go:458 +0xfd fp=0x2127f8c sp=0x2127f78 pc=0x2789dd\nruntime.gcBgMarkWorker(0x2118000)\n\truntime/mgc.go:1431 +0xe2 fp=0x2127fe8 sp=0x2127f8c pc=0x223582\nruntime.gcBgMarkStartWorkers.gowrap1()\n\truntime/mgc.go:1347 +0x25 fp=0x2127ff0 sp=0x2127fe8 pc=0x223485\nruntime.goexit({})\n\truntime/asm_386.s:1386 +0x1 fp=0x2127ff4 sp=0x2127ff0 pc=0x27f1b1\ncreated by runtime.gcBgMarkStartWorkers in goroutine 33\n\truntime/mgc.go:1347 +0x11a\n\ngoroutine 57 gp=0x2110908 m=nil [GC worker (idle)]:\nruntime.gopark(0x9b046c, 0x2100480, 0x1b, 0xa, 0x0)\n\truntime/proc.go:458 +0xfd fp=0x2129f8c sp=0x2129f78 pc=0x2789dd\nruntime.gcBgMarkWorker(0x2118000)\n\truntime/mgc.go:1431 +0xe2 fp=0x2129fe8 sp=0x2129f8c pc=0x223582\nruntime.gcBgMarkStartWorkers.gowrap1()\n\truntime/mgc.go:1347 +0x25 fp=0x2129ff0 sp=0x2129fe8 pc=0x223485\nruntime.goexit({})\n\truntime/asm_386.s:1386 +0x1 fp=0x2129ff4 sp=0x2129ff0 pc=0x27f1b1\ncreated by runtime.gcBgMarkStartWorkers in goroutine 33\n\truntime/mgc.go:1347 +0x11a\n\ngoroutine 58 gp=0x2110a28 m=nil [GC worker (idle)]:\nruntime.gopark(0x9b046c, 0x2100498, 0x1b, 0xa, 0x0)\n\truntime/proc.go:458 +0xfd fp=0x2123f8c sp=0x2123f78 pc=0x2789dd\nruntime.gcBgMarkWorker(0x2118000)\n\truntime/mgc.go:1431 +0xe2 fp=0x2123fe8 sp=0x2123f8c pc=0x223582\nruntime.gcBgMarkStartWorkers.gowrap1()\n\truntime/mgc.go:1347 +0x25 fp=0x2123ff0 sp=0x2123fe8 pc=0x223485\nruntime.goexit({})\n\truntime/asm_386.s:1386 +0x1 fp=0x2123ff4 sp=0x2123ff0 pc=0x27f1b1\ncreated by runtime.gcBgMarkStartWorkers in goroutine 33\n\truntime/mgc.go:1347 +0x11a\n\ngoroutine 59 gp=0x2110b48 m=nil [GC worker (idle)]:\nruntime.gopark(0x9b046c, 0x21004b0, 0x1b, 0xa, 0x0)\n\truntime/proc.go:458 +0xfd fp=0x2125f8c sp=0x2125f78 pc=0x2789dd\nruntime.gcBgMarkWorker(0x2118000)\n\truntime/mgc.go:1431 +0xe2 fp=0x2125fe8 sp=0x2125f8c pc=0x223582\nruntime.gcBgMarkStartWorkers.gowrap1()\n\truntime/mgc.go:1347 +0x25 fp=0x2125ff0 sp=0x2125fe8 pc=0x223485\nruntime.goexit({})\n\truntime/asm_386.s:1386 +0x1 fp=0x2125ff4 sp=0x2125ff0 pc=0x27f1b1\ncreated by runtime.gcBgMarkStartWorkers in goroutine 33\n\truntime/mgc.go:1347 +0x11a\n\ngoroutine 60 gp=0x2110d88 m=nil [GC worker (idle)]:\nruntime.gopark(0x9b046c, 0x21004c8, 0x1b, 0xa, 0x0)\n\truntime/proc.go:458 +0xfd fp=0x212ff8c sp=0x212ff78 pc=0x2789dd\nruntime.gcBgMarkWorker(0x2118000)\n\truntime/mgc.go:1431 +0xe2 fp=0x212ffe8 sp=0x212ff8c pc=0x223582\nruntime.gcBgMarkStartWorkers.gowrap1()\n\truntime/mgc.go:1347 +0x25 fp=0x212fff0 sp=0x212ffe8 pc=0x223485\nruntime.goexit({})\n\truntime/asm_386.s:1386 +0x1 fp=0x212fff4 sp=0x212fff0 pc=0x27f1b1\ncreated by runtime.gcBgMarkStartWorkers in goroutine 33\n\truntime/mgc.go:1347 +0x11a\n\ngoroutine 61 gp=0x2110ea8 m=nil [GC worker (idle)]:\nruntime.gopark(0x9b046c, 0x21004e0, 0x1b, 0xa, 0x0)\n\truntime/proc.go:458 +0xfd fp=0x2131f8c sp=0x2131f78 pc=0x2789dd\nruntime.gcBgMarkWorker(0x2118000)\n\truntime/mgc.go:1431 +0xe2 fp=0x2131fe8 sp=0x2131f8c pc=0x223582\nruntime.gcBgMarkStartWorkers.gowrap1()\n\truntime/mgc.go:1347 +0x25 fp=0x2131ff0 sp=0x2131fe8 pc=0x223485\nruntime.goexit({})\n\truntime/asm_386.s:1386 +0x1 fp=0x2131ff4 sp=0x2131ff0 pc=0x27f1b1\ncreated by runtime.gcBgMarkStartWorkers in goroutine 33\n\truntime/mgc.go:1347 +0x11a\n\ngoroutine 62 gp=0x2110fc8 m=nil [GC worker (idle)]:\nruntime.gopark(0x9b046c, 0x21004f8, 0x1b, 0xa, 0x0)\n\truntime/proc.go:458 +0xfd fp=0x212bf8c sp=0x212bf78 pc=0x2789dd\nruntime.gcBgMarkWorker(0x2118000)\n\truntime/mgc.go:1431 +0xe2 fp=0x212bfe8 sp=0x212bf8c pc=0x223582\nruntime.gcBgMarkStartWorkers.gowrap1()\n\truntime/mgc.go:1347 +0x25 fp=0x212bff0 sp=0x212bfe8 pc=0x223485\nruntime.goexit({})\n\truntime/asm_386.s:1386 +0x1 fp=0x212bff4 sp=0x212bff0 pc=0x27f1b1\ncreated by runtime.gcBgMarkStartWorkers in goroutine 33\n\truntime/mgc.go:1347 +0x11a\n\ngoroutine 63 gp=0x21110e8 m=nil [GC worker (idle)]:\nruntime.gopark(0x9b046c, 0x2100510, 0x1b, 0xa, 0x0)\n\truntime/proc.go:458 +0xfd fp=0x212df8c sp=0x212df78 pc=0x2789dd\nruntime.gcBgMarkWorker(0x2118000)\n\truntime/mgc.go:1431 +0xe2 fp=0x212dfe8 sp=0x212df8c pc=0x223582\nruntime.gcBgMarkStartWorkers.gowrap1()\n\truntime/mgc.go:1347 +0x25 fp=0x212dff0 sp=0x212dfe8 pc=0x223485\nruntime.goexit({})\n\truntime/asm_386.s:1386 +0x1 fp=0x212dff4 sp=0x212dff0 pc=0x27f1b1\ncreated by runtime.gcBgMarkStartWorkers in goroutine 33\n\truntime/mgc.go:1347 +0x11a\n\ngoroutine 64 gp=0x2111208 m=nil [GC worker (idle)]:\nruntime.gopark(0x9b046c, 0x2100528, 0x1b, 0xa, 0x0)\n\truntime/proc.go:458 +0xfd fp=0x2137f8c sp=0x2137f78 pc=0x2789dd\nruntime.gcBgMarkWorker(0x2118000)\n\truntime/mgc.go:1431 +0xe2 fp=0x2137fe8 sp=0x2137f8c pc=0x223582\nruntime.gcBgMarkStartWorkers.gowrap1()\n\truntime/mgc.go:1347 +0x25 fp=0x2137ff0 sp=0x2137fe8 pc=0x223485\nruntime.goexit({})\n\truntime/asm_386.s:1386 +0x1 fp=0x2137ff4 sp=0x2137ff0 pc=0x27f1b1\ncreated by runtime.gcBgMarkStartWorkers in goroutine 33\n\truntime/mgc.go:1347 +0x11a\n\ngoroutine 65 gp=0x2111328 m=nil [GC worker (idle)]:\nruntime.gopark(0x9b046c, 0x2100540, 0x1b, 0xa, 0x0)\n\truntime/proc.go:458 +0xfd fp=0x2139f8c sp=0x2139f78 pc=0x2789dd\nruntime.gcBgMarkWorker(0x2118000)\n\truntime/mgc.go:1431 +0xe2 fp=0x2139fe8 sp=0x2139f8c pc=0x223582\nruntime.gcBgMarkStartWorkers.gowrap1()\n\truntime/mgc.go:1347 +0x25 fp=0x2139ff0 sp=0x2139fe8 pc=0x223485\nruntime.goexit({})\n\truntime/asm_386.s:1386 +0x1 fp=0x2139ff4 sp=0x2139ff0 pc=0x27f1b1\ncreated by runtime.gcBgMarkStartWorkers in goroutine 33\n\truntime/mgc.go:1347 +0x11a\neax     0x1\nebx     0x1c55b28\necx     0x1\nedx     0x0\nedi     0x1c4a908\nesi     0x21cffdd8\nebp     0x21cffdac\nesp     0x225f718\neip     0x20\neflags  0x10206\ncs      0x23\nfs      0x53\ngs      0x2b\n\n"
--- FAIL: Test/hover\const.txt (2.57s)

watchflakes

@gopherbot gopherbot added Tools This label describes issues relating to any tools in the x/tools repository. gopls Issues related to the Go language server, gopls. labels Apr 3, 2025
@gopherbot gopherbot added this to the Unreleased milestone Apr 3, 2025
@adonovan
Copy link
Member

adonovan commented Apr 3, 2025

This is a crash (ACCESS_VIOLATION) in the go command in the open syscall on Windows. I suspect it is another instance of the lack of KeepAlive on the pointer arguments converted to uintptr: the same class of errors as the one fixed in https://go.dev/cl/662575.

cc: @qmuntal

@adonovan adonovan changed the title x/tools/gopls/internal/test/marker: Test/hover\const.txt failures x/tools/gopls/internal/test/marker: Test/hover\const.txt failures (ACCESS_VIOLATION in cmd/go due to stack corruption on windows) Apr 3, 2025
@findleyr findleyr changed the title x/tools/gopls/internal/test/marker: Test/hover\const.txt failures (ACCESS_VIOLATION in cmd/go due to stack corruption on windows) cmd/go: gopls marker Test/hover\const.txt failures (ACCESS_VIOLATION in cmd/go due to stack corruption on windows) Apr 4, 2025
@findleyr findleyr removed the gopls Issues related to the Go language server, gopls. label Apr 4, 2025
@gopherbot
Copy link
Contributor Author

Change https://go.dev/cl/662855 mentions this issue: internal/syscall/windows: use unsafe.Pointer instead of uintptr

@dmitshur dmitshur added NeedsFix The path to resolution is known, but the work has not been done. GoCommand cmd/go and removed NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. labels Apr 4, 2025
@dmitshur dmitshur modified the milestones: Unreleased, Go1.25 Apr 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GoCommand cmd/go NeedsFix The path to resolution is known, but the work has not been done. Tools This label describes issues relating to any tools in the x/tools repository.
Projects
Status: Done
Development

No branches or pull requests

4 participants