GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » FinishTask() funktion for uninitialized Tasks -> Bug or feature?
FinishTask() funktion for uninitialized Tasks -> Bug or feature? [message #20145] Wed, 18 January 2017 15:29 Go to previous message
Dominik Steinschaden is currently offline  Dominik Steinschaden
Messages: 28
Registered: April 2015
continuous participant
From: *smi.oeaw.ac.at
Hello,

Currently I'm programming a few new Classes/ Tasks for PandaRoot, and realized the following behavior.

In my "Init()" function I implemented some checks and if they fail a "kERROR" is returned. (mainly if the needed input Branches are not found)
As expected for this "uninitialized" Tasks the "Task::Exec()" is not processes subsequently.
BUT the Task::FinishTask() function is still called, which leads to a segmentation violation in my case, although this is exactly what I want to avoid by doing this checks during the initialization.

Is this working as expected?

regards Dominik
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: PandaRoot Feb17
Next Topic: Preparations Release 02/17
Goto Forum:
  


Current Time: Mon Oct 25 21:48:42 CEST 2021

Total time taken to generate the page: 0.02146 seconds