- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: SEGV_MAPERR - Address not mapped to object
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
тАО11-05-2009 02:18 AM
тАО11-05-2009 02:18 AM
We are porting our application (C++ code) to HP-UX 11i Itanium 64-bit platform and the compiler version we use is HP aC++ Version A.06.20. Our application runs as BEA Tuxedo servers.
During the server startup we are getting the following eror and coredump.
#0 0x60000000c01f2290:0 in memmove+0xb10 () from /usr/lib/hpux32/libc.so.1
#1 0x60000000dce71dc0:0 in RWCString::RWCString(RWCSubString const&)+0x260 ()
from /usr/lib/hpux32/librwtool.so.1
#2 0x4135870:0 in HostAccess::initialize (this=0x4008e330,
filename=0x7fffbc54) at RoutingSystem.cpp:83
#3 0x40a9f30:0 in tpsvrinit (argc=16, argv=0x7fffdfe4) at largemsg.cpp:33
#4 0x60000000d820be40:0 in _tmmain () at stdmain.c:262
#5 0x60000000d81e0cd0:0 in _tmstartserver () at tmstrtsrvr.c:129
#6 0x40a8590:0 in main () at BS-6dd4.c:76
The code it is pointing to is:
void HostAccess::initialize(String filename)
{
if( ( theHostData.entries() == 0 ) ||
( getLastFileTime( filename ) > _lastinited ) )
{
if( theHostData.entries() > 0 )
{
theHostData.clear();
}
ifstream file(filename);
String line;
String eol(";");
String del(",");
HostDataItem theEntry;
int delimLocation[4];
line.readLine(file);
while(!file.eof())
{
delimLocation[0] = line.index(del);
delimLocation[1] = line.index(del,delimLocation[0]+1);
delimLocation[2] = line.index(del,delimLocation[1]+1);
delimLocation[3] = line.index(eol);
theEntry.clientUser = line( 0, delimLocation[0]);
theEntry.region = line(delimLocation[0]+1,delimLocation[1]-delimLocation[0]-1);
theEntry.hostUserID = line(delimLocation[1]+1,delimLocation[2]-delimLocation[1]-1);
theEntry.hostOffice = line(delimLocation[2]+1,delimLocation[3]-delimLocation[2]-1);
theHostData.insert(theEntry);
line.readLine(file);
}
time( &_lastinited );
}
return;
};
This same code is running on PA-RISC systems without any issue. What can be causing the problem here? Appreciate any help on this.
Thanks,
Goutham
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-05-2009 03:46 AM
тАО11-05-2009 03:46 AM
Solution#0 0x60000000c01f2290:0 memmove+0xb10 libc.so.1
#1 0x60000000dce71dc0:0 RWCString::RWCString(RWCSubString const&) +0x260 librwtool.so.1
It looks like your RWCSstring has been corrupted.
RoutingSystem.cpp:83
Which line is 83?
You may want to compile with +d to prevent inlining so you can see exactly library functions are being called.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-06-2009 03:56 AM
тАО11-06-2009 03:56 AM
Re: SEGV_MAPERR - Address not mapped to object
Print these in the debugger.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-09-2009 12:10 AM
тАО11-09-2009 12:10 AM
Re: SEGV_MAPERR - Address not mapped to object
Thanks for your reply. I found out the coredump was due to a configuration issue. My code was not able to get the file loaction.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-09-2009 12:13 AM
тАО11-09-2009 12:13 AM
Re: SEGV_MAPERR - Address not mapped to object
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-09-2009 12:15 AM
тАО11-09-2009 12:15 AM