snoplus / snogoggles

SNO+ Viewer
5 stars 8 forks source link

Histogram drawing segfault #29

Closed pgjones closed 12 years ago

pgjones commented 12 years ago

Segfault when histogram projection is tried. Thanks @sjmpeeters .

\ CAL **

(gdb) backtrace

0 0x00000001000060e8 in Viewer::ProjectionImage::DrawSquare (

this=0x10cb2cd70, position=@0x7fff5fbfdbb8, size=@0x7fff5fbfdbb0,
colour=@0x7fff5fbfdcd0) at ProjectionImage.cc:39

1 0x0000000100006422 in Viewer::ProjectionImage::DrawSquare (

this=0x10cb2cd70, position=@0x7fff5fbfdc80, size=@0x7fff5fbfdc70,
colour=@0x7fff5fbfdcd0) at ProjectionImage.cc:64

2 0x0000000100043cfb in Viewer::Frames::HistogramBase::DrawHistogram (

this=0x10cb2c7c0, renderState=@0x7fff5fbfe458) at HistogramBase.cc:101

3 0x0000000100043daf in Viewer::Frames::HistogramBase::Render2d (

this=0x10cb2c7c0, windowApp=@0x7fff5fbfe4b8, renderState=@0x7fff5fbfe458)
at HistogramBase.cc:54

4 0x000000010004029a in Viewer::Frames::Histogram::Render2d (

this=0x10cb2c7c0, renderApp=@0x7fff5fbfe4b8, renderState=@0x7fff5fbfe458)
at Histogram.cc:52

5 0x0000000100025421 in Viewer::FrameContainer::Render2d (this=0x10cb1dc40,

renderApp=@0x7fff5fbfe4b8, renderState=@0x7fff5fbfe458)
at FrameContainer.cc:80

6 0x00000001000336fd in Viewer::FrameManager::Render2d (this=0x10807d8d0,

renderApp=@0x7fff5fbfe4b8, renderState=@0x7fff5fbfe458)
at FrameManager.cc:153

7 0x000000010001a284 in Viewer::Desktop::Render2d (this=0x10807be30,

renderApp=@0x7fff5fbfe4b8) at Desktop.cc:69

8 0x000000010001ab8d in Viewer::DesktopManager::Render2d (this=0x106de18d0,

renderApp=@0x7fff5fbfe4b8) at DesktopManager.cc:81

9 0x000000010002108b in Viewer::ViewerWindow::RenderLoop (this=0x1003c7120)

at ViewerWindow.cc:180

10 0x000000010002190c in Viewer::ViewerWindow::Run (this=0x1003c7120)

at ViewerWindow.cc:113

11 0x00000001000cdb16 in main (argc=2, argv=0x7fff5fbfe830)

at SNOGoggles.cc:74

\ UNCAL **

0 0x00000001000060e8 in Viewer::ProjectionImage::DrawSquare (

this=0x10cb32bf0, position=@0x7fff5fbfdbb8, size=@0x7fff5fbfdbb0,
colour=@0x7fff5fbfdcd0) at ProjectionImage.cc:39

1 0x0000000100006422 in Viewer::ProjectionImage::DrawSquare (

this=0x10cb32bf0, position=@0x7fff5fbfdc80, size=@0x7fff5fbfdc70,
colour=@0x7fff5fbfdcd0) at ProjectionImage.cc:64

2 0x0000000100043cfb in Viewer::Frames::HistogramBase::DrawHistogram (

this=0x10cb32c90, renderState=@0x7fff5fbfe458) at HistogramBase.cc:101

3 0x0000000100043daf in Viewer::Frames::HistogramBase::Render2d (

this=0x10cb32c90, windowApp=@0x7fff5fbfe4b8, renderState=@0x7fff5fbfe458)
at HistogramBase.cc:54

4 0x000000010004029a in Viewer::Frames::Histogram::Render2d (

this=0x10cb32c90, renderApp=@0x7fff5fbfe4b8, renderState=@0x7fff5fbfe458)
at Histogram.cc:52

5 0x0000000100025421 in Viewer::FrameContainer::Render2d (this=0x10cb27930,

renderApp=@0x7fff5fbfe4b8, renderState=@0x7fff5fbfe458)
at FrameContainer.cc:80

6 0x00000001000336fd in Viewer::FrameManager::Render2d (this=0x107981b30,

renderApp=@0x7fff5fbfe4b8, renderState=@0x7fff5fbfe458)
at FrameManager.cc:153

7 0x000000010001a284 in Viewer::Desktop::Render2d (this=0x107980090,

renderApp=@0x7fff5fbfe4b8) at Desktop.cc:69

8 0x000000010001ab8d in Viewer::DesktopManager::Render2d (this=0x106dd9310,

renderApp=@0x7fff5fbfe4b8) at DesktopManager.cc:81

9 0x000000010002108b in Viewer::ViewerWindow::RenderLoop (this=0x1003c7120)

at ViewerWindow.cc:180

10 0x000000010002190c in Viewer::ViewerWindow::Run (this=0x1003c7120)

at ViewerWindow.cc:113

11 0x00000001000cdb16 in main (argc=2, argv=0x7fff5fbfe830)

at SNOGoggles.cc:74