Comment 8 for bug 1812527

Revision history for this message
Daniel van Vugt (vanvugt) wrote : Re: gnome-shell crashes with SIGSEGV at windowManager.js:1787 when running Android emulator (QEMU)

The offending line of JavaScript is the one that says "Window gone". I guess maybe a NULL pointer?

    _switchWorkspaceDone(shellwm) {
        let switchData = this._switchData;
        if (!switchData)
            return;
        this._switchData = null;

        for (let i = 0; i < switchData.windows.length; i++) {
                let w = switchData.windows[i];
                if (w.window.is_destroyed()) // Window gone
                    continue;
                if (w.window.get_parent() == switchData.outGroup) {
                    w.window.reparent(w.parent);
                    w.window.hide();
                } else
                    w.window.reparent(w.parent);
        }