Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » Conditional jump or move depends on uninitialised value(s)
Re: Conditional jump or move depends on uninitialised value(s) [message #19851 is a reply to message #19835] Tue, 27 January 2009 06:29 Go to previous messageGo to previous message
Novo is currently offline  Novo
Messages: 1430
Registered: December 2006
Ultimate Contributor
luzr wrote on Mon, 26 January 2009 04:04


I hope these are now fixed.


Not all yet.

GridCtrl.cpp:1417

Jump to the invalid address stated on the next line
  Upp::GridCtrl::Paint(Upp::Draw&) 0x59D59E /home/ssg/dvlp/cpp/upp/svn/out/GCC.Debug.Debug_full.Gui.Shared/sf_l10n
      0x0  
     /home/ssg/dvlp/cpp/upp/svn/uppsrc/GridCtrl/GridCtrl.cpp:1417


val = hi.IsConvertion() && vi.IsConvertion() ? GetConvertedColumn(id, it.val) : it.val;


Actually, the problem seems to happen in

Value GridCtrl::GetConvertedColumn(int col, const Value &v) const
{
	Convert *conv = edits[col].convert; // Seems to return invalid address ...
	return conv ? conv->Format(v) : v;
}


Probably, it is my fault, but nothing wrong is happening on 32-bit Windows ...

After googling on "Jump to the invalid address stated on the next line" I got impression that it means corrupted stack.


Regards,
Novo
 
Read Message icon13.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: HomeBudget AlwaysDrop
Next Topic: Problem with GridCtrl: dragging rows
Goto Forum:
  


Current Time: Mon Jul 07 12:46:19 CEST 2025

Total time taken to generate the page: 0.04089 seconds