Skip to content

DOSBox-X frequently hangs on exit #6199

@logiclrd

Description

@logiclrd

Describe the bug

If I run DOSBox-X and then type EXIT or close the window right away, then it exits. If I run QBX, run some programs, and then type EXIT, then it exits. But, if the window has been open a long time with on-and-off use, then often when I type EXIT or try to close the window, DOSBox-X becomes unresponsive and must be killed with Task Manager or TASKKILL or what have you. I have tried to deliberately trigger it but haven't been able to find out what the threshold is.

Steps to reproduce the behaviour

  1. Run DOSBox-X.
  2. Use it to run QuickBASIC.
  3. Keep it open for a long time, periodically do more stuff with it.
  4. ???
  5. Try to close the window (either with the window X button or by entering EXIT).

If the bug triggers, DOSBox-X becomes unresponsive and can only be killed externally.

Expected behavior

DOSBox-X exits.

What operating system(s) this bug have occurred on?

Windows 10 22H2

What version(s) of DOSBox-X have this bug?

2026.01.02

Used configuration

Output log


Additional information

No response

Have you checked that no similar bug report(s) exist?

  • I have searched and didn't find any similar bug report.

Code of Conduct & Contributing Guidelines

  • I agree to follow the code of conduct and the contributing guidelines.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions