There are apparently some nasty heap corruption issues with libxml-ruby

Open
#386 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
ruby
Domain
build-system

Research direction

Start by checking the Gemfile and the Bundler dependency resolution represented by Bundler.locked_gems. Confirm how libxml-ruby enters the locked specifications and use the issue's example as the expected check. Done means the resolved bundle does not include libxml-ruby alongside nokogiri.

Written by the indexing model from the issue text.

Description

describe 'Gemfile' do
  it 'should not include libxml-ruby' do
    libxml = Bundler.locked_gems.specs.detect { |s| s.name == 'libxml-ruby' }
    expect(libxml).to be_nil, "libxml-ruby is incompatible with nokogiri and causes heap corruption"
  end
Dominant language
Ruby
Stars
51
Forks
42
Avg merge
1h 27m
Merged PRs (30d)
1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from testmycode/tmc-server

All issues in testmycode/tmc-server

Similar issues

More Ruby issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.