Created
November 7, 2024 16:11
-
-
Save Trinity2019/88aaaed9b5cf58cea8565572036dc9ff to your computer and use it in GitHub Desktop.
11-7-2024 agent uninstall crash
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C:\>"C:\Program Files\Elastic\Agent\elastic-agent.exe" uninstall | |
Elastic Agent will be uninstalled from your system at C:\Program Files\Elastic\Agent. Do you want to continue? [Y/n]:y | |
[====] Attempting to notify Fleet of uninstall [37s] unexpected fault address 0x18000473ef1 | |
fatal error: fault | |
[signal 0xc0000005 code=0x1 addr=0x18000473ef1 pc=0x9f3004] | |
goroutine 1 gp=0xc00007c000 m=5 mp=0xc000116008 [running]: | |
runtime.throw({0x207a4ba?, 0xa2d986?}) | |
runtime/panic.go:1023 +0x65 fp=0xc000067588 sp=0xc000067558 pc=0xcf8c5 | |
runtime.sigpanic() | |
runtime/signal_windows.go:414 +0xd0 fp=0xc0000675d0 sp=0xc000067588 pc=0xe6a10 | |
(...) | |
github.com/elastic/elastic-agent/internal/pkg/agent/errors/generators.go:23 | |
github.com/elastic/elastic-agent/internal/pkg/fleetapi.(*AuditUnenrollCmd).Execute(0xc00073f998, {0x4, 0x23cf148}, 0x0) | |
github.com/elastic/elastic-agent/internal/pkg/fleetapi/audit_unenroll_cmd.go:74 +0x324 fp=0xc000067738 sp=0xc0000675d0 pc=0x9f3004 | |
runtime: g 1: unexpected return pc for github.com/elastic/elastic-agent/internal/pkg/fleetapi.(*AuditUnenrollCmd).Execute called from 0xc0006817a0 | |
stack: frame={sp:0xc0000675d0, fp:0xc000067738} stack=[0xc000064000,0xc000068000) | |
0x000000c0000674d0: 0x000000c000067508 0x00000000000d14af <runtime.gwrite+0x00000000000000ef> | |
0x000000c0000674e0: 0x00000000023c9c90 0x0000000000000001 | |
0x000000c0000674f0: 0x0000000000000001 0x000000c00006756b | |
0x000000c000067500: 0x00000000001074b7 <runtime.systemstack+0x0000000000000037> 0x000000c000067548 | |
0x000000c000067510: 0x00000000000cfd05 <runtime.fatalthrow+0x0000000000000065> 0x000000c000067528 | |
0x000000c000067520: 0x000000c00007c000 0x00000000000cfd40 <runtime.fatalthrow.func1+0x0000000000000000> | |
0x000000c000067530: 0x000000c00007c000 0x00000000000cf8c5 <runtime.throw+0x0000000000000065> | |
0x000000c000067540: 0x000000c000067558 0x000000c000067578 | |
0x000000c000067550: 0x00000000000cf8c5 <runtime.throw+0x0000000000000065> 0x000000c000067560 | |
0x000000c000067560: 0x00000000000cf8e0 <runtime.throw.func1+0x0000000000000000> 0x000000000207a4ba | |
0x000000c000067570: 0x0000000000000005 0x000000c0000675c0 | |
0x000000c000067580: 0x00000000000e6a10 <runtime.sigpanic+0x00000000000000d0> 0x000000000207a4ba | |
0x000000c000067590: 0x0000000000a2d986 <github.com/elastic/elastic-agent/internal/pkg/agent/install.backoffWithContext+0x00000000000000a6> 0x0000018000473ef1 | |
0x000000c0000675a0: 0x000000c00007c000 0x00000002540be400 | |
0x000000c0000675b0: 0x00000000023e9840 0x000000c0004c1d40 | |
0x000000c0000675c0: 0x000000c000067800 0x00000000009f3004 <github.com/elastic/elastic-agent/internal/pkg/fleetapi.(*AuditUnenrollCmd).Execute+0x0000000000000324> | |
0x000000c0000675d0: <0x0000000000a2acfa <github.com/elastic/elastic-agent/internal/pkg/agent/install.notifyFleetAuditUninstall+0x000000000000039a> 0x00000000023f8d28 | |
0x000000c0000675e0: 0x000000c00011c050 0x00000000023cf148 | |
0x000000c0000675f0: 0x0000000000000000 0x00000000023cf148 | |
0x000000c000067600: 0x0000000000000000 0x000000c00073f9b0 | |
0x000000c000067610: 0x000000000000000e 0x000000c00052fbd0 | |
0x000000c000067620: 0x0000000000000001 0x0000000000000001 | |
0x000000c000067630: 0x000000c0007d0460 0x0000008bb2c97000 | |
0x000000c000067640: 0x0000000000000000 0x0000000000000000 | |
0x000000c000067650: 0x0000000000000000 0x0000000000000000 | |
0x000000c000067660: 0x0000000000000000 0x000000c000453b80 | |
0x000000c000067670: 0x0000000000000036 0x0100000000000000 | |
0x000000c000067680: 0x00000000023e9840 0x0000000000000000 | |
0x000000c000067690: 0x000000000000002a 0x0000000000000028 | |
0x000000c0000676a0: 0x000000c00051a378 0x0000000edebedcf7 | |
0x000000c0000676b0: 0x000000000576fb74 0x00000000023f8d28 | |
0x000000c0000676c0: 0x0000000000000000 0x0000000000000000 | |
0x000000c0000676d0: 0x000000000576fb74 0x0000000edebedcf7 | |
0x000000c0000676e0: 0x0000000000000000 0x0000000000000000 | |
0x000000c0000676f0: 0x000000c000357e90 0x000000c00000d480 | |
0x000000c000067700: 0x0000000000000000 0x00000000023cf170 | |
0x000000c000067710: 0x000000c00011c050 0x00000000023e05e0 | |
0x000000c000067720: 0x000000c0001d54a0 0x00000000023d81e0 | |
0x000000c000067730: 0x000000c0006817a0 >0x000000c00073f998 | |
0x000000c000067740: 0x0000000000000004 0x00000000023cf148 | |
0x000000c000067750: 0x0000000000000000 0x00000000023cf148 | |
0x000000c000067760: 0x0000000000000000 0x000000c00073f9b0 | |
0x000000c000067770: 0x000000000000000e 0x000000c00052fbd0 | |
0x000000c000067780: 0x0000000000000001 0x0000000000000001 | |
0x000000c000067790: 0x000000c0007d0460 0x0000008bb2c97000 | |
0x000000c0000677a0: 0x0000000000000000 0x0000000000000000 | |
0x000000c0000677b0: 0x0000000000000000 0x0000000000000000 | |
0x000000c0000677c0: 0x00000000009ddb3f <github.com/schollz/progressbar/v3.(*ProgressBar).Describe+0x00000000000000ff> 0x000000c00038a780 | |
0x000000c0000677d0: 0x000000c0003572f0 0x00000000037eb440 | |
0x000000c0000677e0: 0x00000000009ddb80 <github.com/schollz/progressbar/v3.(*ProgressBar).Describe.deferwrap1+0x0000000000000000> 0x000000c00038a958 | |
0x000000c0000677f0: 0x000000c00010a1f9 0x000000c0002dced0 | |
0x000000c000067800: 0x000000c000067958 0x0000000000a2a593 <github.com/elastic/elastic-agent/internal/pkg/agent/install.Uninstall+0x00000000000006b3> | |
0x000000c000067810: 0x00000000023f8c80 0x0000000003874900 | |
0x000000c000067820: 0x000000c000522b00 0x000000c00038a780 | |
0x000000c000067830: 0x000000c00052f150 | |
goroutine 2 gp=0xc00007c700 m=nil [force gc (idle)]: | |
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) | |
runtime/proc.go:402 +0xce fp=0xc000081fa8 sp=0xc000081f88 pc=0xd260e | |
runtime.goparkunlock(...) | |
runtime/proc.go:408 | |
runtime.forcegchelper() | |
runtime/proc.go:326 +0xb8 fp=0xc000081fe0 sp=0xc000081fa8 pc=0xd2478 | |
runtime.goexit({}) | |
runtime/asm_amd64.s:1695 +0x1 fp=0xc000081fe8 sp=0xc000081fe0 pc=0x109481 | |
created by runtime.init.6 in goroutine 1 | |
runtime/proc.go:314 +0x1a | |
goroutine 3 gp=0xc00007ca80 m=nil [GC sweep wait]: | |
runtime.gopark(0x1?, 0x0?, 0x0?, 0x0?, 0x0?) | |
runtime/proc.go:402 +0xce fp=0xc000083f80 sp=0xc000083f60 pc=0xd260e | |
runtime.goparkunlock(...) | |
runtime/proc.go:408 | |
runtime.bgsweep(0xc00008a000) | |
runtime/mgcsweep.go:318 +0xdf fp=0xc000083fc8 sp=0xc000083f80 pc=0xba93f | |
runtime.gcenable.gowrap1() | |
runtime/mgc.go:203 +0x25 fp=0xc000083fe0 sp=0xc000083fc8 pc=0xaf1e5 | |
runtime.goexit({}) | |
runtime/asm_amd64.s:1695 +0x1 fp=0xc000083fe8 sp=0xc000083fe0 pc=0x109481 | |
created by runtime.gcenable in goroutine 1 | |
runtime/mgc.go:203 +0x66 | |
goroutine 4 gp=0xc00007cc40 m=nil [GC scavenge wait]: | |
runtime.gopark(0x10000?, 0x23c9c50?, 0x0?, 0x0?, 0x0?) | |
runtime/proc.go:402 +0xce fp=0xc000091f78 sp=0xc000091f58 pc=0xd260e | |
runtime.goparkunlock(...) | |
runtime/proc.go:408 | |
runtime.(*scavengerState).park(0x37eb8a0) | |
runtime/mgcscavenge.go:425 +0x49 fp=0xc000091fa8 sp=0xc000091f78 pc=0xb82c9 | |
runtime.bgscavenge(0xc00008a000) | |
runtime/mgcscavenge.go:658 +0x59 fp=0xc000091fc8 sp=0xc000091fa8 pc=0xb8879 | |
runtime.gcenable.gowrap2() | |
runtime/mgc.go:204 +0x25 fp=0xc000091fe0 sp=0xc000091fc8 pc=0xaf185 | |
runtime.goexit({}) | |
runtime/asm_amd64.s:1695 +0x1 fp=0xc000091fe8 sp=0xc000091fe0 pc=0x109481 | |
created by runtime.gcenable in goroutine 1 | |
runtime/mgc.go:204 +0xa5 | |
goroutine 5 gp=0xc00007cfc0 m=nil [finalizer wait]: | |
runtime.gopark(0x0?, 0x21bcfb0?, 0x0?, 0xa0?, 0x2000000020?) | |
runtime/proc.go:402 +0xce fp=0xc000085e20 sp=0xc000085e00 pc=0xd260e | |
runtime.runfinq() | |
runtime/mfinal.go:194 +0x107 fp=0xc000085fe0 sp=0xc000085e20 pc=0xae267 | |
runtime.goexit({}) | |
runtime/asm_amd64.s:1695 +0x1 fp=0xc000085fe8 sp=0xc000085fe0 pc=0x109481 | |
created by runtime.createfing in goroutine 1 | |
runtime/mfinal.go:164 +0x3d | |
goroutine 18 gp=0xc00011ae00 m=nil [GC worker (idle)]: | |
runtime.gopark(0x179911b126c?, 0x0?, 0x0?, 0x0?, 0x0?) | |
runtime/proc.go:402 +0xce fp=0xc00008df50 sp=0xc00008df30 pc=0xd260e | |
runtime.gcBgMarkWorker() | |
runtime/mgc.go:1310 +0xe5 fp=0xc00008dfe0 sp=0xc00008df50 pc=0xb1325 | |
runtime.goexit({}) | |
runtime/asm_amd64.s:1695 +0x1 fp=0xc00008dfe8 sp=0xc00008dfe0 pc=0x109481 | |
created by runtime.gcBgMarkStartWorkers in goroutine 1 | |
runtime/mgc.go:1234 +0x1c | |
goroutine 19 gp=0xc00011afc0 m=nil [GC worker (idle)]: | |
runtime.gopark(0x179910ab1d8?, 0x3?, 0x98?, 0xc6?, 0x0?) | |
runtime/proc.go:402 +0xce fp=0xc00008ff50 sp=0xc00008ff30 pc=0xd260e | |
runtime.gcBgMarkWorker() | |
runtime/mgc.go:1310 +0xe5 fp=0xc00008ffe0 sp=0xc00008ff50 pc=0xb1325 | |
runtime.goexit({}) | |
runtime/asm_amd64.s:1695 +0x1 fp=0xc00008ffe8 sp=0xc00008ffe0 pc=0x109481 | |
created by runtime.gcBgMarkStartWorkers in goroutine 1 | |
runtime/mgc.go:1234 +0x1c | |
goroutine 20 gp=0xc00011b180 m=nil [GC worker (idle)]: | |
runtime.gopark(0x1749ab3ca44?, 0x3?, 0x48?, 0x73?, 0x0?) | |
runtime/proc.go:402 +0xce fp=0xc000469f50 sp=0xc000469f30 pc=0xd260e | |
runtime.gcBgMarkWorker() | |
runtime/mgc.go:1310 +0xe5 fp=0xc000469fe0 sp=0xc000469f50 pc=0xb1325 | |
runtime.goexit({}) | |
runtime/asm_amd64.s:1695 +0x1 fp=0xc000469fe8 sp=0xc000469fe0 pc=0x109481 | |
created by runtime.gcBgMarkStartWorkers in goroutine 1 | |
runtime/mgc.go:1234 +0x1c | |
goroutine 21 gp=0xc00011b340 m=nil [GC worker (idle)]: | |
runtime.gopark(0x17990f825cc?, 0x3?, 0xf4?, 0x73?, 0x0?) | |
runtime/proc.go:402 +0xce fp=0xc00046bf50 sp=0xc00046bf30 pc=0xd260e | |
runtime.gcBgMarkWorker() | |
runtime/mgc.go:1310 +0xe5 fp=0xc00046bfe0 sp=0xc00046bf50 pc=0xb1325 | |
runtime.goexit({}) | |
runtime/asm_amd64.s:1695 +0x1 fp=0xc00046bfe8 sp=0xc00046bfe0 pc=0x109481 | |
created by runtime.gcBgMarkStartWorkers in goroutine 1 | |
runtime/mgc.go:1234 +0x1c | |
goroutine 35 gp=0xc00011b880 m=nil [sleep]: | |
runtime.gopark(0x179b6ac872c?, 0x0?, 0x0?, 0x0?, 0x0?) | |
runtime/proc.go:402 +0xce fp=0xc000797f80 sp=0xc000797f60 pc=0xd260e | |
time.Sleep(0x2625a00) | |
runtime/time.go:195 +0x11a fp=0xc000797fc0 sp=0xc000797f80 pc=0x10633a | |
github.com/elastic/elastic-agent/internal/pkg/agent/install.CreateAndStartNewSpinner.func1() | |
:36 +0x25 fp=0xc000797fe0 sp=0xc000797fc0 pc=0xa29245 | |
runtime.goexit({}) | |
runtime/asm_amd64.s:1695 +0x1 fp=0xc000797fe8 sp=0xc000797fe0 pc=0x109481 | |
created by github.com/elastic/elastic-agent/internal/pkg/agent/install.CreateAndStartNewSpinner in goroutine 1 | |
:30 +0x198 | |
goroutine 1240 gp=0xc0004b0000 m=nil [chan receive]: | |
runtime.gopark(0x1c784c0?, 0xc00061e130?, 0xa8?, 0x7f?, 0x1d68d9?) | |
runtime/proc.go:402 +0xce fp=0xc0004b7f18 sp=0xc0004b7ef8 pc=0xd260e | |
runtime.chanrecv(0xc00013ad80, 0x0, 0x1) | |
runtime/chan.go:583 +0x3cd fp=0xc0004b7f90 sp=0xc0004b7f18 pc=0x9aa0d | |
runtime.chanrecv1(0xc00011c050?, 0xaa36363636363636?) | |
runtime/chan.go:442 +0x12 fp=0xc0004b7fb8 sp=0xc0004b7f90 pc=0x9a612 | |
github.com/elastic/elastic-agent/internal/pkg/agent/install.backoffWithContext.func1() | |
:495 +0x2c fp=0xc0004b7fe0 sp=0xc0004b7fb8 pc=0xa2d9ec | |
runtime.goexit({}) | |
runtime/asm_amd64.s:1695 +0x1 fp=0xc0004b7fe8 sp=0xc0004b7fe0 pc=0x109481 | |
created by github.com/elastic/elastic-agent/internal/pkg/agent/install.backoffWithContext in goroutine 1 | |
:494 +0xa6 | |
goroutine 930 gp=0xc00042cfc0 m=nil [chan send]: | |
runtime.gopark(0x37966c0?, 0x1d8ce60?, 0xb0?, 0x20?, 0x28f73e686e0?) | |
runtime/proc.go:402 +0xce fp=0xc0006d7de8 sp=0xc0006d7dc8 pc=0xd260e | |
runtime.chansend(0xc0004c0000, 0xc0006d7f98, 0x1, 0xc0005e0040?) | |
runtime/chan.go:259 +0x38d fp=0xc0006d7e58 sp=0xc0006d7de8 pc=0x99c6d | |
runtime.chansend1(0x1e46780?, 0xc0006d7f78?) | |
runtime/chan.go:145 +0x17 fp=0xc0006d7e88 sp=0xc0006d7e58 pc=0x998d7 | |
os/exec.(*Cmd).watchCtx(0xc000003080, 0xc0004c0000) | |
os/exec/exec.go:798 +0x3ff fp=0xc0006d7fc0 sp=0xc0006d7e88 pc=0x5cc73f | |
os/exec.(*Cmd).Start.gowrap2() | |
os/exec/exec.go:759 +0x25 fp=0xc0006d7fe0 sp=0xc0006d7fc0 pc=0x5cc0a5 | |
runtime.goexit({}) | |
runtime/asm_amd64.s:1695 +0x1 fp=0xc0006d7fe8 sp=0xc0006d7fe0 pc=0x109481 | |
created by os/exec.(*Cmd).Start in goroutine 1 | |
os/exec/exec.go:759 +0xa09 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment