Core Dump Issue

 
Thread Tools Search this Thread
Homework and Emergencies Emergency UNIX and Linux Support Core Dump Issue
# 1  
Old 12-22-2010
Core Dump Issue

Hi In SunOS the gdb command outputs the following info.
Code:
---Type <return> to continue, or q <return> to quit---
Reading symbols from /opt/dcs_5.1/lib/libssl.so...done.
Loaded symbols for /opt/dcs_5.1/lib/libssl.so
Reading symbols from /opt/dcs_5.1/lib/libcrypto.so...done.
Loaded symbols for /opt/dcs_5.1/lib/libcrypto.so
Reading symbols from /lib/64/librt.so.1...done.
Loaded symbols for /lib/64/librt.so.1
Reading symbols from /lib/64/libpthread.so.1...
warning: Lowest section in /lib/sparcv9/libpthread.so.1 is .dynamic at 00000000000000b0
done.
Loaded symbols for /lib/64/libpthread.so.1
Reading symbols from /lib/64/libresolv.so.2...done.
Loaded symbols for /lib/64/libresolv.so.2
Reading symbols from /opt/dcs_5.1/lib/libcgisam.so...done.
Loaded symbols for /opt/dcs_5.1/lib/libcgisam.so
Reading symbols from /lib/64/libaio.so.1...done.
Loaded symbols for /lib/64/libaio.so.1
Reading symbols from /lib/64/libmd.so.1...done.
Loaded symbols for /lib/64/libmd.so.1
Reading symbols from /platform/SUNW,SPARC-Enterprise/lib/sparcv9/libc_psr.so.1...done.
Loaded symbols for /platform/SUNW,SPARC-Enterprise/lib/sparcv9/libc_psr.so.1
Reading symbols from /lib/64/libmp.so.2...done.
Loaded symbols for /lib/64/libmp.so.2
Reading symbols from /lib/64/libscf.so.1...done.
Loaded symbols for /lib/64/libscf.so.1
Reading symbols from /lib/64/libdoor.so.1...done.
Loaded symbols for /lib/64/libdoor.so.1
Reading symbols from /lib/64/libuutil.so.1...done.
Loaded symbols for /lib/64/libuutil.so.1
Reading symbols from /opt/dcs_5.1/dcs/lib/dcs_output_dsm_cftp.so...done.
Loaded symbols for /opt/dcs_5.1/dcs/lib/dcs_output_dsm_cftp.so
Reading symbols from /opt/dcs_5.1/file/lib/file_io_cgi_seq_routines.so...done.
Loaded symbols for /opt/dcs_5.1/file/lib/file_io_cgi_seq_routines.so
Reading symbols from /opt/dcs_5.1/file/lib/file_db_passthrough_routines.so...done.
Loaded symbols for /opt/dcs_5.1/file/lib/file_db_passthrough_routines.so
Reading symbols from /var/dcs_5.1/db/cgdc/lib/SUNOS/libscr_gmp_ccnv_dwh_outp.so...done.
Loaded symbols for /var/dcs_5.1/db/cgdc/lib/SUNOS/libscr_gmp_ccnv_dwh_outp.so
Reading symbols from /var/dcs_5.1/db/cgdc/lib/SUNOS/libscr_gmp_ccnv_common.so...done.
Loaded symbols for /var/dcs_5.1/db/cgdc/lib/SUNOS/libscr_gmp_ccnv_common.so
Reading symbols from /opt/dcs_5.1/file/lib/file_io_unix_routines.so...done.
Loaded symbols for /opt/dcs_5.1/file/lib/file_io_unix_routines.so
Reading symbols from /opt/dcs_5.1/file/lib/file_db_block_routines.so...done.
Loaded symbols for /opt/dcs_5.1/file/lib/file_db_block_routines.so
#0  0xffffffff6de25b84 in uio_ins_isam (handle=0x4346, recbuf=0x100319360, options=0) at uio_index_api.c:1591
1591    uio_index_api.c: No such file or directory.
        in uio_index_api.c
