Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29246 Discussions

Quickwin program freezes on Windows 7 x64

Reinaldo_Garcia
Beginner
15,596 Views
When the program ends and displays the message "...Exit window?", if you click No, the window freezes.
The same program works just fine in Vista x64/XP.
I have Windows 7 Ultimate x64 and compiler 11.1.035.

Any suggestion?

R//G


[Edit by Steve Lionel (Intel) - for information on this problem and to obtain a fix, please readIntel Visual Fortran QuickWin applications freezing]
0 Kudos
128 Replies
Robert_M_Intel4
Employee
2,071 Views
Well, you should be able to post it right here, seems to me. I'm hoping that it's not a huge project. As always, small reproducers are the best reproducers. :-)

See if you can upload it from the new post page. There is an "Add Files" button to the right of the word "Description".

Thanks.
0 Kudos
Neels
New Contributor II
2,071 Views
It is part of a software suit that I sell so I would not like to post it here.

I am an engineer that does a bit of programming, not a programmer that does .......

Neels
0 Kudos
Steven_L_Intel1
Employee
2,071 Views
Do a Build > Clean of the solution, ZIP it and send it to me at steve dot lionel at intel dot com - I'll make sure Bob gets it. Make sure you also include instructions on how to run the program and reproduce the error.
0 Kudos
Robert_M_Intel4
Employee
2,071 Views
Neels,

Could you let me know if this application hangs on Windows 7, both before and after the fix that I posted?

Thanks.

Bob
0 Kudos
Neels
New Contributor II
2,071 Views
Bob,
Will do. I have access to a Win7 machine tomorrow.
Neels
0 Kudos
Neels
New Contributor II
2,071 Views
Bob,

For the specific application of mine that you do have, compiling it with 11.1.067 with the old lib:

It runs fine on both WinXP and Win7 - 32bit.

It hangs in both using the new lib.

I am waiting to hear from the user in Finland what happens with the Win7 - 64bit version.

Neels
0 Kudos
Neels
New Contributor II
2,071 Views
Bob,

The new lib does exactly the same and freezes on the Win7 64bit version.

Neels
0 Kudos
Robert_M_Intel4
Employee
2,071 Views
Hi Neels,

Sigh, yes, we are seeing the same thing here. I'm having some trouble building a debuggable runtime to debug the problem, but I'm working on it.

The people I'm working w/ at Microsoft believe this is "bad timing", and that changes in Windows 7 coupled with the way that QuickWin is handling multiple thread input is aggravating that timing. It's interesting that the change that was made has had an impact to the application running on XP also.

I will post progress as it arrives. Thanks for working with us on this.

Bob
0 Kudos
Robert_M_Intel4
Employee
2,071 Views
Neels,

Could you help me out with something in your application? There is a call to waitonmouseevent() in Post2T.f90, line 132. This is where the program basically waits on things to happen from various pulldown menus and dialog boxes. My problem is that I can't find this function and I'd like to step into it.

I'm sure that I'm missing something obvious here, but I don't know what that is.

Can you help me with that?

Thanks.

Bob
0 Kudos
Robert_M_Intel4
Employee
2,071 Views
Neels,

Never-mind. Found it in QuickWin.

Bob
0 Kudos
Robert_M_Intel4
Employee
2,071 Views
I'm back working on this problem and now have your application running successfully on both x86 and x64, on XP and Windows 7. I've been working with Microsoft on this (who have been very helpful) and it involves a timing issue with the MS Window Manager and the QuickWin implementation. It is not an exact science, unfortunately.

I've attached a new version of ifqwin.lib for both x86 and x64. Please restore your original iflogm.lib, as that change has been done away with. They were built for use with Composer XE 2011 Update 1.

I apologize for using you as a test case, but, well, you're so good at it. :-)

Let me know what you see there. If you have other QuickWin applications trying it with them would be appreciated.

Thanks again.

Bob
0 Kudos
Neels
New Contributor II
2,071 Views
Ok, I tested the x86 version on 4 aplications on WinXP x86 with no problems. I have sent a x86 version for testing on the problematic Win7 x64 machine in Finland and will test the Win7 x86 tomorrow.

Neels
0 Kudos
Robert_M_Intel4
Employee
2,071 Views
Frank,

My name is Bob Mance and I've been working on this Windows 7, QuickWin problem, and have posted a solution near the end of this thread. Please pick up the ifqwin.lib that is posted there.

Also, I've tried to duplicate the hang from what you posted earlier with Steve, but the program is failing due to not finding a resource. Could you do me a favor and post the application components after making sure that it builds and works OK on XP?

I have other reproducers that are working, and I have the feeling that maybe I'm missing a piece of yours. At least I hope that is the problem. The place it is failing is the call to dlginit in the in_out subroutine.

Thanks.

Bob
0 Kudos
Robert_M_Intel4
Employee
2,071 Views
Hi Reinaldo,

My name is Bob Mance and I've been working on this problem with Microsoft. I've posted a solution that works for yours, and several other reproducers posted here. You can pick up a new ifqwin.lib file from that post, #94 I believe. The library was built for a 12.0/12.1 release and can be used on XP or Windows 7.

I know that many are running on 11.1, and I will try to post 11.1 versions of the library as well.

Let me know if you try it and what you see. I have your application running here fine.

Thanks.

Bob
0 Kudos
Robert_M_Intel4
Employee
2,071 Views
Hello Rene,

My name is Bob Mance and I've been working on this problem with Microsoft. I've posted a solution that works for yours, and several other reproducers posted here. You can pick up a new ifqwin.lib file from that post, #94 I believe. The library was built for a 12.0/12.1 release and can be used on XP or Windows 7.

I know that many are running on 11.1, and I will try to post 11.1 versions of the library as well.

Let me know if you try it and what you see. I have your application running here fine.

Thanks.

Bob

0 Kudos
Neels
New Contributor II
2,071 Views
Hi Bob,

The x86 version is running fine on Win7 x86 as well.

Neels
0 Kudos
Rene_Blankenburg
Beginner
2,020 Views
Hi Bob, thanks a lot for the libs. I recompiled our application with them using the 12.1 version of the compiler. They are working great here on Win 7 64 bit (for both, 32 bit and 64 bit applications). The lost of input focus is disappeared, no freeze anymore! Thank you very much, again. Rene
0 Kudos
hkausl
Beginner
2,020 Views
Hello Bob,
would it be possilbe to get the ifqwin.lib file also for the compiler version 8.1. I have there the same problem with W7 32 bit.
0 Kudos
Steven_L_Intel1
Employee
2,020 Views
Sorry, no support for 8.1 is available, and 8.1 did not support Windows 7. But you can try the libraries Bob posted - they may work for you anyway.
0 Kudos
hkausl
Beginner
2,020 Views
I tried to replace the ifqwin.lib with the new one. When I build my program, I get a missing routine
__intel_f2int. Have I any chance to get it run? Thanks
0 Kudos
Steven_L_Intel1
Employee
2,020 Views
hkausi, I guess not - it looks as if you need the other libraries from a newer version.
0 Kudos
Reply