Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » Conditional jump or move depends on uninitialised value(s)
Conditional jump or move depends on uninitialised value(s) [message #19831] |
Mon, 26 January 2009 02:44 |
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 #19851 is a reply to message #19835] |
Tue, 27 January 2009 06:29 |
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 #19886 is a reply to message #19860] |
Fri, 30 January 2009 05:56 |
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 |
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.
Everything seems to be perfect now.
Regards,
Novo
|
|
|
Goto Forum:
Current Time: Mon Apr 29 03:58:43 CEST 2024
Total time taken to generate the page: 0.02833 seconds
|