Glyphs crashes when a circular reference of a component occurs

Using the latest version 3.0.4 (3100).

I realize that this is not appropriate for font building, but when adding a component that contains a circular reference (component contains a composite glyph that contains that component), Glyphs app crashes. So I have never seen a “bad reference” placeholder.
The circular reference itself is not correct, but I don’t think the app crashing is the correct behavior either.
It would be nice if you could fix this in your spare time.

Thanks for reporting :pray:

Can you explain the exact situation and how you got there?

For example, this can happen in the following situations

  1. Add a new glyph ‘a.001’ which has a component that references glyph ‘a’.
  2. Add a new glyph ‘a.002’ which has a component that references glyph ‘a.001’.
  3. In Edit view, select ‘a.001’ and change the component reference from ‘a’ to ‘a.002’.

    (From left to right: ‘a’, ‘a.001’, ‘a.002’)

I am very regretful that I did something nasty to the Glyphs component.