[ZBX-5382] Zabbix agent 2.0 crashes on HP-UX Itanium platforms Created: 2012 Jul 30  Updated: 2017 May 30  Resolved: 2012 Nov 06

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Agent (G)
Affects Version/s: None
Fix Version/s: 2.0.4rc1, 2.1.0

Type: Incident report Priority: Major
Reporter: dimir Assignee: Unassigned
Resolution: Fixed Votes: 2
Labels: crash, hp-ux
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates ZBX-5289 2.0.1 agent on Solaris 10 throws "Got... Closed

 Description   

Tested Zabbix agent 2.0.2 (revision 29143). HP-UX platforms:

  • 11.23 Itanium
  • 11.31 Itanium

Zabbix agent 1.8.15rc1 working properly on these platforms, so this looks like a regression.

On same versions (11.23, 11.31) but PA-RISC CPUs no crash is observed.

Reproducing is simple:

  • get 2.0 Zabbix
  • ./configure --enable-agent
  • make
  • ./zabbix_agentd
  • observe the log file

It should contain something like:

16971:20120731:002429.392 Starting Zabbix Agent [Zabbix server]. Zabbix 2.0.2 (revision 29143).
16972:20120731:002429.393 agent #0 started [collector]
16972:20120731:002429.394 Got signal [signal:10(SIGBUS),reason:1,refaddr:c543000c]. Crashing ...
16972:20120731:002429.394 ====== Fatal information: ======
16972:20120731:002429.394 program counter not available for this architecture
16972:20120731:002429.394 === Registers: ===
16972:20120731:002429.394 register dump not available for this architecture
16972:20120731:002429.394 === Backtrace: ===
16972:20120731:002429.394 backtrace not available for this platform
16972:20120731:002429.394 === Memory map: ===
16972:20120731:002429.394 memory map not available for this platform
16972:20120731:002429.394 ================================
16971:20120731:002429.394 One child process died (PID:16972,exitcode/signal:-1). Exiting ...
16971:20120731:002431.400 Zabbix Agent stopped. Zabbix 2.0.2 (revision 29143).



 Comments   
Comment by Alexei Vladishev [ 2012 Sep 07 ]

Please try to retest with the latest nightly build. Possibly it was fixed under different issue recently.

Comment by Peter Schmeisser [ 2012 Sep 28 ]

Is there a relation to Solaris ISSUE ZBX-5289 ?

Comment by Romeo Theriault [ 2012 Sep 28 ]

I would guess that this is probably due to the same memory alignment issue.

Comment by Oleksii Zagorskyi [ 2012 Oct 08 ]

There in the ZBX-5289 (linked to be noticeable) is an additional comment about similar crash under HP-UX, direct link https://support.zabbix.com/browse/ZBX-5289?focusedCommentId=67082&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-67082

Comment by Alice Ferrazzi [ 2012 Oct 15 ]

Hello all,
I`m Alice and I`m working for MIRACLE LINUX.
I applied and checked the patch made by lopez.jairo here ZBX-5289
zabbix-2.0.x-solaris10-SIGBUS-crash-ZBX-5289-structforcealign1.patch
and it fix the problem for HP-UX 11.31 Itanium

Comment by Andris Mednis [ 2012 Nov 05 ]

Just for information - another workaround is compiling Zabbix agentd as a 64-bit binary:
$ CFLAGS="+DD64" ./configure --enable-agent

Comment by Andris Mednis [ 2012 Nov 06 ]

Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-5289

Comment by Alexander Vladishev [ 2012 Nov 07 ]

Successfully tested!

Comment by Andris Mednis [ 2012 Nov 07 ]

Fixed in versions pre-2.0.4 rev. 31309 and pre-2.1.0 rev. 31312.

Generated at Fri Apr 26 20:46:31 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.