# Rclone 1.65.1 runtime exception error - crash immediately after running the command

**URL:** <https://forum.rclone.org/t/rclone-1-65-1-runtime-exception-error-crash-immediately-after-running-the-command/44051>\
**Category:** Suspected Bug\
**Created:** [January 16, 2024, 8:52pm UTC](https://forum.rclone.org/t/rclone-1-65-1-runtime-exception-error-crash-immediately-after-running-the-command/44051 "2024-01-16T20:52:05Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![drajko](https://forum.rclone.org/letter_avatar_proxy/v4/letter/d/e9a140/32.png) [@drajko](https://forum.rclone.org/u/drajko)\
**Post date:** [January 16, 2024, 8:52pm UTC](https://forum.rclone.org/t/rclone-1-65-1-runtime-exception-error-crash-immediately-after-running-the-command/44051/1 "2024-01-16T20:52:05Z")

</div>

#### What is the problem you are having with rclone?

Can't start the command - immediate crash  
OS: Windows 7 Pro SP1 32-bit

#### Run the command 'rclone version' and share the full output of the command.

Can't share 'rclone version' output because of immediate crash  
Happens with latest stable version 1.65.1  
Last good (working) stable version: 1.65.0  
Last good (working) BETA: rclone-v1.66.0-beta.7561  
--\>

#### Which cloud storage system are you using? (eg Google Drive)

Google Drive  
OneDrive

#### The command you were trying to run (eg `rclone copy /tmp remote:tmp`)

```auto
c:\rclone>rclone
Exception 0xc0000005 0x8 0x0 0x0
PC=0x0

runtime.asmstdcall()
        runtime/sys_windows_386.s:35 +0x25 fp=0x12fe68 sp=0x12fe64 pc=0x47a535
eax 0x8
ebx 0x36a84ac
ecx 0x0
edx 0x12fe90
edi 0x12fe6c
esi 0x12fec4
ebp 0x12fe6c
esp 0x12fe60
eip 0x0
eflags 0x10202
cs 0x1b
fs 0x3b
gs 0x0

c:\rclone>

```

#### The rclone config contents with secrets removed.

```auto
[gdrive]
type = drive
scope = drive
token = {}
team_drive = 

[onedrive]
type = onedrive
token = {}
drive_id = 
drive_type = personal

```

#### A log from the command with the `-vv` flag

```auto
Sorry no logs

```

---

<div class="post-metadata">

**Author:** ![asdffdsa](https://forum.rclone.org/letter_avatar_proxy/v4/letter/a/848f3c/32.png) [@asdffdsa](https://forum.rclone.org/u/asdffdsa)\
**Post date:** [January 16, 2024, 9:00pm UTC](https://forum.rclone.org/t/rclone-1-65-1-runtime-exception-error-crash-immediately-after-running-the-command/44051/2 "2024-01-16T21:00:20Z")

</div>

welcome to the forum,

i wonder if this is the issue?  
[Go 1.20 is the last release that will run on any release of Windows 7, 8, Server 2008 and Server 2012.  
Go 1.21 will require at least Windows 10 or Server 2016.](https://go.dev/doc/go1.21#windows)

> [@drajko](#):
>
> `runtime.asmstdcall()`

here is a similair issue: `runtime.asmstdcall` + `Go 1.211` + `windows 7`  
[Due to being compiled with Go 1.21, Syncthing no longer supports Windows 7](https://github.com/syncthing/syncthing/issues/9282#issuecomment-1851148644)

---

<div class="post-metadata">

**Author:** ![kapitainsky](https://forum.rclone.org/user_avatar/forum.rclone.org/kapitainsky/32/14450_2.png) [@kapitainsky](https://forum.rclone.org/u/kapitainsky)\
**Post date:** [January 16, 2024, 9:12pm UTC](https://forum.rclone.org/t/rclone-1-65-1-runtime-exception-error-crash-immediately-after-running-the-command/44051/3 "2024-01-16T21:12:37Z")

</div>

Still using Windows 7... I know that sometimes there are reasons for that, but clearly you know that less and less new programs will work on this platform.

Sooner or later you will have to stay on the last version of `rclone` working on Windows 7 which reached end of life 4 years ago. This is unfortunately how it is.

---

<div class="post-metadata">

**Author:** ![ncw](https://forum.rclone.org/user_avatar/forum.rclone.org/ncw/32/18_2.png) [@ncw](https://forum.rclone.org/u/ncw)\
**Post date:** [January 16, 2024, 11:22pm UTC](https://forum.rclone.org/t/rclone-1-65-1-runtime-exception-error-crash-immediately-after-running-the-command/44051/4 "2024-01-16T23:22:44Z")

</div>

> [@drajko](#):
>
> Happens with latest stable version 1.65.1  
> Last good (working) stable version: 1.65.0

1.65.0 and 1.65.1 should have been compiled with the same go compiler go1.21.x unless I messed up the point release.

rclone version will say.

So slightly puzzled about the versions...

---

<div class="post-metadata">

**Author:** ![asdffdsa](https://forum.rclone.org/letter_avatar_proxy/v4/letter/a/848f3c/32.png) [@asdffdsa](https://forum.rclone.org/u/asdffdsa)\
**Post date:** [January 16, 2024, 11:25pm UTC](https://forum.rclone.org/t/rclone-1-65-1-runtime-exception-error-crash-immediately-after-running-the-command/44051/5 "2024-01-16T23:25:43Z")

</div>

> [@ncw](#):
>
> rclone version will say.

```auto
rclone v1.65.0
- os/version: Microsoft Windows 11 Pro 22H2 (64 bit)
- os/kernel: 10.0.22621.2715 (x86_64)
- os/type: windows
- os/arch: amd64
- go/version: go1.21.4
- go/linking: static
- go/tags: cmount

rclone v1.65.1
- os/version: Microsoft Windows 11 Pro 22H2 (64 bit)
- os/kernel: 10.0.22621.2715 (x86_64)
- os/type: windows
- os/arch: amd64
- go/version: go1.21.5
- go/linking: static
- go/tags: cmount

```

---

<div class="post-metadata">

**Author:** ![kapitainsky](https://forum.rclone.org/user_avatar/forum.rclone.org/kapitainsky/32/14450_2.png) [@kapitainsky](https://forum.rclone.org/u/kapitainsky)\
**Post date:** [January 17, 2024, 8:25am UTC](https://forum.rclone.org/t/rclone-1-65-1-runtime-exception-error-crash-immediately-after-running-the-command/44051/6 "2024-01-17T08:25:28Z")

</div>

I have tried on Windows 7 64 bit VM I had in some old archive:

```auto
v1.64.2 - works
v1.65.0 - works
v1.65.1 - failed
v1.66.0 - failed

```

In line what @asdffdsa found go v1.20 is the last version working on Win7. That rclone v1.65.0 still works is probably a fluke ( `go1.21.4` vs `go1.21.5`).

```auto
C:\Users\kptsky\Downloads\rclone-v1.65.0-windows-amd64>rclone version
rclone v1.65.0
- os/version: Microsoft Windows 7 Professional Service Pack 1 (64 bit)
- os/kernel: 6.1.7601.24546 (x86_64)
- os/type: windows
- os/arch: amd64
- go/version: go1.21.4
- go/linking: static
- go/tags: cmount

C:\Users\kptsky\Downloads\rclone-v1.65.1-windows-amd64>rclone version
Exception 0xc0000005 0x8 0x0 0x0
PC=0x0

runtime.asmstdcall()
        runtime/sys_windows_amd64.s:65 +0x75 fp=0x22fca0 sp=0x22fc80 pc=0x474715
rax 0x0
rbx 0x3a298a0

```

Should we mention somewhere in docs that rclone `v1.65.0` is the last one working on Windows 7 platform? I can add "Compatibility" section on [download](https://rclone.org/downloads/) page? Or maybe it exist somewhere already. Any thoughts?

Officially last Win7 working version should be rclone v1.63.1 (last one using go 1.20)

Similarly on macOS:

> As [announced](https://go.dev/doc/go1.20#darwin) in the Go 1.20 release notes, Go 1.21 requires macOS 10.15 Catalina or later; support for previous versions has been discontinued.

---

<div class="post-metadata">

**Author:** ![ncw](https://forum.rclone.org/user_avatar/forum.rclone.org/ncw/32/18_2.png) [@ncw](https://forum.rclone.org/u/ncw)\
**Post date:** [January 17, 2024, 10:13am UTC](https://forum.rclone.org/t/rclone-1-65-1-runtime-exception-error-crash-immediately-after-running-the-command/44051/7 "2024-01-17T10:13:59Z")

</div>

> [@kapitainsky](#):
>
> I have tried on Windows 7 64 bit VM I had in some old archive:
> 
> ```auto
> v1.64.2 - works
> v1.65.0 - works
> v1.65.1 - failed
> v1.66.0 - failed
> 
> ```

That is strange. The go team doesn't introduce breaking changes in point releases. Here are [the changes for go1.21.5](https://github.com/golang/go/issues?q=milestone%3AGo1.21.5+label%3ACherryPickApproved), none of which look particularly relevant.

The code is crashing in `runtime·asmstdcall` which is an assembler routine and the way Go calls the Windows runtime.

I don't propose to investigate this further since the Go team have already said go1.21 will require Windows 10 or later so I think filing an issue wouldn't be productive.

Maybe rclone v1.65.0 was working accidentally somehow?

Note that you can compile v1.65.x with go1.21, go1.20 and go1.19

You'll be able to compile v1.66 with go1.22, go1.21 and go1.20

So you'll be able to have the latest rclone for a bit longer on Win 7 if you are willing to compile it yourself.

> [@kapitainsky](#):
>
> Should we mention somewhere in docs that rclone `v1.65.0` is the last one working on Windows 7 platform? I can add "Compatibility" section on [download](https://rclone.org/downloads/) page? Or maybe it exist somewhere already. Any thoughts?

We probably should be talking about this somewhere...

> [@kapitainsky](#):
>
> Officially last Win7 working version should be rclone v1.63.1 (last one using go 1.20)

And yes we should probably state v1.63.1 as being the last version as I don't know why the later ones are working at all, and maybe they will blow up in some different way.

We should probably have a little section in each architecture in the install doc, eg here is the [windows install](https://rclone.org/install/#windows)

This could have a little table something like this (probably not correct)

| Rclone version | Supported Windows Versions |
| --- | --- |
| current | Windows 10 or later, Server 2016 or later |
| v1.63.1 | Windows 7 or later, Server 2008 or later |
| v1.XX | Windows XP... |

We could have a similar table for macOS versions and for linux kernel versions.

To make these tables this will need a bit of software archeology looking up the go release notes and working out which rclone was compiled with which go version.

The download page should probably show a summary table something like this for the latest versions

## Required OS versions

| OS | Minimum Version |
| --- | --- |
| Linux | 2.6.32 |
| macOS | 10.15 |
| Windows | 10 |

I got those figures from the [go download page](https://go.dev/dl/) which are for go 1.21

@kapitainsky can you make an issue about this and we can start collecting the data for the various doc sections - thank you 🙂

---

<div class="post-metadata">

**Author:** ![kapitainsky](https://forum.rclone.org/user_avatar/forum.rclone.org/kapitainsky/32/14450_2.png) [@kapitainsky](https://forum.rclone.org/u/kapitainsky)\
**Post date:** [January 17, 2024, 11:30am UTC](https://forum.rclone.org/t/rclone-1-65-1-runtime-exception-error-crash-immediately-after-running-the-command/44051/8 "2024-01-17T11:30:06Z")

</div>

> [@ncw](#):
>
> @kapitainsky can you make an issue about this and we can start collecting the data for the various doc sections - thank you 🙂

Here you are including relevant "archaeology":

> <https://github.com/rclone/rclone/issues/7571>
>
> As discussed on the forum:
> 
> https://forum.rclone.org/t/rclone-1-65-1-runtime-e…xception-error-crash-immediately-after-running-the-command/44051/7
> 
> We should add to rclone docs information about rclone OS compatibility - mostly due to changing golang requirements not all rclone versions can work on some older OS.
> 
> The current (v1.65.1) requirements are:
> 
> \`\`\`
> OS Minimum Version
> ================================
> Linux 2.6.32+
> macOS 10.15 (Big Sur)+
> Windows 10+, Server 2016+
> \`\`\`
> 
> For historical versions so far based on - https://go.dev/doc/go1.20:
> 
> \`\`\`
> Windows:
> rclone v1.63.1 is the last rclone version working for Windows 7, 8, Server 2008 and Server 2012.
> 
> macOS:
> rclone v1.63.1 is the last rclone version working for macOS 10.13 High Sierra or 10.14 Mojave
> 
> \`\`\`
> We have to dig a bit deeper and identify as well the last Windows XP version and older macOS.

---

<div class="post-metadata">

**Author:** ![kapitainsky](https://forum.rclone.org/user_avatar/forum.rclone.org/kapitainsky/32/14450_2.png) [@kapitainsky](https://forum.rclone.org/u/kapitainsky)\
**Post date:** [January 17, 2024, 11:36am UTC](https://forum.rclone.org/t/rclone-1-65-1-runtime-exception-error-crash-immediately-after-running-the-command/44051/9 "2024-01-17T11:36:56Z")

</div>

@drajko

Back to your issue.

The last rclone version you can use safely on Windows 7 is `v1.63.1`.

`rclone v1.64.2` and `v1.65.0` working is not expected and you risk some other problems using them.

You can make them perfectly safe by building rclone from source and using `golang v1.20`. You can also compile rclone `v1.66`.

As soon as rclone moves to `golang v1.23` it will be the end of Windows 7 story for rclone (as minimum golang version to compile will be `v1.21`).

---

<div class="post-metadata">

**Author:** ![drajko](https://forum.rclone.org/letter_avatar_proxy/v4/letter/d/e9a140/32.png) [@drajko](https://forum.rclone.org/u/drajko)\
**Post date:** [January 17, 2024, 4:44pm UTC](https://forum.rclone.org/t/rclone-1-65-1-runtime-exception-error-crash-immediately-after-running-the-command/44051/10 "2024-01-17T16:44:00Z")

</div>

Well , I guess it's really time for me to finally give up Win7. Thank you all for your help 🙂 For now I'll stick with the latest working release until I move on to new OS

---

<div class="post-metadata">

**Author:** ![system](https://forum.rclone.org/uploads/default/original/2X/3/39ad3235f6ffec76ccd0c81616bd55697b4c300d.png) [@system](https://forum.rclone.org/u/system)\
**Post date:** [January 20, 2024, 4:44pm UTC](https://forum.rclone.org/t/rclone-1-65-1-runtime-exception-error-crash-immediately-after-running-the-command/44051/11 "2024-01-20T16:44:49Z")

</div>

Closed on January 20, 2024, 4:44pm UTC

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.
