Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Segmentation violation 1

Status
Not open for further replies.

icecubegr

Programmer
Jul 27, 2006
26
Hi,

I run a program on a database called jbase and I got a segmentation violation. Can anyone help me on output of truss utility? I cannot attach the whole file because it is almost 40mb.

OS is AIX 5.3

Thanks in advance,
George
===============================
jsh r07new ~ -->SH -c 'cat truss.out | grep open'
264.5694: open("../bnk.data/ac/FBNK.ACCT003", O_RDWR|O_LARGEFILE) = 39
264.6877: open("../bnk.data/eb/F_TEC_OUTPUT_HISTORY", O_RDWR|O_LARGEFILE) = 40
264.7029: open("/gl/r07new/bnk/bnk.run/globuslib/lib274.so.1", O_RDONLY|O_LARGEFILE) = 41
264.8135: open("FBNK.STMT.ENTRY", O_RDWR|O_LARGEFILE) = 41
264.8475: open("../bnk.data/ac/FBNK.STMT808", O_RDWR|O_LARGEFILE) = 42
264.8704: open("../bnk.data/ac/FBNK.STMT809", O_RDWR|O_LARGEFILE) = 43
264.8995: open("../bnk.data/ac/FBNK.STMT810", O_RDWR|O_LARGEFILE) = 44
264.9174: open("../bnk.data/ac/FBNK.STMT811", O_RDWR|O_LARGEFILE) = 46
264.9370: open("../bnk.data/ac/FBNK.STMT812", O_RDWR|O_LARGEFILE) = 47
264.9504: open("../bnk.data/ac/FBNK.STMT813", O_RDWR|O_LARGEFILE) = 48
264.9644: open("../bnk.data/ac/FBNK.STMT814", O_RDWR|O_LARGEFILE) = 49
264.9829: open("../bnk.data/ac/FBNK.STMT815", O_RDWR|O_LARGEFILE) = 50
264.9887: open("../bnk.data/ac/FBNK.STMT816", O_RDWR|O_LARGEFILE) = 51
264.9977: open("../bnk.data/ac/FBNK.STMT817", O_RDWR|O_LARGEFILE) = 52
265.0031: open("../bnk.data/ac/FBNK.STMT818", O_RDWR|O_LARGEFILE) = 53
265.0092: open("../bnk.data/ac/FBNK.STMT819", O_RDWR|O_LARGEFILE) = 54
265.0129: open("../bnk.data/ac/FBNK.STMT820", O_RDWR|O_LARGEFILE) = 55
265.0174: open("../bnk.data/ac/FBNK.STMT821", O_RDWR|O_LARGEFILE) = 56
265.0219: open("../bnk.data/ac/FBNK.STMT822", O_RDWR|O_LARGEFILE) = 57
265.0254: open("../bnk.data/ac/FBNK.STMT823", O_RDWR|O_LARGEFILE) = 58
265.0322: open("../bnk.data/ac/FBNK.STMT824", O_RDWR|O_LARGEFILE) = 59
265.0432: open("../bnk.data/ac/FBNK.STMT825", O_RDWR|O_LARGEFILE) = 60
265.0487: open("../bnk.data/ac/FBNK.STMT826", O_RDWR|O_LARGEFILE) = 61
265.0564: open("../bnk.data/ac/FBNK.STMT827", O_RDWR|O_LARGEFILE) = 62
265.0622: open("../bnk.data/ac/FBNK.STMT828", O_RDWR|O_LARGEFILE) = 63
265.0668: open("../bnk.data/ac/FBNK.STMT829", O_RDWR|O_LARGEFILE) = 64
265.0739: open("../bnk.data/ac/FBNK.STMT830", O_RDWR|O_LARGEFILE) = 65
265.0821: open("../bnk.data/ac/FBNK.STMT831", O_RDWR|O_LARGEFILE) = 66
265.1028: open("../bnk.data/ac/FBNK.STMT832", O_RDWR|O_LARGEFILE) = 67
265.1212: open("../bnk.data/ac/FBNK.STMT833", O_RDWR|O_LARGEFILE) = 68
265.1257: open("../bnk.data/ac/FBNK.STMT834", O_RDWR|O_LARGEFILE) = 69
265.1301: open("../bnk.data/ac/FBNK.STMT835", O_RDWR|O_LARGEFILE) = 70
265.1364: open("../bnk.data/ac/FBNK.STMT836", O_RDWR|O_LARGEFILE) = 71
265.1408: open("../bnk.data/ac/FBNK.STMT837", O_RDWR|O_LARGEFILE) = 72
265.1457: open("../bnk.data/ac/FBNK.STMT838", O_RDWR|O_LARGEFILE) = 73
265.1478: open("FBNK.STMT.ENTRY]I", O_RDWR|O_LARGEFILE) = 74
265.1683: open("/gl/r07new/bnk/bnk.run/globuslib/lib243.so.1", O_RDONLY|O_LARGEFILE) = 75
265.1986: open("../bnk.data/ac/FBNK.ACCT007", O_RDWR|O_LARGEFILE) = 75
====================================================
265.0227: kfcntl(57, F_SETFD, 0x0000000000000001) = 0
kpread(57, 0x0FFFFFFFFFFB7398, 1024, 0x0000000000000000, 0x0000000010000001) = 1024
265.0238: kfcntl(7, 13, 0x0FFFFFFFFFFB4AF0) = 0
kpread(7, 0x00000001105C57F0, 4096, 0x0000000000048000, 0x0000000010000001) = 4096
kpread(7, 0x00000001105E259C, 4096, 0x0000000000123000, 0x0000000010000001) = 4096
kpread(7, 0x00000001105E3568, 4096, 0x000000000015E000, 0x0000000010000001) = 4096
265.0248: kfcntl(7, 12, 0x0FFFFFFFFFFB4C60) = 0
265.0251: statx("../bnk.data/ac/FBNK.STMT823", 0x0FFFFFFFFFFB5DA8, 176, 010) = 0
265.0254: open("../bnk.data/ac/FBNK.STMT823", O_RDWR|O_LARGEFILE) = 58
265.0257: fstatx(58, 0x0FFFFFFFFFFB5DA8, 176, 010) = 0
265.0259: kfcntl(58, F_SETFD, 0x0000000000000001) = 0
kpread(58, 0x0FFFFFFFFFFB7398, 1024, 0x0000000000000000, 0x0000000010000001) = 1024
265.0272: kfcntl(7, 13, 0x0FFFFFFFFFFB4AF0) = 0
kpread(7, 0x00000001105C57F0, 4096, 0x0000000000049000, 0x0000000010000001) = 4096
kpread(7, 0x00000001105E259C, 4096, 0x00000000000F6000, 0x0000000010000001) = 4096
kpread(7, 0x00000001105E3568, 4096, 0x00000000001BD000, 0x0000000010000001) = 4096
265.0306: kfcntl(7, 12, 0x0FFFFFFFFFFB4C60) = 0
265.0309: statx("../bnk.data/ac/FBNK.STMT824", 0x0FFFFFFFFFFB5DA8, 176, 010) = 0
265.0322: open("../bnk.data/ac/FBNK.STMT824", O_RDWR|O_LARGEFILE) = 59
265.0325: fstatx(59, 0x0FFFFFFFFFFB5DA8, 176, 010) = 0
265.0327: kfcntl(59, F_SETFD, 0x0000000000000001) = 0
kpread(59, 0x0FFFFFFFFFFB7398, 1024, 0x0000000000000000, 0x0000000010000001) = 1024
265.0339: kfcntl(7, 13, 0x0FFFFFFFFFFB4AF0) = 0
kpread(7, 0x00000001105DB4D0, 4096, 0x000000000004A000, 0x0000000010000001) = 4096
kpread(7, 0x00000001105E259C, 4096, 0x000000000011A000, 0x0000000010000001) = 4096
kpread(7, 0x00000001105E3568, 4096, 0x0000000000190000, 0x0000000010000001) = 4096
265.0426: kfcntl(7, 12, 0x0FFFFFFFFFFB4C60) = 0
265.0429: statx("../bnk.data/ac/FBNK.STMT825", 0x0FFFFFFFFFFB5DA8, 176, 010) = 0
265.0432: open("../bnk.data/ac/FBNK.STMT825", O_RDWR|O_LARGEFILE) = 60
265.0434: fstatx(60, 0x0FFFFFFFFFFB5DA8, 176, 010) = 0
265.0437: kfcntl(60, F_SETFD, 0x0000000000000001) = 0
kpread(60, 0x0FFFFFFFFFFB7398, 1024, 0x0000000000000000, 0x0000000010000001) = 1024
265.0448: kfcntl(7, 13, 0x0FFFFFFFFFFB4AF0) = 0
kpread(7, 0x00000001105DB4D0, 4096, 0x000000000004B000, 0x0000000010000001) = 4096
kpread(7, 0x00000001105E259C, 4096, 0x0000000000100000, 0x0000000010000001) = 4096
kpread(7, 0x00000001105E3568, 4096, 0x000000000018C000, 0x0000000010000001) = 4096
265.0481: kfcntl(7, 12, 0x0FFFFFFFFFFB4C60) = 0
265.0484: statx("../bnk.data/ac/FBNK.STMT826", 0x0FFFFFFFFFFB5DA8, 176, 010) = 0
265.0487: open("../bnk.data/ac/FBNK.STMT826", O_RDWR|O_LARGEFILE) = 61
265.0490: fstatx(61, 0x0FFFFFFFFFFB5DA8, 176, 010) = 0
265.0492: kfcntl(61, F_SETFD, 0x0000000000000001) = 0
kpread(61, 0x0FFFFFFFFFFB7398, 1024, 0x0000000000000000, 0x0000000010000001) = 1024
265.0503: kfcntl(7, 13, 0x0FFFFFFFFFFB4AF0) = 0
kpread(7, 0x00000001105DB4D0, 4096, 0x000000000004C000, 0x0000000010000001) = 4096
kpread(7, 0x00000001105E259C, 4096, 0x000000000009C000, 0x0000000010000001) = 4096
kpread(7, 0x00000001105E3568, 4096, 0x0000000000179000, 0x0000000010000001) = 4096
265.0558: kfcntl(7, 12, 0x0FFFFFFFFFFB4C60) = 0
265.0561: statx("../bnk.data/ac/FBNK.STMT827", 0x0FFFFFFFFFFB5DA8, 176, 010) = 0
265.0564: open("../bnk.data/ac/FBNK.STMT827", O_RDWR|O_LARGEFILE) = 62
265.0567: fstatx(62, 0x0FFFFFFFFFFB5DA8, 176, 010) = 0
265.0569: kfcntl(62, F_SETFD, 0x0000000000000001) = 0
kpread(62, 0x0FFFFFFFFFFB7398, 1024, 0x0000000000000000, 0x0000000010000001) = 1024
265.0583: kfcntl(7, 13, 0x0FFFFFFFFFFB4AF0) = 0
kpread(7, 0x00000001105DB4D0, 4096, 0x000000000004D000, 0x0000000010000001) = 4096
kpread(7, 0x00000001105E259C, 4096, 0x0000000000108000, 0x0000000010000001) = 4096
kpread(7, 0x00000001105E3568, 4096, 0x000000000017B000, 0x0000000010000001) = 4096
265.0617: kfcntl(7, 12, 0x0FFFFFFFFFFB4C60) = 0
265.0619: statx("../bnk.data/ac/FBNK.STMT828", 0x0FFFFFFFFFFB5DA8, 176, 010) = 0
265.0622: open("../bnk.data/ac/FBNK.STMT828", O_RDWR|O_LARGEFILE) = 63
265.0625: fstatx(63, 0x0FFFFFFFFFFB5DA8, 176, 010) = 0
265.0627: kfcntl(63, F_SETFD, 0x0000000000000001) = 0
kpread(63, 0x0FFFFFFFFFFB7398, 1024, 0x0000000000000000, 0x0000000010000001) = 1024
265.0639: kfcntl(7, 13, 0x0FFFFFFFFFFB4AF0) = 0
kpread(7, 0x00000001105DB6D0, 4096, 0x000000000004E000, 0x0000000010000001) = 4096
kpread(7, 0x00000001105E259C, 4096, 0x00000000000A3000, 0x0000000010000001) = 4096
kpread(7, 0x00000001105E3568, 4096, 0x0000000000177000, 0x0000000010000001) = 4096
265.0662: kfcntl(7, 12, 0x0FFFFFFFFFFB4C60) = 0
265.0665: statx("../bnk.data/ac/FBNK.STMT829", 0x0FFFFFFFFFFB5DA8, 176, 010) = 0
265.0668: open("../bnk.data/ac/FBNK.STMT829", O_RDWR|O_LARGEFILE) = 64
265.0670: fstatx(64, 0x0FFFFFFFFFFB5DA8, 176, 010) = 0
265.0673: kfcntl(64, F_SETFD, 0x0000000000000001) = 0
kpread(64, 0x0FFFFFFFFFFB7398, 1024, 0x0000000000000000, 0x0000000010000001) = 1024
265.0688: kfcntl(7, 13, 0x0FFFFFFFFFFB4AF0) = 0
kpread(7, 0x00000001105DBB30, 4096, 0x000000000004F000, 0x0000000010000001) = 4096
kpread(7, 0x00000001105E259C, 4096, 0x0000000000117000, 0x0000000010000001) = 4096
kpread(7, 0x00000001105E3568, 4096, 0x0000000000178000, 0x0000000010000001) = 4096
265.0733: kfcntl(7, 12, 0x0FFFFFFFFFFB4C60) = 0
265.0736: statx("../bnk.data/ac/FBNK.STMT830", 0x0FFFFFFFFFFB5DA8, 176, 010) = 0
265.0739: open("../bnk.data/ac/FBNK.STMT830", O_RDWR|O_LARGEFILE) = 65
265.0742: fstatx(65, 0x0FFFFFFFFFFB5DA8, 176, 010) = 0
265.0744: kfcntl(65, F_SETFD, 0x0000000000000001) = 0
kpread(65, 0x0FFFFFFFFFFB7398, 1024, 0x0000000000000000, 0x0000000010000001) = 1024
265.0762: kfcntl(7, 13, 0x0FFFFFFFFFFB4AF0) = 0
kpread(7, 0x00000001105DBF90, 4096, 0x0000000000050000, 0x0000000010000001) = 4096
kpread(7, 0x00000001105E259C, 4096, 0x000000000010B000, 0x0000000010000001) = 4096
kpread(7, 0x00000001105E3568, 4096, 0x00000000001C5000, 0x0000000010000001) = 4096
265.0815: kfcntl(7, 12, 0x0FFFFFFFFFFB4C60) = 0
265.0818: statx("../bnk.data/ac/FBNK.STMT831", 0x0FFFFFFFFFFB5DA8, 176, 010) = 0
265.0821: open("../bnk.data/ac/FBNK.STMT831", O_RDWR|O_LARGEFILE) = 66
265.0823: fstatx(66, 0x0FFFFFFFFFFB5DA8, 176, 010) = 0
265.0826: kfcntl(66, F_SETFD, 0x0000000000000001) = 0
kpread(66, 0x0FFFFFFFFFFB7398, 1024, 0x0000000000000000, 0x0000000010000001) = 1024
265.0999: kfcntl(7, 13, 0x0FFFFFFFFFFB4AF0) = 0
kpread(7, 0x00000001105DC3F0, 4096, 0x0000000000051000, 0x0000000010000001) = 4096
kpread(7, 0x00000001105E259C, 4096, 0x00000000000BE000, 0x0000000010000001) = 4096
kpread(7, 0x00000001105E3568, 4096, 0x0000000000165000, 0x0000000010000001) = 4096
265.1022: kfcntl(7, 12, 0x0FFFFFFFFFFB4C60) = 0
265.1025: statx("../bnk.data/ac/FBNK.STMT832", 0x0FFFFFFFFFFB5DA8, 176, 010) = 0
265.1028: open("../bnk.data/ac/FBNK.STMT832", O_RDWR|O_LARGEFILE) = 67
265.1030: fstatx(67, 0x0FFFFFFFFFFB5DA8, 176, 010) = 0
265.1033: kfcntl(67, F_SETFD, 0x0000000000000001) = 0
kpread(67, 0x0FFFFFFFFFFB7398, 1024, 0x0000000000000000, 0x0000000010000001) = 1024
265.1177: kfcntl(7, 13, 0x0FFFFFFFFFFB4AF0) = 0
kpread(7, 0x00000001105E15D0, 4096, 0x0000000000052000, 0x0000000010000001) = 4096
kpread(7, 0x00000001105E259C, 4096, 0x000000000012B000, 0x0000000010000001) = 4096
kpread(7, 0x00000001105E3568, 4096, 0x00000000001A8000, 0x0000000010000001) = 4096
265.1205: kfcntl(7, 12, 0x0FFFFFFFFFFB4C60) = 0
265.1208: statx("../bnk.data/ac/FBNK.STMT833", 0x0FFFFFFFFFFB5DA8, 176, 010) = 0
265.1212: open("../bnk.data/ac/FBNK.STMT833", O_RDWR|O_LARGEFILE) = 68
265.1214: fstatx(68, 0x0FFFFFFFFFFB5DA8, 176, 010) = 0
265.1217: kfcntl(68, F_SETFD, 0x0000000000000001) = 0
kpread(68, 0x0FFFFFFFFFFB7398, 1024, 0x0000000000000000, 0x0000000010000001) = 1024
265.1227: kfcntl(7, 13, 0x0FFFFFFFFFFB4AF0) = 0
kpread(7, 0x00000001105E15D0, 4096, 0x0000000000053000, 0x0000000010000001) = 4096
kpread(7, 0x00000001105E259C, 4096, 0x0000000000114000, 0x0000000010000001) = 4096
kpread(7, 0x00000001105E3568, 4096, 0x0000000000199000, 0x0000000010000001) = 4096
265.1251: kfcntl(7, 12, 0x0FFFFFFFFFFB4C60) = 0
265.1254: statx("../bnk.data/ac/FBNK.STMT834", 0x0FFFFFFFFFFB5DA8, 176, 010) = 0
265.1257: open("../bnk.data/ac/FBNK.STMT834", O_RDWR|O_LARGEFILE) = 69
265.1260: fstatx(69, 0x0FFFFFFFFFFB5DA8, 176, 010) = 0
265.1262: kfcntl(69, F_SETFD, 0x0000000000000001) = 0
kpread(69, 0x0FFFFFFFFFFB7398, 1024, 0x0000000000000000, 0x0000000010000001) = 1024
265.1273: kfcntl(7, 13, 0x0FFFFFFFFFFB4AF0) = 0
kpread(7, 0x00000001105E15D0, 4096, 0x0000000000054000, 0x0000000010000001) = 4096
kpread(7, 0x00000001105E259C, 4096, 0x00000000000EF000, 0x0000000010000001) = 4096
kpread(7, 0x00000001105E3568, 4096, 0x0000000000166000, 0x0000000010000001) = 4096
265.1295: kfcntl(7, 12, 0x0FFFFFFFFFFB4C60) = 0
265.1298: statx("../bnk.data/ac/FBNK.STMT835", 0x0FFFFFFFFFFB5DA8, 176, 010) = 0
265.1301: open("../bnk.data/ac/FBNK.STMT835", O_RDWR|O_LARGEFILE) = 70
265.1304: fstatx(70, 0x0FFFFFFFFFFB5DA8, 176, 010) = 0
265.1307: kfcntl(70, F_SETFD, 0x0000000000000001) = 0
kpread(70, 0x0FFFFFFFFFFB7398, 1024, 0x0000000000000000, 0x0000000010000001) = 1024
265.1317: kfcntl(7, 13, 0x0FFFFFFFFFFB4AF0) = 0
kpread(7, 0x00000001105E16D0, 4096, 0x0000000000055000, 0x0000000010000001) = 4096
kpread(7, 0x00000001105E269C, 4096, 0x00000000000AB000, 0x0000000010000001) = 4096
kpread(7, 0x00000001105E3668, 4096, 0x0000000000162000, 0x0000000010000001) = 4096
265.1358: kfcntl(7, 12, 0x0FFFFFFFFFFB4C60) = 0
265.1361: statx("../bnk.data/ac/FBNK.STMT836", 0x0FFFFFFFFFFB5DA8, 176, 010) = 0
265.1364: open("../bnk.data/ac/FBNK.STMT836", O_RDWR|O_LARGEFILE) = 71
265.1367: fstatx(71, 0x0FFFFFFFFFFB5DA8, 176, 010) = 0
265.1369: kfcntl(71, F_SETFD, 0x0000000000000001) = 0
kpread(71, 0x0FFFFFFFFFFB7398, 1024, 0x0000000000000000, 0x0000000010000001) = 1024
265.1379: kfcntl(7, 13, 0x0FFFFFFFFFFB4AF0) = 0
kpread(7, 0x00000001105E1AF0, 4096, 0x0000000000056000, 0x0000000010000001) = 4096
kpread(7, 0x00000001105E2ABC, 4096, 0x00000000000B0000, 0x0000000010000001) = 4096
kpread(7, 0x00000001105E3A88, 4096, 0x0000000000160000, 0x0000000010000001) = 4096
265.1401: ksetcontext_sigreturn(0x0FFFFFFFFFFB4630, 0x0000000110004718, 0x0000000000000000, 0x0900000000497A00, 0x00000000000
00000, 0x00000000100E41D7, 0x00000000100E41D7, 0x00000000FFFFFFFF)
265.1402: kfcntl(7, 12, 0x0FFFFFFFFFFB4C60) = 0
265.1405: statx("../bnk.data/ac/FBNK.STMT837", 0x0FFFFFFFFFFB5DA8, 176, 010) = 0
265.1408: open("../bnk.data/ac/FBNK.STMT837", O_RDWR|O_LARGEFILE) = 72
265.1411: fstatx(72, 0x0FFFFFFFFFFB5DA8, 176, 010) = 0
265.1413: kfcntl(72, F_SETFD, 0x0000000000000001) = 0
kpread(72, 0x0FFFFFFFFFFB7398, 1024, 0x0000000000000000, 0x0000000010000001) = 1024
265.1424: kfcntl(7, 13, 0x0FFFFFFFFFFB4AF0) = 0
kpread(7, 0x00000001105E1F50, 4096, 0x0000000000057000, 0x0000000010000001) = 4096
kpread(7, 0x00000001105E2F1C, 4096, 0x0000000000101000, 0x0000000010000001) = 4096
kpread(7, 0x00000001105E3EE8, 4096, 0x0000000000194000, 0x0000000010000001) = 4096
265.1451: kfcntl(7, 12, 0x0FFFFFFFFFFB4C60) = 0
265.1454: statx("../bnk.data/ac/FBNK.STMT838", 0x0FFFFFFFFFFB5DA8, 176, 010) = 0
265.1457: open("../bnk.data/ac/FBNK.STMT838", O_RDWR|O_LARGEFILE) = 73
265.1460: fstatx(73, 0x0FFFFFFFFFFB5DA8, 176, 010) = 0
265.1462: kfcntl(73, F_SETFD, 0x0000000000000001) = 0
kpread(73, 0x0FFFFFFFFFFB7398, 1024, 0x0000000000000000, 0x0000000010000001) = 1024
265.1472: kfcntl(41, 12, 0x0FFFFFFFFFFB81A0) = 0
265.1475: statx("FBNK.STMT.ENTRY]I", 0x0FFFFFFFFFFB7098, 176, 010) = 0
265.1478: open("FBNK.STMT.ENTRY]I", O_RDWR|O_LARGEFILE) = 74
265.1480: fstatx(74, 0x0FFFFFFFFFFB7098, 176, 010) = 0
265.1483: kfcntl(74, F_SETFD, 0x0000000000000001) = 0
kpread(74, 0x0FFFFFFFFFFB8268, 176, 0x0000000000000000, 0x0000000010000001) = 176
265.1656: kfcntl(74, 13, 0x0FFFFFFFFFFB7760) = 0
kpread(74, 0x00000001105E35B0, 4096, 0x0000000000001000, 0x0000000010000001) = 4096
265.1662: kfcntl(74, 12, 0x0FFFFFFFFFFB7D90) = 0
265.1683: open("/gl/r07new/bnk/bnk.run/globuslib/lib243.so.1", O_RDONLY|O_LARGEFILE) = 75
265.1686: klseek(75, 0, 0, 0x0FFFFFFFFFFBA230) = 0
kread(75, "01 ?", 2) = 2
265.1704: close(75) = 0
265.1707: kload("/gl/r07new/bnk/bnk.run/globuslib/lib243.so.1", 640, "/db/jbase502/lib:/usr/java14/jre/lib:/usr/ccs/lib:/usr/
lib") = 4026550568
265.1723: kfcntl(23, 13, 0x0FFFFFFFFFFB8CB0) = 0
kpread(23, 0x00000001105DD4B0, 4096, 0x00000000000BF000, 0x0000000010000001) = 4096
265.1950: kfcntl(23, 12, 0x0FFFFFFFFFFB8E20) = 0
265.1953: kfcntl(7, 13, 0x0FFFFFFFFFFB5820) = 0
kpread(7, 0x00000001105DD4B0, 4096, 0x000000000005E000, 0x0000000010000001) = 4096
kpread(7, 0x00000001117D333C, 4096, 0x0000000000128000, 0x0000000010000001) = 4096
kpread(7, 0x00000001117D4308, 4096, 0x00000000001C7000, 0x0000000010000001) = 4096
265.1979: kfcntl(7, 12, 0x0FFFFFFFFFFB5990) = 0
265.1982: statx("../bnk.data/ac/FBNK.ACCT007", 0x0FFFFFFFFFFB6AD8, 176, 010) = 0
265.1986: open("../bnk.data/ac/FBNK.ACCT007", O_RDWR|O_LARGEFILE) = 75
265.1988: fstatx(75, 0x0FFFFFFFFFFB6AD8, 176, 010) = 0
265.1991: kfcntl(75, F_SETFD, 0x0000000000000001) = 0
kpread(75, 0x0FFFFFFFFFFB80C8, 1024, 0x0000000000000000, 0x0000000010000001) = 1024
265.2100: kfcntl(75, 13, 0x0FFFFFFFFFFB7CB0) = 0
kpread(75, 0x00000001105DD850, 4096, 0x0000000000003000, 0x0000000010000001) = 4096
265.2110: kfcntl(75, 12, 0x0FFFFFFFFFFB7E20) = 0
265.2114: kfcntl(39, 13, 0x0FFFFFFFFFFB96D0) = 0
kpread(39, 0x00000001105DDBF0, 4096, 0x0000000001D6F000, 0x0000000010000001) = 4096
kpread(39, 0x00000001117D333C, 4096, 0x00000000031A7000, 0x0000000010000001) = 4096
265.2407: kfcntl(39, 12, 0x0FFFFFFFFFFB9840) = 0
Received signal #11, SIGSEGV [caught]
kwrite(2, " j B A S E : S e g m e".., 40) = 40
265.3215: sigprocmask(2, 0x09001000A0133818, 0x0FFFFFFFFFFB8EF0) = 0
265.3217: _sigaction(11, 0x09001000A039EE70, 0x0000000000000000) = 0
265.3220: thread_setmystate(0x0FFFFFFFFFFB8AE0, 0x0000000000000000) = 0
kwrite(1, "1B [ 8 ; 2 H1B [ 0 K C O".., 460) = 460
265.3527: kfcntl(1, F_GETFL, 0x0000000110004718) = 2
265.3530: kfcntl(2, F_GETFL, 0x0000000110004718) = 2
265.3533: kfcntl(37, F_GETFL, 0x0000000110004718) = 67108873
265.3536: _exit(201)
 
Well, a SEGV error is mostly due to reading/writing outside of your process's memory segments. Can happen when reading/writing from/to a file pointer which wasn't properly initialized. I.e. open failed, but your program goes ahead and tries to write to that file pointer anyway...

Also uninitialized data structure or pointers to such are a possible cause.


HTH,

p5wizard
 
I also think that it failed while it reads from a file (from jbase specific utility I see that it stopped in a function called F.READ), and that's why I send you all open commands in my log. Can you understand from truss output the command/file that caused the problem?

I run the same program (upgrade of some accounts due to release upgrade) 2 weeks ago on another server without any problem. Of course the data is different so today I am going to move the environment to the other server and check if I have the problem there. If I do not have the problem there must be something different in the server setup.

Both server before were using AIX 5.3 with 32-bit, because jbase v4.1 was 32-bit. Now both of them were changed to 64-bit, because jbase v5 is 64-bit. When we were working on 32-bit we had some times segmentation violation errors due to the way AIX handles 32-bit processes. While we are testing using 64-bit it is the first time we get the error.

Ragards,
George
 
Hi,

I just want to inform you that the problem is solved.

We have some distributed files (for database one file but for operating system many files). A routine(distributed algo) is executed when you want to access a record (read/write/delete) and based on record ID returns the part file the record belongs. One of those routines was not compiled and when the program F.READ tried to execute it a segmentation violation was raised.

George
 
Have a star George for spending your time to update the problem with the solution!

Regards,
Khalid
 
hi,
i know the problem is solved, but for info, you can use the watch command, to see what files are accessed by your prog. And which one were not successfully opened.

regards
 
Hi Gileb. Thanks for the reply but I tried to execute the watch command but it failed. Is it available only for root?
 
I tried the watch with ls and it worked! I used root for that!

You have to be root! or you can let root change the permission for your account!

# ls -al /usr/sbin/watch
-r-sr-x--- 1 root audit 16500 Nov 05 15:44 /usr/sbin/watch

Regards,
Khalid
 
Hello,
I guess you have to be root as it uses some audit call. Did the chown work ? i didn't try, but it would be very useful
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top