To Debug core and memory leakage


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting To Debug core and memory leakage
# 1  
Old 07-30-2010
To Debug core and memory leakage

Dear Gurus,

I m facing memory leakage problem that leads to core dump.
I used following debugger mdb, gdb, pstack but not much useful.
I need where the exact reason for core.Any debugger is available.
My os is Sun solaris

Thanks in advance!!!!!
# 2  
Old 07-30-2010
I have heard people telling "libumem" can be used with mdb to find leaks. Never used it though.
# 3  
Old 07-30-2010
Need any tool to find exact place for core issue.

Thanks in advance...
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Collecting Shared Memory in core dump

I have an application which crashed while accessing a shared memory. typedef struct { ... } LnxUserData; LnxUserData *ptrLnxUserData; fd = shm_open(shrSegName, O_CREAT|O_RDWR|O_EXCL, 0644); if(fd == -1 && errno == EEXIST) { fd = shm_open(shrSegName, O_CREAT|O_RDWR, 0644); }... (6 Replies)
Discussion started by: rupeshkp728
6 Replies

2. Programming

C: Memory Fault (core dumped)

When I run programm show this message: Memory Fault (core dumped) Does anyone can help me and tell me what is wrong? please #include <stdlib.h> #include <stdio.h> #include <process.h> #include <unistd.h> #include <sys/types.h> #include <sys/wait.h> int main(int argc, char *argv) { ... (3 Replies)
Discussion started by: ebasse2
3 Replies

3. Solaris

[DOUBT] Memory high in idle process on Solaris 10 (Memory Utilization > 90%)

Hi Experts, Our servers running Solaris 10 with SAP Application. The memory utilization always >90%, but the process on SAP is too less even nothing. Why memory utilization on solaris always looks high? I have statement about memory on solaris, is this true: Memory in solaris is used for... (4 Replies)
Discussion started by: edydsuranta
4 Replies

4. Programming

Memory Fault (core dumped) in ttpy program

I´m writing this program in QNX , I`m kinda new to UNIX and programing in general, and when I try to run it it gives me the Memory Fault error. Can anyone help? #include <stdio.h> #include <fcntl.h> void main(void) {int a,ter; char buf; printf("a="); scanf("%d",a); ter=open... (6 Replies)
Discussion started by: GiganteAsesino
6 Replies

5. HP-UX

Memory leakage

Hi, I would like to check if I have a memory leakage.Therefore, I wonder if there exists a program that can check memory leakage on a executable in runtime over time. To determine if there is memory leakage? The platform is HP-UX B.11.31 U ia64. I have heard about purify, but to my extent... (1 Reply)
Discussion started by: mr_andrew
1 Replies

6. Solaris

How to find Total and Free Physical Memory and Logical Memory in SOLARIS 9

Hi, Im working on Solaris 9 on SPARC-32 bit running on an Ultra-80, and I have to find out the following:- 1. Total Physical Memory in the system(total RAM). 2. Available Physical Memory(i.e. RAM Usage) 3. Total (Logical) Memory in the system 4. Available (Logical) Memory. I know... (4 Replies)
Discussion started by: 0ktalmagik
4 Replies

7. HP-UX

memory fault(core dump)

i am getting memory fault (core dump) in a C program i want to know which statement execution caused it. i tried following things $ gdb generalised_tapinread_mod HP gdb 5.4.0 for HP Itanium (32 or 64 bit) and target HP-UX 11.2x. Copyright 1986 - 2001 Free Software Foundation, Inc.... (2 Replies)
Discussion started by: junaid.nehvi
2 Replies

8. Programming

Memory Fault,Core dumped

I have written a code in UNIX which is complied by using g++. Compling with turbo C didnt yield any errors, but with g++ I am getting Memory fault, core dumped. Could anyone help me out with this? Given below is the code: #include<stdio.h> #include<string.h> #include<stdlib.h>... (2 Replies)
Discussion started by: usshell
2 Replies

9. UNIX for Dummies Questions & Answers

difference between Dual-core & Core-to-duo

Can anybody tell What is the exact difference between a Dual-core processor and a Core-to-duo processor ?Advance thanks to all my friends. (1 Reply)
Discussion started by: Ajith kumar.G
1 Replies

10. UNIX for Advanced & Expert Users

Memory Fault - Core Dumped

I use SCO UNIX 5.07 on a Compaq Proliant Machine. Each time I press the Escape or Delete key while running a program or issuing a FoxBase+ command from the dot prompt, I receive the error message: "Memory Fault - Core Dumped" and the screen locks up immediately. I would appreciate if necessary... (0 Replies)
Discussion started by: bayuz
0 Replies
Login or Register to Ask a Question