|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Getting CWF Read Buffer Overflow |
« View previous topic :: View next topic » |
Author |
Message
|
vairavan |
Posted: Tue Apr 22, 2008 5:35 am Post subject: Getting CWF Read Buffer Overflow |
|
|
Apprentice
Joined: 22 Apr 2008 Posts: 42
|
Log Message from the passing message
Hi,
Environment:
IBM message Broker 6.1
IBM Websphere MQ 6.1
Scenario: Trying to parse a file (Non-X12 format) using File Input node, configured with message set and message definition, in a message flow.
Getting this error, when I put the file. Could any one give your valuable opinion about this error? Here is the error.
Thanks,
Vairavan C
(
(0x01000000):Properties = (
(0x03000000):MessageSet = 'Direct835'
(0x03000000):MessageType = '{}:Direct835'
(0x03000000):MessageFormat = 'Binary1'
(0x03000000):Encoding = 546
(0x03000000):CodedCharSetId = 437
(0x03000000):Transactional = FALSE
(0x03000000):Persistence = FALSE
(0x03000000):CreationTime = GMTTIMESTAMP '2008-04-22 12:05:47.636'
(0x03000000):ExpirationTime = -1
(0x03000000):Priority = 0
(0x03000000):ReplyIdentifier = X''
(0x03000000):ReplyProtocol = ''
(0x03000000):Topic = NULL
(0x03000000):ContentType = ''
(0x03000000):IdentitySourceType = ''
(0x03000000):IdentitySourceToken = ''
(0x03000000):IdentitySourcePassword = ''
(0x03000000):IdentitySourceIssuedBy = ''
(0x03000000):IdentityMappedType = ''
(0x03000000):IdentityMappedToken = ''
(0x03000000):IdentityMappedPassword = ''
(0x03000000):IdentityMappedIssuedBy = ''
)
(0x0100001B):MRM = (
(0x01000013):Header = (
(0x01000013):REC0 =
)
)
)
(
(0x03000000):File = 'F:\build\S610_P\src\DataFlowEngine\ImbRootParser.cpp'
(0x03000000):Line = 586
(0x03000000):Function = 'ImbRootParser::parseNextItem'
(0x03000000):Type = 'ComIbmFileInputNode'
(0x03000000):Name = 'com/pnc/syntel/Direct835#FCMComposite_1_1'
(0x03000000):Label = 'com.pnc.syntel.Direct835.Direct835Picker'
(0x03000000):Catalog = 'BIPv610'
(0x03000000):Severity = 2
(0x03000000):Number = 5902
(0x03000000):Text = 'Exception whilst parsing'
(0x01000000):Insert = (
(0x03000000):Type = 5
(0x03000000):Text = 'Root'
)
(0x01000000):Insert = (
(0x03000000):Type = 5
(0x03000000):Text = 'MRM'
)
(0x01000000):Insert = (
(0x03000000):Type = 5
(0x03000000):Text = 'Stream Based Buffer - no stream data read in yet.'
)
(0x01000000):ParserException = (
(0x03000000):File = 'F:\build\S610_P\src\MTI\MTIforBroker\MtiImbParser2\MtiImbParser.cpp'
(0x03000000):Line = 508
(0x03000000):Function = 'MtiImbParser::parseFirstChild'
(0x03000000):Type = 'ComIbmFileInputNode'
(0x03000000):Name = 'com/pnc/syntel/Direct835#FCMComposite_1_1'
(0x03000000):Label = 'com.pnc.syntel.Direct835.Direct835Picker'
(0x03000000):Catalog = 'BIPv610'
(0x03000000):Severity = 3
(0x03000000):Number = 5285
(0x03000000):Text = 'ImbRecoverableException caught from worker->parseNext.'
(0x01000000):Insert = (
(0x03000000):Type = 5
(0x03000000):Text = 'Direct835'
)
(0x01000000):Insert = (
(0x03000000):Type = 2
(0x03000000):Text = '1'
)
(0x01000000):Insert = (
(0x03000000):Type = 5
(0x03000000):Text = 'Binary1'
)
(0x01000000):Insert = (
(0x03000000):Type = 5
(0x03000000):Text = '/Direct835/Header/REC0'
)
(0x01000000):ParserException = (
(0x03000000):File = 'F:\build\S610_P\src\cpi\pwf\cwf\cwfworker.cpp'
(0x03000000):Line = 303
(0x03000000):Function = 'CWFWorker::parseNext'
(0x03000000):Type = ''
(0x03000000):Name = ''
(0x03000000):Label = ''
(0x03000000):Catalog = 'BIPv610'
(0x03000000):Severity = 3
(0x03000000):Number = 5171
(0x03000000):Text = 'CWF Parsing error'
(0x01000000):Insert = (
(0x03000000):Type = 2
(0x03000000):Text = '0'
)
(0x01000000):Insert = (
(0x03000000):Type = 5
(0x03000000):Text = 'CWFWorker::parseNext'
)
(0x01000000):Insert = (
(0x03000000):Type = 5
(0x03000000):Text = 'Direct835'
)
(0x01000000):Insert = (
(0x03000000):Type = 5
(0x03000000):Text = 'RecordType'
)
(0x01000000):Insert = (
(0x03000000):Type = 5
(0x03000000):Text = '/Direct835/Header/REC0'
)
(0x01000000):Insert = (
(0x03000000):Type = 2
(0x03000000):Text = '1'
)
(0x01000000):ParserException = (
(0x03000000):File = 'F:\build\S610_P\src\cpi\pwf\cwf\cwfreader.cpp'
(0x03000000):Line = 524
(0x03000000):Function = 'CWFWorker::getBufferData'
(0x03000000):Type = ''
(0x03000000):Name = ''
(0x03000000):Label = ''
(0x03000000):Catalog = 'BIPv610'
(0x03000000):Severity = 3
(0x03000000):Number = 5181
(0x03000000):Text = 'CWF Read Buffer Overflow'
(0x01000000):Insert = (
(0x03000000):Type = 2
(0x03000000):Text = '0'
)
(0x01000000):Insert = (
(0x03000000):Type = 5
(0x03000000):Text = 'CWFWorker::getBufferData'
)
(0x01000000):Insert = (
(0x03000000):Type = 5
(0x03000000):Text = 'RecordType'
)
)
)
)
)
Log Message from the passing message
Time is: 2008-04-22 17:59:32.561312
(
(0x01000000):Properties = (
(0x03000000):MessageSet = 'Direct835'
(0x03000000):MessageType = '{}:Direct835'
(0x03000000):MessageFormat = 'Binary1'
(0x03000000):Encoding = 546
(0x03000000):CodedCharSetId = 437
(0x03000000):Transactional = FALSE
(0x03000000):Persistence = FALSE
(0x03000000):CreationTime = GMTTIMESTAMP '2008-04-22 12:29:31.753'
(0x03000000):ExpirationTime = -1
(0x03000000):Priority = 0
(0x03000000):ReplyIdentifier = X''
(0x03000000):ReplyProtocol = ''
(0x03000000):Topic = NULL
(0x03000000):ContentType = ''
(0x03000000):IdentitySourceType = ''
(0x03000000):IdentitySourceToken = ''
(0x03000000):IdentitySourcePassword = ''
(0x03000000):IdentitySourceIssuedBy = ''
(0x03000000):IdentityMappedType = ''
(0x03000000):IdentityMappedToken = ''
(0x03000000):IdentityMappedPassword = ''
(0x03000000):IdentityMappedIssuedBy = ''
)
(0x0100001B):MRM = (
(0x01000013):Header = (
(0x01000013):REC0 =
)
)
)
(
(0x03000000):File = 'F:\build\S610_P\src\DataFlowEngine\ImbRootParser.cpp'
(0x03000000):Line = 586
(0x03000000):Function = 'ImbRootParser::parseNextItem'
(0x03000000):Type = 'ComIbmFileInputNode'
(0x03000000):Name = 'com/pnc/syntel/Direct835#FCMComposite_1_1'
(0x03000000):Label = 'com.pnc.syntel.Direct835.Direct835Picker'
(0x03000000):Catalog = 'BIPv610'
(0x03000000):Severity = 2
(0x03000000):Number = 5902
(0x03000000):Text = 'Exception whilst parsing'
(0x01000000):Insert = (
(0x03000000):Type = 5
(0x03000000):Text = 'Root'
)
(0x01000000):Insert = (
(0x03000000):Type = 5
(0x03000000):Text = 'MRM'
)
(0x01000000):Insert = (
(0x03000000):Type = 5
(0x03000000):Text = 'Stream Based Buffer - no stream data read in yet.'
)
(0x01000000):ParserException = (
(0x03000000):File = 'F:\build\S610_P\src\MTI\MTIforBroker\MtiImbParser2\MtiImbParser.cpp'
(0x03000000):Line = 508
(0x03000000):Function = 'MtiImbParser::parseFirstChild'
(0x03000000):Type = 'ComIbmFileInputNode'
(0x03000000):Name = 'com/pnc/syntel/Direct835#FCMComposite_1_1'
(0x03000000):Label = 'com.pnc.syntel.Direct835.Direct835Picker'
(0x03000000):Catalog = 'BIPv610'
(0x03000000):Severity = 3
(0x03000000):Number = 5285
(0x03000000):Text = 'ImbRecoverableException caught from worker->parseNext.'
(0x01000000):Insert = (
(0x03000000):Type = 5
(0x03000000):Text = 'Direct835'
)
(0x01000000):Insert = (
(0x03000000):Type = 2
(0x03000000):Text = '1'
)
(0x01000000):Insert = (
(0x03000000):Type = 5
(0x03000000):Text = 'Binary1'
)
(0x01000000):Insert = (
(0x03000000):Type = 5
(0x03000000):Text = '/Direct835/Header/REC0'
)
(0x01000000):ParserException = (
(0x03000000):File = 'F:\build\S610_P\src\cpi\pwf\cwf\cwfworker.cpp'
(0x03000000):Line = 303
(0x03000000):Function = 'CWFWorker::parseNext'
(0x03000000):Type = ''
(0x03000000):Name = ''
(0x03000000):Label = ''
(0x03000000):Catalog = 'BIPv610'
(0x03000000):Severity = 3
(0x03000000):Number = 5171
(0x03000000):Text = 'CWF Parsing error'
(0x01000000):Insert = (
(0x03000000):Type = 2
(0x03000000):Text = '0'
)
(0x01000000):Insert = (
(0x03000000):Type = 5
(0x03000000):Text = 'CWFWorker::parseNext'
)
(0x01000000):Insert = (
(0x03000000):Type = 5
(0x03000000):Text = 'Direct835'
)
(0x01000000):Insert = (
(0x03000000):Type = 5
(0x03000000):Text = 'RecordType'
)
(0x01000000):Insert = (
(0x03000000):Type = 5
(0x03000000):Text = '/Direct835/Header/REC0'
)
(0x01000000):Insert = (
(0x03000000):Type = 2
(0x03000000):Text = '1'
)
(0x01000000):ParserException = (
(0x03000000):File = 'F:\build\S610_P\src\cpi\pwf\cwf\cwfreader.cpp'
(0x03000000):Line = 524
(0x03000000):Function = 'CWFWorker::getBufferData'
(0x03000000):Type = ''
(0x03000000):Name = ''
(0x03000000):Label = ''
(0x03000000):Catalog = 'BIPv610'
(0x03000000):Severity = 3
(0x03000000):Number = 5181
(0x03000000):Text = 'CWF Read Buffer Overflow'
(0x01000000):Insert = (
(0x03000000):Type = 2
(0x03000000):Text = '0'
)
(0x01000000):Insert = (
(0x03000000):Type = 5
(0x03000000):Text = 'CWFWorker::getBufferData'
)
(0x01000000):Insert = (
(0x03000000):Type = 5
(0x03000000):Text = 'RecordType'
)
)
)
)
) |
|
Back to top |
|
 |
Vitor |
Posted: Tue Apr 22, 2008 5:48 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
I'd say the input message is longer than the message set says it is. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
vairavan |
Posted: Tue Apr 22, 2008 8:27 pm Post subject: Getting CWF Read Buffer Overflow |
|
|
Apprentice
Joined: 22 Apr 2008 Posts: 42
|
Thanks for the response. Also I have noticed in the Application errors. It says
1. An error occured in parser 'Root' while parsing the field named 'MRM' on behalf of node' FileInputNode'. The data beeing parsed was "Stream Based Buffer - no stream data read in yet."
2. A Custom Wire Format error has occured. The message bit stream is smaller than expected.
Just check with these errors too. Any suggestion is highly valued and appreciated.
Thanks,
Vairavan[/url] |
|
Back to top |
|
 |
Vitor |
Posted: Wed Apr 23, 2008 12:30 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
First and obvious thing is to check the file contains what you think it does and is exactly the same format as the message set (especially in terms of length). Does the file have optional or repeating elements which can vary it's length? If so, does the message set correctly code for those?
Also check for bounds. Does the message set indicate you can have 1-5 occurances of a field, and there are 6 in the file? Are the fields at the end of the file optional, but the message set believes them so be mandatory? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|