https://bugs.kde.org/show_bug.cgi?id=498373
Bug ID: 498373 Summary: querying memory/physical/buffer crashes ksystemstats on FreeBSD Classification: Frameworks and Libraries Product: ksystemstats Version: 6.2.4 Platform: FreeBSD Ports OS: FreeBSD Status: REPORTED Severity: normal Priority: NOR Component: General Assignee: plasma-b...@kde.org Reporter: henry.hu...@gmail.com CC: ahiems...@heimr.nl Target Milestone: --- SUMMARY querying memory/physical/buffer crashes ksystemstats on FreeBSD STEPS TO REPRODUCE 1. run "kstatsviewer memory/physical/buffer" OBSERVED RESULT ksystemstats crashes EXPECTED RESULT Return the amount of memory used for buffer (FreeBSD shows that in top). SOFTWARE/OS VERSIONS FreeBSD/KDE Plasma: FreeBSD 15-CURRENT KDE Plasma Version: 6.2.4 KDE Frameworks Version: 6.9.0 Qt Version: 6.7.3 ADDITIONAL INFORMATION I think dbus library called abort(): I see this when it crashed QDBusMarshaller: type 'ulong' (35) is not registered with D-Bus. Use qDBusRegisterMetaType to register it dbus[48596]: Array or variant type requires that type variant be written, but end_struct was written. The overall signature expected here was 'a(sv)' and we are on byte 3 of that signature. I'll try to debug it. Here's the stack trace: #7 thr_kill () at thr_kill.S:4 #8 0x000000082c820af4 in __raise (s=s@entry=6) at /usr/src/lib/libc/gen/raise.c:48 #9 0x000000082c8d56d9 in abort () at /usr/src/lib/libc/stdlib/abort.c:61 #10 0x000000083114c72c in _dbus_abort () from /usr/local/lib/libdbus-1.so.3 #11 0x000000083114101c in _dbus_warn_check_failed () from /usr/local/lib/libdbus-1.so.3 #12 0x000000083112c21a in ?? () from /usr/local/lib/libdbus-1.so.3 #13 0x000000083112c11d in _dbus_type_writer_unrecurse () from /usr/local/lib/libdbus-1.so.3 #14 0x0000000831131989 in dbus_message_iter_close_container () from /usr/local/lib/libdbus-1.so.3 #15 0x000000082370a916 in ?? () from /usr/local/lib/qt6/libQt6DBus.so.6 #16 0x000000082370a9ae in ?? () from /usr/local/lib/qt6/libQt6DBus.so.6 #17 0x0000000823708534 in ?? () from /usr/local/lib/qt6/libQt6DBus.so.6 #18 0x000000082373f1db in ?? () from /usr/local/lib/qt6/libQt6DBus.so.6 #19 0x000000082371f0f9 in ?? () from /usr/local/lib/qt6/libQt6DBus.so.6 #20 0x000000000023b886 in Client::sendValues (this=0x2bc99e260450, entries=...) at /home/henryhu/proj/ksystemstats/src/client.cpp:91 #21 0x000000000023b5b0 in Client::sendFrame (this=0x2bc99e260450) at /home/henryhu/proj/ksystemstats/src/client.cpp:76 #22 0x000000000021d080 in Daemon::sendFrame (this=0x820527680) at /home/henryhu/proj/ksystemstats/src/daemon.cpp:269 #23 0x0000000000233e9d in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (Daemon::*)()>::call(void (Daemon::*)(), Daemon*, void**) (f=(void (Daemon::*)(Daemon * const)) 0x21cfb0 <Daemon::sendFrame()>, o=0x820527680, arg=0x8205271b0) at /usr/local/include/qt6/QtCore/qobjectdefs_impl.h:145 #24 0x0000000000233dfd in QtPrivate::FunctionPointer<void (Daemon::*)()>::call<QtPrivate::List<>, void>(void (Daemon::*)(), Daemon*, void**) (f=(void (Daemon::*)(Daemon * const)) 0x21cfb0 <Daemon::sendFrame()>, o=0x820527680, arg=0x8205271b0) at /usr/local/include/qt6/QtCore/qobjectdefs_impl.h:182 #25 0x0000000000233d26 in QtPrivate::QCallableObject<void (Daemon::*)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1, this_=0x2bc99e21afc0, r=0x820527680, a=0x8205271b0, ret=0x0) at /usr/local/include/qt6/QtCore/qobjectdefs_impl.h:553 #26 0x000000082a546676 in ?? () from /usr/local/lib/qt6/libQt6Core.so.6 #27 0x000000082a557566 in QTimer::timerEvent(QTimerEvent*) () from /usr/local/lib/qt6/libQt6Core.so.6 #28 0x000000082a53a394 in QObject::event(QEvent*) () from /usr/local/lib/qt6/libQt6Core.so.6 #29 0x000000082a4f1864 in QCoreApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/local/lib/qt6/libQt6Core.so.6 #30 0x000000082a4f12de in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/local/lib/qt6/libQt6Core.so.6 #31 0x000000082a67d15a in QTimerInfoList::activateTimers() () from /usr/local/lib/qt6/libQt6Core.so.6 #32 0x000000082a76a09d in ?? () from /usr/local/lib/qt6/libQt6Core.so.6 #33 0x0000000832e9534b in ?? () from /usr/local/lib/libglib-2.0.so.0 #34 0x0000000832e95716 in ?? () from /usr/local/lib/libglib-2.0.so.0 #35 0x0000000832e957b6 in g_main_context_iteration () from /usr/local/lib/libglib-2.0.so.0 #36 0x000000082a76979e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/local/lib/qt6/libQt6Core.so.6 #37 0x000000082a4fac16 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/local/lib/qt6/libQt6Core.so.6 #38 0x000000082a4f1ac4 in QCoreApplication::exec() () from /usr/local/lib/qt6/libQt6Core.so.6 #39 0x000000000021c58b in main (argc=1, argv=0x8205279f0) at /home/henryhu/proj/ksystemstats/src/main.cpp:39 [Inferior 1 (process 16823) detached] -- You are receiving this mail because: You are watching all bug changes.