View previous topic :: View next topic |
Author |
Message |
JohnHorspool
Joined: 26 Sep 2005 Posts: 270 Location: Gloucestershire UK
|
Posted: Wed May 11, 2011 8:23 pm Post subject: Slink crash |
|
|
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? _________________ John Horspool
Roshaz Software Ltd.
Gloucestershire |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7925 Location: Salford, UK
|
Posted: Thu May 12, 2011 7:27 am Post subject: |
|
|
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? |
|
Back to top |
|
|
JohnHorspool
Joined: 26 Sep 2005 Posts: 270 Location: Gloucestershire UK
|
Posted: Thu May 12, 2011 9:46 pm Post subject: |
|
|
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 _________________ John Horspool
Roshaz Software Ltd.
Gloucestershire |
|
Back to top |
|
|
JohnHorspool
Joined: 26 Sep 2005 Posts: 270 Location: Gloucestershire UK
|
Posted: Tue May 24, 2011 4:22 pm Post subject: |
|
|
Paul,
I only appear to have the problem with XP Professional x64 Edition
Windows 7 64bit works fine.
cheers,
John _________________ John Horspool
Roshaz Software Ltd.
Gloucestershire |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7925 Location: Salford, UK
|
Posted: Tue May 24, 2011 6:07 pm Post subject: |
|
|
Naturally that's the OS version that I don't have to hand! |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7925 Location: Salford, UK
|
Posted: Thu May 24, 2012 8:22 am Post subject: |
|
|
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. |
|
Back to top |
|
|
|