Rainer Thaden | 29 Apr 14:41

Re: qwtPlot crashes if data of spectromplot is constant

Matthias Pospiech wrote:

>> When the program crashes and you ran it in debug mode, you can look at 
>> the call-stack (Aufrufliste) afterwards and walk back through the 
>> function calls and very likely see the source of trouble. Tell VC, you 
>> want to debug after the crash.
>>   
> That list only prints out QtCored4.dll, which does not help.

Is there only one entry in the list? I can not believe that.

Are you familiar with debugging and the call-stack?
If not, google for vc 2005 aufrufliste
You'll find an msdn page with instructions.

In debug mode, you get a long list of function calls like this:

QtCored4.dll!QListData::detach2()  Zeile 75 + 0x1f Bytes	C++
HD2Control.exe!QList<double>::detach_helper()  Zeile 498 + 0x9 Bytes	C++
HD2Control.exe!QList<double>::detach()  Zeile 97 + 0x22 Bytes	C++
HD2Control.exe!QList<double>::operator[](int i=0x00000064)  Zeile 378 
+ 0x8 Bytes	C++
HD2Control.exe!PlotWidget::PlotWidget(QWidget * parent=0x00000000) 
Zeile 85 + 0xa Bytes	C++
  	
...

Rainer

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone

Gmane