Occasional Core Dump


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Occasional Core Dump
# 1  
Old 04-12-2006
Occasional Core Dump

Hi,

We have one application (c language) installed on our AIX 5.2. When we enter some large amount of data in one screen and do update, it is dumping core some times without any error (like bus error, segmentation fault). Next we open the application again and enter the same data and do update. This time updates go through fine without any problem.

This problem (core dump) is happening only with that particular screen and occasionally, not always for the same data update.

We tried the same on another machine. It is not dumping core on that. Updates are going through fine always.

What could be the cause for this problem? Is this problem due to some memory settings? How to troubleshoot this problem?

Please help ...

Thanks,
Venkat.
# 2  
Old 04-12-2006
I would open a ticket with IBM. Sounds a little more complex than that average questions here.
# 3  
Old 04-12-2006
Check out:
1. are the runtime (shared libraries) exactly the same release levels for all the software?
2. what patches have been applied to one machine but not to another?

If 1 checks out and there are no differences in patches, then I'd call IBM as well.
It is probably a hardware problem.
# 4  
Old 04-13-2006
Adding to the thread,

I had a similiar kind of problem when I was working on a [robust] e-sql c program.
The Program was working fine on our development server without any issues and any hiccups.
When the same was tried in one of our test boxes, it crashed at the point of fetch from a non-dynamic cursor.
To add to the fascination, I tried the same program on 2 more test servers and it worked perfect, and that was the only server where it crashed.
That was 6months old problem nobody was able to found out still.
Unfortunately that request was dropped.

Only difference was in the Informix version we had, upgraded version in our test boxes and that too upgraded in all the test boxes.

I am just bringing it to notice that such rare problems do occur where the execution is guaranteed on one server and crash is guaranteed on other server.
Which entity to be blamed?
whether it is the program ?
or the hardware in which it is run?
else the last one software which supports it ?

This sounds still as a mystery to me.

Experts please throw on more light in to this issue.
# 5  
Old 04-14-2006
Thank you friends,

Mr Jim, please see the answers for your questions.

1. are the runtime (shared libraries) exactly the same release levels for all the software?
2. what patches have been applied to one machine but not to another?

Sorry I did not tell that this problem has been happening on that particular machine for the last 3 years. Within the last 3 years many upgrades happened (machine upgrades, software upgrades ..). But the problem is there from the begining. So I don't think this problem would be due to these upgrades.

Moreover, the problem occured when the shared libraries and pathes were same on both the machines also.

I have the core files generated. But I could not find any useful information from those files. These core files are from a stripped a program or executable.

Can we get any useful information from the core files?


Thank you very much for your help till now.
Please continue helping me to find the solution or cause for the problem ...
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. UNIX for Dummies Questions & Answers

No core dump

my progrme complaints 'Segmentation fault'. How to let it print 'Segmentation fault(core dumped)' and generate core dump file? $ulimit unlimited (22 Replies)
Discussion started by: vistastar
22 Replies

4. SCO

Occasional Core Dump with hot swap USB Thumb Drive

Hello Unix World, I've been having this issue for the longest time. Here is my setup OS: SCO OpenServer 6.0 with mp4, mp3 Server: Dell PowerEdge 840, 800, 2900 USB Stick: Patriot 16GB High Speed, and many other different brands. Occasinaly while system is running and USB is pluged in the... (0 Replies)
Discussion started by: miles556
0 Replies

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

6. UNIX for Advanced & Expert Users

core dump

Hi All, i am new to this forum.i want detail of reading the core file and trace the problem because of what the program get crashed.please help me.if any body knows any website or tutoril plese let me know. sudhir (6 Replies)
Discussion started by: sudhir patnaik
6 Replies

7. AIX

occasional core dump

Hi, We have one application (c language) installed on our AIX 5.2. When we enter some large amount of data in one screen and do update, it is dumping core some times without any error (like bus error, segmentation fault). Next we open the application again and enter the same data and do update.... (0 Replies)
Discussion started by: venkatmyname
0 Replies

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

9. UNIX for Dummies Questions & Answers

core dump

I've got a core dump in my weblogic home directory, which i have tried to debug by initiating savecore from /etc/init.d/savecore start but savecore failed to create the two files, that is vmcore.n and vmunix.n. savecore is enable on my server to save vmcore and vmunix in /var/crash/hostname 1)... (4 Replies)
Discussion started by: hassan2
4 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