Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

loadlocale.c:130: _nl_intern_locale_data: Assertion failed #356

Closed
gregmuellegger opened this issue Sep 24, 2015 · 3 comments
Closed

loadlocale.c:130: _nl_intern_locale_data: Assertion failed #356

gregmuellegger opened this issue Sep 24, 2015 · 3 comments

Comments

@gregmuellegger
Copy link

I have installed fzf with the provided install script.

As soon as I execute fzf, I get the following error:

fzf: loadlocale.c:130: _nl_intern_locale_data: Assertion `cnt < (sizeof (_nl_value_type_LC_COLLATE) / sizeof (_nl_value_type_LC_COLLATE[0]))' failed.
SIGABRT: abort
PC=0x57f969
signal arrived during cgo execution

goroutine 8 [syscall, locked to thread]:
runtime.cgocall_errno(0x401e10, 0xc2080518e8, 0x0)
        /go1.4/src/runtime/cgocall.go:130 +0xf5 fp=0xc2080518c8 sp=0xc2080518a0
github.com/junegunn/fzf/src/curses._Cfunc_setlocale(0x6, 0x7f7d880008c0, 0x0)
        /go/src/github.com/junegunn/fzf/src/curses/:146 +0x44 fp=0xc2080518e8 sp=0xc2080518c8
github.com/junegunn/fzf/src/curses.Init(0xc20801e240, 0xc2080a0100)
        /go/src/github.com/junegunn/fzf/src/curses/curses.go:260 +0x104 fp=0xc2080519d8 sp=0xc2080518e8
github.com/junegunn/fzf/src.func·024()
        /go/src/github.com/junegunn/fzf/src/terminal.go:221 +0x46 fp=0xc2080519f0 sp=0xc2080519d8
github.com/junegunn/fzf/src.(*Terminal).Loop(0xc208036000)
        /go/src/github.com/junegunn/fzf/src/terminal.go:707 +0x143 fp=0xc208051fd8 sp=0xc2080519f0
runtime.goexit()
        /go1.4/src/runtime/asm_amd64.s:2232 +0x1 fp=0xc208051fe0 sp=0xc208051fd8
created by github.com/junegunn/fzf/src.Run
        /go/src/github.com/junegunn/fzf/src/core.go:195 +0xb95

goroutine 1 [semacquire]:
sync.(*Mutex).Lock(0xc208036168)
        /go1.4/src/sync/mutex.go:66 +0xd3
github.com/junegunn/fzf/src.(*Terminal).UpdateCount(0xc208036000, 0x9, 0x0)
        /go/src/github.com/junegunn/fzf/src/terminal.go:234 +0x3b
github.com/junegunn/fzf/src.func·012(0xc20801e440)
        /go/src/github.com/junegunn/fzf/src/core.go:215 +0x1d7
github.com/junegunn/fzf/src/util.(*EventBox).Wait(0xc20801e440, 0xc20804ff38)
        /go/src/github.com/junegunn/fzf/src/util/eventbox.go:35 +0xc9
github.com/junegunn/fzf/src.Run(0xc208060000)
        /go/src/github.com/junegunn/fzf/src/core.go:265 +0xd11
main.main()
        /go/src/github.com/junegunn/fzf/src/fzf/main.go:6 +0x2c

goroutine 5 [syscall]:
os/signal.loop()
        /go1.4/src/os/signal/signal_unix.go:21 +0x1f
created by os/signal.init·1
        /go1.4/src/os/signal/signal_unix.go:27 +0x35

goroutine 6 [semacquire]:
sync.(*Mutex).Lock(0xc20802a520)
        /go1.4/src/sync/mutex.go:66 +0xd3
github.com/junegunn/fzf/src/util.(*EventBox).Set(0xc20801e440, 0x0, 0x0, 0x0)
        /go/src/github.com/junegunn/fzf/src/util/eventbox.go:40 +0x49
github.com/junegunn/fzf/src.(*Reader).feed(0xc20801e480, 0x7f7d9040ca08, 0xc20802e000)
        /go/src/github.com/junegunn/fzf/src/reader.go:48 +0x121
github.com/junegunn/fzf/src.(*Reader).readFromStdin(0xc20801e480)
        /go/src/github.com/junegunn/fzf/src/reader.go:58 +0x51
github.com/junegunn/fzf/src.(*Reader).ReadSource(0xc20801e480)
        /go/src/github.com/junegunn/fzf/src/reader.go:28 +0xca
created by github.com/junegunn/fzf/src.Run
        /go/src/github.com/junegunn/fzf/src/core.go:140 +0x718

goroutine 7 [semacquire]:
sync.(*Cond).Wait(0xc20802c200)
        /go1.4/src/sync/cond.go:62 +0x9e
github.com/junegunn/fzf/src/util.(*EventBox).Wait(0xc20801e4a0, 0xc208019f80)
        /go/src/github.com/junegunn/fzf/src/util/eventbox.go:32 +0xaf
github.com/junegunn/fzf/src.(*Matcher).Loop(0xc20803c810)
        /go/src/github.com/junegunn/fzf/src/matcher.go:67 +0x75
created by github.com/junegunn/fzf/src.Run
        /go/src/github.com/junegunn/fzf/src/core.go:190 +0xb1a

goroutine 17 [syscall, locked to thread]:
runtime.goexit()
        /go1.4/src/runtime/asm_amd64.s:2232 +0x1

rax     0x0
rbx     0x7f7d8c77f000
rcx     0x57f969
rdx     0x6
rdi     0x19bf
rsi     0x19c2
rbp     0x698a60
rsp     0x7f7d8f287768
r8      0x7f7d880012d0
r9      0x0
r10     0x8
r11     0x202
r12     0x696f70
r13     0x82
r14     0x697038
r15     0x3
rip     0x57f969
rflags  0x202
cs      0x33

Am I doing something wrong?

@netei
Copy link

netei commented Sep 24, 2015

Probably the same as #350 (comment)

@junegunn
Copy link
Owner

@netei Thanks.

@gregmuellegger Please update the repository to the latest and rerun the install script.

@gregmuellegger
Copy link
Author

I would have sweared that I used the latest master, but actually it solved the problem. Seems that I were on an old commit.

Thanks so much for the quick turnaround!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants