[Nagiosplug-devel] [ nagiosplug-Bugs-1984240 ] check_tcp Segmentation fault on HP-UX 11.23

SourceForge.net noreply at sourceforge.net
Wed Jan 28 08:53:12 CET 2009


Bugs item #1984240, was opened at 2008-06-04 10:19
Message generated for change (Comment added) made by df7be
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1984240&group_id=29880

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Wilfried Brunken (df7be)
Assigned to: Nobody/Anonymous (nobody)
Summary: check_tcp Segmentation fault on HP-UX 11.23

Initial Comment:
Hello,
compiled Plugins Version 1.4.12 with gcc (GCC) 4.1.1 the
check_tcp cored at call (with no or any options)
here comes the GDB Backtrace, i hope ths helps.

73 de DF7BE

/usr/local/nagios/libexec> gdb check_tcp core
HP gdb 3.1 for PA-RISC 1.1 or 2.0 (narrow), HP-UX 11.00.
Copyright 1986 - 2001 Free Software Foundation, Inc.
Hewlett-Packard Wildebeest 3.1 (based on GDB) is covered by the
GNU General Public License. Type "show copying" to see the conditions to
change it and/or distribute copies. Type "show warranty" for warranty/support.
..
Core was generated by `check_tcp'.
Program terminated with signal 11, Segmentation fault.

warning: The shared libraries were not privately mapped; setting a
breakpoint in a shared library will not work until you rerun the program.

Process ID is greater than 65535.
#0  0xc06ba404 in pthread_mutex_lock+0x64 () from /usr/lib/libcma.2
(gdb) bt
#0  0xc06ba404 in pthread_mutex_lock+0x64 () from /usr/lib/libcma.2
Cannot access memory at address 0xc06ba390
(gdb)

----------------------------------------------------------------------

>Comment By: Wilfried Brunken (df7be)
Date: 2009-01-28 08:53

Message:
Hello,
The problem seems to be fixed.
kompiled Plugins v 1.4.13 and add System Patch bundle, it works:

./check_tcp -H localhost -p 5666
TCP OK - 0.004 second response time on port
5666|time=0.003778s;;;0.000000;10.000000

the gcc has the same version

 swlist | grep -i patch  BUNDLE                                B.11.23    
   Patch Bundle
  BUNDLE11i                             B.11.23.0409.3 Required Patch
Bundle for HP-UX 11i v2 (B.11.23), September 2004
  FEATURE11i                            B.11.23.0603.040 Feature
Enablement Patches for HP-UX 11i v2, March 2006
  HWEnable11i                           B.11.23.0603.040a Hardware
Enablement Patches for HP-UX 11i v2, March 2006
  SecPatchCk                            B.02.02        HP-UX Security
Patch Check Tool



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1984240&group_id=29880




More information about the Devel mailing list