- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- mmap failed for dld
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
04-16-2003 05:44 AM
04-16-2003 05:44 AM
One of our customer experiences a problem with one of our applications. The application is correctly running since a long time on a HP 10.20 9000/813 and is failing on a 11.11 9000/813.
This 11.11 is a very new system over there and honnestly speaking I do not know if they installed patches.
It creates a core file and stops continuing the application. Making a strings on the core file, we are able to collect the following information :
9000/800
159464661
oftphub
G)@@
oUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU
UQ
$Revision: 92453-07 linker linker crt0.o B.10.19 960731 $
/usr/lib/dld.sl
ERROR: mmap failed for dld
abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
030416
130357
Does someone can advise us ?
Regards
Luc Van den Abeele
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2003 05:49 AM
04-16-2003 05:49 AM
Re: mmap failed for dld
One possible reason for this error is insufficient swapspace. Use 'swapinfo -tam' to examine your space.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2003 05:57 AM
04-16-2003 05:57 AM
SolutionI am attaching a small C source to make the core readable to give us further clues.
Is your application using any threads?
Also what signal is the application catching?
In my case it was the application code that was offending by improper syncing using thread mutexes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2003 06:08 AM
04-16-2003 06:08 AM
Re: mmap failed for dld
Thanks for answer ... swapinfo is not found on the HP-UX 11.11 machine.
It exists on the 10.20 .....
Does this mean there is no swap .... ?
Thanks
Luc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2003 06:14 AM
04-16-2003 06:14 AM
Re: mmap failed for dld
If this is your application than doing only 'strings' on the core is the least usefull thing you could do. How about checking it with debugger?
How about 'file core' and 'what core'?
I guess you miss a shared library on that host.
Good luck
Adam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2003 06:18 AM
04-16-2003 06:18 AM
Re: mmap failed for dld
Hello,
swapinfo is found in /usr/sbin/swapinfo
and must be run by user root.
Strings on the core file does not give
any valuable info.
Try this command instead:
file core
It may show you what caused the core-dump.
(SIGSEGV .....)
As you have a core file I advise you to run
the debugger on it.
To get the call-stack do the follwing:
gdb executable core
(gdb) info stack
If the binary you are running on 11.11 is
compiled/linked on 10.20 it may be that it
used some API that has been changed.
Olav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2003 07:28 AM
04-16-2003 07:28 AM
Re: mmap failed for dld
We'll try to recompile it on HP-UX 11.11 which seems to be the most easy solution.
We just have to find such an HP-UX 11.11 available. We are currently only running 10.20.
It is probably due to X25 or other stuffs which are differently "made" on 11.11.
At least our customer has such a system.
Hopefully, only a single module is concerned by this problem.
I'll let you know tomorrow as we just finished sending the pack to the customer which will download and let us compile.
Regards
Luc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2003 11:40 PM
04-17-2003 11:40 PM
Re: mmap failed for dld
I tried this morning (Friday instead of Thursday because my customer was slow to provide access to the source code ...) and unfortunately it failed due to dld reasons again.
Please find the message ... Any Idea ?
Thanks
Luc Van den Abeele
/usr/lib/dld.sl: Can't open shared library: /usr/local/lib/libbfd-2.11.2.sl
/usr/lib/dld.sl: No such file or directory
gcc: Internal error: Aborted (program as)
Please submit a full bug report.
See <> for instructions.
*** Error exit code 1>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2003 01:07 AM
04-18-2003 01:07 AM
Re: mmap failed for dld
Just what it says:
You have no
/usr/local/lib/libbfd-2.11.2.sl
on the custommers host.
Install it and check again.
However this can be 'the first from the list', so after installing you can expect problems with missing another one.
Check where this library comes from? I guess its a part of a bigger package. Consult with the documentation baout the installation procedure.
Well, I was right. :)
Good luck
Adam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2003 10:57 AM
04-18-2003 10:57 AM
Re: mmap failed for dld
If not, add it:
SHLIB_PATH=$SHIB_PATH:/usr/local/lib;export SHLIB_PATH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2003 11:26 AM
04-18-2003 11:26 AM
Re: mmap failed for dld
Enjoy, have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2003 11:53 PM
04-27-2003 11:53 PM
Re: mmap failed for dld
We tried to recompile on a HP-UX 11.* system without better results. Honnestly, the customer did it on its own and I had no guarantee it was correctly performed. I got a copy of the stderr/stdout out of the compilation but I had some fears.
We finally recompiled the code on our system a 10.* one, installed the latest exe and it works fine ! This is Software and IT !
Thanks
Luc Van den Abeele
PS: I'll try to quote all of your answers.