libmd_psr.so.1 - Issue.


 
Thread Tools Search this Thread
Operating Systems Solaris libmd_psr.so.1 - Issue.
# 1  
Old 03-31-2010
libmd_psr.so.1 - Issue.

Hi Gurus,

An application is failing to start when initiated in one of my sun boxes(Sol-5.10 Sparc).
A lot of core dumps got generated.
The debug of one of them is put below:


Code:
  (dbx) run
Running: shccmd
(process id 17831)
Reading libc_psr.so.1
Reading libmp.so.2
Reading libscf.so.1
Reading libdoor.so.1
Reading libuutil.so.1
Reading libmd_psr.so.1
t@1 (l@1) signal SEGV (no mapping at the fault address) in shc_init at line 107 in file "shc_wrapper.cxx"
  107           return( shcApp->shcHelperObj->shc_init() );
(dbx)

Its failing at the below call in dbx.

I checked the "libmd_psr.so.1" in the system and found it in shape.

I checked the size of this file in this server and another sparc server and found them different. I copied the "libmd_psr.so.1" file from the other server and moved it here and started the App,but the same result.

How should i proceed? Is it an App-end issue or a lib issue? How can i check that?

HG
# 2  
Old 03-31-2010
use truss command to debug
# 3  
Old 03-31-2010
Can you elaborate?

HG
# 4  
Old 03-31-2010
Code:
truss /yourpath/application

The out put can help you debug whats the issue is? For more details of truss check the man pages.
# 5  
Old 03-31-2010
Hi Gurus,

Reading libmd_psr.so.1
t@1 (l@1) signal SEGV (no mapping at the fault address) in shc_init at line 107 in file "shc_wrapper.cxx"
107 return( shcApp->shcHelperObj->shc_init() );

Does this mean that line 107 in file shc_wrpper.cxx file needs to be checked? (shc_init is the process that brings up the application and "shc" is the one among the many binaries that run the application.)

Hi amit,

I tried runing a truss,but the output was not understandable. Thanks for the tip. Will keep working on it.

HG

HG
# 6  
Old 03-31-2010
The loading of the shared objects probably have nothing to do with your SEGV.

What does "pstack core" show? Have you ran your process under a dbx with run-time memory checking enabled?
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

What could be the issue ?

Hi, when i am trying below script assume that below values are taken in code #!/bin/ksh if then echo usage: aNlist.sh QMGR NAME MQREQ fi NL=`echo 'dis qmgr'|runmqsc $1|grep REPOSNL|sed 's/.*REPOSNL\(.*\).*/\1/' |cut -d'(' -f2|cut -d')' -f1` echo 'define nl('$NL_$2')... (25 Replies)
Discussion started by: darling
25 Replies

2. Shell Programming and Scripting

Variable value substitution issue with awk command issue

Hi All, I am using the below script which has awk command, but it is not returing the expected result. can some pls help me to correct the command. The below script sample.ksh should give the result if the value of last 4 digits in the variable NM matches with the variable value DAT. The... (7 Replies)
Discussion started by: G.K.K
7 Replies

3. Shell Programming and Scripting

Need assistance with a file issue and a terminal issue

Hello everyone, I'm in need of some assistance. I'm currently enrolled in an introductory UNIX shell programming course and, well halfway through the semester, we are receiving our first actual assignment. I've somewhat realized now that I've fallen behind, and I'm working to get caught up, but for... (1 Reply)
Discussion started by: MrMagoo22
1 Replies

4. Shell Programming and Scripting

CP Issue

I want to copy large amount of files aproximately more than 20,000 files from one file system to another file system, but it gives me error like: #cd /opt/appserver/images #cp * /opt/appserver02/public/images Argument list is too long Also above mention error appear again when i run: ... (1 Reply)
Discussion started by: telnor
1 Replies

5. Solaris

IP issue

hi , I have a Solaris server which is part of a domain. The IP for this Solaris box is allocated dyanamically by a DHCP. Everytime the solaris box is restarted the IP gets changed. Being an admin what should i do to find the new ip of the Solaris server sitting at my location? Till now i get... (2 Replies)
Discussion started by: BalajiUthira
2 Replies

6. UNIX for Dummies Questions & Answers

ISSUE and ISSUE.NET files

In LINUX(CentOS, RedHat) is there a way to have the banner statement appear before the logon instead of after the logon? In UNIX and Windows the banner appears before a person actually logs on, what I'm seeing in LINUX is that it appears after the login(ftp, telnet, SSH). Thanks (0 Replies)
Discussion started by: ejjones
0 Replies

7. HP-UX

HP-UX Issue!!

Hello :), I really am stuck with something, I am trying to boot my machine into single user mode (GCCS-M) but it acts like it does not recognize the key board. I have taken over the system as a pass down item and no one can fine the passwords. I don't want to reload it :(and I was wondering if... (1 Reply)
Discussion started by: Ham
1 Replies

8. Shell Programming and Scripting

Unix Arithmatic operation issue , datatype issue

Hi, I have a shell scripting. This will take 7 digit number in each line and add 7 digit number with next subsequent lines ( normal addition ). Eg: 0000001 0000220 0001235 0000022 0000023 ........... ......... ........ Like this i am having around 1500000 records. After adding... (23 Replies)
Discussion started by: thambi
23 Replies

9. UNIX for Dummies Questions & Answers

ps issue

HI All, Suddenly don't know what happened to redhat linux 7.2 any program start then itsn't listing while using ps -ef ex: ./xyz this xyz program pid not showing in ps-ef Pls let me know what is the reason for the same. Thanks a lot in advance Bache (7 Replies)
Discussion started by: bache_gowda
7 Replies
Login or Register to Ask a Question