I disassembled the rclone binary and apparently there is an init in the
queryutil.go - it seems to mostly be for calling the init functions for
imported functions
The SEGV happens on the first instruction which indicates r10 (AKA g) is
corrupt maybe.
004e1648 <
github.com/aws/aws-sdk-go/private/protocol/query/queryutil.init>:
4e1648: e59a1008 ldr r1, [r10, #8]
4e164c: e15d0001 cmp r13, r1
4e1650: 9a00001a bls 4e16c0
<
github.com/aws/aws-sdk-go/private/protocol/query/queryutil.init+0x78>
4e1654: e52de004 push {r14} ; (str r14, [r13, #-4]!)
4e1658: e59fb070 ldr r11, [pc, #112] ; 4e16d0
<
github.com/aws/aws-sdk-go/private/protocol/query/queryutil.init+0x88>
4e165c: e5db0000 ldrb r0, [r11]
4e1660: e3500000 cmp r0, #0
4e1664: 0a000006 beq 4e1684
<
github.com/aws/aws-sdk-go/private/protocol/query/queryutil.init+0x3c>
4e1668: e59fb060 ldr r11, [pc, #96] ; 4e16d0
<
github.com/aws/aws-sdk-go/private/protocol/query/queryutil.init+0x88>
4e166c: e5db0000 ldrb r0, [r11]
4e1670: e3500002 cmp r0, #2
4e1674: 1a000000 bne 4e167c
<
github.com/aws/aws-sdk-go/private/protocol/query/queryutil.init+0x34>
4e1678: e49df004 pop {r15} ; (ldr r15, [r13], #4)
4e167c: ebed7eaa bl 4112c <runtime.throwinit>
4e1680: f7fabcfd ; <UNDEFINED> instruction: 0xf7fabcfd
4e1684: e3a00001 mov r0, #1
4e1688: e59fb040 ldr r11, [pc, #64] ; 4e16d0
<
github.com/aws/aws-sdk-go/private/protocol/query/queryutil.init+0x88>
4e168c: e5cb0000 strb r0, [r11]
4e1690: ebf3a0a2 bl 1c9920 <encoding/base64.init>
4e1694: ebeec880 bl 9389c <fmt.init>
4e1698: ebf5e301 bl 25a2a4 <net/url.init>
4e169c: ebf12714 bl 12b2f4 <reflect.init>
4e16a0: ebf0cb9f bl 114524 <strconv.init>
4e16a4: ebef2aba bl ac194 <strings.init>
4e16a8: ebef8028 bl c1750 <time.init>
4e16ac: ebfead26 bl 48cb4c <
github.com/aws/aws-sdk-go/private/protocol.init>
4e16b0: e3a00002 mov r0, #2
4e16b4: e59fb014 ldr r11, [pc, #20] ; 4e16d0
<
github.com/aws/aws-sdk-go/private/protocol/query/queryutil.init+0x88>
4e16b8: e5cb0000 strb r0, [r11]
4e16bc: e49df004 pop {r15} ; (ldr r15, [r13], #4)
4e16c0: e1a0300e mov r3, r14
4e16c4: ebee5a79 bl 780b0 <runtime.morestack_noctxt>
4e16c8: eaffffde b 4e1648
<
github.com/aws/aws-sdk-go/private/protocol/query/queryutil.init>
4e16cc: eafffffe b 4e16cc
<
github.com/aws/aws-sdk-go/private/protocol/query/queryutil.init+0x84>
4e16d0: 0090aa09 addseq r10, r0, r9, lsl #20