[ZBXNEXT-2320] Windows agent should log stack trace when it exits with unhandled exception Created: 2014 May 28  Updated: 2014 Nov 13  Resolved: 2014 Aug 27

Status: Closed
Project: ZABBIX FEATURE REQUESTS
Component/s: Agent (G)
Affects Version/s: None
Fix Version/s: 2.5.0

Type: New Feature Request Priority: Minor
Reporter: Andris Zeila Assignee: Unassigned
Resolution: Fixed Votes: 1
Labels: debugging, troubleshooting, windows
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Windows



 Description   

The stack trace can be generated with StackWalk64 function. The program database (pdb) files generated by Microsoft C compiler (/Zi option) will be required to resolve addresses with SymFromAddr function.



 Comments   
Comment by Andris Zeila [ 2014 Aug 27 ]

Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBXNEXT-2320

Comment by dimir [ 2014 Oct 02 ]

Successfully tested. Please review my small changes in r49472, r49536, r49538.

wiper Thanks

Comment by Andris Zeila [ 2014 Oct 02 ]

(1) The linker /DEBUG option required to generate the pdb file automatically disables /OPT:REF option, which must be enabled manually.

RESOLVED in rr49568

<dimir> CLOSED

Comment by dimir [ 2014 Nov 12 ]

Successfully tested. All it needs now is some documentation.

Comment by Andris Zeila [ 2014 Nov 13 ]

Released in:

  • pre-2.5.0 r50584
Comment by Andris Zeila [ 2014 Nov 13 ]

(2) Added to what's new at https://www.zabbix.com/documentation/3.0/manual/introduction/whatsnew300#miscellaneous_improvements1

sasha CLOSED

Generated at Sat Apr 20 08:03:18 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.