HomeKit Bridge unter 5.5.100 stürzt ab

Hallo (Paresy),

ich wollte gerade mal wieder meine HomeKit in Betrieb nehmen und 3 alte Geräte rauslöschen.
Dabei stürzt der IPS-Dienst auf meinem Raspi ab / stoppt. Muss ihn manuell neu starten.

Ich hatte bis eben 5.5.93 drauf und habe jetzt auf 5.5.100 aktualisiert, keine Verbesserung. Sobald ich auf „Änderung übernehmen“ klicke, schmiert IPS ab.

Hast du hierzu bisher etwas gehört?

Bisher nein. Auf welcher Platform bist du unterwegs?

Kannst du dies hier mal probieren? Debugging für Experten (Raspberry Pi, Linux, SymBox)

paresy

Ich bin auf einem Raspberry Pi 3B unter Raspbian unterwegs.
Debugging habe ich noch nicht probiert, werde ich später mal testen.
P.S.: Gerade getestet. Sobald gdb läuft, reagiert die Console nicht mehr…

Bist du dir sicher, dass du GDB korrekt eingerichtet hast, sodass es auch „läuft“ und nicht im gdb Prompt steht? Magst du mal vom Zustand einen Screenshot machen?

paresy

Hier die Ausgabe aus dem Terminal (macOS). War wohl Layer 8 :slight_smile: :

Last login: Mon Nov 30 19:32:45 on ttys000
 ~ % ssh pi@ips-live
