Sponsored Content
Full Discussion: core dump
Operating Systems AIX core dump Post 302188269 by uvrakesh on Wednesday 23rd of April 2008 04:30:50 AM
Old 04-23-2008
MySQL

Hi,
->if you feel the problem is with core, just spawn the application through gdb.
$gdb applicatonname
$run arguments to aplication
$where

this would give you the exact location of the error.after executing the where command gdb would give the list of functions executed before reaching the falut(in a order such that the first function or instruction would be the exact cause of it).
the function list would contains the name of your application specific function or library api/instruction or kernal api/instruction

you have concentrate on the function which is invoked by your application

Best Regards,
Rakesh UV
 

10 More Discussions You Might Find Interesting

1. 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

2. UNIX for Dummies Questions & Answers

core dump

I've got a core dump in my weblogic home directory, which i have tried to debug by initiating savecore from /etc/init.d/savecore start but savecore failed to create the two files, that is vmcore.n and vmunix.n. savecore is enable on my server to save vmcore and vmunix in /var/crash/hostname 1)... (4 Replies)
Discussion started by: hassan2
4 Replies

3. Programming

about core dump

MY friends: my program under sco unix have a problem? it create a core dump file on the path when execute program , but i can't find the error of the C program ,i don't know how to see the error about my program use core, please help me or give me some suggest and what tools can use... (1 Reply)
Discussion started by: zhaohaizhou
1 Replies

4. 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

5. 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

6. Programming

core dump

how to view core dumped file using gdb and how to extract information from the coredumped file.can we get similar information from the other utilites like strace or ptrace. (2 Replies)
Discussion started by: Manabhanjan
2 Replies

7. 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

8. UNIX for Dummies Questions & Answers

No core dump

my progrme complaints 'Segmentation fault'. How to let it print 'Segmentation fault(core dumped)' and generate core dump file? $ulimit unlimited (22 Replies)
Discussion started by: vistastar
22 Replies

9. HP-UX

Core dump in HP-UX

Hi Guys, I was wondering if somebody could give me a link to a very good source of information or document about core dump process and How to's about it. I have also googled it and found some articles myself. Thanks Messi (1 Reply)
Discussion started by: messi777
1 Replies

10. Solaris

core dump

Hi guys, just want to know which core file pattern is best to set for core dumps: 1) per-process file name pattern or 2) global file name pattern. I will really appreciate an explanation why the chosen one is better. Thanks a lot guys. (2 Replies)
Discussion started by: cjashu
2 Replies
disassembler(3x)														  disassembler(3x)

Name
       disassembler - disassemble a MIPS instruction and print the results

Syntax
       int disassembler (iadr, regstyle, get_symname, get_regvalue, get_bytes, print_header)
       unsigned  iadr;
       int	 regstyle;
       char	 *(*get_symname)();
       int	 (*get_regvalue)();
       long	 (*get_bytes)();
       void	 (*print_header)();

Description
       The disassembler function disassembles and prints a MIPS machine instruction on stdout.

       The  argument  is the instruction address to be disassembled.  The regstyle parameter specifies how registers are named in the disassembly.
       The value is 0 if compiler names are used; otherwise, hardware names are used.

       The next four arguments are function pointers, most of which give the caller some flexibility in the appearance of  the	disassembly.   The
       only  function  that  must be provided is get_bytes.  All other functions are optional.	The get_bytes function is called without arguments
       and returns the next byte or bytes to disassemble.

       The get_symname is passed an address, which is the target of a jal instruction. If null is returned or if get_symname is null the disassem-
       bler  prints  the address; otherwise, the string name is printed as returned from get_symname.  If get_regvalue is not null, it is passed a
       register number and returns the current contents of the specified register.  The disassembler function prints this information  along  with
       the  instruction  disassembly.	If print_header is not null, it is passed the instruction address, iadr, and the current instruction to be
       disassembled, which is the return value from get_bytes.	The print_header function can use these parameters to print any  desired  informa-
       tion before the actual instruction disassembly is printed.

       If  get_bytes  is  null,  the  disassembler returns -1 and errno is set to EINVAL; otherwise, the number of bytes that were disassembled is
       returned.  If the disassembled word is a jump or branch instruction, the instruction in the delay slot is also disassembled.

See Also
       ldfcn(5)

								       RISC							  disassembler(3x)
All times are GMT -4. The time now is 10:58 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy