forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Bugs in 64-bit Slink64 3. 01

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
mecej4



Joined: 31 Oct 2006
Posts: 1885

PostPosted: Mon May 03, 2021 11:56 pm    Post subject: Bugs in 64-bit Slink64 3. 01 Reply with quote

1. A minor bug (I renamed the newly downloaded SLINK64 as XSLINK64 so as to keep the old one).

When asked to link a single object file, implying that the EXE should have the same name as the OBJ but the EXE extension, the linker overwrites the OBJ file with an EXE but gives it an OBJ suffix.

Code:
T:\lang>dir hahn1.obj
 Volume in drive T is AMDDisk
 Volume Serial Number is D6EB-D999

 Directory of T:\lang

05/03/2021  05:45 PM             2,763 hahn1.obj
               1 File(s)          2,763 bytes
               0 Dir(s)     380,436,480 bytes free

T:\lang>xslink64 hahn1.obj
[SLINK64 v3.01, Copyright (c) Silverfrost Ltd. 2015-2021]
Loading T:\lang\hahn1.obj
Creating executable file hahn1.obj

T:\lang>dir hahn1.obj
 Volume in drive T is AMDDisk
 Volume Serial Number is D6EB-D999

 Directory of T:\lang

05/03/2021  05:45 PM             7,168 hahn1.obj
               1 File(s)          7,168 bytes
               0 Dir(s)     380,432,384 bytes free


2. A more serious bug: the new linker produces an EXE that crashes in SDBG64. Here is a test program to reproduce the problem.

Code:
      Module Fdata
      implicit none
      integer, parameter :: NDATA=250
      double precision, dimension(NDATA) :: t, y
      End Module

      Program XLMM1
      use Fdata
      implicit none
      integer i,n,np,its,ier
      N=4
      open(unit=10,file='hahn1.dat',status='old')
      read(10,*)(y(i),t(i),i=1,N) ! note only 4 rows being filled.
      close(10)
      print *,n,' lines read from data file'
      end

Compile with FTN95 /64 /debug and link with the new 64-bit linker. Create a data file, HAHN1.dat, with these 4 lines:
Code:
0.1 1.1
0.2 2.3
0.3 3.4
0.4 5.6


Open the EXE with SDBG64, place a breakpoint on the line containing "PRINT" and run. The debugger stops with
Code:

Error: Access Violation writing address 0x00000000001A1000

If the EXE is built using the old SLINK64, this problem is not seen.
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7916
Location: Salford, UK

PostPosted: Tue May 04, 2021 9:14 am    Post subject: Reply with quote

mecej4

Thank you for the feedback. I have logged these failures.
Back to top
View user's profile Send private message AIM Address
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7916
Location: Salford, UK

PostPosted: Tue May 04, 2021 2:47 pm    Post subject: Reply with quote

mecej4

The first issue should be easy to fix.

I have not been able to reproduce the second issue so at the moment I am assuming that it is simply a matter of making a new SDBG64 available to you.
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group