- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- C++ program generated core
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2006 01:19 PM
08-07-2006 01:19 PM
C++ program generated core
We are currently trying to port a C++ application on Solaris to HP-UX 11.11.
This application is the plugin for Apache 2.x.
Normmally it work. But when stopping apache process (, core is generated.
We have already ported the application on windows successfully. We have use aCC compiler. I am not sure whether this is patch problem or other OS related problem.
If anyone thinks that this is patch problem, please let me know.
=============================
# gdb /opt/hpws/apache/bin/httpd core
HP gdb 5.2 for PA-RISC 1.1 or 2.0 (narrow), HP-UX 11.00
and target hppa1.1-hp-hpux11.00.
Copyright 1986 - 2001 Free Software Foundation, Inc.
Hewlett-Packard Wildebeest 5.2 (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 `httpd'.
Program terminated with signal 11, Segmentation fault.
SEGV_UNKNOWN - Unknown Error
#0 0xc020dee0 in kill+0x10 () from /usr/lib/libc.2
(gdb) info thread all
* 1 system thread 15066 0xc020dee0 in kill+0x10 () from /usr/lib/libc.2
(gdb) thread 1
[Current thread is already 1 (system thread 15066)]
(gdb)
[Current thread is already 1 (system thread 15066)]
(gdb) bt
#0 0xc020dee0 in kill+0x10 () from /usr/lib/libc.2
#1 0x62d44 in sig_coredump (sig=11) at mpm_common.c:955
#2
#3 0xc26dcba0 in
warning: Attempting to unwind past bad PC 0xc26dcba0
#4 0xc376e47c in aaaAuthn::~aaaAuthn (this=0x7aeb2bf0, #free=2) at ./xxx.cpp:115
#5 0xc1ce734c in _niam_body+0x12c () from /usr/lib/libCsup_v2.2
#6 0xc1ce73b4 in _niam+0x1c () from /usr/lib/libCsup_v2.2
#7 0xc01849ec in exit+0x74 () from /usr/lib/libc.2
#8 0x53aac in destroy_and_exit_process (process=0x40012c78, process_exit_value=0) at main.c:210
#9 0x55738 in main (argc=5, argv=0x7aff0784) at main.c:624
(gdb) quit
=============================
Thank in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2006 03:40 PM
08-07-2006 03:40 PM
Re: C++ program generated core
Which version of aCC you are using ? You haven't specified that.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2006 05:04 PM
08-07-2006 05:04 PM
Re: C++ program generated core
A.03.70
Thanks,
tash S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2006 05:13 PM
08-07-2006 05:13 PM
Re: C++ program generated core
Perhaps you can try installing PHSS_33944 http://www1.itrc.hp.com/service/patch/patchDetail.do?patchid=PHSS_33944&sel={hpux:11.11,}&BC=main|search|
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2006 07:52 PM
08-07-2006 07:52 PM
Re: C++ program generated core
Even if we installed the pache about PHSS_33035.
Any ideas?
========================
bash-2.04# swinstall -x autoreboot=true -p -s /var/tmp/patches5/PHSS_33944.depo
t \*
======= 08/08/06 16:45:16 JST BEGIN swinstall SESSION
(non-interactive) (jobid=xxx-hp-0216)
* Session started for user "root@xxx-hp".
* Beginning Selection
* Target connection succeeded for "xxx-hp:/".
NOTE: The software "PHSS_33944" was successfully marked, but it
depends on the following software items which could not be
found in the source. However, these items may already be in
the target. This will be checked during the Analysis Phase:
PHSS_33035.CORE-64SLIB,fa=HP-UX_B.11.11_32/64
PHSS_33035.CORE-SHLIBS,fa=HP-UX_B.11.11_32/64
PHSS_33035.LANG-MIN,fa=HP-UX_B.11.11_32/64
* Source: /var/tmp/patches5/PHSS_33944.depot
* Targets: xxx-hp:/
* Software selections:
PHSS_33944.CORE-64SLIB,r=1.0,a=HP-UX_B.11.11_32/64,v=HP,fr=1.0,fa=H
P-UX_B.11.11_32/64
PHSS_33944.CORE-SHLIBS,r=1.0,a=HP-UX_B.11.11_32/64,v=HP,fr=1.0,fa=H
P-UX_B.11.11_32/64
PHSS_33944.LANG-64ALIB,r=1.0,a=HP-UX_B.11.11_32/64,v=HP,fr=1.0,fa=H
P-UX_B.11.11_32/64
PHSS_33944.LANG-MIN,r=1.0,a=HP-UX_B.11.11_32/64,v=HP,fr=1.0,fa=HP-U
X_B.11.11_32/64
* Selection succeeded.
* Beginning Analysis
* Session selections have been saved in the file
"/.sw/sessions/swinstall.last".
* The analysis phase succeeded for "xxx-hp:/".
* Analysis succeeded.
NOTE: More information may be found in the agent logfile using the
command "swjob -a log xxx-hp-0216 @ rsasj-hp:/".
======= 08/08/06 16:45:21 JST END swinstall SESSION (non-interactive)
(jobid=xxx-hp-0216)
===================
regards;
-tash s
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2006 08:17 PM
08-07-2006 08:17 PM
Re: C++ program generated core
PHSS_33944 has a dependency towards PHSS_33035. You can download both of them together, make a single bundle then, install it.
It should work that way.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2006 09:23 PM
08-07-2006 09:23 PM
Re: C++ program generated core
Can you clarify the following phase
"make a single bundle then" ?
I installed PHSS_33035.
And after that, I am trying to install PHSS_33944.
Can I have special command in order to "make a single bundle then"?
Thanks in advance,
-tash S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2006 09:45 PM
08-07-2006 09:45 PM
Re: C++ program generated core
There is an option to download both the patches in a single zip file. Later, unzip it to /tmp/patches. You will find "README_hp-ux". It has got all the information.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2006 10:42 PM
08-07-2006 10:42 PM
Re: C++ program generated core
I installed the both using
swinstall -x autoreboot=true -s /var/tmp/patches/depot \*,
And I reboot HP-UX box.
but swlist said in the following.
====================================
bash-2.04# swlist -l fileset -a state PHCO_33035
# Initializing...
# Contacting target "xxx-hp"...
ERROR: Software "PHCO_33035" was not found on host "xxx-hp:/".
bash-2.04# swlist -l fileset -a state PHCO_33944
# Initializing...
# Contacting target "rsasj-hp"...
ERROR: Software "PHCO_33944" was not found on host "xxx-hp:/".
====================================
regard;
-tash S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2006 12:06 PM
08-08-2006 12:06 PM
Re: C++ program generated core
After I installed PHSS_33944, the result was the same,which means that it generated core.
>Perhaps you can try installing PHSS_33944 >http://www1.itrc.hp.com/service/patch/patch>Detail.do?patchid=PHSS_33944&sel=
>{hpux:11.11,}&BC=main|search|
Any other idea?
Thanks in advance.
-tash S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2006 12:46 PM
08-09-2006 12:46 PM
Re: C++ program generated core
Actually we use Rogue Wave C++ library.
The other platform like Solaris is OK, so
I was wondering why it is.
aCC version is A.03.70.
Does HP-UX 11i and aCC include any Rogue Wave's debbuging tool ?
Thank you in advance.
tash S