Viewer segfault when displaying 2 bands image as RGB composition
Mantis Issue 12, reported by echristophe, assigned to echristophe, created: 2008-10-21
Example with the viewer manager: Load a 2 bands image, click on viewer setup, change to RGB, set 1 for Red, 2 for Green and 2 for Blue, validate (the scroll is fine), click on show -> segfault.
Apparently, this happend when displaying the histogram:
#6 (closed) 0x00000000004e01f6 in otb::ImageViewerBase<double, double>::Show (this=0x1531070) at /home/christop/OTB/trunk/OTB/Code/Visu/otbImageViewerBase.txx:439 439 m_GreenHistogramWidget->show(); (gdb) list 434 { 435 m_RedHistogramWidget->show(); 436 437 if(this->GetViewModel()== ScrollWidgetType::RGB) 438 { 439 m_GreenHistogramWidget->show(); 440 m_BlueHistogramWidget->show(); 441 } 442 }
1228194402 - christopDoes not seems to fail anymore after changeset 73165a654580 http://hg.orfeo-toolbox.org/OTB/rev/73165a654580