"Edit Layer Stack" layers do not save on FreeBSD

I've built KLayout v0.30.4 from source on FreeBSD. I'm investigating an issue with connectivity tracing that only seems to happen on this platform and am looking for pointers on how to troubleshoot this issue. The problem is that layers entered in Tools → Edit Layer Stack do not appear to save after pressing OK.

The steps to reproduce are:

  1. Be on FreeBSD
  2. Open KLayout in Editor mode
  3. File → New Layout
  4. Tools → Edit Layer Stack
  5. Press the + button at the bottom of "Technology Stacks", automatically-named STACK1 appears
  6. Press "OK"
  7. Tools → Edit Layer Stack again. On Windows, the newly added stack is still there. On FreeBSD, the window is empty again.

Do you have a feeling for what might be going on or suggest a few things that I can try to debug this issue?

I have been poking around src/plugins/tools/net_tracer/lay_plugin/layNetTracerTechComponentEditor.cc but am having trouble understanding where NetTracerTechComponentEditor::commit "commits" the data.

Comments

  • I can only guess. It may be a Qt issue. What Qt version are you using?

    Matthias

  • Help → About Qt reports 5.15.17. What kind of Qt issue are you guessing?

  • That's a recent Qt version.

    Maybe the problem is a read-only technology or something. Can you edit other things in your default technology?

    You can start from a clean slate:

    KLAYOUT_HOME=/dev/null klayout -e
    

    This will basically disable all present configurations. Please try, if you can reproduce the problem then.

    If the problem is gone, something may be wrong with your default technology setup. You can try to erase the existing configuration by renaming ~/.klayout/klayoutrc, but then you need to redo your settings. If that solves your problem, you could send this file to me for analysis. Maybe there is a backward compatibility issue.

    Matthias

  • Even with KLAYOUT_HOME=/dev/null (verified working because all of my settings are "gone"), the reproduction is the same.

    Something else I tried was:
    1. Create layer stack on Windows, with connectivity layers
    2. Export technology as a .lyt file
    3. Import on FreeBSD

    Even in this case, the connectivity defined in the .lyt file (which I confirmed were there using a text editor) was lost after technology import on FreeBSD. So perhaps some underlying data model is not being saved to on either FreeBSD or the new Qt version. Will keep poking and let you know the results... thanks for the suggestions thus far.

Sign In or Register to comment.