Skip to main content

Problem:

  • Product Name: VisiBroker for Java
  • Product Version: 4.5.1
  • Product Component: Smart Agent
  • Platform/OS Version: Solaris 8

osagent core dump occasionally with following stack trace 

(/opt/SUNWspro/bin/../WS6U2/bin/sparcv9/dbx) where -h =>

[1] _libc_kill(0x0, 0x6, 0x0, 0xffffffff, 0x18, 0x0), at 0xf9930
[2] abort(0x1, 0x1345c0, 0xffbef878, 0x1049bc, 0x8000000, 0xc), at 0xf4e50
[3] __Cimpl::ex_terminate(0x0, 0x0, 0xffbef878, 0x0, 0xffbef878, 0x0), at 0xc43ec [4] rethrow(0x0, 0x0, 0x1345c0, 0xc30cc, 0xffbef518, 0x1049bc), at 0xc2c8c
[5] __Crun::ex_chk_unexpected(0x1345c0, 0x0, 0x1345c0, 0x0, 0x134608, 0x1142ac), at 0xc2fe8
Devil operator new(0x803100fc, 0xc3104, 0x132448, 0x0, 0x0, 0x0), at 0xc30cc
[7] NCipcbuf::expand_read(0x15dc38, 0x803100fc, 0x15dc38, 0x61690, 0x0, 0x0), at 0x5e8c8
Music NCtcpstream::_readIntoBuffer(0x12df1c, 0x0, 0x168f54, 0x0, 0x0, 0x0), at 0x83af0
[9] NCtcpstream::receive(0x12df1c, 0xffbef704, 0x168f54, 0x0, 0x132740, 0xffffffff), at 0x84274
[10] DSATCPClient::inputReady(0x168f50, 0x12df1c, 0x55, 0x7, 0x168f54, 0x8), at 0x86a9c
[11] dpDispatcher::notify(0x1, 0x7, 0x2, 0x0, 0x80, 0x12fe00), at 0x89a88
[12] dpDispatcher::dispatch(0x1, 0x0, 0x144578, 0x139884, 0x1, 0x10ad30), at 0x89638
[13] main(0x144578, 0x13c858, 0x12df1c, 0x1561f0, 0x0, 0x0), at 0x58a2c

Resolution:

This problem happens when osagent cannot allocate memory for an incoming message or when the incoming message is not a valid one. CR is 3269.

This problem doesn't exist in osagent from VBE 5.2.1 P14.

Old KB# 26687

#SmartAgent
#VisiBroker
#Security