Warning: Permanently added the ECDSA host key for IP address  to the list of known hosts.
pi@ips-live's password: 
Linux ips-live 5.4.72-v7+ #1356 SMP Thu Oct 22 13:56:54 BST 2020 armv7l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Mon Nov 30 19:33:17 2020
pi@ips-live:~ $ sudo gdb --pid $(pidof symcon)
GNU gdb (Raspbian 8.2.1-2) 8.2.1
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "arm-linux-gnueabihf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word".
Attaching to process 479
[New LWP 520]
[New LWP 521]
[New LWP 522]
[New LWP 523]
[New LWP 524]
[New LWP 525]
[New LWP 526]
[New LWP 527]
[New LWP 528]
[New LWP 529]
[New LWP 530]
[New LWP 531]
[New LWP 532]
[New LWP 533]
[New LWP 534]
[New LWP 535]
[New LWP 536]
[New LWP 537]
[New LWP 538]
[New LWP 539]
[New LWP 540]
[New LWP 541]
[New LWP 542]
[New LWP 543]
[New LWP 544]
[New LWP 545]
[New LWP 546]
[New LWP 547]
[New LWP 548]
[New LWP 549]
[New LWP 550]
[New LWP 551]
[New LWP 552]
[New LWP 553]
[New LWP 554]
[New LWP 555]
[New LWP 556]
[New LWP 557]
[New LWP 558]
[New LWP 559]
[New LWP 560]
[New LWP 561]
[New LWP 562]
[New LWP 563]
[New LWP 564]
[New LWP 565]
[New LWP 566]
[New LWP 567]
[New LWP 568]
[New LWP 569]
[New LWP 570]
[New LWP 571]
[New LWP 572]
[New LWP 573]
[New LWP 1382]
[New LWP 1383]
[New LWP 1384]
[New LWP 1385]
[New LWP 1386]
[New LWP 1387]
[New LWP 1388]
[New LWP 1394]
[New LWP 1395]
[New LWP 1396]
[New LWP 1397]
[New LWP 1398]
[New LWP 1399]
[New LWP 1400]
[New LWP 1401]
[New LWP 1402]
[New LWP 1403]
[New LWP 1404]
[New LWP 1405]
[New LWP 1406]
[New LWP 1407]
[New LWP 1408]
[New LWP 1409]
[New LWP 1410]
[New LWP 1411]
[New LWP 1412]
[New LWP 18120]
[New LWP 18121]
[New LWP 18122]
[New LWP 18123]
[New LWP 18124]
[New LWP 20333]
[New LWP 21404]
[New LWP 21423]
[New LWP 21426]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
0x76d029d0 in epoll_wait (epfd=<optimized out>, events=0x7ed5c338, 
    maxevents=128, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
30	../sysdeps/unix/sysv/linux/epoll_wait.c: Datei oder Verzeichnis nicht gefunden.
(gdb) c
Continuing.
[New Thread 0x36ffb980 (LWP 21432)]
[New Thread 0x367fa980 (LWP 21433)]
[Thread 0x37ffd980 (LWP 21426) exited]
[Thread 0x377fc980 (LWP 21423) exited]
[Thread 0x399fe980 (LWP 21404) exited]
[Thread 0x36ffb980 (LWP 21432) exited]
[Thread 0x367fa980 (LWP 21433) exited]
[New Thread 0x367fa980 (LWP 21458)]
[New Thread 0x36ffb980 (LWP 21459)]
[New Thread 0x399fe980 (LWP 21460)]
[New Thread 0x377fc980 (LWP 21461)]
[Thread 0x367fa980 (LWP 21458) exited]
[Thread 0x36ffb980 (LWP 21459) exited]
[Thread 0x377fc980 (LWP 21461) exited]
[Thread 0x399fe980 (LWP 21460) exited]
[New Thread 0x377fc980 (LWP 21463)]
[New Thread 0x399fe980 (LWP 21464)]
[New Thread 0x36ffb980 (LWP 21465)]
[Thread 0x399fe980 (LWP 21464) exited]
[Thread 0x36ffb980 (LWP 21465) exited]
[Thread 0x377fc980 (LWP 21463) exited]
[New Thread 0x377fc980 (LWP 21514)]
[New Thread 0x36ffb980 (LWP 21516)]
[New Thread 0x399fe980 (LWP 21517)]
[New Thread 0x367fa980 (LWP 21518)]
[Thread 0x36ffb980 (LWP 21516) exited]
[Thread 0x367fa980 (LWP 21518) exited]
[New Thread 0x367fa980 (LWP 21519)]
[Thread 0x399fe980 (LWP 21517) exited]
[New Thread 0x399fe980 (LWP 21520)]
[Thread 0x367fa980 (LWP 21519) exited]
[New Thread 0x367fa980 (LWP 21521)]
[New Thread 0x36ffb980 (LWP 21522)]
[Thread 0x36ffb980 (LWP 21522) exited]
[Thread 0x399fe980 (LWP 21520) exited]
[New Thread 0x399fe980 (LWP 21523)]
[Thread 0x399fe980 (LWP 21523) exited]
[New Thread 0x399fe980 (LWP 21524)]
[Thread 0x399fe980 (LWP 21524) exited]
[New Thread 0x399fe980 (LWP 21525)]
[Thread 0x399fe980 (LWP 21525) exited]
[New Thread 0x399fe980 (LWP 21526)]
[New Thread 0x36ffb980 (LWP 21527)]
[New Thread 0x37ffd980 (LWP 21528)]
[Thread 0x37ffd980 (LWP 21528) exited]
[Thread 0x377fc980 (LWP 21514) exited]
[Thread 0x399fe980 (LWP 21526) exited]
[New Thread 0x399fe980 (LWP 21530)]
[Thread 0x399fe980 (LWP 21530) exited]
[Thread 0x36ffb980 (LWP 21527) exited]
[New Thread 0x36ffb980 (LWP 21531)]
[Thread 0x36ffb980 (LWP 21531) exited]
[New Thread 0x36ffb980 (LWP 21532)]
[New Thread 0x399fe980 (LWP 21533)]
[New Thread 0x377fc980 (LWP 21534)]
[New Thread 0x37ffd980 (LWP 21535)]
[Thread 0x37ffd980 (LWP 21535) exited]
[New Thread 0x37ffd980 (LWP 21536)]
[New Thread 0x35ff9980 (LWP 21537)]
[Thread 0x35ff9980 (LWP 21537) exited]
[Thread 0x36ffb980 (LWP 21532) exited]
[Thread 0x377fc980 (LWP 21534) exited]
[Thread 0x399fe980 (LWP 21533) exited]
[Thread 0x37ffd980 (LWP 21536) exited]
[New Thread 0x37ffd980 (LWP 21538)]
[Thread 0x37ffd980 (LWP 21538) exited]
[New Thread 0x37ffd980 (LWP 21539)]
[New Thread 0x377fc980 (LWP 21540)]
[New Thread 0x399fe980 (LWP 21541)]
[Thread 0x399fe980 (LWP 21541) exited]
[New Thread 0x399fe980 (LWP 21542)]
[Thread 0x399fe980 (LWP 21542) exited]
[Thread 0x37ffd980 (LWP 21539) exited]
[New Thread 0x37ffd980 (LWP 21543)]
[Thread 0x37ffd980 (LWP 21543) exited]
[New Thread 0x37ffd980 (LWP 21544)]
[Thread 0x37ffd980 (LWP 21544) exited]
[New Thread 0x37ffd980 (LWP 21545)]
[Thread 0x37ffd980 (LWP 21545) exited]
[New Thread 0x37ffd980 (LWP 21546)]
[Thread 0x37ffd980 (LWP 21546) exited]
[New Thread 0x37ffd980 (LWP 21559)]
[New Thread 0x399fe980 (LWP 21560)]
[Thread 0x399fe980 (LWP 21560) exited]
[Thread 0x4adfd980 (LWP 1382) exited]
[New Thread 0x4adfd980 (LWP 21561)]

Thread 28 "symcon" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x605e8980 (LWP 546)]
0x0245cac4 in avahi_s_service_resolver_free ()
(gdb) 

Die GDB.TXT hängt an.

gdb.txt (78.4 KB)

Vielen Dank! Ich denke die Ursache gefunden zu haben. Fix in der nächsten Beta.

paresy

Super, danke. Bin gespannt und melde mich, sobald verfügbar.

Fix steht jetzt im Beta-Kanal bereit. Freue mich auf dein Feedback :slight_smile:

paresy

Läuft wieder, danke!

Wann kommt der Fix in die Stable?

Wenn er für gut befunden wird :slight_smile:

paresy

Das ist wohl mit dem Beitrag vor meine Frage geschehen, oder?

Ganz so einfach geht es leider nicht. Wir möchten sichergehen, dass der Fix nicht irgendwelche Wechselwirkungen hat und sich möglicherweise an ganz anderen Stellen negativ auswirkt. Daher lassen wir Änderungen immer eine gewisse Zeit erst einmal nur in der Beta. Wenn es hier keine weiteren Rückmeldungen gibt, dann kommt es erst in die Stable. Die Wartezeit variiert dann wiederum nach Komplexität des Fixes, häufig liegt diese aber bei ungefähr zwei Wochen. Ein bisschen Geduld muss also noch sein :wink: