HealthIntersections / fhirserver

Reference Implementation Server for the FHIR Specification
Other
182 stars 56 forks source link

Crash uploading a ValueSet #61

Open vadi2 opened 8 years ago

vadi2 commented 8 years ago

Upload this to http://fhir3.healthintersections.com.au/open/ValueSet:

<ValueSet xmlns="http://hl7.org/fhir">
    <url value="urn:uuid:5b2b9bb0-f459-4fcd-80f7-076969d0667d"/>
    <version value="2016-06-27"/>
    <name value="New, better valueset describing a persons work state"/>
    <status value="draft"/>
    <experimental value="true"/>
    <publisher value="Australian Digital Health Agency"/>
    <contact>
        <name value="Vadim Peretokin"/>
        <telecom>
            <system value="email"/>
            <value value="vadim.peretokin@digitalhealth.gov.au"/>
        </telecom>
    </contact>
    <date value="2016-06-27"/>
    <lockedDate value="2016-06-27"/>
    <description value="This new and improved valueset allows to more accurately describe a persons work state"/>
    <compose>
        <include>
            <system value="urn:uuid:bb6efb79-2b93-4569-a51e-6fcf103b6e9a"/>
            <version value="20162726"/>
            <concept>
                <code value="in-office"/>
            </concept>
            <concept>
                <code value="away-travelling"/>
            </concept>
            <concept>
                <code value="working-from-home"/>
            </concept>
            <concept>
                <code value="annual-leave"/>
            </concept>
            <concept>
                <code value="personal-leave"/>
            </concept>
            <concept>
                <code value="jury-duty"/>
            </concept>
        </include>
    </compose>
</ValueSet>

Receive this:

<?xml version="1.0" encoding="UTF-8"?>
<OperationOutcome xmlns="http://hl7.org/fhir">
    <text>
        <status value="generated"/>
        <div xmlns="http://www.w3.org/1999/xhtml">
            <p>Access violation at address 000000000041221B in module 'FHIRServer.exe'. Read of address 000000650000005C</p>
        </div>
    </text>
    <issue>
        <severity value="error"/>
        <details>
            <text value="Access violation at address 000000000041221B in module 'FHIRServer.exe'. Read of address 000000650000005C"/>
        </details>
        <diagnostics value="(000000000001121B){FHIRServer.exe} [000000000041221B] System.@UStrAsg + $1B&#xD;&#xA;(0000000000040E0B){FHIRServer.exe} [0000000000441E0B] System.SysUtils.GetExceptionObject + $EB&#xD;&#xA;(00000000002030C7){FHIRServer.exe} [00000000006040C7] JclHookExcept.DoExceptFilter + $E7&#xD;&#xA;(0000000000203395){FHIRServer.exe} [0000000000604395] JclHookExcept.HookedExceptObjProc + $15&#xD;&#xA;(000000000000F3F9){FHIRServer.exe} [00000000004103F9] System.@DelphiExceptionHandler + $289&#xD;&#xA;(0000000000028D0D){ntdll.dll   } [0000000077419D0D] Unknown function at RtlDecodePointer + $BD&#xD;&#xA;(00000000000181AF){ntdll.dll   } [00000000774091AF] Unknown function at RtlUnwindEx + $BBF&#xD;&#xA;(0000000000050278){ntdll.dll   } [0000000077441278] KiUserExceptionDispatcher + $2E&#xD;&#xA;(000000000001121B){FHIRServer.exe} [000000000041221B] System.@UStrAsg + $1B&#xD;&#xA;(0000000000F91E4D){FHIRServer.exe} [0000000001392E4D] FHIRTypes.TFhirReference.GetReferenceST + $3D&#xD;&#xA;(00000000011BB88F){FHIRServer.exe} [00000000015BC88F] TerminologyServerStore.TTerminologyServerStore.UpdateConceptMaps + $7F&#xD;&#xA;(00000000011BAD76){FHIRServer.exe} [00000000015BBD76] TerminologyServerStore.TTerminologyServerStore.SeeTerminologyResource + $236&#xD;&#xA;(00000000014D76CB){FHIRServer.exe} [00000000018D86CB] FHIRDataStore.TFHIRDataStore.SeeResource + $1BB&#xD;&#xA;(00000000014420CA){FHIRServer.exe} [00000000018430CA] FHIROperation.TFhirOperationManager.ExecuteCreate + $11BA&#xD;&#xA;(000000000143DC2E){FHIRServer.exe} [000000000183EC2E] FHIROperation.TFhirOperationManager.Execute + $1DE&#xD;&#xA;(000000000151969D){FHIRServer.exe} [000000000191A69D] FHIRRestServer.TFhirWebServer.ProcessRequest + $1CD&#xD;&#xA;(000000000150E64B){FHIRServer.exe} [000000000190F64B] FHIRRestServer.TFhirWebServer.HandleRequest + $107B&#xD;&#xA;(000000000150BA89){FHIRServer.exe} [000000000190CA89] FHIRRestServer.TFhirWebServer.PlainRequest + $4D9&#xD;&#xA;(000000000124AFBC){FHIRServer.exe} [000000000164BFBC] IdCustomHTTPServer.TIdCustomHTTPServer.DoCommandGet + $1C&#xD;&#xA;(000000000124CA35){FHIRServer.exe} [000000000164DA35] IdCustomHTTPServer.TIdCustomHTTPServer.DoExecute + $AC5&#xD;&#xA;(00000000002AF20E){FHIRServer.exe} [00000000006B020E] IdContext.TIdContext.Run + $1E&#xD;&#xA;(00000000002AD211){FHIRServer.exe} [00000000006AE211] IdTask.TIdTask.DoRun + $11&#xD;&#xA;(00000000002B13B4){FHIRServer.exe} [00000000006B23B4] IdThread.TIdThreadWithTask.Run + $14&#xD;&#xA;(00000000002B043A){FHIRServer.exe} [00000000006B143A] IdThread.TIdThread.Execute + $EA&#xD;&#xA;(000000000011F083){FHIRServer.exe} [0000000000520083] System.Classes.ThreadProc + $43&#xD;&#xA;(000000000001096B){FHIRServer.exe} [000000000041196B] System.ThreadWrapper + $3B&#xD;&#xA;(000000000001552D){kernel32.dll} [000000007719652D] BaseThreadInitThunk + $D&#xD;&#xA;(000000000002B521){ntdll.dll   } [000000007741C521] RtlUserThreadStart + $21&#xD;&#xA;"/>
    </issue>
