Silverfrost Forums

Welcome to our forums

Slink crash

11 May 2011 7:23 #8204

I usually compile and link using batch files from a DOS prompt window. This works fine. However after recently upgrading to version 6.0.0 I tried running slink for the first time without a batch file, just by entering slink.

I get this crash of slink.

Runtime error from program:c:\program files (x86)\silverfrost\ftn95\slink.exe Access Violation The instruction at address 1001b38d attempted to read from location 006c006d

1001b1d8 fgetc [+01b5] 1001bafc fgets [+0278] 00402398 readCommand(<ptr>char) [+0057] 0040a146 acceptCommands(void) [+003c] 0040cb94 main [+009d]

eax=000d9db0 ebx=000033ab ecx=00000000 edx=00000000 esi=004f2394 edi=006c0069 ebp=0690e798 esp=0690e6dc IOPL=1 ds=002b es=002b fs=0053 gs=002b cs=0023 ss=002b flgs=00010206 [NC EP NZ SN DN NV]

1001b38d movb cl,[edi+0x4] 1001b390 movb [ebp-0x16],cl 1001b393 mov esi,[edi]

any ideas?

12 May 2011 6:27 #8206

This is vey strange. Are you sure that it's the same version of slink that is being used in a batch file and on the command line?

What operating system are you using?

Have you tried re-installing slink?

12 May 2011 8:46 #8221

Paul,

I can run slink on the command line with a file containing the commands as follows:-

K:\roshaz>slink roshaz.lnk $ notrace [SLINK/Win32 v1.44 Copyright (c) Silverfrost Ltd. 1995-2010] $ load zmesh_newest $ load zmesh_main $ load zmesh_io1 $ load zmesh_io2 $ load zmesh_io3 $ load zmesh_util $ load zmesh_plot $ load zmesh_mach $ load zmesh_win1 $ load zmesh_win2 $ load zmesh_win3 $ load zmesh_win4 $ load zmesh_win5 $ load zmesh_lib_newest1 $ load zmesh_lib_newest2 $ load zmesh_lib_newest3 $ load zmesh_view $ load roshaz $ subsystem windows $ file Roshaz Creating executable: Roshaz.exe

K:\roshaz>slink [SLINK/Win32 v1.44 Copyright (c) Silverfrost Ltd. 1995-2010] * Crash !

So it runs fine with the file given, but crashes without the file at the point where you need to load the object files, and is definitely running the same slink.

The OP is XP Professional x64 Edition Version 2003 Service Pack 2 (there is I believe no SP3 for the x64 version of XP)

It's not really a massive problem. I can compile and link single source code file programs with ftn95 myprog.for /link without any problem. I just need the link files where there is more than one object file. I was just surprised when I tried to this manually.

cheers, John

24 May 2011 3:22 #8287

Paul,

I only appear to have the problem with XP Professional x64 Edition

Windows 7 64bit works fine.

cheers, John

24 May 2011 5:07 #8289

Naturally that's the OS version that I don't have to hand!

24 May 2012 7:22 #10217

John

Is this problem still outstanding? A new release is about to go out. You could try that to see if it makes any difference.

Please login to reply.