bmatsuo / jqsh

An interactive wrapper to the jq command line utility
MIT License
23 stars 2 forks source link

fatal error: MSpanList_Insert #27

Open baffalop opened 2 years ago

baffalop commented 2 years ago

I have just installed jqsh for macOS using jqsh0.5.darwin-amd64.tar.gz. When running the executable with any command, I get the same fatal error and stack trace:

failed MSpanList_Insert 0x2a3000 0x6147d631856c 0x0
fatal error: MSpanList_Insert

runtime stack:
runtime.throw(0x254bbb)
    /usr/local/Cellar/go/1.3/libexec/src/pkg/runtime/panic.c:520 +0x69
runtime.MSpanList_Insert(0x26b568, 0x2a3000)
    /usr/local/Cellar/go/1.3/libexec/src/pkg/runtime/mheap.c:618 +0x8a
MHeap_FreeLocked(0x267560, 0x2a3000)
    /usr/local/Cellar/go/1.3/libexec/src/pkg/runtime/mheap.c:447 +0x1a6
MHeap_Grow(0x267560, 0x10)
    /usr/local/Cellar/go/1.3/libexec/src/pkg/runtime/mheap.c:341 +0x1ae
MHeap_AllocLocked(0x267560, 0x1, 0x2)
    /usr/local/Cellar/go/1.3/libexec/src/pkg/runtime/mheap.c:222 +0x379
runtime.MHeap_Alloc(0x267560, 0x1, 0x10000000002)
    /usr/local/Cellar/go/1.3/libexec/src/pkg/runtime/mheap.c:178 +0x7b
MCentral_Grow(0x26f978)
    /usr/local/Cellar/go/1.3/libexec/src/pkg/runtime/mcentral.c:265 +0x89
runtime.MCentral_CacheSpan(0x26f978)
    /usr/local/Cellar/go/1.3/libexec/src/pkg/runtime/mcentral.c:84 +0x14b
runtime.MCache_Refill(0x29f000, 0x2)
    /usr/local/Cellar/go/1.3/libexec/src/pkg/runtime/mcache.c:78 +0x119
runtime.mallocgc(0x10, 0x0, 0x10)
    /usr/local/Cellar/go/1.3/libexec/src/pkg/runtime/malloc.goc:152 +0x30e
runtime.malloc(0x10)
    /usr/local/Cellar/go/1.3/libexec/src/pkg/runtime/malloc.goc:264 +0x39
runtime.mallocinit()
    /usr/local/Cellar/go/1.3/libexec/src/pkg/runtime/malloc.goc:575 +0x2a5
runtime.schedinit()
    /usr/local/Cellar/go/1.3/libexec/src/pkg/runtime/proc.c:150 +0x36
_rt0_go()
    /usr/local/Cellar/go/1.3/libexec/src/pkg/runtime/asm_amd64.s:91 +0x114

It's the same whether I run just ./jqsh, ./jqsh --version, ./jqsh --help.

I don't know any Go so I have no idea what this error is about, except it looks like a low-level heap allocation issue or something.

Versions

macOS 11.2.3 jqsh0.5.darwin-amd64