Skip to content

Crashes Ruby when used with mutant gem #72

Description

@tjchambers

Just an FYI I started to use this gem latest version yesterday and was pleased with it's benefits.

However I am heavily using mutation testing (mbj/mutant) of whom @dkubb is a contributor as well. I am a relative noobie. When I run my test suite after installing this gem it crashes Ruby 2.2 (appears to run out of stack). I have 100's of crash dumps and misbehavior documented in my mutation logs. When I remove the gem from the bundle normal behavior returns. It does not appear to be related to adding "normalize_attributes" statements. I spent a couple hours trying to get a simplified reproducible repo, but was not able too.

I am not blaming this gem as I don't know whether it is concurrency in mutant, or something this gem is doing inside a forked environment. I just really do not know.

I can say that in resurveying the landscape of gem's with this ones' functionality I ran across normalizr and replaced attribute_normalizer with that gem and got satisfactory functionality as well as it did not crash Ruby when running mutation testing.

Just a caution. If you want more detail I would be more than happy to add some gists with the crash dumps. I just wanted to make you aware of this.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions