dump -Tv


 
Thread Tools Search this Thread
Operating Systems AIX dump -Tv
# 1  
Old 02-29-2012
dump -Tv

Hi guys,

i need some help to debbug a problem related to an executable file.
We I try to run it, it returns a problem related to a library (/usr/lib/libc.a(shr.o)), and when I'm not confident reading the output from dump -Tv.

Code:
./xxxxx 
exec(): 0509-036 Cannot load program ./xxxxx because of the following errors:
        0509-130 Symbol resolution failed for xxxxx because:
        0509-136   Symbol __strtollmax (number 200) is not exported from
                   dependent module /usr/lib/libc.a(shr.o).
        0509-192 Examine .loader section symbols with the
                 'dump -Tv' command.
# dump -Tv xxxxx |grep 200

***Loader Section***

                        ***Loader Symbol Table Information***
[Index]      Value      Scn     IMEX Sclass   Type           IMPid Name

[0]     0x200f3be0    .data              RW SECdef        [noIMid] __rtinit
[200]   0x00000000    undef      IMP     DS EXTref libc_r.a(shr.o) __strtollmax
[471]   0x200f3c4c    .data    ENTpt     DS SECdef        [noIMid] __start

Thanks for your help!

Moderator's Comments:
Mod Comment Please use next time
code tags for your code and data

Last edited by vbe; 02-29-2012 at 12:30 PM..
# 2  
Old 02-29-2012
What executable is that? And which program was it written in?
# 3  
Old 02-29-2012
It's the EMC master agent, i'm not able to determine its language.

---------- Post updated at 05:24 PM ---------- Previous update was at 04:57 PM ----------

Any other command to determine it?

Code:
# file mstragent
mstragent:      executable (RISC System/6000) or object module
# ld mstragent
ld: 0711-710 ERROR: Input file mstragent
        is stripped. The file is being ignored.


marco@marco-Vostro-3550:~/Desktop$ ld mstragent 
mstragent: file not recognized: File format not recognized


Last edited by cecco16; 02-29-2012 at 01:16 PM.. Reason: add code tag
# 4  
Old 02-29-2012
Code:
what ./mstragent

maybe more verbous? (looks like an old 32 bits executable...)
# 5  
Old 03-01-2012
Thanks for the suggestion!

Code:
# what mstragent
mstragent:
        23  1.4  src/bos/usr/ccs/lib/libpthreads/init.c, libpth, bos520 8/19/99 12:20:14
        61      1.14  src/bos/usr/ccs/lib/libc/__threads_init.c, libcthrd, bos520 7/11/00 12:04:14
        00      1.3  src/bos/usr/ccs/lib/libm/__set_errno128.c, libm, bos520 7/17/96 17:46:14
        49  1.20  src/bos/usr/ccs/lib/libm/scalb.c, libm, bos52B, b2003_01A0 11/27/02 10:44:06
        18  1.13.1.2  src/bos/usr/ccs/lib/libc/frexp.c, libccnv, bos520 10/22/99 18:42:51
        75      1.12  src/bos/usr/ccs/lib/libc/ldexp.c, libccnv, bos520 12/7/93 08:11:31
        19  1.11.1.4  src/bos/usr/ccs/lib/libc/POWER/modf.c, libccnv, bos520 1/4/00 14:49:22

---------- Post updated 03-01-12 at 10:32 AM ---------- Previous update was 02-29-12 at 05:52 PM ----------

So any suggestion for the library?

Last edited by cecco16; 02-29-2012 at 01:15 PM.. Reason: add code tag
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. AIX

Core dump

Hi , I want to read core dump file on AIX5.3. While i am trying to use following commands, i am getting only few lines of information. ux201p3:e46123> dbx capsWrkstnMgr core Type 'help' for help. reading symbolic information ... Segmentation fault in malloc_common.extend_brk at... (1 Reply)
Discussion started by: rps
1 Replies

2. UNIX for Dummies Questions & Answers

Dump and Restore

I want to copy over the contents of one partition on hard drive A to another partition on hard drive B. Using DD command caused problems since it overwrote the partition information on hard drive B and made hard drive B's partition size the same as the one on partition A. Our department manager... (5 Replies)
Discussion started by: mojoman
5 Replies

3. AIX

core dump

My application gives core dump. When i am debugging with dbx getting instructions below: pthdb_session.c, 818: 695445 PTHDB_INTERNAL (internal error) pthreaded.c, 1941: PTHDB_INTERNAL (internal error) Illegal instruction (illegal opcode) in . at 0x0 warning: Unable to access address 0x0... (1 Reply)
Discussion started by: bapi
1 Replies

4. UNIX for Dummies Questions & Answers

Core dump in HP-UX..

Hi All I am new for this forum. I have a core file by using gdb and bt cmd I got the function name but I want to the exact cause of the core dump because of I can not reproduse the binary so if any one know the cmd plz plz plz let me know. (0 Replies)
Discussion started by: gyanusoni
0 Replies

5. Solaris

crash dump

Can anyone of you help me in enabling crash dump on Solaris 5.5.1 (1 Reply)
Discussion started by: csreenivas
1 Replies

6. UNIX for Advanced & Expert Users

core dump

Hi All, i am new to this forum.i want detail of reading the core file and trace the problem because of what the program get crashed.please help me.if any body knows any website or tutoril plese let me know. sudhir (6 Replies)
Discussion started by: sudhir patnaik
6 Replies

7. HP-UX

crash dump

hi friends, i know that when there is a crash then that memory image is put into /var/adm/crash but if the system hangs up and if i have access to console of that machine then how can i take the crash dump manully. thanks (2 Replies)
Discussion started by: mxms755
2 Replies

8. Solaris

fs dump

how to dump fs? example: /opt (1 Reply)
Discussion started by: chobos
1 Replies

9. UNIX for Dummies Questions & Answers

help, what is the difference between core dump and panic dump?

help, what is the difference between core dump and panic dump? (1 Reply)
Discussion started by: aileen
1 Replies
Login or Register to Ask a Question