[ZBX-24578] Agent2 for windows crashing during startup (and installation too) - runtime.asmstdcall Created: 2024 Jun 03  Updated: 2024 Jul 16  Resolved: 2024 Jun 03

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Agent (G), Installation (I)
Affects Version/s: 6.4.15
Fix Version/s: None

Type: Problem report Priority: Trivial
Reporter: Oleksii Zagorskyi Assignee: Zabbix Support Team
Resolution: Won't fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File 2-versions.png     PNG File package-error.png    
Issue Links:
Duplicate
is duplicated by ZBX-24286 Zabbix Agent2 6.4.13 crush on Windows... Closed

 Description   

Reporting it to be able to find keywords here.
Wring this lines after preparing report, let it be here.

It's already stated here  https://www.zabbix.com/documentation/current/en/manual/installation/requirements#supported-platforms (possibly with a small mistake - should be .13, not .12)

While it's not mentioned here https://www.zabbix.com/documentation/current/en/manual/introduction/whatsnew6413
But mentioned here https://www.zabbix.com/documentation/current/en/manual/introduction/whatsnew6412#zabbix-agent-2-support-on-windows

It's starting from version 6.4.13.
Here is attempt to install service, agent2 is from downloaded archive:

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\7x64\Downloads\zabbix_agent2-6.4.13-windows-amd64-openssl-static\bin>zabbix_agent2.exe -i
Exception 0xc0000005 0x8 0x0 0x0
PC=0x0

runtime.asmstdcall(0x196f768)
        C:/Program Files/Go/src/runtime/sys_windows_amd64.s:75 +0x7a fp=0x196f6f
0 sp=0x196f6d0 pc=0x12341a
rax     0x0
rbx     0x15c0b98
rcx     0x16470a8
rdx     0x20
rdi     0x7fffffde000
rsi     0x196f8e8
rbp     0x196f830
rsp     0x196f6c8
r8      0x0
r9      0x196f958
r10     0x170a2e8
r11     0xc000004000
r12     0x196f938
r13     0x0
r14     0x15bfb40
r15     0x3
rip     0x0
rflags  0x10293
cs      0x33
fs      0x53
gs      0x2b

C:\Users\7x64\Downloads\zabbix_agent2-6.4.13-windows-amd64-openssl-static\bin>

I believe the same error happening during attempt to install form msi package:

6.4.12 does not cause such an error, from archive and for installation package too. Here is difference when install a service the same way. Lower is 6.4.12 is fine:

Upstream discussion:
https://github.com/golang/go/issues/64622



 Comments   
Comment by Oleksii Zagorskyi [ 2024 Jun 03 ]

Closing as Won't fix, obviously.
If this report helped anyone - I'm glad on this

Generated at Fri May 23 08:18:49 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.