Giter Site home page Giter Site logo

Panic when closing about efm-langserver HOT 7 CLOSED

mattn avatar mattn commented on June 6, 2024 1
Panic when closing

from efm-langserver.

Comments (7)

Gelio avatar Gelio commented on June 6, 2024 1

I've also noticed the panic problem and created #113 to hopefully fix it 🙂

EDIT: #113 is merged 🙂 Let me know if it fixed the problems for you

from efm-langserver.

Gelio avatar Gelio commented on June 6, 2024 1

@lucax88x I believe you can upgrade the version you have locally with

go get -u github.com/mattn/efm-langserver

from efm-langserver.

zegervdv avatar zegervdv commented on June 6, 2024

hm, this seems to have introduced a new issue:

[ ERROR ] 2021-04-09T10:35:42+0200 ] ...e/tools/nvim/head/share/nvim/runtime/lua/vim/lsp/rpc.lua:457 ]	"rpc"	"efm-langserver"	"stderr"	"panic: runtime error: invalid memory address or nil pointer dereference\n[signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x55f2ca]\n\ngoroutine 19 [running]:\n"
[ ERROR ] 2021-04-09T10:35:42+0200 ] ...e/tools/nvim/head/share/nvim/runtime/lua/vim/lsp/rpc.lua:457 ]	"rpc"	"efm-langserver"	"stderr"	"time.(*Timer).Stop(...)\n\ttime/sleep.go:78\ngithub.com/mattn/efm-langserver/langserver.(*langHandler).handleShutdown(0xc0001ee160, 0x5efcd0, 0xc000196000, 0xc0001e2120, 0xc0001800a0, 0x58ff60, 0xc00018d1e0, 0xc0001f7d60, 0x5455d4)\n\tgithub.com/mattn/efm-langserver/langserver/handle_shutdown.go:10 +0x2a\ngithub.com/mattn/efm-langserver/langserver.(*langHandler).handle(0xc0001ee160, 0x5efcd0, 0xc000196000, 0xc0001e2120, 0xc0001800a0, 0x0, 0x0, 0x0, 0x0)\n\tgithub.com/mattn/efm-langserver/langserver/handler.go:559 +0x19c\ngithub.com/sourcegraph/jsonrpc2.(*HandlerWithErrorConfigurer).Handle(0xc00018c770, 0x5efcd0, 0xc000196000, 0xc0001e2120, 0xc0001800a0)\n\tgithub.com/sourcegraph/[email protected]/handler_with_error.go:21 +0x72\ngithub.com/sourcegraph/jsonrpc2.(*Conn).readMessages(0xc0001e2120, 0x5efcd0, 0xc000196000)\n\tgithub.com/sourcegraph/[email protected]/jsonrpc2.go:522 +0x57e\ncreated by github.com/sourcegraph/jsonrpc2.NewConn\n\tgithub.com/sourcegraph/[email protected]/jsonrpc2.go:334 +0x1d5\n"

from efm-langserver.

lucax88x avatar lucax88x commented on June 6, 2024

Ah, so I'm not the only one, I'm having this error and eslint suddenly stop working, is this the cause?

from efm-langserver.

zegervdv avatar zegervdv commented on June 6, 2024

Probably.
@mattn can you reopen this issue or do I need to create a new one?

from efm-langserver.

lucax88x avatar lucax88x commented on June 6, 2024

Do @mattn need to create a new release in order to download a new version and test it?

from efm-langserver.

Gelio avatar Gelio commented on June 6, 2024

On my other PC the go get -u command did not upgrade the binary and the problem was not solved. What helped in this case was:

go get github.com/mattn/efm-langserver@master

from efm-langserver.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.