#59 "I" instead of "PID" freezes the parser

closed-fixed
None
5
2012-04-13
2006-08-07
Anonymous
No

Here is a message that freezes the parser in some high
CPU usage, memory-chewing state, presumably a loop or a
cycle:

MSH|^~\&||Big
Laboratory^33D0123456^CLIA|GEN2|NYSDOH|20060802101649||ORU^R01|200608021016491003|D|2.3
I|||13198751^^^^^Big
Laboratory&33D0123456&CLIA||DREST^NATALIE^||19500101|F|||123
MAIN ST^^SPRINGFIELD^NY^12345||^^^^^518^1234567
OBR|1||13198751|^^^207252^CULTURE,SALMONELLA/SHIG^L|||200607280943|||||||20060729101650|STOOL-STOOL&STOOL-STOOL|^HERTZ,
JOHN Q|^^^^^518^5551212||||||||F
ZLR|456 WASHINGTON BLVD^SUITE
100^ALBANY^NY^12345|HERTZ^JOHN^Q^^^MD|456 WASHINGTON
BLVD^SUITE 100^ALBANY^NY^12345|^^^^^518^4567890
OBX|1|CE|^^^60101058^CULTURE,SALMONELLA/SHIGELLA,STOOL^L|1|^^^SASP^Salmonella
sp., not typhi^L||||||F|||200608011318|33D0123456^Big
Laboratory^CLIA

The problem is the PID segment, which begins with the
letter "I" instead of "PID".

This message freezes the testpanel GUI (both 0.4.3 and
0.5beta). It slows a whole WebLogic appserver down to
a crawl and generates OutOfMemory errors.

Someone who knows the HAPI parser better than I do is
going to have to trace this one down and fix it.

Sorry for not logging in. I am having password issues.

cdfisher

Discussion

  • James Agnew

    James Agnew - 2006-12-11

    Logged In: YES
    user_id=881509
    Originator: NO

    I have a fix for this, but I'm going to try and set up a test case for it before releasing it. Should be ready for the next release.

    Thanks for the report!

     
  • James Agnew

    James Agnew - 2006-12-11
    • assigned_to: nobody --> jamesagnew
     
  • Christian Ohr

    Christian Ohr - 2012-04-13
    • status: open --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks