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)
icon13.gif  Conditional jump or move depends on uninitialised value(s) [message #19831] Mon, 26 January 2009 02:44 Go to next message
Novo is currently offline  Novo
Messages: 1358
Registered: December 2006
Ultimate Contributor
Linux x86_64 Ubuntu 7.10
Application: HomeBudget

Conditional jump or move depends on uninitialised value(s)

/home/ssg/dvlp/cpp/upp/svn/uppsrc/GridCtrl/GridCtrl.cpp:1310

Jump to the invalid address stated on the next line

/home/ssg/dvlp/cpp/upp/svn/uppsrc/GridCtrl/GridCtrl.cpp:1415


Regards,
Novo

[Updated on: Mon, 26 January 2009 02:56]

Report message to a moderator

Re: Conditional jump or move depends on uninitialised value(s) [message #19835 is a reply to message #19831] Mon, 26 January 2009 10:04 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Novo wrote on Sun, 25 January 2009 20:44

Linux x86_64 Ubuntu 7.10
Application: HomeBudget

Conditional jump or move depends on uninitialised value(s)

/home/ssg/dvlp/cpp/upp/svn/uppsrc/GridCtrl/GridCtrl.cpp:1310

Jump to the invalid address stated on the next line

/home/ssg/dvlp/cpp/upp/svn/uppsrc/GridCtrl/GridCtrl.cpp:1415



I hope these are now fixed.
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 next message
Novo is currently offline  Novo
Messages: 1358
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
Re: Conditional jump or move depends on uninitialised value(s) [message #19858 is a reply to message #19851] Tue, 27 January 2009 14:05 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Well, I am afraid this one is for Daniel to fix...

Mirek
Re: Conditional jump or move depends on uninitialised value(s) [message #19860 is a reply to message #19858] Tue, 27 January 2009 15:02 Go to previous messageGo to next message
unodgs is currently offline  unodgs
Messages: 1366
Registered: November 2005
Location: Poland
Ultimate Contributor

luzr wrote on Tue, 27 January 2009 08:05

Well, I am afraid this one is for Daniel to fix...

Mirek

I'll take a look.
Re: Conditional jump or move depends on uninitialised value(s) [message #19886 is a reply to message #19860] Fri, 30 January 2009 05:56 Go to previous messageGo to next message
Novo is currently offline  Novo
Messages: 1358
Registered: December 2006
Ultimate Contributor
unodgs wrote on Tue, 27 January 2009 09:02

luzr wrote on Tue, 27 January 2009 08:05

Well, I am afraid this one is for Daniel to fix...

Mirek

I'll take a look.


Thanks. This "Jump to the invalid address stated on the next line" actually crashes my application. It would be nice to get it fixed.


Regards,
Novo
Re: Conditional jump or move depends on uninitialised value(s) [message #19906 is a reply to message #19886] Sat, 31 January 2009 18:45 Go to previous message
Novo is currently offline  Novo
Messages: 1358
Registered: December 2006
Ultimate Contributor
Novo wrote on Thu, 29 January 2009 23:56

This "Jump to the invalid address stated on the next line" actually crashes my application. It would be nice to get it fixed.


Sorry, that was completely my fault.I used Vector, which invalidated references. Embarassed

Everything seems to be perfect now.


Regards,
Novo
Previous Topic: HomeBudget AlwaysDrop
Next Topic: Problem with GridCtrl: dragging rows
Goto Forum:
  


Current Time: Mon Apr 29 03:58:43 CEST 2024

Total time taken to generate the page: 0.02833 seconds