Code Monkey home page Code Monkey logo

getaddrinfo-segfault's Introduction

getaddrinfo crash repro

This crash requires all of the following:

  1. rjb loaded in an initializer (see config/initialziers/rjb.rb)
  2. puma workers enabled (1 or more) (see config/puma.rb)
  3. A fetch to an HTTPS server (see app/controllers/test_controller.rb)

To run it: bundle install && bundle exec rails server Then: http get http://localhost:5000/test/index (This command uses brew install httpie)

Result:

app/controllers/test_controller.rb:5: [BUG] Segmentation fault at 0x000000011028cad2 ruby 3.1.2p20 (2022-04-12 revision 4491bb740a) [arm64-darwin21]

-- Crash Report log information -------------------------------------------- See Crash Report log file in one of the following locations: * ~/Library/Logs/DiagnosticReports * /Library/Logs/DiagnosticReports for more details. Don't forget to include the above Crash Report log file in bug reports.

-- Control frame information ----------------------------------------------- c:0073 p:---- s:0517 e:000516 CFUNC :getaddrinfo c:0072 p:0018 s:0509 e:000508 METHOD app/controllers/test_controller.rb:5

getaddrinfo-segfault's People

Watchers

Brendan Mulholland avatar

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.