Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A qube with itself as GUI qube and no keyboard layout crashes qubesd #6750

Open
DemiMarie opened this issue Jun 30, 2021 · 1 comment
Open
Labels
affects-4.1 This issue affects Qubes OS 4.1. affects-4.2 This issue affects Qubes OS 4.2. affects-4.3 This issue affects Qubes OS 4.3. C: gui-domain diagnosed Technical diagnosis has been performed (see issue comments). P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists.

Comments

@DemiMarie
Copy link

Qubes OS version

R4.1

Are you using any testing repositories? If so, please list them AND where they are enabled (i.e., dom0, template, or standalone).

Testing enabled at least in dom0

Are you providing feedback about a specific package or packages in testing? (If so, please list the package(s) here and provide feedback in updates-status, linking to this issue.)

Affected component(s) or functionality

qubesd

Brief summary

If I set a qube’s GUI qube to be the qube itself, and do not set a keyboard layout, the keyboard_layout getter recurses forever, causing a stack overflow.

How Reproducible

100%

To Reproduce

Steps to reproduce the behavior:

  1. Set a qube as its own GUI qube
  2. Unset that qube’s keyboard_layout property
  3. Try to start the qube

Expected behavior

A reasonable error message.

Actual behavior

Stack overflow in qubesd

Screenshots

Additional context

The network code already detects and prevents netvm cycles. The same should probably be done for guivm.

Solutions you've tried

Avoid creating the above nonsensical configuration.

Relevant documentation you've consulted

None

Related, non-duplicate issues

None that I am aware of.

@DemiMarie DemiMarie added T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists. P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. labels Jun 30, 2021
@andrewdavidwong andrewdavidwong added C: gui-domain needs diagnosis Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed. updates testing Issue regarding an update that is currently in testing. Triage before migrating update to stable. labels Jun 30, 2021
@andrewdavidwong andrewdavidwong added this to the Release 4.1 milestone Jun 30, 2021
@andrewdavidwong andrewdavidwong added the affects-4.1 This issue affects Qubes OS 4.1. label Aug 8, 2023
@andrewdavidwong andrewdavidwong removed this from the Release 4.1 updates milestone Aug 13, 2023
@andrewdavidwong andrewdavidwong added eol-4.1 Closed because Qubes 4.1 has reached end-of-life (EOL) and removed needs diagnosis Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed. labels Dec 7, 2024

This comment was marked as outdated.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Dec 7, 2024
@marmarek marmarek added affects-4.2 This issue affects Qubes OS 4.2. affects-4.3 This issue affects Qubes OS 4.3. and removed eol-4.1 Closed because Qubes 4.1 has reached end-of-life (EOL) labels Dec 7, 2024
@marmarek marmarek reopened this Dec 7, 2024
@andrewdavidwong andrewdavidwong added the needs diagnosis Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed. label Dec 7, 2024
@DemiMarie DemiMarie added diagnosed Technical diagnosis has been performed (see issue comments). and removed needs diagnosis Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed. updates testing Issue regarding an update that is currently in testing. Triage before migrating update to stable. labels Dec 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-4.1 This issue affects Qubes OS 4.1. affects-4.2 This issue affects Qubes OS 4.2. affects-4.3 This issue affects Qubes OS 4.3. C: gui-domain diagnosed Technical diagnosis has been performed (see issue comments). P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists.
Projects
None yet
Development

No branches or pull requests

3 participants