Fatal Error: unexpected signal during runtime execution

What is the problem you are having with rclone?

I had rclone installed on MacOS using homebrew. In my attempts to mount an rclone drive, I read that you must have rclone installed from binaries, not from homebrew. I uninstalled my homebrew instance of rclone and instead attempted installing from binaries. However, now whenever I run an rclone command, any rclone command at all, I receive the following error:

fatal error: unexpected signal during runtime execution
[signal SIGSEGV: segmentation violation code=0x2 addr=0x0 pc=0x10584d0fc]

runtime stack:
runtime.throw({0x1058cb6d1?, 0x16ba2f210?})
	runtime/panic.go:1047 +0x40 fp=0x16ba2f1d0 sp=0x16ba2f1a0 pc=0x10440c570
runtime.sigpanic()
	runtime/signal_unix.go:825 +0x244 fp=0x16ba2f210 sp=0x16ba2f1d0 pc=0x104424c04

goroutine 1 [syscall, locked to thread]:
runtime.cgocall(0x10584d504, 0x140000d32e8)
	runtime/cgocall.go:157 +0x54 fp=0x140000d32b0 sp=0x140000d3270 pc=0x1043d5fc4
github.com/shoenig/go-m1cpu._Cfunc_initialize()
	_cgo_gotypes.go:144 +0x34 fp=0x140000d32e0 sp=0x140000d32b0 pc=0x104786a44
github.com/shoenig/go-m1cpu.init.0()
	github.com/shoenig/go-m1cpu@v0.1.4/cpu.go:143 +0x1c fp=0x140000d32f0 sp=0x140000d32e0 pc=0x104786a7c
runtime.doInit(0x1072e9bc0)
	runtime/proc.go:6507 +0x12c fp=0x140000d3430 sp=0x140000d32f0 pc=0x10441d1dc
runtime.doInit(0x1072fcf20)
	runtime/proc.go:6484 +0x68 fp=0x140000d3570 sp=0x140000d3430 pc=0x10441d118
runtime.doInit(0x107302d60)
	runtime/proc.go:6484 +0x68 fp=0x140000d36b0 sp=0x140000d3570 pc=0x10441d118
runtime.doInit(0x1072fa0c0)
	runtime/proc.go:6484 +0x68 fp=0x140000d37f0 sp=0x140000d36b0 pc=0x10441d118
runtime.doInit(0x1072eedc0)
	runtime/proc.go:6484 +0x68 fp=0x140000d3930 sp=0x140000d37f0 pc=0x10441d118
runtime.doInit(0x10730c540)
	runtime/proc.go:6484 +0x68 fp=0x140000d3a70 sp=0x140000d3930 pc=0x10441d118
runtime.doInit(0x10730b8c0)
	runtime/proc.go:6484 +0x68 fp=0x140000d3bb0 sp=0x140000d3a70 pc=0x10441d118
runtime.doInit(0x107300c20)
	runtime/proc.go:6484 +0x68 fp=0x140000d3cf0 sp=0x140000d3bb0 pc=0x10441d118
runtime.doInit(0x10730cda0)
	runtime/proc.go:6484 +0x68 fp=0x140000d3e30 sp=0x140000d3cf0 pc=0x10441d118
runtime.doInit(0x1072ec440)
	runtime/proc.go:6484 +0x68 fp=0x140000d3f70 sp=0x140000d3e30 pc=0x10441d118
runtime.main()
	runtime/proc.go:233 +0x1f4 fp=0x140000d3fd0 sp=0x140000d3f70 pc=0x10440ee04
runtime.goexit()
	runtime/asm_arm64.s:1172 +0x4 fp=0x140000d3fd0 sp=0x140000d3fd0 pc=0x104445374

