Page MenuHomePhabricator

FlowBench mitkscene structure has changed.
Open, NormalPublic

Description

In previous versions I used (e.g. MITK v2022.04) :

<?xml version='1.0' encoding='utf-8'?>
<node UID="Node_1"><data type="Image" file="get-input-data/1.3.12.2.1107.5.1.4.73104.30000020081307523376400012736.dcm" /><properties file="image_props" /></node>

If I try to open a scene file with such content in MITK v2022.10 , MITK closes/crashes directly:

===============================
Run an awesome MITK Application
===============================
/data/batch/1.3.12.2.1107.5.1.4.73104.30000020081307523376400012735/
/data/batch/1.3.12.2.1107.5.1.4.73104.30000020081307523376400012735/application-mitk-flow
[sudo] password for mitk: /data/batch/1.3.12.2.1107.5.1.4.73104.30000020081307523376400012735/application-mitk-flow exist
/home/mitk/Desktop/startMITK.sh: 22: [[: not found
/home/mitk/Desktop/startMITK.sh: 22: [[: not found
/home/mitk/Desktop/startMITK.sh: 22: [[: not found
/home/mitk/Desktop/startMITK.sh: 22: [[: not found
/home/mitk/Desktop/startMITK.sh: 22: [[: not found
/home/mitk/Desktop/startMITK.sh: 22: [[: not found
/home/mitk/Desktop/startMITK.sh: 22: [[: not found
/home/mitk/Desktop/startMITK.sh: 22: [[: not found
/home/mitk/Desktop/startMITK.sh: 22: [[: not found
/home/mitk/Desktop/startMITK.sh: 22: [[: not found
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-mitk'
Using database: "/home/mitk/.local/share/DKFZ/MITK FlowBench_4056653626/plugins.db"
Using database: "/home/mitk/.local/share/DKFZ/MITK FlowBench_4056653626/plugins.db"
Using database: "/home/mitk/.local/share/DKFZ/MITK FlowBench_4056653626/plugins.db"
Tue Dec 6 13:49:23 2022 Debug: org.commontk.eventadmin.LogLevel=2
in startOrUpdate, /home/ubuntu/jenkins-agent/MITK/Kaapana/FlowBench/build/ep/src/CTK/Plugins/org.commontk.eventadmin/ctkEAConfiguration.cpp:215
Tue Dec 6 13:49:23 2022 Debug: org.commontk.eventadmin.CacheSize=30
in startOrUpdate, /home/ubuntu/jenkins-agent/MITK/Kaapana/FlowBench/build/ep/src/CTK/Plugins/org.commontk.eventadmin/ctkEAConfiguration.cpp:217
Tue Dec 6 13:49:23 2022 Debug: org.commontk.eventadmin.ThreadPoolSize=20
in startOrUpdate, /home/ubuntu/jenkins-agent/MITK/Kaapana/FlowBench/build/ep/src/CTK/Plugins/org.commontk.eventadmin/ctkEAConfiguration.cpp:219
Tue Dec 6 13:49:23 2022 Debug: org.commontk.eventadmin.Timeout=5000
in startOrUpdate, /home/ubuntu/jenkins-agent/MITK/Kaapana/FlowBench/build/ep/src/CTK/Plugins/org.commontk.eventadmin/ctkEAConfiguration.cpp:221
Tue Dec 6 13:49:23 2022 Debug: org.commontk.eventadmin.RequireTopic=true
in startOrUpdate, /home/ubuntu/jenkins-agent/MITK/Kaapana/FlowBench/build/ep/src/CTK/Plugins/org.commontk.eventadmin/ctkEAConfiguration.cpp:223
Tue Dec 6 13:49:23 2022 Debug: org.commontk.eventadmin.LogLevel=2
in startOrUpdate, /home/ubuntu/jenkins-agent/MITK/Kaapana/FlowBench/build/ep/src/CTK/Plugins/org.commontk.eventadmin/ctkEAConfiguration.cpp:215
Tue Dec 6 13:49:23 2022 Debug: org.commontk.eventadmin.CacheSize=30
in startOrUpdate, /home/ubuntu/jenkins-agent/MITK/Kaapana/FlowBench/build/ep/src/CTK/Plugins/org.commontk.eventadmin/ctkEAConfiguration.cpp:217
Tue Dec 6 13:49:23 2022 Debug: org.commontk.eventadmin.ThreadPoolSize=20
in startOrUpdate, /home/ubuntu/jenkins-agent/MITK/Kaapana/FlowBench/build/ep/src/CTK/Plugins/org.commontk.eventadmin/ctkEAConfiguration.cpp:219
Tue Dec 6 13:49:23 2022 Debug: org.commontk.eventadmin.Timeout=5000
in startOrUpdate, /home/ubuntu/jenkins-agent/MITK/Kaapana/FlowBench/build/ep/src/CTK/Plugins/org.commontk.eventadmin/ctkEAConfiguration.cpp:221
Tue Dec 6 13:49:23 2022 Debug: org.commontk.eventadmin.RequireTopic=true
in startOrUpdate, /home/ubuntu/jenkins-agent/MITK/Kaapana/FlowBench/build/ep/src/CTK/Plugins/org.commontk.eventadmin/ctkEAConfiguration.cpp:223
[Tue Dec  6 13:49:23 2022 
0.435] Logfile: /home/mitk/.local/share/DKFZ/MITK FlowBench_4056653626/data/9/mitk-0.log
---------------------------------------------------------------
System:              mitk-flow-f20aab40-2-798fffc9d8-wlbzw
Processor:           Unknown P6 family
    Cache:           16384
    Clock:           1995.312
    Physical CPUs:   16
    Logical CPUs:    16
    Virtual Memory:  Total: 0               Available: 0
    Physical Memory: Total: 32090           Available: 24597
OSName:              Linux
    Release:         5.4.0-122-generic
    Version:         #138-Ubuntu SMP Wed Jun 22 15:00:31 UTC 2022
    Platform:        x86_64
    Operating System is 64 bit
ITK Version: 5.2.1
Name Of Probe (Time)          Iterations     Total (s)      Min (s)        Mean (s)       Max (s)        StdDev (s)     
Check input for DCM           1              0.00139689     0.00139689     0.00139689     0.00139689     0              
Condensing 3D blocks          1              3.09944e-06    3.09944e-06    3.09944e-06    3.09944e-06    0              
EquiDistantBlocksSorter       1              0.000221014    0.000221014    0.000221014    0.000221014    0              
Output                        1              0.000172138    0.000172138    0.000172138    0.000172138    0              
Reset                         1              9.53674e-07    9.53674e-07    9.53674e-07    9.53674e-07    0              
Sorting frames                1              0.00231695     0.00231695     0.00231695     0.00231695     0              
Sorting step 0                1              0.00120187     0.00120187     0.00120187     0.00120187     0              
Sorting step 1                1              0.000856161    0.000856161    0.000856161    0.000856161    0              
---------------------------------------------------------------
[0.676] Reader 0 (Instance Number, consecutive) suggests 1 3D blocks
---------------------------------------------------------------
System:              mitk-flow-f20aab40-2-798fffc9d8-wlbzw
Processor:           Unknown P6 family
    Cache:           16384
    Clock:           1995.312
    Physical CPUs:   16
    Logical CPUs:    16
    Virtual Memory:  Total: 0               Available: 0
    Physical Memory: Total: 32090           Available: 24595
OSName:              Linux
    Release:         5.4.0-122-generic
    Version:         #138-Ubuntu SMP Wed Jun 22 15:00:31 UTC 2022
    Platform:        x86_64
    Operating System is 64 bit
ITK Version: 5.2.1
Name Of Probe (Time)          Iterations     Total (s)      Min (s)        Mean (s)       Max (s)        StdDev (s)     
Check input for DCM           1              0.00139308     0.00139308     0.00139308     0.00139308     0              
Condensing 3D blocks          1              5.00679e-06    5.00679e-06    5.00679e-06    5.00679e-06    0              
EquiDistantBlocksSorter       1              0.000205994    0.000205994    0.000205994    0.000205994    0              
Output                        1              0.000135183    0.000135183    0.000135183    0.000135183    0              
Reset                         1              1.50204e-05    1.50204e-05    1.50204e-05    1.50204e-05    0              
Sorting frames                1              0.00409698     0.00409698     0.00409698     0.00409698     0              
Sorting step 0                1              0.00220394     0.00220394     0.00220394     0.00220394     0              
Sorting step 1                1              0.00163794     0.00163794     0.00163794     0.00163794     0              
---------------------------------------------------------------
Aborted (core dumped)

I can fix this problem, by directly adding the properties to the data:

<?xml version='1.0' encoding='utf-8'?>
<node UID="Node_1">
<data type="Image" file="get-input-data/1.3.12.2.1107.5.1.4.73104.30000020081307523376400012736.dcm" >
<properties file="image_props" />
</data>
</node>

The question is now: Did I have a bug in my previous versions, which is now showing or did something in general change in the scene files?
Are older "real" not generated MITK scene files also affected?

Event Timeline

gaoh triaged this task as Normal priority.Dec 6 2022, 2:58 PM
gaoh created this task.

Not sure if I fully understand what is going on here but the difference is that in your first example you have DataNode properties and in your second example you have BaseData properties, right? Let's talk about it in our group 5 meeting today. :)