UCL / pet-rd-tools

Command line tools for PET-MR (pre-)processing
Apache License 2.0
13 stars 4 forks source link

nm_extract listmode file extracting error message #48

Closed Ede1994 closed 3 years ago

Ede1994 commented 3 years ago

I try to extract a listMode file from mMR .dcm with nm_extract and got this error:

I1022 16:10:39.149196 14604 NMExtract.cpp:105] Started: Thu Oct 22 16:10:39 2020
I1022 16:10:39.149358 14604 NMExtract.cpp:106] Running 'nm_extract' version: 2.0.0
I1022 16:10:39.149489 14604 Common.hpp:190] Manufacturer: SIEMENS 
I1022 16:10:39.149497 14604 Common.hpp:198] Model name: Biograph_mMR
I1022 16:10:39.149500 14604 MMR.hpp:135] Image type: ORIGINAL\PRIMARY\PET_LISTMODE 
double free or corruption (top)
Cancelled (memory snapshot written)

I translated the last line by my own, because I use Linux in German.

rijobro commented 3 years ago

From the short error message, I personally haven't got any ideas for what might be wrong.

Do you have access to any other Siemens mMR listmode .dcm files? If so, does it happen when you try and unlist those?

You could try building in debug mode, even running with a debugger, but these are slightly more involved.

KrisThielemans commented 3 years ago

@Ede1994 what version are you using? I get some funny business with the current one, but it does write an error. More info soon

KrisThielemans commented 3 years ago

Seems the same problem as #45

KrisThielemans commented 3 years ago

Closing as indeed same cause as #45.

Will be fixed with #47