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:
3. so i tried installing 'ncurses-5.5.tar' but again on 'make' command it is giving me error as:
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:
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.
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)
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)
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)
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)
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)
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)
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)
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)