unable to read core dumps on unix. Is there another way than using GDB?


 
Thread Tools Search this Thread
Operating Systems Linux unable to read core dumps on unix. Is there another way than using GDB?
# 1  
Old 02-07-2012
unable to read core dumps on unix. Is there another way than using GDB?

hi all,
I am having set of core dumps obtained from client server. Now i am trying to read them but unable to do so.
I have few queries:
1. Core dumps were generated on some xyz server and copied to my unix virtual. Can I read them as text here?
2. I tried installing gdb-7.3 but when i fire "make" command it will show error message as:
Code:
configure: error: no termcap library found
make[1]: *** [configure-gdb] Error 1
make[1]: Leaving directory `/home/sshetye/gdb-7.3'
make: *** [all] Error 2

3. so i tried installing 'ncurses-5.5.tar' but again on 'make' command it is giving me error as:
Code:
cd ../objects;   -I../c++ -I../include -I. -DHAVE_CONFIG_H -I. -I../include  -D_GNU_SOURCE -DNDEBUG  -c ../c++/cursesf.cc
/bin/sh: -I../c++: No such file or directory
make[1]: *** [../objects/cursesf.o] Error 127
make[1]: Leaving directory `/home/sshetye/ncurses-5.5/c++'
make: *** [all] Error 2

How can I resolve these errors?
4. Is there any another way to read core dumps in text format, instead using GDB?
Note: output of command "file core.11249_gcws2145" is as below:
ELF 64-bit LSB core file AMD x86-64, version 1 (SYSV), SVR4-style, from 'submit_xup.pl'

5. I fed up with installing GDB on my machine, please let me know if there is any another way to read core dumps in text format.

[For moderators: there are threads which are some how similar to my problem, but not exactly matching my requirements and these threads are old enough too, so i have created this new thread].


Thanks in advance,
Suyog

---------- Post updated 02-07-12 at 04:08 AM ---------- Previous update was 02-06-12 at 09:54 AM ----------

Hi all,
I able to install gdb-7.3 at my unix virtual. But still i am unable to read core dumps. tried with this command " gdb -c core.11249_gcws2145" but output as:
Code:
[New LWP 11288]
[New LWP 11286]
[New LWP 11249]
Core was generated by `/usr/bin/perl /home/ssl/bin/submit_xup.pl LARGE'.
Program terminated with signal 11, Segmentation fault.
#0  0x0000003a4de08219 in ?? ()
(gdb)

I won't be able to read whole core dump file.
What will be the command to read core dump which is in binary form??
Please reply.

Thanks,
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. HP-UX

Generate core dumps

kill -SEGV <pid> gives me the core file for that process but also terminates the process. Can I not get the core dump without terminating the process ? (2 Replies)
Discussion started by: mohtashims
2 Replies

2. Programming

Stack only core dumps

I'm working on a program in Linux with a group of people scattered around the country. When we have a crash, I like to send a core dump to the appropriate person so that they can understand the problem better. The problem is that our application uses several gigabytes worth of data and these... (4 Replies)
Discussion started by: bmsterner
4 Replies

3. Red Hat

generating core dumps

Hi I have a Fedora installed and I try to generate my application's core dump file. My system has no coredump limit: $ ulimit core file size (blocks, -c) unlimited But when my application crashes no core dumps generated. I can generate dump file using gcore but it is not appropraite... (1 Reply)
Discussion started by: xyzt
1 Replies

4. Solaris

core dumps

i had a situation where a process was defunct. preap would not reap the process and gcore would not work properly (not sure why). therefore, the suggestion was to force a panic and collect the core dump. obviously you could do a savecore -L and capture the dump without bringing down the system.... (3 Replies)
Discussion started by: pupp
3 Replies

5. Programming

AIX core dumps

My program is not dumping core when hitting a segmentation violation inside a thread. However, it dumps core when the segv occurs within main. Any ideas on how to diagnose this? AIX 5.3 (4 Replies)
Discussion started by: bean66
4 Replies

6. UNIX for Advanced & Expert Users

Using GDB to analyse different CORE dumps

Hi, Can we modify the GDB source code so as to analyze core dumps from different targets? From my analysis, I think we need to build our section table statically for each target. i.e., including the various address boundaries in build_section_table() function. If this is the case, then the GDB... (2 Replies)
Discussion started by: nsdeeps
2 Replies

7. SCO

SCO 5.07 Panic / Core Dumps

Anyone know how you go about interrogating a panic / core dump with crash for SCO Unix (5 Replies)
Discussion started by: ccarcher
5 Replies

8. Programming

strcmp core dumps

hi everyone, Right now when I do: strcmp(s1, s2); i get a core dump because at times s1 or s2 can be nothing so that makes strcmp() core dump. What is the solution, if at times I expect one of them (or both) to be NULL? I want to be able to compare that s1 is NULL and s2 is "blah" or... (6 Replies)
Discussion started by: annie
6 Replies

9. Solaris

Generating core dumps

I have the following set up on a Sun server running solaris 5.8 for core dump generation coreadm global core file pattern: /var/core init core file pattern: /var/core global core dumps: enabled per-process core dumps: enabled global setid core dumps:... (4 Replies)
Discussion started by: handak9
4 Replies

10. UNIX for Advanced & Expert Users

reading core dumps

Does anyone know how to read core dumps. Is gdb the only tool for it ? The OS is Solaris. Thanks (2 Replies)
Discussion started by: suntan
2 Replies
Login or Register to Ask a Question