[Dcmlib] complete log

Mathieu Malaterre mathieu.malaterre at kitware.com
Thu Mar 15 22:17:05 CET 2007


Gianni,

	[Note: It would be a really good idea, if start using the mailing list 
(dcmlib) instead of personal email, in particular since I will not be 
receiving anymore email at that particular kitware email adress. Thanks.]

	Of course having a linux box and starting to use valgrind is a good 
idea...but this is a long term solution. What we were looking for 
instead is a small code (<20 lines) that we can compile and run to 
reproduce the issue. Once we have that, we (either JP or me) can run it 
through valgrind and hopefully fix the issue you are seeing.

Thanks for your time,
-Mathieu

Lazzarato Dr. Gianni wrote:
> Thank you for your suggestion Mattiew but i do not know linux 
> environment even if* valgrind* seem very very useful and complete.
> 
> Do you think would be a good idea to test in linux environment and after 
> compile in Borland?
> 
>  
> 
> About the dataset I tried with various kind and all of them gave me the 
> same memory leak error.
> 
>  
> 
> I include right now the complete log from Codeguard but probably is’nt 
> enougth to trace the problem….
> 
> Probably if you and Jean-Pierre did not find this error it probably 
> depends on Borland environment, I suppose.
> 
>  
> 
> Thank you very much for your time and kind attention
> 
>  
> 
> Gianni.
> 
>  
> 
>  
> 
> Error 00162. 0x300010 (Thread 0x05AC):
> 
> Resource leak: The object (0x24F3F20) was never deleted
> 
>  
> 
> The object (0x024F3F20) [size: 104 bytes] was created with new
> 
> | Z:\gdcm2007\src\gdcmDictEntry.cxx line 72:
> 
> |                           TagName const &name)
> 
> | {
> 
> |>   return new DictEntry(group,elem,vr,vm,name);
> 
> | }
> 
> |
> 
> Call Tree:
> 
>    0x018AE767(=GDCM.DLL:0x01:02D767) Z:\gdcm2007\src\gdcmDictEntry.cxx#72
> 
>    0x019008DB(=GDCM.DLL:0x01:07F8DB) 
> Z:\gdcm_bin\src\gdcmDefaultDicts.cxx#2944
> 
>    0x018AA0CC(=GDCM.DLL:0x01:0290CC) Z:\gdcm2007\src\gdcmDict.cxx#56
> 
>    0x018B278C(=GDCM.DLL:0x01:03178C) Z:\gdcm2007\src\gdcmDict.h#55
> 
>    0x018B253B(=GDCM.DLL:0x01:03153B) Z:\gdcm2007\src\gdcmDictSet.cxx#40
> 
>    0x018D8681(=GDCM.DLL:0x01:057681) Z:\gdcm2007\src\gdcmDictSet.h#48
> 
>  
> 
> ------------------------------------------
> 
> Error 00166. 0x300010 (Thread 0x0A60):
> 
> Resource leak: The object (0x24F3F20) was never deleted
> 
>  
> 
> The object (0x024F3F20) [size: 104 bytes] was created with new
> 
> | Z:\gdcm2007\src\gdcmDictEntry.cxx line 72:
> 
> |                           TagName const &name)
> 
> | {
> 
> |>   return new DictEntry(group,elem,vr,vm,name);
> 
> | }
> 
> |
> 
> Call Tree:
> 
>    0x018AE767(=GDCM.DLL:0x01:02D767) Z:\gdcm2007\src\gdcmDictEntry.cxx#72
> 
>    0x019008DB(=GDCM.DLL:0x01:07F8DB) 
> Z:\gdcm_bin\src\gdcmDefaultDicts.cxx#2944
> 
>    0x018AA0CC(=GDCM.DLL:0x01:0290CC) Z:\gdcm2007\src\gdcmDict.cxx#56
> 
>    0x018B278C(=GDCM.DLL:0x01:03178C) Z:\gdcm2007\src\gdcmDict.h#55
> 
>    0x018B253B(=GDCM.DLL:0x01:03153B) Z:\gdcm2007\src\gdcmDictSet.cxx#40
> 
>    0x018D8681(=GDCM.DLL:0x01:057681) Z:\gdcm2007\src\gdcmDictSet.h#48
> 
>  
> 
> ------------------------------------------
> 
> Error 00162. 0x300010 (Thread 0x117C):
> 
> Resource leak: The object (0x24F3F20) was never deleted
> 
>  
> 
> The object (0x024F3F20) [size: 104 bytes] was created with new
> 
> | Z:\gdcm2007\src\gdcmDictEntry.cxx line 72:
> 
> |                           TagName const &name)
> 
> | {
> 
> |>   return new DictEntry(group,elem,vr,vm,name);
> 
> | }
> 
> |
> 
> Call Tree:
> 
>    0x018AE767(=GDCM.DLL:0x01:02D767) Z:\gdcm2007\src\gdcmDictEntry.cxx#72
> 
>    0x019008DB(=GDCM.DLL:0x01:07F8DB) 
> Z:\gdcm_bin\src\gdcmDefaultDicts.cxx#2944
> 
>    0x018AA0CC(=GDCM.DLL:0x01:0290CC) Z:\gdcm2007\src\gdcmDict.cxx#56
> 
>    0x018B278C(=GDCM.DLL:0x01:03178C) Z:\gdcm2007\src\gdcmDict.h#55
> 
>    0x018B253B(=GDCM.DLL:0x01:03153B) Z:\gdcm2007\src\gdcmDictSet.cxx#40
> 
>    0x018D8681(=GDCM.DLL:0x01:057681) Z:\gdcm2007\src\gdcmDictSet.h#48
> 
>  
> 
> ------------------------------------------
> 
> Error 00001. 0x300010 (Thread 0x14FC):
> 
> Resource leak: The object (0x2734048) was never deleted
> 
>  
> 
> The object (0x02734048) [size: 32 bytes] was created with new
> 
> | C:\Programmi\Borland\BDS\4.0\Include\dinkumware\xmemory line 28:
> 
> |           _Ty _FARQ *_Allocate(_SIZT _Count, _Ty _FARQ *)
> 
> |           {           // allocate storage for _Count elements of type _Ty
> 
> |>         return ((_Ty _FARQ *)::operator new(_Count * sizeof (_Ty)));
> 
> |           }
> 
> |
> 
> Call Tree:
> 
>    0x01886943(=GDCM.DLL:0x01:005943) 
> C:\Programmi\Borland\BDS\4.0\Include\dinkumware\xmemory#28
> 
>    0x01886931(=GDCM.DLL:0x01:005931) 
> C:\Programmi\Borland\BDS\4.0\Include\dinkumware\xmemory#143
> 
>    0x0188676F(=GDCM.DLL:0x01:00576F) 
> C:\Programmi\Borland\BDS\4.0\Include\dinkumware\xstring#1609
> 
>    0x018863BA(=GDCM.DLL:0x01:0053BA) 
> C:\Programmi\Borland\BDS\4.0\Include\dinkumware\xstring#1639
> 
>    0x01885D7B(=GDCM.DLL:0x01:004D7B) 
> C:\Programmi\Borland\BDS\4.0\Include\dinkumware\xstring#706
> 
>    0x01884C52(=GDCM.DLL:0x01:003C52) 
> C:\Programmi\Borland\BDS\4.0\Include\dinkumware\xstring#692
> 
>  
> 
> ------------------------------------------
> 
> Error 00002. 0x300010 (Thread 0x14FC):
> 
> Resource leak: The object (0x2733FDC) was never deleted
> 
>  
> 
> The object (0x02733FDC) [size: 104 bytes] was created with new
> 
> | Z:\gdcm2007\src\gdcmDictEntry.cxx line 72:
> 
> |                           TagName const &name)
> 
> | {
> 
> |>   return new DictEntry(group,elem,vr,vm,name);
> 
> | }
> 
> |
> 
> Call Tree:
> 
>    0x018AE767(=GDCM.DLL:0x01:02D767) Z:\gdcm2007\src\gdcmDictEntry.cxx#72
> 
>    0x019008DB(=GDCM.DLL:0x01:07F8DB) 
> Z:\gdcm_bin\src\gdcmDefaultDicts.cxx#2944
> 
>    0x018AA0CC(=GDCM.DLL:0x01:0290CC) Z:\gdcm2007\src\gdcmDict.cxx#56
> 
>    0x018B278C(=GDCM.DLL:0x01:03178C) Z:\gdcm2007\src\gdcmDict.h#55
> 
>    0x018B253B(=GDCM.DLL:0x01:03153B) Z:\gdcm2007\src\gdcmDictSet.cxx#40
> 
>    0x018D8681(=GDCM.DLL:0x01:057681) Z:\gdcm2007\src\gdcmDictSet.h#48
> 
>  
> 
> ------------------------------------------
> 
> Error 00162. 0x300010 (Thread 0x0EFC):
> 
> Resource leak: The object (0x24F3F20) was never deleted
> 
>  
> 
> The object (0x024F3F20) [size: 104 bytes] was created with new
> 
> | Z:\gdcm2007\src\gdcmDictEntry.cxx line 72:
> 
> |                           TagName const &name)
> 
> | {
> 
> |>   return new DictEntry(group,elem,vr,vm,name);
> 
> | }
> 
> |
> 
> Call Tree:
> 
>    0x018AE767(=GDCM.DLL:0x01:02D767) Z:\gdcm2007\src\gdcmDictEntry.cxx#72
> 
>    0x019008DB(=GDCM.DLL:0x01:07F8DB) 
> Z:\gdcm_bin\src\gdcmDefaultDicts.cxx#2944
> 
>    0x018AA0CC(=GDCM.DLL:0x01:0290CC) Z:\gdcm2007\src\gdcmDict.cxx#56
> 
>    0x018B278C(=GDCM.DLL:0x01:03178C) Z:\gdcm2007\src\gdcmDict.h#55
> 
>    0x018B253B(=GDCM.DLL:0x01:03153B) Z:\gdcm2007\src\gdcmDictSet.cxx#40
> 
>    0x018D8681(=GDCM.DLL:0x01:057681) Z:\gdcm2007\src\gdcmDictSet.h#48
> 
>  
> 
> ------------------------------------------
> 




More information about the Dcmlib mailing list