(gdb) bt
#0  0xffffffff6de25b84 in uio_ins_isam (handle=0x4346, recbuf=0x100319360, options=0) at uio_index_api.c:1591
#1  0xffffffff6ee81bec in cgdc_reference_add_db (handle=0x100316940 "",
    rec_buf=0x100319360 "DWH       V20101222150403CCN001039.txt", ' ' <repeats 36 times>, "796943  00,796352,01,589,02,0,03,0,04,0,05,0,06,0,07,0,08,0,09,2,UNKNOWN,0", ' ' <repeats 52 times>...) at cgdc_reference_db_api.c:746
#2  0xffffffff68f03b1c in gmp_ccnv_dwh_outp (INPUT=0x10a <Address 0x10a out of bounds>, rec_size=253, OUTPUT=0x100889ae0 "")
    at /var/dcs_5.1/db/cgdc/src/gmp_ccnv_dwh_outp_cgdc.i:1292
#3  0xffffffff6ee23178 in cgdc_call_script_base (script_name=0x10012bbe4 "gmp_ccnv_dwh_outp", script_sts=0xffffffff7fffb150, num_arg=3,
    ap=0xffffffff7fffb218) at cgdc_routines.c:1136
#4  0xffffffff6ee2360c in cgdc_call_script (script_name=0x10012bbe4 "gmp_ccnv_dwh_outp", num_arg=3) at cgdc_routines.c:1249
#5  0x0000000100010870 in proc_record (doc_ptr=0x1003924d0, doif_ptr=0x0, dfsb_ptr_ptr=0xffffffff7fffbc30, dfsb_cnt_ptr=0xffffffff7fffbc6c,
    rec_ptr=0x0, rec_len=0, record_write_ptr=0x100022a54 <lodf_write>, use_cgdc=1, update_stats=1, update_recs_output=1, output_rec_count=0x0)
    at dcs_output_mgr.c:5522
#6  0x000000010000a69c in proc_batch (doc_ptr=0x1003924d0, log_fid_ptr=0x1003926e8) at dcs_output_mgr.c:2780
#7  0x00000001000087dc in proc () at dcs_output_mgr.c:1834
#8  0x0000000100007248 in main (argc=17, argv=0xffffffff7fffc308) at dcs_output_mgr.c:1293

Can Anyone assist which program has a issue.

Last edited by Scott; 12-22-2010 at 06:17 AM.. Reason: Code tags, please...
# 2  
Old 12-22-2010
First of all, you are using gdb verbose mode.

Secondly, what's the issue in exploring in the frame#0 where you got this bug and the subsequent frame#1 ? I could just see address # 0x100319360 is getting passed to from frame#1 for rec_buf.

Just use list command to examine the code in its respective frames.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

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

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

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

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

5. AIX

core dump

My application gives core dump. When i am debugging with dbx getting instructions below: pthdb_session.c, 818: 695445 PTHDB_INTERNAL (internal error) pthreaded.c, 1941: PTHDB_INTERNAL (internal error) Illegal instruction (illegal opcode) in . at 0x0 warning: Unable to access address 0x0... (1 Reply)
Discussion started by: bapi
1 Replies

6. UNIX for Advanced & Expert Users

Core Dump

Hello all, Iam new to unix while executing java program which finely working in windows know iam testing with unix ,but in unix while executing iam getting core dump, my application is in client server environment and it is menu drivrn application on clicking options no problem but after some time... (1 Reply)
Discussion started by: vinp
1 Replies

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

8. UNIX for Dummies Questions & Answers

Exact issue in Core dump

Hi, I have a core dump problem in HP-UX. I have searched in this forum, but could not get any answer related to my issue. I debugged the core file by 'gdb' and by using 'bt' cmd I got the function and line no, but I am not sure that the problem lies on the same function . I want to know... (0 Replies)
Discussion started by: ronix007
0 Replies

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

10. 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
Login or Register to Ask a Question