Git Product home page Git Product logo

Comments (16)

dragonsinth avatar dragonsinth commented on August 16, 2024 1

This is definitely going to be a @jhump question

from grpcurl.

jhump avatar jhump commented on August 16, 2024 1

Sorry for the breakage. This was something that didn't have adequate test coverage in protoreflect and has unfortunately been broken since v1.15.0 (even the first release candidate).

I should have a fix and a new release of protoreflect this week.

from grpcurl.

jhump avatar jhump commented on August 16, 2024 1

This should be fixed as of v1.15.3 of protoreflect. @mprimeaux, could you please verify?

from grpcurl.

dragonsinth avatar dragonsinth commented on August 16, 2024 1

@mprimeaux I think we'd have to make another point release first to be able to do that

from grpcurl.

gpassini avatar gpassini commented on August 16, 2024 1

@mprimeaux here's the PR to update the version in Homebrew: Homebrew/homebrew-core#152288
As soon as it's merged, you'll be able to download the new release directly from Homebrew.

from grpcurl.

mprimeaux avatar mprimeaux commented on August 16, 2024

I suspected based on the stack trace but could have been our use of it. I’ll open an issue in the protoreflect repository and reference this issue.

from grpcurl.

mprimeaux avatar mprimeaux commented on August 16, 2024

As another data point, the above failing grpcurl command succeeds if I add -import-path ../internal/api to the command line, which now makes sense based on this line in grpcurl/desc_source.go.

Also, I pulled down the protoreflect code and wrote a new test using the same failing .proto file and it parses it just fine; no SIGSEGV panic.

After further debugging, I was able to simulate the exact panic by setting InferImportPaths to true on the protoparse.Parser.

Now that I have a failing test in protoreflect, I'll move the discussion fully over there.

from grpcurl.

mprimeaux avatar mprimeaux commented on August 16, 2024

@jhump I compiled grpcurl against protoreflect v1.15.3, tested various scenarios, and can confirm the fix works for this specific issue. Thanks for helping.

from grpcurl.

mprimeaux avatar mprimeaux commented on August 16, 2024

@dragonsinth I executed the updatedeps make target for the PR. If you prefer me to only upgrade protoreflect then please let me know. Happy to go that route, also.

from grpcurl.

mprimeaux avatar mprimeaux commented on August 16, 2024

Thanks @dragonsinth. Sincerely appreciate your help and support.

I'm not familiar with the process of updating the grpcurl brew formula. Should I open a PR over in this repo.

from grpcurl.

dragonsinth avatar dragonsinth commented on August 16, 2024

CC: @gpassini who's knowledge of this is fresher (no rush, whenever you're back)

from grpcurl.

mprimeaux avatar mprimeaux commented on August 16, 2024

Thanks much. I've got a workaround as stated above so no rush.

Again, appreciate your help and support.

from grpcurl.

dr3s avatar dr3s commented on August 16, 2024

this is pretty confusing to new users. So glad to have a workaround but any timeline on the release?

from grpcurl.

gpassini avatar gpassini commented on August 16, 2024

Sorry for the delay. The version 1.8.9 is now released!
https://github.com/fullstorydev/grpcurl/releases/tag/v1.8.9

from grpcurl.

mprimeaux avatar mprimeaux commented on August 16, 2024

Thanks, @gpassini. Will the brew formula also be updated in the near future? Again, thanks for your help.

from grpcurl.

gpassini avatar gpassini commented on August 16, 2024

Yes, I had an issue opening the update PR with Homebrew that I'm looking how to solve. But in the worst case they have some jobs that update formulas automatically. I'd say tomorrow it'll be updated either way.

from grpcurl.

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.