Ticket #665 (closed: fixed)

Opened 11 years ago

Last modified 5 years ago

Crash when Using "Copy selection" in MantidPlot

Reported by: Nick Draper Owned by: Roman Tolchenov
Priority: major Milestone: Iteration 18
Component: Keywords:
Cc: Blocked By:
Blocking: Tester:

Description (last modified by Nick Draper) (diff)

Can't copy a figure by doing a "Copy selection" in the menu "Edit". This is useful to paste figures into document. The error is as follow:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fbdccde97a0 (LWP 22884)]
0x00000000006a74cf in ScaleDraw::label ()
Current language:  auto; currently asm
(gdb) backtrace
#0  0x00000000006a74cf in ScaleDraw::label ()
#1  0x00007fbdcb36d458 in QwtAbstractScaleDraw::tickLabel ()
   from /usr/lib/libqwt-qt4.so.5
#2  0x00007fbdcb380ba5 in QwtScaleDraw::labelRect ()
   from /usr/lib/libqwt-qt4.so.5
#3  0x00007fbdcb381d1e in QwtScaleDraw::getBorderDistHint ()
   from /usr/lib/libqwt-qt4.so.5
#4  0x00007fbdcb3b3146 in QwtScaleWidget::getBorderDistHint ()
   from /usr/lib/libqwt-qt4.so.5
#5  0x00007fbdcb3b369c in QwtScaleWidget::layoutScale ()
   from /usr/lib/libqwt-qt4.so.5
#6  0x00007fbdcb3b3a42 in QwtScaleWidget::setScaleDiv ()
   from /usr/lib/libqwt-qt4.so.5
#7  0x00007fbdcb398f6f in QwtPlot::updateAxes () from /usr/lib/libqwt-qt4.so.5
#8  0x00007fbdcb395215 in QwtPlot::replot () from /usr/lib/libqwt-qt4.so.5
#9  0x00007fbdcb3af531 in QwtPlotZoomer::init () from /usr/lib/libqwt-qt4.so.5
#10 0x00007fbdcb3af5a7 in QwtPlotZoomer::QwtPlotZoomer ()
   from /usr/lib/libqwt-qt4.so.5
#11 0x0000000000507e1d in Graph::Graph ()
#12 0x000000000046108c in ApplicationWindow::copyActiveLayer ()
#13 0x0000000000463dad in ApplicationWindow::copySelection ()
#14 0x0000000000807af5 in ApplicationWindow::qt_metacall ()
#15 0x00007fbdc3f961f2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4

Change History

comment:1 Changed 11 years ago by Nick Draper

  • Description modified (diff)

comment:2 Changed 11 years ago by Roman Tolchenov

(In [2597]) Shouldn't crash any more. re #665

comment:3 Changed 11 years ago by Roman Tolchenov

  • Status changed from new to closed
  • Resolution set to fixed

comment:4 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 1513

Note: See TracTickets for help on using tickets.