goroutine 2 [force gc (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	runtime/proc.go:381 +0xe4 fp=0x14000084fa0 sp=0x14000084f80 pc=0x10440f284
runtime.goparkunlock(...)
	runtime/proc.go:387
runtime.forcegchelper()
	runtime/proc.go:305 +0xb8 fp=0x14000084fd0 sp=0x14000084fa0 pc=0x10440f0c8
runtime.goexit()
	runtime/asm_arm64.s:1172 +0x4 fp=0x14000084fd0 sp=0x14000084fd0 pc=0x104445374
created by runtime.init.6
	runtime/proc.go:293 +0x24

goroutine 3 [GC sweep wait]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	runtime/proc.go:381 +0xe4 fp=0x14000085760 sp=0x14000085740 pc=0x10440f284
runtime.goparkunlock(...)
	runtime/proc.go:387
runtime.bgsweep(0x0?)
	runtime/mgcsweep.go:278 +0xa4 fp=0x140000857b0 sp=0x14000085760 pc=0x1043f8774
runtime.gcenable.func1()
	runtime/mgc.go:178 +0x28 fp=0x140000857d0 sp=0x140000857b0 pc=0x1043ecfe8
runtime.goexit()
	runtime/asm_arm64.s:1172 +0x4 fp=0x140000857d0 sp=0x140000857d0 pc=0x104445374
created by runtime.gcenable
	runtime/mgc.go:178 +0x74

goroutine 4 [GC scavenge wait]:
runtime.gopark(0x140000ac000?, 0x105d73cc8?, 0x1?, 0x0?, 0x0?)
	runtime/proc.go:381 +0xe4 fp=0x14000085f50 sp=0x14000085f30 pc=0x10440f284
runtime.goparkunlock(...)
	runtime/proc.go:387
runtime.(*scavengerState).park(0x107415de0)
	runtime/mgcscavenge.go:400 +0x5c fp=0x14000085f80 sp=0x14000085f50 pc=0x1043f651c
runtime.bgscavenge(0x0?)
	runtime/mgcscavenge.go:628 +0x44 fp=0x14000085fb0 sp=0x14000085f80 pc=0x1043f6ab4
runtime.gcenable.func2()
	runtime/mgc.go:179 +0x28 fp=0x14000085fd0 sp=0x14000085fb0 pc=0x1043ecf88
runtime.goexit()
	runtime/asm_arm64.s:1172 +0x4 fp=0x14000085fd0 sp=0x14000085fd0 pc=0x104445374
created by runtime.gcenable
	runtime/mgc.go:179 +0xb8

goroutine 5 [finalizer wait]:
runtime.gopark(0x1a0?, 0x1074176e0?, 0xc0?, 0x36?, 0x0?)
	runtime/proc.go:381 +0xe4 fp=0x14000084580 sp=0x14000084560 pc=0x10440f284
runtime.runfinq()
	runtime/mfinal.go:193 +0x10c fp=0x140000847d0 sp=0x14000084580 pc=0x1043ec07c
runtime.goexit()
	runtime/asm_arm64.s:1172 +0x4 fp=0x140000847d0 sp=0x140000847d0 pc=0x104445374
created by runtime.createfing
	runtime/mfinal.go:163 +0x84

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

I can't even tell you which version I have because running 'rclone version' produces:

fatal error: unexpected signal during runtime execution
[signal SIGSEGV: segmentation violation code=0x2 addr=0x0 pc=0x10584d0fc]

runtime stack:
runtime.throw({0x1058cb6d1?, 0x16ba2f210?})
	runtime/panic.go:1047 +0x40 fp=0x16ba2f1d0 sp=0x16ba2f1a0 pc=0x10440c570
runtime.sigpanic()
	runtime/signal_unix.go:825 +0x244 fp=0x16ba2f210 sp=0x16ba2f1d0 pc=0x104424c04

goroutine 1 [syscall, locked to thread]:
runtime.cgocall(0x10584d504, 0x140000d32e8)
	runtime/cgocall.go:157 +0x54 fp=0x140000d32b0 sp=0x140000d3270 pc=0x1043d5fc4
github.com/shoenig/go-m1cpu._Cfunc_initialize()
	_cgo_gotypes.go:144 +0x34 fp=0x140000d32e0 sp=0x140000d32b0 pc=0x104786a44
github.com/shoenig/go-m1cpu.init.0()
	github.com/shoenig/go-m1cpu@v0.1.4/cpu.go:143 +0x1c fp=0x140000d32f0 sp=0x140000d32e0 pc=0x104786a7c
runtime.doInit(0x1072e9bc0)
	runtime/proc.go:6507 +0x12c fp=0x140000d3430 sp=0x140000d32f0 pc=0x10441d1dc
runtime.doInit(0x1072fcf20)
	runtime/proc.go:6484 +0x68 fp=0x140000d3570 sp=0x140000d3430 pc=0x10441d118
runtime.doInit(0x107302d60)
	runtime/proc.go:6484 +0x68 fp=0x140000d36b0 sp=0x140000d3570 pc=0x10441d118
runtime.doInit(0x1072fa0c0)
	runtime/proc.go:6484 +0x68 fp=0x140000d37f0 sp=0x140000d36b0 pc=0x10441d118
runtime.doInit(0x1072eedc0)
	runtime/proc.go:6484 +0x68 fp=0x140000d3930 sp=0x140000d37f0 pc=0x10441d118
runtime.doInit(0x10730c540)
	runtime/proc.go:6484 +0x68 fp=0x140000d3a70 sp=0x140000d3930 pc=0x10441d118
runtime.doInit(0x10730b8c0)
	runtime/proc.go:6484 +0x68 fp=0x140000d3bb0 sp=0x140000d3a70 pc=0x10441d118
runtime.doInit(0x107300c20)
	runtime/proc.go:6484 +0x68 fp=0x140000d3cf0 sp=0x140000d3bb0 pc=0x10441d118
runtime.doInit(0x10730cda0)
	runtime/proc.go:6484 +0x68 fp=0x140000d3e30 sp=0x140000d3cf0 pc=0x10441d118
runtime.doInit(0x1072ec440)
	runtime/proc.go:6484 +0x68 fp=0x140000d3f70 sp=0x140000d3e30 pc=0x10441d118
runtime.main()
	runtime/proc.go:233 +0x1f4 fp=0x140000d3fd0 sp=0x140000d3f70 pc=0x10440ee04
runtime.goexit()
	runtime/asm_arm64.s:1172 +0x4 fp=0x140000d3fd0 sp=0x140000d3fd0 pc=0x104445374

goroutine 2 [force gc (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	runtime/proc.go:381 +0xe4 fp=0x14000084fa0 sp=0x14000084f80 pc=0x10440f284
runtime.goparkunlock(...)
	runtime/proc.go:387
runtime.forcegchelper()
	runtime/proc.go:305 +0xb8 fp=0x14000084fd0 sp=0x14000084fa0 pc=0x10440f0c8
runtime.goexit()
	runtime/asm_arm64.s:1172 +0x4 fp=0x14000084fd0 sp=0x14000084fd0 pc=0x104445374
created by runtime.init.6
	runtime/proc.go:293 +0x24

goroutine 3 [GC sweep wait]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	runtime/proc.go:381 +0xe4 fp=0x14000085760 sp=0x14000085740 pc=0x10440f284
runtime.goparkunlock(...)
	runtime/proc.go:387
runtime.bgsweep(0x0?)
	runtime/mgcsweep.go:278 +0xa4 fp=0x140000857b0 sp=0x14000085760 pc=0x1043f8774
runtime.gcenable.func1()
	runtime/mgc.go:178 +0x28 fp=0x140000857d0 sp=0x140000857b0 pc=0x1043ecfe8
runtime.goexit()
	runtime/asm_arm64.s:1172 +0x4 fp=0x140000857d0 sp=0x140000857d0 pc=0x104445374
created by runtime.gcenable
	runtime/mgc.go:178 +0x74

goroutine 4 [GC scavenge wait]:
runtime.gopark(0x140000ac000?, 0x105d73cc8?, 0x1?, 0x0?, 0x0?)
	runtime/proc.go:381 +0xe4 fp=0x14000085f50 sp=0x14000085f30 pc=0x10440f284
runtime.goparkunlock(...)
	runtime/proc.go:387
runtime.(*scavengerState).park(0x107415de0)
	runtime/mgcscavenge.go:400 +0x5c fp=0x14000085f80 sp=0x14000085f50 pc=0x1043f651c
runtime.bgscavenge(0x0?)
	runtime/mgcscavenge.go:628 +0x44 fp=0x14000085fb0 sp=0x14000085f80 pc=0x1043f6ab4
runtime.gcenable.func2()
	runtime/mgc.go:179 +0x28 fp=0x14000085fd0 sp=0x14000085fb0 pc=0x1043ecf88
runtime.goexit()
	runtime/asm_arm64.s:1172 +0x4 fp=0x14000085fd0 sp=0x14000085fd0 pc=0x104445374
created by runtime.gcenable
	runtime/mgc.go:179 +0xb8

goroutine 5 [finalizer wait]:
runtime.gopark(0x1a0?, 0x1074176e0?, 0xc0?, 0x36?, 0x0?)
	runtime/proc.go:381 +0xe4 fp=0x14000084580 sp=0x14000084560 pc=0x10440f284
runtime.runfinq()
	runtime/mfinal.go:193 +0x10c fp=0x140000847d0 sp=0x14000084580 pc=0x1043ec07c
runtime.goexit()
	runtime/asm_arm64.s:1172 +0x4 fp=0x140000847d0 sp=0x140000847d0 pc=0x104445374
created by runtime.createfing
	runtime/mfinal.go:163 +0x84

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

I had been trying to mount my webdav config for IceDrive.

Thank you in advance.

can you run:

which rclone

and post result

Here's the result:

/usr/local/bin/rclone

Thank you for your help!

delete it:

sudo rm /usr/local/bin/rclone

and install rclone again:

sudo -v ; curl https://rclone.org/install.sh | sudo bash

it can be useful if you post what it shows during "installation"

now you can try:

rclone version

Per your instructions I deleted rclone and reinstalled. Here's what appeared during installation:

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  4707  100  4707    0     0   4403      0  0:00:01  0:00:01 --:--:--  4403
Archive:  rclone-current-osx-arm64.zip
   creating: tmp_unzip_dir_for_rclone/rclone-v1.63.0-osx-arm64/
  inflating: tmp_unzip_dir_for_rclone/rclone-v1.63.0-osx-arm64/git-log.txt  [text]  
  inflating: tmp_unzip_dir_for_rclone/rclone-v1.63.0-osx-arm64/rclone  [binary]
  inflating: tmp_unzip_dir_for_rclone/rclone-v1.63.0-osx-arm64/rclone.1  [text]  
  inflating: tmp_unzip_dir_for_rclone/rclone-v1.63.0-osx-arm64/README.html  [text]  
  inflating: tmp_unzip_dir_for_rclone/rclone-v1.63.0-osx-arm64/README.txt  [text]  

 has successfully installed.
Now run "rclone config" for setup. Check https://rclone.org/docs/ for more details.

"rclone version" returns the following:

fatal error: unexpected signal during runtime execution
[signal SIGSEGV: segmentation violation code=0x2 addr=0x0 pc=0x105a450fc]

runtime stack:
runtime.throw({0x105ac36d1?, 0x16b8371b0?})
	runtime/panic.go:1047 +0x40 fp=0x16b837170 sp=0x16b837140 pc=0x104604570
runtime.sigpanic()
	runtime/signal_unix.go:825 +0x244 fp=0x16b8371b0 sp=0x16b837170 pc=0x10461cc04

goroutine 1 [syscall, locked to thread]:
runtime.cgocall(0x105a45504, 0x140001372e8)
	runtime/cgocall.go:157 +0x54 fp=0x140001372b0 sp=0x14000137270 pc=0x1045cdfc4
github.com/shoenig/go-m1cpu._Cfunc_initialize()
	_cgo_gotypes.go:144 +0x34 fp=0x140001372e0 sp=0x140001372b0 pc=0x10497ea44
github.com/shoenig/go-m1cpu.init.0()
	github.com/shoenig/go-m1cpu@v0.1.4/cpu.go:143 +0x1c fp=0x140001372f0 sp=0x140001372e0 pc=0x10497ea7c
runtime.doInit(0x1074e1bc0)
	runtime/proc.go:6507 +0x12c fp=0x14000137430 sp=0x140001372f0 pc=0x1046151dc
runtime.doInit(0x1074f4f20)
	runtime/proc.go:6484 +0x68 fp=0x14000137570 sp=0x14000137430 pc=0x104615118
runtime.doInit(0x1074fad60)
	runtime/proc.go:6484 +0x68 fp=0x140001376b0 sp=0x14000137570 pc=0x104615118
runtime.doInit(0x1074f20c0)
	runtime/proc.go:6484 +0x68 fp=0x140001377f0 sp=0x140001376b0 pc=0x104615118
runtime.doInit(0x1074e6dc0)
	runtime/proc.go:6484 +0x68 fp=0x14000137930 sp=0x140001377f0 pc=0x104615118
runtime.doInit(0x107504540)
	runtime/proc.go:6484 +0x68 fp=0x14000137a70 sp=0x14000137930 pc=0x104615118
runtime.doInit(0x1075038c0)
	runtime/proc.go:6484 +0x68 fp=0x14000137bb0 sp=0x14000137a70 pc=0x104615118
runtime.doInit(0x1074f8c20)
	runtime/proc.go:6484 +0x68 fp=0x14000137cf0 sp=0x14000137bb0 pc=0x104615118
runtime.doInit(0x107504da0)
	runtime/proc.go:6484 +0x68 fp=0x14000137e30 sp=0x14000137cf0 pc=0x104615118
runtime.doInit(0x1074e4440)
	runtime/proc.go:6484 +0x68 fp=0x14000137f70 sp=0x14000137e30 pc=0x104615118
runtime.main()
	runtime/proc.go:233 +0x1f4 fp=0x14000137fd0 sp=0x14000137f70 pc=0x104606e04
runtime.goexit()
	runtime/asm_arm64.s:1172 +0x4 fp=0x14000137fd0 sp=0x14000137fd0 pc=0x10463d374

goroutine 2 [force gc (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	runtime/proc.go:381 +0xe4 fp=0x14000084fa0 sp=0x14000084f80 pc=0x104607284
runtime.goparkunlock(...)
	runtime/proc.go:387
runtime.forcegchelper()
	runtime/proc.go:305 +0xb8 fp=0x14000084fd0 sp=0x14000084fa0 pc=0x1046070c8
runtime.goexit()
	runtime/asm_arm64.s:1172 +0x4 fp=0x14000084fd0 sp=0x14000084fd0 pc=0x10463d374
created by runtime.init.6
	runtime/proc.go:293 +0x24

goroutine 3 [GC sweep wait]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	runtime/proc.go:381 +0xe4 fp=0x14000085760 sp=0x14000085740 pc=0x104607284
runtime.goparkunlock(...)
	runtime/proc.go:387
runtime.bgsweep(0x0?)
	runtime/mgcsweep.go:278 +0xa4 fp=0x140000857b0 sp=0x14000085760 pc=0x1045f0774
runtime.gcenable.func1()
	runtime/mgc.go:178 +0x28 fp=0x140000857d0 sp=0x140000857b0 pc=0x1045e4fe8
runtime.goexit()
	runtime/asm_arm64.s:1172 +0x4 fp=0x140000857d0 sp=0x140000857d0 pc=0x10463d374
created by runtime.gcenable
	runtime/mgc.go:178 +0x74

goroutine 4 [GC scavenge wait]:
runtime.gopark(0x140000ac000?, 0x105f6bcc8?, 0x1?, 0x0?, 0x0?)
	runtime/proc.go:381 +0xe4 fp=0x14000085f50 sp=0x14000085f30 pc=0x104607284
runtime.goparkunlock(...)
	runtime/proc.go:387
runtime.(*scavengerState).park(0x10760dde0)
	runtime/mgcscavenge.go:400 +0x5c fp=0x14000085f80 sp=0x14000085f50 pc=0x1045ee51c
runtime.bgscavenge(0x0?)
	runtime/mgcscavenge.go:628 +0x44 fp=0x14000085fb0 sp=0x14000085f80 pc=0x1045eeab4
runtime.gcenable.func2()
	runtime/mgc.go:179 +0x28 fp=0x14000085fd0 sp=0x14000085fb0 pc=0x1045e4f88
runtime.goexit()
	runtime/asm_arm64.s:1172 +0x4 fp=0x14000085fd0 sp=0x14000085fd0 pc=0x10463d374
created by runtime.gcenable
	runtime/mgc.go:179 +0xb8

goroutine 18 [finalizer wait]:
runtime.gopark(0x1a0?, 0x10760f6e0?, 0x40?, 0x23?, 0x0?)
	runtime/proc.go:381 +0xe4 fp=0x14000084580 sp=0x14000084560 pc=0x104607284
runtime.runfinq()
	runtime/mfinal.go:193 +0x10c fp=0x140000847d0 sp=0x14000084580 pc=0x1045e407c
runtime.goexit()
	runtime/asm_arm64.s:1172 +0x4 fp=0x140000847d0 sp=0x140000847d0 pc=0x10463d374
created by runtime.createfing
	runtime/mfinal.go:163 +0x84
1 Like

Thank you. It is extremely helpful in trying to find the root cause of the issue.

Can you share a screenshot of your "About this Mac"

it is ARM so can not be anything ancient ....

yes we need more info - what is your exact hardware? OS? anything special about your setup? like is it company laptop with maybe some imposed limitations? Do you run any antivirus software? more details better.

Model Name: MacBook Air
Model Identifier: MacBookAir10,1
Chip: Apple M1
Total Number of Cores: 8 (4 performance and 4 efficiency)
Memory: 16 GB
System Firmware Version: 6723.120.36
OS Loader Version: 6723.120.36
Activation Lock Status: Disabled

It is my machine. I have full access to everything. I do not run an antivirus program. The problem started when I uninstalled Rclone which had originally been installed from homebrew. Then I tried to install the binary version of Rclone and I started receiving the error.

I can't test there as that's an old version. My mac is on the current OS.

Is there a reason you are on that old version?

The issue is that one of the dependencies go-m1cpu does not work in macos <12 - your error messages confirm that it is the case:

It has been fixed only last week:

and is available in the latest beta.

Please run:

sudo -v ; curl https://rclone.org/install.sh | sudo bash -s beta

to install working beta version

Any day now v1.63.1 should be released hopefully containing this fix and you can move back to stable by running:

sudo -v ; curl https://rclone.org/install.sh | sudo bash

On a side note you should seriously consider updating your OS version. Even if you have reasons not to update to the Ventura at least keep up with Big Sur updates - you are on 11.4 when it is is now 11.7.8. Big Sur is also reaching end of life in a couple of months.

Thank you @kapitainsky for the solution! As far as the updates, I'm always hesitant to update because every new version of MacOS seems to introduce new bugs that I don't want to deal with. All the same, you're probably right that I'm due for some updates. Thank you for your help!

1 Like

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