an error working with movescu.exe and dcmqrscp.exe ...

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
amvb
Posts: 8
Joined: Fri, 2006-09-29, 11:41

an error working with movescu.exe and dcmqrscp.exe ...

#1 Post by amvb »

Hi,

I am having a problem with movescu.exe and dcmqrscp.exe. The server (dcmqrscp.exe) stops suddenly in an Assertion. Below you will see the movescu parameters I have sent.

--------------- C-MOVE SCU Console ----------------------

C:\DICOM\Tools\DCMTK>movescu -k 0008,0052=PATIENT -k 0010,0020="F006" -P -aec
COMMON localhost 2006
movescu: Move Failed:
0006:0317 Peer aborted Association (or never connected)

--------------- C-MOVE SCP Console ----------------------

DCMQRSCP.EXE Response ...

. . . . . . .

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianImplicit
(0000,0002) UI =MOVEPatientRootQueryRetrieveInformationModel # 28, 1 AffectedSO
PClassUID
(0000,0100) US 33 # 2, 1 CommandField
(0000,0110) US 1 # 2, 1 MessageID
(0000,0600) AE [MOVESCU] # 8, 1 MoveDestination

(0000,0700) US 0 # 2, 1 Priority
(0000,0800) US 1 # 2, 1 DataSetType

[b]Assertion failed: !(pos >= this->size()), file ..\..\ofstd\include\dcmtk/ofstd/o
fstring.h, line 375

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

[/b]-------------------------------------------------------------------

Any idea about what is going wrong?

Best,

Adrian

Jörg Riesmeier
ICSMED DICOM Services
ICSMED DICOM Services
Posts: 2217
Joined: Fri, 2004-10-29, 21:38
Location: Oldenburg, Germany

#2 Post by Jörg Riesmeier »

At least one part of your problem (the assertion) is described and solved here and here.

Btw, using the search function of this discussion forum is always a good idea :-)

amvb
Posts: 8
Joined: Fri, 2006-09-29, 11:41

solved ...

#3 Post by amvb »

Hi people,

thanx a lot for the answer. The problem was solved :wink: !

BTW: in one of the explanation you refer to me said that origAETitle and ourAETitle are both of type OFString what is not true for origAETitle in DcmQueryRetrieveMoveContext class where it is of type DIC_AE (array of chars).

The attribute origAETitle is of type OFString in DcmQueryRetrieveGetContext class :wink: and that's why the instruction

origAETitle[0] = '\0';

should be removed from the constructure in this class but not from the constructure in the DcmQueryRetrieveMoveContext class. May be it could serve to somebody later.

Best,

Adrian

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 0 guests