Skip to content

[Bug/Feature] Add proper safeguards to prevent full system crashes #1999

@Aestyo

Description

@Aestyo

What did I do

I connected to a broker using MQTTX and subscribed to a topic that receives a high volume of messages.

What happened

My entire computer completely froze and became totally unresponsive. The system locked up so hard that I lost all access to keyboard, mouse, UI, everything. The only possible action was to force a full reboot.
This is 100% reproducible and only happens when using MQTTX.

Expected

MQTTX should never cause a full system freeze under any circumstances.
A software client must have proper safeguards, rate-limiting, buffering, or at the very least crash itself not the entire operating system. It is absolutely unacceptable that a simple electron app can lead to a total system lock-up.

Environment

  • OS: Windows 11 (latest patches applied)

  • MQTTX version: v1.12.0

  • Hardware:

    • Intel Core Ultra 7 165H
    • 32 GB RAM
    • NVIDIA RTX 2000 Ada Generation Laptop GPU

More detail

There is nothing particularly useful in the logs before the freeze, except for the following entries:

[2025-11-13 10:48:25] [ERROR] Error subscribing to topic: Error: client disconnecting
[2025-11-13 10:48:25] [INFO] Message buffer mode enabled (> 30/s)
[2025-11-13 10:48:25] [INFO] Message buffer mode enabled (> 30/s)
[2025-11-13 10:48:25] [INFO] Message buffer mode enabled (> 30/s)
[2025-11-13 10:48:25] [INFO] Message buffer mode enabled (> 30/s)
[2025-11-13 10:48:25] [INFO] Message buffer mode enabled (> 30/s)
[2025-11-13 10:48:25] [INFO] Message buffer mode enabled (> 30/s)
[2025-11-13 10:48:25] [INFO] Message buffer mode enabled (> 30/s)
[2025-11-13 10:48:25] [INFO] Message buffer mode enabled (> 30/s)
[2025-11-13 10:48:25] [INFO] Message buffer mode enabled (> 30/s)

No desktop application should ever be capable of freezing an entire operating system. The lack of control, safety mechanisms, or even basic stability is disappointing.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingdesktopMQTTX DesktopenhancementNew feature or request

Type

Projects

Status

Backlog

Relationships

None yet

Development

No branches or pull requests

Issue actions