Sponsored Content
Operating Systems AIX Zerofault terminates and coredumps - Segmentation fault Post 302283818 by vivek.gkp on Wednesday 4th of February 2009 06:09:22 AM
Old 02-04-2009
Data Zerofault terminates and coredumps - Segmentation fault

Hi,
I am using zerofault in AIX to find memory leaks for my server.
Code:
zf -c <forked-server>

Code:
zf -l 30 <server> <arguments>

Then after some (5 mins ) it terminates core dumping and saying server exited abnormally.

I could not understand the core file generated: its something like show in below code. It would of great help if someone could provide any help on it.

Thanks in Advance
Vivek.
Smilie
Code:
memlist_show_file() at 0x3033d900
memlist_show_all() at 0x3033cbe4
emu_malloc() at 0x3030f730
errloc_add() at 0x30359a74
errloc_count() at 0x3035985c
write_error_internal() at 0x303595dc
emu.assert() at 0x3030d8ac
GetVrs() at 0x303410cc
lock() at 0x3033f960
memlist_show_file() at 0x3033d900
memlist_show_all() at 0x3033cbe4
emu_malloc() at 0x3030f730
add_sym_to_ht() at 0x30341c10
get_sym() at 0x30342a44
get_syms_internal() at 0x30342614
dbg_app_threads() at 0x3037111c
memlist_show_file() at 0x3033d97c
memlist_show_all() at 0x3033cbe4
emu_malloc() at 0x3030f730
add_sym_to_ht() at 0x30341c10
get_sym() at 0x30342a44
get_syms_internal() at 0x30342614
dbg_app_threads() at 0x3037111c
memlist_show_file() at 0x3033d97c
memlist_show_all() at 0x3033cbe4
emu_malloc() at 0x3030f730
add_sym_to_ht() at 0x30341c10
get_sym() at 0x30342a44
get_syms_internal() at 0x30342614
dbg_app_threads() at 0x3037111c
memlist_show_file() at 0x3033d97c
memlist_show_all() at 0x3033cbe4
emu_malloc() at 0x3030f730
add_sym_to_ht() at 0x30341c10
get_sym() at 0x30342a44
get_syms_internal() at 0x30342614
dbg_app_threads() at 0x3037111c
memlist_show_file() at 0x3033d97c
memlist_show_all() at 0x3033cbe4
emu_malloc() at 0x3030f730
add_sym_to_ht() at 0x30341c10
get_sym() at 0x30342a44
get_syms_internal() at 0x30342614
dbg_app_threads() at 0x3037111c
memlist_show_file() at 0x3033d97c
memlist_show_all() at 0x3033cbe4
emu_malloc() at 0x3030f730
add_sym_to_ht() at 0x30341c10
get_sym() at 0x30342a44
get_syms_internal() at 0x30342614
dbg_app_threads() at 0x3037111c
memlist_show_file() at 0x3033d97c
memlist_show_all() at 0x3033cbe4
emu_malloc() at 0x3030f730
add_sym_to_ht() at 0x30341c10
get_sym() at 0x30342a44
get_syms_internal() at 0x30342614
dbg_app_threads() at 0x3037111c
memlist_show_file() at 0x3033d97c
memlist_show_all() at 0x3033cbe4
emu_malloc() at 0x3030f730
add_sym_to_ht() at 0x30341c10
get_sym() at 0x30342a44
get_syms_internal() at 0x30342614
dbg_app_threads() at 0x3037111c
memlist_show_file() at 0x3033d97c
memlist_show_all() at 0x3033cbe4
emu_malloc() at 0x3030f730
add_sym_to_ht() at 0x30341c10
get_sym() at 0x30342a44
get_syms_internal() at 0x30342614
dbg_app_threads() at 0x3037111c
memlist_show_file() at 0x3033d97c
memlist_show_all() at 0x3033cbe4
emu_malloc() at 0x3030f730
add_sym_to_ht() at 0x30341c10
get_sym() at 0x30342a44
get_syms_internal() at 0x30342614
dbg_app_threads() at 0x3037111c
memlist_show_file() at 0x3033d97c
memlist_show_all() at 0x3033cbe4
emu_malloc() at 0x3030f730
add_sym_to_ht() at 0x30341c10
get_sym() at 0x30342a44
get_syms_internal() at 0x30342614
dbg_app_threads() at 0x3037111c
memlist_show_file() at 0x3033d97c
memlist_show_all() at 0x3033cbe4
emu_malloc() at 0x3030f730
add_sym_to_ht() at 0x30341c10
get_sym() at 0x30342a44
get_syms_internal() at 0x30342614
dbg_app_threads() at 0x3037111c
memlist_show_file() at 0x3033d97c
memlist_show_all() at 0x3033cbe4
emu_malloc() at 0x3030f730
add_sym_to_ht() at 0x30341c10
get_sym() at 0x30342a44
get_syms_internal() at 0x30342614
dbg_app_threads() at 0x3037111c
memlist_show_file() at 0x3033d97c
memlist_show_all() at 0x3033cbe4
emu_malloc() at 0x3030f730
add_sym_to_ht() at 0x30341c10
get_sym() at 0x30342a44
get_syms_internal() at 0x30342614
dbg_app_threads() at 0x3037111c
memlist_show_file() at 0x3033d97c
memlist_show_all() at 0x3033cbe4
emu_malloc() at 0x3030f730
add_sym_to_ht() at 0x30341c10
get_sym() at 0x30342a44
get_syms_internal() at 0x30342614
dbg_app_threads() at 0x3037111c
memlist_show_file() at 0x3033d97c
memlist_show_all() at 0x3033cbe4
emu_malloc() at 0x3030f730
add_sym_to_ht() at 0x30341c10
get_sym() at 0x30342a44
get_syms_internal() at 0x30342614
dbg_app_threads() at 0x3037111c
memlist_show_file() at 0x3033d97c
memlist_show_all() at 0x3033cbe4
emu_malloc() at 0x3030f730
add_sym_to_ht() at 0x30341c10
get_sym() at 0x30342a44
get_syms_internal() at 0x30342614
dbg_app_threads() at 0x3037111c
memlist_show_file() at 0x3033d97c
memlist_show_all() at 0x3033cbe4
emu_malloc() at 0x3030f730
add_sym_to_ht() at 0x30341c10
get_sym() at 0x30342a44
get_syms_internal() at 0x30342614
dbg_app_threads() at 0x3037111c
memlist_show_file() at 0x3033d97c
memlist_show_all() at 0x3033cbe4
emu_malloc() at 0x3030f730
add_sym_to_ht() at 0x30341c10
get_sym() at 0x30342a44
get_syms_internal() at 0x30342614
dbg_app_threads() at 0x3037111c
memlist_show_file() at 0x3033d97c
memlist_show_all() at 0x3033cbe4
emu_malloc() at 0x3030f730
add_sym_to_ht() at 0x30341c10
get_sym() at 0x30342a44
get_syms_internal() at 0x30342614
dbg_app_threads() at 0x3037111c
memlist_show_file() at 0x3033d97c
memlist_show_all() at 0x3033cbe4
emu_malloc() at 0x3030f730
add_sym_to_ht() at 0x30341c10
get_sym() at 0x30342a44
get_syms_internal() at 0x30342614
dbg_app_threads() at 0x3037111c
memlist_show_file() at 0x3033d97c
memlist_show_all() at 0x3033cbe4
emu_malloc() at 0x3030f730
add_sym_to_ht() at 0x30341c10
get_sym() at 0x30342a44
get_syms_internal() at 0x30342614
dbg_app_threads() at 0x3037111c
memlist_show_file() at 0x3033d97c
memlist_show_all() at 0x3033cbe4
emu_malloc() at 0x3030f730
emu_strdup() at 0x3030f358
add_sym_to_ht() at 0x30341c54
get_sym() at 0x30342a44
get_syms_internal() at 0x30342614
write_error_internal() at 0x30359660
write_memlist() at 0x3033be68
do_comm_stuff() at 0x3035928c
DoEmulation() at 0x3030dc20
(dbx) thread
 thread  state-k     wchan    state-u    k-tid   mode held scope function
