Feb 14, 2006 #1 june54 Technical User Jun 4, 2003 160 US Hello When I run " functions from the command line I get Segmentation fault(coredump) What is causing this ... Thanks
Hello When I run " functions from the command line I get Segmentation fault(coredump) What is causing this ... Thanks
Feb 14, 2006 #2 rs6000er Technical User Jul 21, 2004 74 CA Hi June54 there are tow ways to find out what makes the core dump as far as i knew. 1. # ls -l core -rw-r--r-- 1 wzcj staff 552518815 Jan 16 10:18 core 2. #strings core |grep _= _=/u2/wzcj/app/rtjf/bin/rprice_ticket or # lquerypv -h core 6b0 64 000006B0 7FFFFFFF FFFFFFFF 7FFFFFFF FFFFFFFF |................| 000006C0 00000000 000007D0 7FFFFFFF FFFFFFFF |................| 000006D0 00120000 418B6FC8 00000000 00000008 |....A.o.........| 000006E0 72707269 63655F74 69636B65 74000000 |rprice_ticket...| 000006F0 00000000 00000000 00000000 00000000 |................| 00000700 00000000 00000000 00000000 00000C1C |................| 00000710 00000000 00000039 00000000 00000C65 |.......9.......e| Upvote 0 Downvote
Hi June54 there are tow ways to find out what makes the core dump as far as i knew. 1. # ls -l core -rw-r--r-- 1 wzcj staff 552518815 Jan 16 10:18 core 2. #strings core |grep _= _=/u2/wzcj/app/rtjf/bin/rprice_ticket or # lquerypv -h core 6b0 64 000006B0 7FFFFFFF FFFFFFFF 7FFFFFFF FFFFFFFF |................| 000006C0 00000000 000007D0 7FFFFFFF FFFFFFFF |................| 000006D0 00120000 418B6FC8 00000000 00000008 |....A.o.........| 000006E0 72707269 63655F74 69636B65 74000000 |rprice_ticket...| 000006F0 00000000 00000000 00000000 00000000 |................| 00000700 00000000 00000000 00000000 00000C1C |................| 00000710 00000000 00000039 00000000 00000C65 |.......9.......e|
Feb 15, 2006 #3 mrn MIS Apr 27, 2001 3,993 GB what version of AIX do you use? rs6000er solution will work on older AIX versions but as ever newer and better methods are available. find the core with:- find / -name core -print find the offending command with:- cd to dir of core & use file core this will tell you what caused the core debug the core file with:- dbx command_that_caused_core core once in dbx enter where to find the cause see man dbx or google for more info Mike "A foolproof method for sculpting an elephant: first, get a huge block of marble, then you chip away everything that doesn't look like an elephant." http://www.airport-parking-site.co.uk/ Upvote 0 Downvote
what version of AIX do you use? rs6000er solution will work on older AIX versions but as ever newer and better methods are available. find the core with:- find / -name core -print find the offending command with:- cd to dir of core & use file core this will tell you what caused the core debug the core file with:- dbx command_that_caused_core core once in dbx enter where to find the cause see man dbx or google for more info Mike "A foolproof method for sculpting an elephant: first, get a huge block of marble, then you chip away everything that doesn't look like an elephant." http://www.airport-parking-site.co.uk/