Skip to content

IDE crash when trying to save a project with an empty solver list #127

Closed

Description

@deliciouslytyped

Trying to save a project in the default configuration on NixOS segfaults.
After adding a solver to the solver configurations, I was able to successfully save a project.

Therefore I hypothesize that a segfault happens when one attempts to save a project with an empty list of solvers.

On a related note, but really a separate issue - how does the IDE detect solvers?

Activity

  1. Dekker1 commented on Nov 20, 2020

    @Dekker1
    Member

    That sounds like a bug that would not generally happen in the MiniZinc distribution, but still a good one to test.

    The interfacing of solvers with MiniZinc (and how it find the configuration files for the solvers) can be found here: https://www.minizinc.org/doc-2.5.2/en/fzn-spec.html#solver-configuration-files

  2. deliciouslytyped commented on Nov 20, 2020

    @deliciouslytyped
    Author

    Yeah, relative to the distribution it's an edge case. Tbh I'd be happier if the IDE wasn't self made, and was a bit more thorough with it's error handling - but I managed to avoid learning some interfaces and some other conveniences, so that's nice.
    I need to figure out where our packaging is losing the default distribution configuration.

  3. added a commit that references this issue on Nov 21, 2020
    b5613c4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions