Giacomo S. | 14 May 12:29

problems with qwt-5.0.2 and label scale draw

Good morning.

I noticed that my program, that uses qwt-5.0.2 core dumps in the 
QwtScaleDraw::alignment () method of the library.

Is there any issue related to it, as far as you know, possibly solved 
in qwt 5.1?

Thank you very much for your attention.

Follows the backtrace of the program, from the core dump.

Core was generated by `./blmprofile'.
Program terminated with signal 11, Segmentation fault.
#0  0xb7166d0a in QwtScaleDraw::alignment ()
from /usr/local/qwt/lib/libqwt.so.5
(gdb) bt
#0  0xb7166d0a in QwtScaleDraw::alignment ()
from /usr/local/qwt/lib/libqwt.so.5
#1  0xb717fe17 in QwtPlot::setAxisScaleDraw ()
from /usr/local/qwt/lib/libqwt.so.5
#2  0x0805d6be in ProfilePlot::createCurves (this=0x80db2f0, elements=5,
labels=@0xbf88471c) at src/profileplot.cpp:257
#3  0x080664b4 in GeneralProfile::configure (this=0xbf886040,
area=@0xbf8847d0) at src/generalprofile.cpp:410
#4  0x08067304 in GeneralProfile::on_comboArea_activated
(this=0xbf886040, text=@0xbf884d5c) at src/generalprofile.cpp:455
#5  0x0807347f in GeneralProfile::qt_metacall (this=0xbf886040,
_c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbf884d2c) at
moc/moc_generalprofile.cpp:65
(Continue reading)

Uwe Rathmann | 15 May 06:39

Re: problems with qwt-5.0.2 and label scale draw

On Wednesday 14 May 2008 12:32, Giacomo S. wrote:

> Is there any issue related to it, as far as you know, possibly solved
> in qwt 5.1?

No.

> #0  0xb7166d0a in QwtScaleDraw::alignment ()
> from /usr/local/qwt/lib/libqwt.so.5
> #1  0xb717fe17 in QwtPlot::setAxisScaleDraw ()
> from /usr/local/qwt/lib/libqwt.so.5

There is no call of QwtScaleDraw::alignment in QwtPlot::setAxisScaleDraw.

Uwe

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

Gmane