[Dcmlib] "function <unknow>,Already present:fffe|e0dd "

Vincent Daanen vincent.daanen at imag.fr
Wed Mar 1 16:15:59 CET 2006


Hi Mathieu,

 (0xfffe, 0xe0dd) appears 1 time  in gdcmDefaultDicts.cxx
and
(0xfffe, 0xe00d) 5 times!

I also 'find' the reason of the application crash : gdcm creates a 
variable glob. When the creation fails, gdcm outputs warning. If no 
console exists, it crashes !

that my 2 cents ..

 Vince


Mathieu Malaterre a écrit :
> Vincent,
>
>     could you check in gdcmDefaultDicts.cxx (will be in your 
> gdcm-bin/src directoy), that there is no duplicate.
>
> Thanks
> Mathieu
>
> Vincent Daanen wrote:
>> Hi gdcm-users,
>>
>> I wrote a small piece of code which seems to run perfectly in a small
>> test program.
>>
>> I say 'seem' because when loading the dicom dictionnary, this error 
>> message is displayed :
>> "function <unknow>,Already present:fffe|e0dd "
>>
>> and then, when integrating this code in a 'big' MFC M$ application, 
>> the appli terminated immediatly with this strange error cause :
>>  std::operator<<(std::basic_ostream<char,std::char_traits<char> > &
>>
>> I think the error is caused by the
>>
>> Global Glob
>> in gdcmGlobal.cxx :
>>
>> but the stranger is the 'tag' fffe|e0dd already exists in the map 
>> because it appears only once in the gdcm.dic file.
>>
>> I try to remove the 'buggy' tag (i.e fffe|e0dd) but then, it's the 
>> tag fffe|e00d which fails the application.
>>
>> It seems like gdcm tries to add twice the last tag !
>>
>> Is it a real bug or a pb on my gdcm ?
>>
>> please help,
>>
>>  Vince
>>
>> _______________________________________________
>> Dcmlib mailing list
>> Dcmlib at creatis.insa-lyon.fr
>> http://www.creatis.insa-lyon.fr/mailman/listinfo/dcmlib
>>
>


-- 
Vincent Daanen, PhD
Research Engineer, Post-Doctoral Position
Laboratoire TIMC/IMAG (Univ. Joseph Fourier - CNRS UMR 5525)
Equipe GMCAO
Institut d'Ingénierie de l'Information de Santé (IN3S)
Faculté de Médecine - 38706 La Tronche cedex - France
Tel: +33 (0)4 56 52 00 54 - Fax: +33 (0)4 56 52 00 55
Vincent.Daanen at imag.fr

"Les problèmes ne peuvent être résolus par
ceux dont l'horizon se limite aux réalités 
quotidiennes, mais par ceux qui rêvent de 
choses qui n'ont jamais existées et qui se 
disent : Pourquoi Pas ?"

J-F Kennedy, 1963.




More information about the Dcmlib mailing list