- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Problems porting an application from HPUx 11 t...
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
Discussions
Discussions
Forums
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
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
тАО02-17-2005 03:02 AM
тАО02-17-2005 03:02 AM
I am pretty new to the HPUx topic and got the job to port a CORBA application from HPUx 11 to HPUx 11.11.
I recompiled and installed the whole thing on the new machine, it compiled without errors, but when I try to run the application it core dumps.
The stack trace delivers the following:
#0 0x77f34b7c in _sigfillset+0x5bc () from /usr/lib/libc.2
#1 0x77f3297c in _sscanf+0x68c () from /usr/lib/libc.2
#2 0x77f3801c in malloc+0x18c () from /usr/lib/libc.2
#3 0x77d83a08 in operator new []+0x40 () from /usr/lib/libCsup.2
#4 0x77bd8ae8 in ObjectReferenceImpl::ior_extract_MT_UNSAFE+0x68 ()
from /cluster/oowma/appl/Orbix_3.3/lib/liborbixmt.3.3.aCC.1
#5 0x77bd8a34 in ObjectReferenceImpl::ior_extract+0x5c ()
from /cluster/oowma/appl/Orbix_3.3/lib/liborbixmt.3.3.aCC.1
...
As you surely have seen we use Orbix for the CORBA stuff.
Now, when I do a "set heap bounds on" the application runs without any warning / error...
When I do a "set heap free on" I get a few notifications about maybe corrupted footers.
Now, as you surely already noticed I am not very experienced in the C++ - Unix story...
So, what can I read from the above to messages? Is there a way to find out, where the heap bounds are violated, or who violated them?
I also tried to increase the MAX_DSIZE Kernelparameter with no effect.
Has there been any additional restriction about the stricness of allocating and freeing memory between HPUx 11 and 11.11?
I really hope someone can help me in this topic, it's almost driving me insane...
best regards
Tobias Kastl
Solved! Go to Solution.
- Tags:
- heap corruption
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2005 04:03 AM
тАО02-17-2005 04:03 AM
Re: Problems porting an application from HPUx 11 to HPUx 11.11
also you can check Kernel parms with Glans.
Did you install all needed library ?
send your error !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2005 06:00 PM
тАО02-17-2005 06:00 PM
Re: Problems porting an application from HPUx 11 to HPUx 11.11
the server terminates with a SIGSEGV.
The client naturally says "no connection to server".
Where can I find Kernelparams in glance? I know, you can monitor and change them in SAM (but only with admin-rights), but in glance?
best regards, Tobi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2005 11:14 PM
- Tags:
- glance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2005 11:47 PM
тАО02-17-2005 11:47 PM
Re: Problems porting an application from HPUx 11 to HPUx 11.11
sigsegv is indeed memory
kmtune -l on the machine to see all the variables
file applicationexecutable to see if a 32 or 64 bit application
ELF-64 executable object file - PA-RISC 2.0 (LP64) is 64 bit
check /var/adm/syslog/syslog.log for messages
check swapinfo -at for enough swap
see
ftp://eh:spear9@hprc.external.hp.com/memory.htm
tells you how to use glance and other soft to check memory usage
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2005 11:54 PM
тАО02-17-2005 11:54 PM
Re: Problems porting an application from HPUx 11 to HPUx 11.11
thanks a lot, I will look at the ftp-document you mentioned and see, if I find out more...
best regards, Tobi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2005 01:06 AM
тАО02-18-2005 01:06 AM
Re: Problems porting an application from HPUx 11 to HPUx 11.11
But there two other questions came up:
1) I found out my app is compiled as a 64 Bit app. Could it be any problem that it has been linked against 32-Bit libraries?
2) which bounds exactly does set heap-check keep an eye on? I am wondering because if it is enabled the application runs properly if it is not enabled it core dumps...
best regards, Tobi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2005 01:26 AM
тАО02-18-2005 01:26 AM
Re: Problems porting an application from HPUx 11 to HPUx 11.11
If it uns with heap check then 1 is no problem
HeapCheck, which can detect problems that corrupt the system memory pool, such as writing off the end of an array or using a "freed" pointer.
Thus you have a memory leak
Check for Java version and latest patche son machine via
www.hp.com/go/java and the itrc
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2005 01:42 AM
тАО02-18-2005 01:42 AM
Re: Problems porting an application from HPUx 11 to HPUx 11.11
best regards, Tobi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2005 02:03 AM
тАО02-18-2005 02:03 AM
Re: Problems porting an application from HPUx 11 to HPUx 11.11
Ok C++
what version
see
http://h21007.www2.hp.com/dspp/tech/tech_TechDocumentDetailPage_IDX/1,1701,2504,00.html
http://h21007.www2.hp.com/dspp/tech/tech_TechSoftwareDetailPage_IDX/1,1703,1743,00.html
Steve Steel