Bug 440838

Summary: qt.core.qabstractitemmodel.checkindex:error in logs
Product: [Plasma] plasmashell Reporter: Adrian Sevcenco <adrian.sev>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED FIXED    
Severity: normal CC: nate, plasma-bugs-null
Priority: NOR    
Version First Reported In: 5.22.4   
Target Milestone: 1.0   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 5.23
Sentry Crash Report:

Description Adrian Sevcenco 2021-08-10 15:03:58 UTC
SUMMARY
I noticed that the journal is flooded with:
qt.core.qabstractitemmodel.checkindex: Index QModelIndex(-1,-1,0x0,QObject(0x0)) is not valid (expected valid (expected valid)

STEPS TO REPRODUCE
i have no idea how i reached this point .. in fact i do not know
what to remove and where is the origin of the problem.

OBSERVED RESULT
flooded system journal

EXPECTED RESULT
not a flooded journal

SOFTWARE/OS VERSIONS
Fedora 34 up to date: kf5 5.83.0, qt 5.15.2
Comment 1 Adrian Sevcenco 2021-08-10 15:08:47 UTC
oh, and doing an strace on it give me this:
sendmsg(23, {msg_name={sa_family=AF_UNIX, sun_path="/run/systemd/journal/socket"}, msg_namelen=30, msg_iov=[{iov_base="MESSAGE=qt.core.qabstractitemmod"..., iov_len=118}, {iov_base="\n", iov_len=1}, {iov_base="PRIORITY=4", iov_len=10}, {iov_base="\n", iov_len=1}, {iov_base="CODE_FUNC=unknown", iov_len=17}, {iov_base="\n", iov_len=1}, {iov_base="CODE_LINE=0", iov_len=11}, {iov_base="\n", iov_len=1}, {iov_base="CODE_FILE=unknown", iov_len=17}, {iov_base="\n", iov_len=1}, {iov_base="QT_CATEGORY=qt.core.qabstractite"..., iov_len=49}, {iov_base="\n", iov_len=1}, {iov_base="SYSLOG_IDENTIFIER=", iov_len=18}, {iov_base="plasmashell", iov_len=11}, {iov_base="\n", iov_len=1}], msg_iovlen=15, msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 258

i also tried to look over with gdb (all debug symbols installed) but i do not know what to look for ..
Comment 2 Nate Graham 2021-08-10 16:24:00 UTC
This was a bug in Plasma System Monitor that has already been fixed for Plasma 5.23.