Domoticz stops with error. Topic is solved

Please use template to report bugs and problems. Post here your questions when not sure where else to post
Only for bugs in the Domoticz application! other problems go in different subforums!

Moderators: leecollings, remb0

Forum rules
Before posting here, make sure you are on the latest Beta or Stable version.
If you have problems related to the web gui, clear your browser cache + appcache first.

Use the following template when posting here:

Version: xxxx
Platform: xxxx
Plugin/Hardware: xxxx
Description:
.....

If you are having problems with scripts/blockly, always post the script (in a spoiler or code tag) or screenshots of your blockly

If you are replying, please do not quote images/code from the first post

Please mark your topic as Solved when the problem is solved.
Post Reply
Kedi
Posts: 595
Joined: Monday 20 March 2023 14:41
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Somewhere in NL
Contact:

Domoticz stops with error.

Post by Kedi »

When I stop domoticz manually I get this error, anyone any idea how to solve this or what the cause is?

Code: Select all

2026-02-08 11:11:03.286  Error: Domoticz(pid:677, tid:677('domoticz')) received fatal signal 6 (Aborted)
2026-02-08 11:11:03.286  Error: siginfo address=0x2a5, address=0x7f04e28c495c
2026-02-08 11:11:03.295  Error: Failed to start gdb, will use backtrace() for printing stack frame

2026-02-08 11:11:03.300  Error: #0  /home/eddy/domoticz/domoticz :  + 0x454b23 [0x557cbca5cb23]
2026-02-08 11:11:03.300  Error: #1  /home/eddy/domoticz/domoticz : signal_handler(int, siginfo_t*, void*) + 0x245 [0x557cbca5d5b5]
2026-02-08 11:11:03.300  Error: #2  /lib/x86_64-linux-gnu/libc.so.6 :  + 0x3fdf0 [0x7f04e286fdf0]
2026-02-08 11:11:03.300  Error: #3  /lib/x86_64-linux-gnu/libc.so.6 :  + 0x9495c [0x7f04e28c495c]
2026-02-08 11:11:03.300  Error: #4  /lib/x86_64-linux-gnu/libc.so.6 : gsignal + 0x12 [0x7f04e286fcc2]
2026-02-08 11:11:03.300  Error: #5  /lib/x86_64-linux-gnu/libc.so.6 : abort + 0x22 [0x7f04e28584ac]
2026-02-08 11:11:03.300  Error: #6  /lib/x86_64-linux-gnu/libpython3.13.so :  + 0x99fa3 [0x7f04e1499fa3]
2026-02-08 11:11:03.300  Error: #7  /lib/x86_64-linux-gnu/libpython3.13.so :  + 0x2b15f7 [0x7f04e16b15f7]
2026-02-08 11:11:03.300  Error: #8  /lib/x86_64-linux-gnu/libpython3.13.so : PyEval_RestoreThread + 0xab [0x7f04e1684ecb]
2026-02-08 11:11:03.300  Error: #9  /home/eddy/domoticz/domoticz : Plugins::CPluginSystem::StopPluginSystem() + 0xbb [0x557cbcf58d9b]
2026-02-08 11:11:03.300  Error: #10 /home/eddy/domoticz/domoticz : MainWorker::Stop() + 0x15c [0x557cbca23a3c]
2026-02-08 11:11:03.300  Error: #11 /home/eddy/domoticz/domoticz : main + 0x5c5 [0x557cbc922e75]
2026-02-08 11:11:03.300  Error: #12 /lib/x86_64-linux-gnu/libc.so.6 :  + 0x29ca8 [0x7f04e2859ca8]
2026-02-08 11:11:03.300  Error: #13 /lib/x86_64-linux-gnu/libc.so.6 : __libc_start_main + 0x85 [0x7f04e2859d65]
2026-02-08 11:11:03.300  Error: #14 /home/eddy/domoticz/domoticz : _start + 0x21 [0x557cbc949b41]
My system is Dietpi running as VM under Proxmox with:

Code: Select all

2026-02-08 11:16:29.414  Status: Domoticz V2025.2 (build 17082) (c)2012-2026 GizMoCuz
2026-02-08 11:16:29.414  Status: Build Hash: 0776fa964, Date: 2026-02-07 15:03:33

Code: Select all

PRETTY_NAME="Debian GNU/Linux 13 (trixie)"
NAME="Debian GNU/Linux"
VERSION_ID="13"
VERSION="13 (trixie)"
VERSION_CODENAME=trixie
DEBIAN_VERSION_FULL=13.3
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

Code: Select all

Linux domoprox 6.12.63+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.63-1 (2025-12-30) x86_64 GNU/Linux
Logic will get you from A to B. Imagination will take you everywhere.
Kedi
Posts: 595
Joined: Monday 20 March 2023 14:41
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Somewhere in NL
Contact:

Re: Domoticz stops with error.

Post by Kedi »

Nobody any idea???
The error comes from this line:

Code: Select all

Plugins::CPluginSystem::StopPluginSystem()
Why does this StopPluginSystem gives an error?
It is that last part of the stopping of Domoticz.

In the Python doc is this remark present

Code: Select all

Note Calling this function from a thread when the runtime is finalizing will hang the thread until the program exits,
even if the thread was not created by Python. Refer to Cautions regarding runtime finalization for more details.
Could this have anything to do with the abnormal exit of Domoticz?
Logic will get you from A to B. Imagination will take you everywhere.
User avatar
waltervl
Posts: 6677
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2025.1
Location: NL
Contact:

Re: Domoticz stops with error.

Post by waltervl »

As I remember it could be related to python modules that are used by Python plugins that have memory release issues.
Check GitHub issues on this issue.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Kedi
Posts: 595
Joined: Monday 20 March 2023 14:41
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Somewhere in NL
Contact:

Re: Domoticz stops with error.

Post by Kedi »

Tnx, I will try to check that and my plugins.
Logic will get you from A to B. Imagination will take you everywhere.
Kedi
Posts: 595
Joined: Monday 20 March 2023 14:41
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Somewhere in NL
Contact:

Re: Domoticz stops with error.

Post by Kedi »

With build 17189 this error has gone.
Logic will get you from A to B. Imagination will take you everywhere.
Kedi
Posts: 595
Joined: Monday 20 March 2023 14:41
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Somewhere in NL
Contact:

Re: Domoticz stops with error.

Post by Kedi »

Strange yesterday we were at build 17189, and today we are at 17163.
Is the counter going backwards?
B.t.w. Problem is still gone.
Logic will get you from A to B. Imagination will take you everywhere.
User avatar
waltervl
Posts: 6677
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2025.1
Location: NL
Contact:

Re: Domoticz stops with error.

Post by waltervl »

Kedi wrote: Tuesday 17 February 2026 10:02 Strange yesterday we were at build 17189, and today we are at 17163.
Is the counter going backwards?
B.t.w. Problem is still gone.
Gizmocuz had to revert some unwanted changes (due to Copilot assistance). He is working on it.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest