Operating System - Tru64 Unix
1751907 Members
5204 Online
108783 Solutions
New Discussion

Tru64 5.1 application core

 
matteo tg
Occasional Contributor

Tru64 5.1 application core

Hi all,

Our server is DS20E installed tru64 5.1 latest
patch. and developed SNMP monitoring program
named HLRIB, WEBIB, RELAYD and LCSIB.

when i tried "grep strings *" command in the HLRIB log directory.
these all 4 process was dropped and created core files.

i did analying core file, there is same pattern
as F64_fstat. so i wonder if F64_fstat function aren't write to log file.

I'd like to know, when is F64_fstat function call what kind of situation

Have a nice weekend.


following is dbx output:
::::::::::::::::::::::::
HLRIB's core
[ app {111} ~/tmp ] dbx hlrib core.hlrib.smpa1.0
dbx version 5.1
Type 'help' for help.
Core file created by program "hlrib"

signal Segmentation fault at >*[__F64_fstat, 0x3ff8010a8c8] beq a3, 0x3ff8010a8e0
(dbx) where
> 0 __F64_fstat(0x11fff9a60, 0x100000018, 0x11fff9010, 0x140001fac, 0x3ff800d08b4) [0x3ff8010a8c8]
1 _findbuf(0xe313, 0x49d37360, 0x49d37b14, 0x49d37b14, 0x2000) [0x3ff800d08fc]
2 _wrtchk(0x49d37b14, 0x49d37b14, 0x2000, 0x3f0, 0x3ff801add30) [0x3ff800dd65c]
3 __fwrite_unlocked(0x102, 0x0, 0x15010200000000, 0x11fff91c0, 0x3d) [0x3ff801add2c]
4 _doprnt_dis(0x0, 0x38314f4e, 0x0, 0x39314f4e, 0x0) [0x3ff801c7c54]
5 _doprnt(0x0, 0x30324f4e, 0x3ff800d2af4, 0x11fff9a60, 0x10) [0x3ff800d3df4]
6 fprintf(0x3ffc00a07f8, 0x140000c18, 0x17, 0x20, 0x35) [0x3ff800d2af0]
7 SaveLog(direction = 3, msg = 0x11fff9d40) ["log.c":91, 0x120006ae8]
8 ReceiveMesg(hsfd = 7, hlr_num = 39, rd_buf = 0x11fffadc0 = "") ["route.c":220, 0x120005ad0]
9 HandleResponse() ["sock.c":104, 0x120005d18]
10 main() ["hlr_main.c":78, 0x120003288]
(dbx)
====================================================================================================
RELAYD' core
[ app {113} ~/tmp ] dbx relayd core.relayd.smpa1.0
dbx version 5.1
Type 'help' for help.
Core file created by program "relayd"

signal Segmentation fault at >*[__F64_fstat, 0x3ff8010a8c8] beq a3, 0x3ff8010a8e0
(dbx) where
> 0 __F64_fstat(0x11fff8a50, 0x18, 0x11fff8000, 0x140002b92, 0x3ff800d08b4) [0x3ff8010a8c8]
1 _findbuf(0xe312, 0x49d37360, 0x49d37b1c, 0x49d37b1c, 0x2000) [0x3ff800d08fc]
2 _wrtchk(0x49d37b1c, 0x49d37b1c, 0x2000, 0x3e0, 0x3ff801add30) [0x3ff800dd65c]
3 __fwrite_unlocked(0x2, 0x0, 0x16000200000000, 0x11fff81b0, 0x59) [0x3ff801add2c]
4 _doprnt_dis(0x11fff943f, 0x0, 0x3ff800da5dc, 0x1, 0x3ff801a0d30) [0x3ff801c7c54]
5 _doprnt(0x3ff801a0d30, 0x0, 0x3ff800d2af4, 0x11fff8a50, 0x3ff00000010) [0x3ff800d3df4]
6 fprintf(0x3ffc00a0830, 0x140000c38, 0x1400148b0, 0x28, 0x0) [0x3ff800d2af0]
7 smsif_log(head = 0x1400148b0 = "[sms->scp1]", type = 1, data = 0x11fff9e98, res_code = 0, fail_data = (nil)) ["proc.c":65, 0x120004de4]
8 check_msgQ() ["msgQ.c":150, 0x120003bc0]
9 main(argc = 1, argv = 0x11fffc018) ["main.c":80, 0x120003590]

===========================================================================================================WEBIB's core
[ app {114} ~/tmp ] dbx webib core.webib.smpa1.0
dbx version 5.1
Type 'help' for help.
Core file created by program "webib"

signal Segmentation fault at >*[__F64_stat, 0x3ff8010a898] beq a3, 0x3ff8010a8b0
(dbx) where
> 0 __F64_stat(0x11fff98f0, 0x1400029e0, 0x11fff9970, 0x1, 0x17) [0x3ff8010a898]
1 make_webibLog(0x140004ce0, 0x140004d08, 0x120004368, 0xd, 0x1c4f360) [0x120008fc0]
2 read_web_data(0x0, 0x0, 0x0, 0x0, 0x0) [0x12000449c]
3 checkToSocket(0x0, 0x0, 0x0, 0x0, 0x120003e74) [0x1200042d8]
4 main(0x120003c7c, 0x11fffb5f8, 0x140001180, 0x0, 0x3) [0x120003e24]

===============================================================================================================
lcsib' core
[ app {115} ~/tmp ] dbx lcsib core.lcsib.smpa1.0
dbx version 5.1
Type 'help' for help.
Core file created by program "lcsib"

signal Segmentation fault at >*[__write, 0x3ff800cdb48] beq a3, 0x3ff800cdb60
(dbx) where
> 0 __write(0x0, 0x0, 0x0, 0x0, 0x0) [0x3ff800cdb48]
1 __write_nc(0x0, 0x141c14808, 0x54, 0x100000a8a, 0x10) [0x3ff80146598]
2 _xflsbuf(0x3ff801a8664, 0x140b87918, 0x1, 0xa8a000a00000000, 0xa) [0x3ff800da5d8]
3 __fflush_unlocked(0x9, 0x11fffafe0, 0x0, 0x93d, 0x100000000) [0x3ff801a8660]
4 fflush(0x100000000, 0x140008500, 0x1200113bc, 0x3, 0x141b35640) [0x3ff800d3300]
5 asib_log(rcvMsg = 0x11fffafe0, dest = 0, ipAddr = 0x1400ccba0 = "211.60.220.205", fd = 2365, flag = 0, retry_cnt = 0) ["asib_log.c":192, 0x1200113b8]
6 handle_ASMsg(idx = 1, asibMsg = 0x11fffafe0) ["asib_socket.c":57, 0x120007910]
7 check_socket() ["asib_sockutil.c":282, 0x12000f1ac]
8 main() ["asib_main.c":43, 0x120005e94]