|
|
Home » U++ Library support » U++ Library : Other (not classified elsewhere) » Unstable 64bit builds
Unstable 64bit builds [message #36867] |
Sat, 14 July 2012 23:57  |
nixnixnix
Messages: 415 Registered: February 2007 Location: Kelowna, British Columbia
|
Senior Member |
|
|
Hi,
Recent versions of UPP (5110 through 5180 - maybe earlier) are highly unstable in 64bit builds. Popping up a dialogue can repeatably crash applications. This affects both my applications and of course it is not debuggable as x64 debug works fine.
However, I have an example for you. Try compiling the example UWord in MSC10 32 bit and 64 bit and you'll see that the 32 bit version runs fine and the 64 bit version crashes immediately.
I need to revert back to a much earlier version till this is fixed but hopefully it is easy to repeat.
Cheers,
Nick
[Updated on: Sun, 15 July 2012 00:00] Report message to a moderator
|
|
|
|
Re: Unstable 64bit builds [message #36876 is a reply to message #36870] |
Sun, 15 July 2012 22:12   |
nixnixnix
Messages: 415 Registered: February 2007 Location: Kelowna, British Columbia
|
Senior Member |
|
|
I can't build MSC9x64 but I can build MSC9, MSC10 and MSC10x64. This only happens for me with MSC10x64.
The same behaviour is seen with upp5185. I tried debugging the release build with full debug info and get the same crash but also an error which I am emailing to you.
I think it has something to do with TopWindow as it seems to come up for me with about boxes or Prompt dialogs.
Will do a little more research on which other examples crash like this.
Nick
EDIT: also happens with the example Puzzle when you pop up the about dialog and float the mouse over it. Some pointer appears to be getting set to NULL.
Doesn't happen with Optimal builds so that might be my work around for now.
[Updated on: Sun, 15 July 2012 22:35] Report message to a moderator
|
|
|
|
|
Re: Unstable 64bit builds [message #36879 is a reply to message #36878] |
Mon, 16 July 2012 11:53   |
 |
mirek
Messages: 14257 Registered: November 2005
|
Ultimate Member |
|
|
nixnixnix wrote on Mon, 16 July 2012 01:15 |
If you can't reproduce this, perhaps it would be useful for us to have a gotomeeting where you can see the behaviour on my machine. Let me know if you think this could help and we can setup a time by email.
|
That definitely would speed up things, I am all in (I just need to know what exactly this gotomeeting is, but I can imagine it is some sort of desktop sharing, right?).
Mirek
[Updated on: Mon, 16 July 2012 11:53] Report message to a moderator
|
|
|
|
|
|
Re: Unstable 64bit builds [message #36917 is a reply to message #36916] |
Sat, 21 July 2012 08:53   |
 |
mirek
Messages: 14257 Registered: November 2005
|
Ultimate Member |
|
|
nixnixnix wrote on Fri, 20 July 2012 12:43 | Thanks Mirek,
I still get the crash with version 5202 but I saw the bug post for the MSC10x64 compiler. Apparently there is a patch available through MS support.
|
Have you tested it?
Quote: |
When you say that O2 is effectively not available, that means the FORCE_SPEED build right? It doesn't affect the "optimal" build?
|
Well, it just means that - you should not be using /O2 flag with MSC10.
Default configuration of theide assigns /O2 to "speed optimization".
Now optimal mode is using "speed optimization" for some critical files (those marked as "Optimize for speed" either at file or package level), compiling rest with "size optimization". Speed mode compiles all in "speed optimization".
That basically means that you should not use "Optimal" eiter - or you should edit Build method and change "/O2" to "/O1" in "Optimize for speed".
(General note: You are not meant to be using "Speed" for releases; the idea is that usually only 5% of code has any impact on the speed, so you should explicitly mark this code with flag and use Optimal mode. Speed is there only to test that you have marked the right files. In fact, it is in theory even possible that optimal mode can be slightly faster, because of less code to go into the cache...)
Quote: |
Does anyone know how to get hold of the MSC9x64 compiler? I have installed both VC++ 2008 and VC++2010 but I can't find this
|
AFAIK it is one coming with 2008 or Windows Vista SDK. MSC (command line compiler) has its own version, it is only accidental that for 2010 it was 10...
Mirek
|
|
|
|
|
Re: Unstable 64bit builds [message #36946 is a reply to message #36945] |
Wed, 25 July 2012 20:04   |
nixnixnix
Messages: 415 Registered: February 2007 Location: Kelowna, British Columbia
|
Senior Member |
|
|
I am not familiar with changing these settings. I am assuming that /O2 is the -O2 in Setup->Build Methods
The per package settings are in Project->Package Organizer as a checkbox at the bottom right? If I don't have any of those checkboxes checked then that would mean the "Optimal" would use -O1 correct?
Is -O1 the same as optimise for size?
Cheers,
Nick
[Updated on: Wed, 25 July 2012 20:06] Report message to a moderator
|
|
|
|
|
Goto Forum:
Current Time: Sun May 11 11:43:01 CEST 2025
Total time taken to generate the page: 0.03422 seconds
|
|
|