[Dcmlib] BuildUpDicomDir

Mathieu Malaterre mathieu.malaterre at kitware.com
Mon May 3 01:37:40 CEST 2004


J'ai aussi des petits soucis avec BuildUpDicomDir, il ne seg fault que de temps en temps chez moi:

$ gdb bin/gdcmTests                                                                                                    ~/Creatis/gdcmbin
GNU gdb 6.1-debian
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-linux"...Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) r
Starting program: /home/malaterre/Creatis/gdcmbin/bin/gdcmTests
Available tests:
  0. PrintBug
  1. dcm2acr
  2. hashtest
  3. testWrite
  4. PrintHeader
  5. PrintDicomDir
  6. pourFindTaggs
  7. testChangeEntete
  8. testDicomDir
  9. BuildUpDicomDir
 10. TestReadWrite
 11. makeDicomDir
To run a test, enter the test number: 9

Program received signal SIGSEGV, Segmentation fault.
0x40044019 in gdcmDicomDir::AddDicomDirMetaToEnd (this=0x80b3b08, begin={<std::_List_iterator_base> = {_M_node = 0x80bac80}, <No data fields>}, end=
        {<std::_List_iterator_base> = {_M_node = 0x80bafc0}, <No data fields>}) at /home/malaterre/Creatis/gdcm/src/gdcmDicomDir.cxx:659
659           delete metaElems;
(gdb) bt
#0  0x40044019 in gdcmDicomDir::AddDicomDirMetaToEnd (this=0x80b3b08, begin={<std::_List_iterator_base> = {_M_node = 0x80bac80}, <No data fields>}, end=
        {<std::_List_iterator_base> = {_M_node = 0x80bafc0}, <No data fields>}) at /home/malaterre/Creatis/gdcm/src/gdcmDicomDir.cxx:659
#1  0x40041b75 in gdcmDicomDir (this=0x80b3b08, exception_on_error=false) at /home/malaterre/Creatis/gdcm/src/gdcmDicomDir.cxx:121
#2  0x0805345b in BuildUpDicomDir (argc=0, argv=0xbfffdd18) at /home/malaterre/Creatis/gdcm/Test/BuildUpDicomDir.cxx:46
#3  0x0804d0cc in main (ac=1, av=0xbfffdd14) at /home/malaterre/Creatis/gdcmbin/Test/gdcmTests.cxx:147


Pas vous ?

Mathieu





More information about the Dcmlib mailing list