>$t1     run                  running  6180937     k   no   pro  lock
 $t2     run                  blocked  4186247     u   no   pro  Do_Syscall
 $t3     run                  blocked  5230819     u   no   pro  Do_Syscall
 $t4     run                  running  1724619     u   no   pro  Do_Syscall
 $t5     run                  blocked  6172825     u   no   pro  Do_Syscall
 $t6     run                  running  7344321     u   no   pro  Do_Syscall
 $t7     run                  running  3989627     u   no   pro  Do_Syscall
 $t8     run                  blocked  3264735     u   no   pro

 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Segmentation Fault

hello all, I tried a program on an array to intialise array elements from the standard input device.it is an integer array of 5 elements.but after entering the 4th element it throws a message called "Segmentation Fault" and returns to the command prompt without asking for the 5th element. ... (3 Replies)
Discussion started by: compbug
3 Replies

2. UNIX for Dummies Questions & Answers

Segmentation Fault

Hi, While comparing primary key data of two tables thr bteq script I am getting this Error. This script is a shell script. *** Error: The following error was encountered on the output file. Script.sh: 3043492 Segmentation fault(coredump) Please let me know how to get through it. ... (5 Replies)
Discussion started by: monika
5 Replies

3. Programming

segmentation fault.

This code is causing a segmentation fault and I can't figure out why. I'm new to UNIX and I need to learn how to avoid this segmentation fault thing. Thank you so much. Thanks also for the great answers to my last post.:):b: int main() { mysqlpp::Connection conn(false); if... (3 Replies)
Discussion started by: sepoto
3 Replies

4. Programming

Segmentation fault in C

i have this code int already_there(char *client_names, char *username) { int i; for(i = 0; i<NUM; i++) { printf("HERE\n"); if (strcmp(client_names, username)==0) return(1); } return(0); } and i get a segmentation fault, whats wrong here? (7 Replies)
Discussion started by: omega666
7 Replies

5. UNIX for Advanced & Expert Users

segmentation fault with ps

What does this mean and why is this happening? $ ps -ef | grep ocular Segmentation fault (core dumped) $ ps -ef | grep ocular Segmentation fault (core dumped) $ ps aux | grep ocular Segmentation fault (core dumped) $ ps Segmentation fault (core dumped) $ pkill okular $ ps... (1 Reply)
Discussion started by: cokedude
1 Replies

6. Programming

Using gdb, ignore beginning segmentation fault until reproduce environment segmentation fault

I use a binary name (ie polo) it gets some parameter , so for debugging normally i do this : i wrote script for watchdog my app (polo) and check every second if it's not running then start it , the problem is , if my app , remain in state of segmentation fault for a while (ie 15 ... (6 Replies)
Discussion started by: pooyair
6 Replies

7. Homework & Coursework Questions

Segmentation Fault

this is a network programming code to run a rock paper scissors in a client and server. I completed it and it was working without any error. After I added the findWinner function to the server code it starts giving me segmentation fault. -the segmentation fault is fixed Current problem -Also... (3 Replies)
Discussion started by: femchi
3 Replies

8. Solaris

Segmentation fault

Hi Guys, I just installed and booted a zone called testzone. When I logged in remotely and tried changing to root user I get this error: "Segmentation fault" Can someone please help me resolve this? Thanks alot (2 Replies)
Discussion started by: cjashu
2 Replies

9. Programming

Segmentation fault

I keep getting this fault on a lot of the codes I write, I'm not exactly sure why so I'd really appreciate it if someone could explain the idea to me. For example this code #include <stdio.h> main() { unsigned long a=0; unsigned long b=0; int z; { printf("Enter two... (2 Replies)
Discussion started by: sizzler786
2 Replies

10. Programming

C. To segmentation fault or not to segmentation fault, that is the question.

Oddities with gcc, 2.95.3 for the AMIGA and 4.2.1 for MY current OSX 10.14.1... I am creating a basic calculator for the AMIGA ADE *NIX emulator in C as it does not have one. Below are two very condensed snippets of which I have added the results inside the each code section. IMPORTANT!... (11 Replies)
Discussion started by: wisecracker
11 Replies
All times are GMT -4. The time now is 01:22 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy