Openin kit usd viewer when kit base editor is running crashes editor

Hi, as above. I have created a kit.base editor application, and a kit.usd viewer application.

If I open the editor, load any stage, and then open the viewer, the editor will crash.

If I open the viewer first, and then the editor, they both load fine.

If I open two instances of the editor, again it is fine.

What might be causing this? Do i need to disable something in the viewer application?

the log file shows:

The thread tried to read from or write to a virtual address for which it does not have the appropriate access.

Ah I see. Well, this may surprise you to learn, but I have a very very powerful computer, and I have never managed to get two kit apps to open at the same time. The second always causes both my apps to crash and brings my computer to a grinding halt. The kit app is VERY INTENSIVE. It is designed to consume all of your GPU and CPU resources to the max. I would actually recommend you not ever try to open two kit apps at the same time. Regardless of the order or the type.

Also I notice you said “editor” and “viewer”. What about Composer? That is our main app. Our best flagship app. Please build that.

Hi Richard, thanks for getting back to me. This does not seem to be the issue here, as I can easily open two editor instances with no trouble, and open a viewer and editor, as long as the viewer is opened first.

It is ONLY opening the editor first, and then the viewer, that causes this crash.

UPDATE. Using Composer and viewer works as expected, I can run both instances without issue. That will work for me. Thanks!

..one more related question, with the second instance, i need to disable ui and fullscreen the viewport. i am using:

_settings = carb.settings.get_settings()

    _settings.set("/app/window/hideUi", True)
    _settings.set("/app/window/fullscreen", True)
    _settings.set("/app/viewport/grid/enabled", False)

which hides the ui and disables the grid, but does not fullscreen the window. What am i missing here?