Segfault ortho/viewer
Mantis Issue 177, reported by echristophe, assigned to msavinaud, created: 2010-07-09
- Open image
- set up ortho
- save ortho
- before the save process is done, display the ortho in with the visualization module => segfault (lock needed on the pipeline)
1299753635 - mickaelHi all,
The problem is more general because if you chose an other module than ortho (now it is retroproject module), you get this crash. After some research in the code, the problem is linked to :
-
the IsModuleLocked() function in otbMonteverdiModel class. This function is based on the graph which describes the links (pipeline based) between the different modules. When we used this function we detect only that the ReaderModule is locked and not the other module which are connected to.
-
some modules are not properly add the busyOn, busyOff and NeedsLockingPipeline functions.
Julien could you please help me to understand the IsModuleLooked function to improve it.
Mickaël
1300465675 - mickaelresolved with changeset: 34a5bf1c5f57