Summary: | Crash on startup with KDNSSD 5.79.0 | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-kdnssd | Reporter: | Sefa Eyeoglu <contact> |
Component: | general | Assignee: | Matthew Dawson <matthew> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | arojas, kalindgar, kdelibs-bugs, kossebau |
Priority: | NOR | ||
Version: | 5.79.0 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/frameworks/kdnssd/commit/8c14803908a2a718fa0716fb98506aebda1fed46 | Version Fixed In: | |
Sentry Crash Report: |
Description
Sefa Eyeoglu
2021-02-14 21:07:50 UTC
Looks like knotes has a similar issue. This might be an issue with kdnssd Looks related to e8f082950a2fcb7b148a1ac568eda9400145da5d Mh, reinterpret_cast vs. static_cast with a multi-heritance subclass... I screwed up here I suspect after a first quick look. Seems e8f082950a2fcb7b148a1ac568eda9400145da5d needs to be reverted indeed, taking care now to look more at it and then get this official later tonight. A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kdnssd/-/merge_requests/3 Git commit 8c14803908a2a718fa0716fb98506aebda1fed46 by Friedrich W. H. Kossebau. Committed on 15/02/2021 at 14:30. Pushed by kossebau into branch 'master'. Revert "Switch from custom K_D to Q_DECLARE_PRIVATE_D & Q_D" Q_DECLARE_PRIVATE_D uses reinterpret_cast with the d member in the defined methods, which results in bad casting with the multi-inheritance subclasses of ServiceBasePrivate. Switch to use KDNSSD_D instead of K_D to reduce risk of potential clashes. This reverts commit e8f082950a2fcb7b148a1ac568eda9400145da5d. M +12 -12 src/avahi-publicservice.cpp M +2 -0 src/avahi-publicservice_p.h M +3 -3 src/avahi-remoteservice.cpp M +2 -0 src/avahi-remoteservice_p.h M +14 -12 src/mdnsd-publicservice.cpp M +5 -3 src/mdnsd-remoteservice.cpp M +0 -1 src/publicservice.h M +0 -1 src/remoteservice.h M +0 -14 src/servicebase.cpp M +6 -1 src/servicebase.h https://invent.kde.org/frameworks/kdnssd/commit/8c14803908a2a718fa0716fb98506aebda1fed46 *** Bug 432993 has been marked as a duplicate of this bug. *** |