Summary: | Plasma crash when running Java 17 CLI application, and one of them invokes DBus wrong | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | alexmateescu |
Component: | generic-crash | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED DUPLICATE | ||
Severity: | crash | CC: | kde, nate, nicolas.fella |
Priority: | NOR | Keywords: | drkonqi |
Version: | 5.24.5 | ||
Target Milestone: | 1.0 | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
alexmateescu
2022-05-17 11:46:35 UTC
#8 0x00007f25000142a0 in _dbus_warn_check_failed (format=0x7f2500021c70 "arguments to %s() were incorrect, assertion \"%s\" failed in file %s line %d.\nThis is normally a bug in some application using the D-Bus library.\n") at /usr/src/debug/dbus-1-1.14.0-3.2.x86_64/dbus/dbus-internals.c:289 Question is whether Plasma is using DBus wrong here, or the app is and Plasma is at fault for crashing rather than doing something more sensible. I doubt it has any tangible relation to the Java app. The crash is somewhere deep in Qt's DBus handling, and looking at the possible duplicates there's similar crashes that don't mention Java apps. What seems to happen is that the ksystemstats DBus service disappears, which sets off a chain of events that eventually leads to this crash #17 0x00007f2501d0bdf5 in QDBusServiceWatcher::serviceUnregistered (this=<optimized out>, _t1=...) at .moc/moc_qdbusservicewatcher.cpp:235 leads to #13 KSysGuard::SensorDaemonInterface::reconnect (this=0x7f24f816d070 <KSysGuard::SensorDaemonInterface::instance()::instance>) at /usr/src/debug/libksysguard5-5.24.5-1.2.x86_64/sensors/SensorDaemonInterface.cpp:41 leads to #8 0x00007f2501d0ddb3 in QDBusConnectionPrivate::signalNeedsConnecting (this=this@entry=0x7f24ec004e80, _t1=..., _t2=...) at .moc/moc_qdbusconnection_p.cpp:357 leads to #11 0x00007f2501cc6eeb in QDBusConnectionPrivate::addSignalHook (this=0x7f24ec004e80, key=..., hook=...) at qdbusintegrator.cpp:2298 leads to #10 QDBusConnectionPrivate::getNameOwnerNoCache (this=this@entry=0x7f24ec004e80, serviceName=...) at qdbusintegrator.cpp:2563 which is where it goes wrong in Qt code. But no idea what exactly is wrong there. Manually killing systemstats doesn't make anything crash here *** This bug has been marked as a duplicate of bug 435999 *** This may be relevant: I have seen this after Tumbleweed pushed their GCC12 compiled packages. |