- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My code using the ifort compiler works to display a Bitmap:
USE IFQWIN, ONLY: LOADIMAGE
i=LOADIMAGE ('Picture.bmp',1,1)
Once I switch to the ifx compiler I get the following fatal error on execution:
Program Exception 0x00007FF6390D2D82 in xxx.exe: 0xC0000005
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I usually take the default integer, which is KIND=4 in my case.
Unfortunately it did not help to declare i with Kind=8. The same error occurs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I tried this, but no success. The same error occurs.
Meanwhile I found that this happened after I updated to the latest ifx version 2025.0.0. I can still run the code with an older ifx version. This happens on several projects where I use LOADIMAGE.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Well, there is not very much to add to the above snipplet. To make sure, that the error is not provoked by any other parts of my original code, I tested the below program:
!****************************************************************************
program Main
USE IFQWIN, ONLY: LOADIMAGE
implicit none
!
INTEGER i
!
!---- Display Bitmap
i=LOADIMAGE ('ROSETem.BMP', 1, 1)
end program Main
!****************************************************************************
The runtime result is:
If I switch from ifx back to ifort this code runs without problem.
The debugger stops on the line calling LOADIMAGE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Who can take care of this?
This error affects almost all of my programs and seems to be an issue within the compiler.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I looked at you example in IFX 2025.0.0 and it does indeed crash as you say. I also looked at the interface in IFQWIN.f90 and I see no issue with your call. I agree it looks like a bug in IFX, hopefully Ron or Devorah will pick this up.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear andrew_4619
The same problem with LOADIMAGE function in QWIN FORTRAN application, using IFX, happens with function SAVEIMAGE too.
So, please inform the developers of IFX 2025.0.0 to also take care of it.
Thank you
Manolis
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
If you change from x64 to win32 in configuration manager (MSVS), it works well.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Taehunkim
this is definitely no solution. I would not want to sacrifice computation efficiency just to be able to plot a bitmap in the pre-processing. Changing to Win32 brings along a whole bunch of other issues in my codes.
I hope you can update IFX soon.
BR
Kai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Kai8 and @MANOLIS, I have escalated this case to our compiler engineering. Thank you for your report.
(For future reference, reporting issues and bugs via the Online Service Center will expedite the process and, eventually, the fix. )
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The issue is fixed, and the fix will be available in the next 2025.1 ifx release.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page