</OperationOutcome>
grahamegrieve commented 8 years ago

something went wrong on the server. retstated it and it went away. Haven't been able to reproduce it locally.

Grahame

On Fri, Sep 9, 2016 at 8:13 AM, Vadim Peretokin notifications@github.com wrote:

Upload this to http://fhir3.healthintersections.com.au/open/ValueSet:

Receive this:

<?xml version="1.0" encoding="UTF-8"?>

Access violation at address 000000000041221B in module 'FHIRServer.exe'. Read of address 000000650000005C

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/grahamegrieve/fhirserver/issues/61, or mute the thread https://github.com/notifications/unsubscribe-auth/AFllFU8KtjXdsIqAOfP9yfdF-dEgimKJks5qoIihgaJpZM4J4gjj .


http://www.healthintersections.com.au / grahame@healthintersections.com.au / +61 411 867 065

vadi2 commented 8 years ago

I'm still getting the problem. Here's a cURL string you can copy/paste to replicate:

curl -XPOST -H 'Content-Type: application/fhir+xml' -H 'Accept: application/fhir+xml' -d '<ValueSet xmlns="http://hl7.org/fhir">
    <url value="urn:uuid:5b2b9bb0-f459-4fcd-80f7-076969d0667d"/>
    <version value="2016-06-27"/>
    <name value="New, better valueset describing a persons work state"/>
    <status value="draft"/>
    <experimental value="true"/>
    <publisher value="Australian Digital Health Agency"/>
    <contact>
        <name value="Vadim Peretokin"/>
        <telecom>
            <system value="email"/>
            <value value="vadim.peretokin@digitalhealth.gov.au"/>
        </telecom>
    </contact>
    <date value="2016-06-27"/>
    <lockedDate value="2016-06-27"/>
    <description value="This new and improved valueset allows to more accurately describe a persons work state"/>
    <compose>
        <include>
            <system value="urn:uuid:bb6efb79-2b93-4569-a51e-6fcf103b6e9a"/>
            <version value="20162726"/>
            <concept>
                <code value="in-office"/>
            </concept>
            <concept>
                <code value="away-travelling"/>
            </concept>
            <concept>
                <code value="working-from-home"/>
            </concept>
            <concept>
                <code value="annual-leave"/>
            </concept>
            <concept>
                <code value="personal-leave"/>
            </concept>
            <concept>
                <code value="jury-duty"/>
            </concept>
        </include>
    </compose>
</ValueSet>' 'http://fhir3.healthintersections.com.au/open/ValueSet'