Zren / plasma-applet-eventcalendar

https://store.kde.org/p/998901/
469 stars 93 forks source link

Plasmashell crash when scrolling #259

Open Zren opened 3 years ago

Zren commented 3 years ago

https://store.kde.org/u/stroum: The calendar crashes the entire plasma desktop when interacting with the agenda. It could happen when scrolling down to see dates further down or clicking on a date. Event Calendar version 75, on Kubuntu 20.04, KDE Plasma 5.18.7, KDE Frameworks 5.68.0, Qt 5.12.8

stroum, please run:

coredumpctl info > ~/Desktop/CrashInfo.txt

The file should contain info about the /usr/bin/plasmashell crash. If not, run coredumpctl then coredumpctl --help to find the segfault info.

Copy the contents of the crash to https://hastebin.com/ then click the save icon. Copy the url and comment on the KDE Store with the link.

How many calendars/tasklists are displayed in your agenda? How many plasma calendar plugins are enabled?

What do you mean by clicking a date? Are you referring to clicking the date in the agenda (which shows the new event form in the panel popup), or are you referring to double clicking the date in the calendar to open a "create new event" form in the web browser.

If the crash is after opening the web browser, then the bug could be related to #238.

SteliosR commented 3 years ago

Hi there, I run the command and it came up with no such file or directory.

Only interacting with the agenda causes the crash. Some times it takes clicking a few times on a date there (not in the calendar), some times a single click. It happened once while scrolling the agenda down (that was a first one).

Double clicking on a date is set to "do nothing". Google calendar is not connected. Only the KDE holidays calendar plugin is enabled, nothing else.

This is a clean install of version 75, after removing the previous version (because it also crashed) and checking manually that there were no remnants.

Hitting print screen allows me to take a screenshot. I also have gnome-pie installed, so i can launch and use some apps, as long as they are not minimized or maximized by mistake when that happens. Otherwise the desktop is unusable. Here is a screenshot. https://www.dropbox.com/s/ptw4tk0hxh942zw/crash.jpg?dl=0 The calendar remains open and the panel is completely unresponsive. This time it crashed after few clicks, when i clicked on Aug 15.

If there is anything i can do to help you out, i will. I still keep the event calendar installed, i am just careful not to click inside the agenda section.

Edit: i run coredumpctl info > ~/Λήψεις/CrashInfo.txt becuase iit dawned to me that t the "Desktop" directory is actually in Greek and therefore does not exist as "Desktop" and got "No match found" as a result.

Zren commented 3 years ago

Make sure that the bottom entry in coredumpctl is plasmashell.

coredumpctl
# Arrow Keys and PageDn to scroll
# Ctrl+C to exit

2021-08-11___11-06-43

Try this instead, since I'm not sure if the translated greek folder is causing the "no match found" or if it's the coredumpctl command not finding a stacktrace.

cd ~/Λήψεις
coredumpctl info > ./CrashInfo.txt

In the screenshot, it looks like you are hovering the "event" and clicked that, not the "Aug 15 / Kup" button to open the "New Event Form". Opening the event will try to open it in the browser I guess. That's weird though since you said you aren't using EventCalendar's Google Calendar integration so there should be no HTML URL to open.

It does look like you are using the KDE PIM calendar however since you have "Birthdays & Anniversaries" in the New Even Form.

If you open the system monitor with Ctrl+Esc, you'll probably notice plasmashell at 100% CPU. That's what's causing the freeze, which is similar to #259.

SteliosR commented 3 years ago

I tried the commands you gave me and i get "no match found"

stelios@MyLinuxPC:~$ coredumpctl
No coredumps found.
stelios@MyLinuxPC:~$ cd ~/Λήψεις
stelios@MyLinuxPC:~/Λήψεις$ coredumpctl info > ./CrashInfo.txt
No match found.
stelios@MyLinuxPC:~/Λήψεις$

In that screenshot i was clicking on various dates and it crashed when i clicked Aug 15. I did the same to cause it to crash just now, started htop and i see that plasmashell constantly uses 100% of one (out of eight) core.

Zren commented 3 years ago

Hmm, does kubuntu still use ~/.xsession-errors instead of systemd for managing plasmashell? I forget if segfault stacktraces are printed in ~/.xsession-errors though.

SteliosR commented 3 years ago

Yes,i think it uses ~/.xsession-errors for plasma errors. Here is the problem though.. I have sent this file to null because it can get really big if you keep your PC on for, lets say, a few days and i didn't want to write all the time on the SSD. I will restore it and see if this info is sent there.

SteliosR commented 3 years ago

It does not provide any information after the crash. However, when the event calendar loads , i see this:

file:///home/stelios/.local/share/plasma/plasmoids/org.kde.plasma.eventcalendar/contents/ui/AgendaEventItem.qml:88: TypeError: Cannot read property 'summary' of null qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 30688, resource id: 88080411, major code: 18 (ChangeProperty), minor code: 0

I don't know if this is helpful, but it mentions something about AgendaEventItem.qml

Zren commented 3 years ago

Nah, that is some boring warnings before it crashes. If you run this in the terminal, it should restart plasma and print the logs in the terminal. The panel will restart. If you test the crash again, it should print the segfault info after crashing.

kstart5 -- plasmashell --replace
SteliosR commented 3 years ago

Running the command after the crash failed to restart the panel. It succeeded however if i did not cause the crash first. Here is the (very long) log until it froze (that's the log after the crash).

stelios@MyLinuxPC:~$ kstart5 -- plasmashell --replace
Omitting both --window and --windowclass arguments is not recommended
stelios@MyLinuxPC:~$ org.kde.plasmaquick: Applet preload policy set to 1
qt.svg: Cannot open file '/usr/share/plasma/plasmoids/org.kde.weatherWidget/contents/images/weather-widget.svg', because: No such file or directory
qt.svg: Cannot open file '/usr/share/plasma/plasmoids/org.kde.weatherWidget/contents/images/weather-widget.svg', because: No such file or directory
kf5.kpackage: No metadata file in the package, expected it at: "/home/stelios/Εικόνες/Wallpapers/Wallpapers-Win/"
kf5.kpackage: No metadata file in the package, expected it at: "/home/stelios/Εικόνες/Wallpapers/Wallpapers-Win/"
kf5.kpackage: No metadata file in the package, expected it at: "/home/stelios/Εικόνες/Wallpapers/Wallpapers-Win/"
file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:76:9: Unable to assign [undefined] to QStringList
file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:75:9: Unable to assign [undefined] to int
file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:75:9: Unable to assign [undefined] to int
file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:76:9: Unable to assign [undefined] to QStringList
trying to show an empty dialog
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Desktop.qml:146:19: QML Loader: Binding loop detected for property "height"
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Desktop.qml:146:19: QML Loader: Binding loop detected for property "height"
Plasma Shell startup completed
qml: Reading places from configuration: [{"placeAlias":"Athens","placeIdentifier":"Greece/Attica/Athens","providerId":"yrno"}]
qml: Reading places from configuration: [{"placeAlias":"Athens","placeIdentifier":"Greece/Attica/Athens","providerId":"yrno"}]
qml: cacheBackend failed to initialize
qml: Reading places from configuration: [{"placeAlias":"Athens","placeIdentifier":"Greece/Attica/Athens","providerId":"yrno"}]
file:///home/stelios/.local/share/plasma/plasmoids/org.kde.activeWindowControl/contents/ui/AppMenu.qml:49:9: QML Connections: Cannot assign to non-existent property "onRequestActivateIndex"
kf5.ki18n: "0 instead of 1 arguments to message {Search %1} supplied before conversion."
file:///home/stelios/.local/share/plasma/plasmoids/com.github.zren.tiledmenu/contents/ui/TileItemView.qml:86:2: QML QQuickText: Binding loop detected for property "height"
file:///home/stelios/.local/share/plasma/plasmoids/com.github.zren.tiledmenu/contents/ui/TileItemView.qml:86:2: QML QQuickText: Binding loop detected for property "height"
qml: getApp ardour.desktop no index
file:///home/stelios/.local/share/plasma/plasmoids/com.github.zren.tiledmenu/contents/ui/TileItemView.qml:86:2: QML QQuickText: Binding loop detected for property "height"
file:///home/stelios/.local/share/plasma/plasmoids/com.github.zren.tiledmenu/contents/ui/TileItemView.qml:86:2: QML QQuickText: Binding loop detected for property "height"
file:///home/stelios/.local/share/plasma/plasmoids/com.github.zren.tiledmenu/contents/ui/TileItemView.qml:86:2: QML QQuickText: Binding loop detected for property "height"
file:///home/stelios/.local/share/plasma/plasmoids/com.github.zren.tiledmenu/contents/ui/XdgPaths.qml:2:1: module "Qt.labs.platform" is not installed
qml: Reading resources from configuration: [{"sourceName":"lmsensors/k10temp-pci-00c3/temp1","alias":"CPU","overrideLimitTemperatures":false,"warningTemperature":70,"meltdownTemperature":90,"virtual":false,"childSourceObjects":{"lmsensors/amdgpu-pci-0100/edge":{"temperature":0},"lmsensors/amdgpu-pci-0100/vddgfx":{"temperature":0},"lmsensors/it8620-isa-0228/3VSB":{"temperature":0},"lmsensors/it8620-isa-0228/Vbat":{"temperature":0},"lmsensors/it8620-isa-0228/in0":{"temperature":0},"lmsensors/it8620-isa-0228/in1":{"temperature":0},"lmsensors/it8620-isa-0228/in2":{"temperature":0},"lmsensors/it8620-isa-0228/in3":{"temperature":0},"lmsensors/it8620-isa-0228/in4":{"temperature":0},"lmsensors/it8620-isa-0228/in5":{"temperature":0},"lmsensors/it8620-isa-0228/in6":{"temperature":0},"lmsensors/it8620-isa-0228/temp1":{"temperature":0},"lmsensors/it8620-isa-0228/temp2":{"temperature":0},"lmsensors/it8620-isa-0228/temp3":{"temperature":0},"lmsensors/it8620-isa-0228/temp4":{"temperature":0},"lmsensors/it8620-isa-0228/temp5":{"temperature":0},"lmsensors/it8620-isa-0228/temp6":{"temperature":0},"lmsensors/k10temp-pci-00c3/temp1":{"temperature":0},"udisks/INTEL_SSDSC2BW180A4_CVDA630100HC1802GN":{"temperature":0},"udisks/SanDisk_SDSSDHII240G_161480400105":{"temperature":0},"udisks/TOSHIBA_DT01ACA100_X6NUYLTFS":{"temperature":0},"udisks/WDC_WD10PURX_64E5EY0_WD_WCC4J3LFYZX8":{"temperature":0}}},{"sourceName":"lmsensors/amdgpu-pci-0100/edge","alias":"GPU","overrideLimitTemperatures":false,"warningTemperature":70,"meltdownTemperature":90,"virtual":false,"childSourceObjects":{"lmsensors/amdgpu-pci-0100/edge":{"temperature":0},"lmsensors/amdgpu-pci-0100/vddgfx":{"temperature":0},"lmsensors/it8620-isa-0228/3VSB":{"temperature":0},"lmsensors/it8620-isa-0228/Vbat":{"temperature":0},"lmsensors/it8620-isa-0228/in0":{"temperature":0},"lmsensors/it8620-isa-0228/in1":{"temperature":0},"lmsensors/it8620-isa-0228/in2":{"temperature":0},"lmsensors/it8620-isa-0228/in3":{"temperature":0},"lmsensors/it8620-isa-0228/in4":{"temperature":0},"lmsensors/it8620-isa-0228/in5":{"temperature":0},"lmsensors/it8620-isa-0228/in6":{"temperature":0},"lmsensors/it8620-isa-0228/temp1":{"temperature":0},"lmsensors/it8620-isa-0228/temp2":{"temperature":0},"lmsensors/it8620-isa-0228/temp3":{"temperature":0},"lmsensors/it8620-isa-0228/temp4":{"temperature":0},"lmsensors/it8620-isa-0228/temp5":{"temperature":0},"lmsensors/it8620-isa-0228/temp6":{"temperature":0},"lmsensors/k10temp-pci-00c3/temp1":{"temperature":0},"udisks/INTEL_SSDSC2BW180A4_CVDA630100HC1802GN":{"temperature":0},"udisks/SanDisk_SDSSDHII240G_161480400105":{"temperature":0},"udisks/TOSHIBA_DT01ACA100_X6NUYLTFS":{"temperature":0},"udisks/WDC_WD10PURX_64E5EY0_WD_WCC4J3LFYZX8":{"temperature":0}}},{"sourceName":"udisks/SanDisk_SDSSDHII240G_161480400105","alias":"SSD","overrideLimitTemperatures":false,"warningTemperature":70,"meltdownTemperature":90,"virtual":false,"childSourceObjects":{"lmsensors/amdgpu-pci-0100/edge":{"temperature":0},"lmsensors/amdgpu-pci-0100/vddgfx":{"temperature":0},"lmsensors/it8620-isa-0228/3VSB":{"temperature":0},"lmsensors/it8620-isa-0228/Vbat":{"temperature":0},"lmsensors/it8620-isa-0228/in0":{"temperature":0},"lmsensors/it8620-isa-0228/in1":{"temperature":0},"lmsensors/it8620-isa-0228/in2":{"temperature":0},"lmsensors/it8620-isa-0228/in3":{"temperature":0},"lmsensors/it8620-isa-0228/in4":{"temperature":0},"lmsensors/it8620-isa-0228/in5":{"temperature":0},"lmsensors/it8620-isa-0228/in6":{"temperature":0},"lmsensors/it8620-isa-0228/temp1":{"temperature":0},"lmsensors/it8620-isa-0228/temp2":{"temperature":0},"lmsensors/it8620-isa-0228/temp3":{"temperature":0},"lmsensors/it8620-isa-0228/temp4":{"temperature":0},"lmsensors/it8620-isa-0228/temp5":{"temperature":0},"lmsensors/it8620-isa-0228/temp6":{"temperature":0},"lmsensors/k10temp-pci-00c3/temp1":{"temperature":0},"udisks/INTEL_SSDSC2BW180A4_CVDA630100HC1802GN":{"temperature":0},"udisks/SanDisk_SDSSDHII240G_161480400105":{"temperature":0},"udisks/TOSHIBA_DT01ACA100_X6NUYLTFS":{"temperature":0},"udisks/WDC_WD10PURX_64E5EY0_WD_WCC4J3LFYZX8":{"temperature":0}}}]
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
 /////////////////////////
"Plasma Desktop version:  5.18.7 (332295)"
 /////////////////////////
qml: PulseAudio Latte interface was loaded...
Failed to register unity service
Loading Calendar plugin HolidaysEventsPlugin(0x5614440bf770)
trying to show an empty dialog
trying to show an empty dialog
trying to show an empty dialog
trying to show an empty dialog
Both point size and pixel size set. Using pixel size.
trying to show an empty dialog
file:///home/stelios/.local/share/plasma/plasmoids/org.kde.plasma.uswitcher/contents/ui/main.qml:143: TypeError: Cannot read property 'pointSize' of undefined
2
org.kde.plasma.notifications: Failed to register Notification service on DBus
org.kde.plasma.notifications: Failed to register JobViewServer service on DBus, is kuiserver running?
org.kde.plasma.notifications: Failed to register JobViewServer DBus object
libkcups: CUPS-Get-Printers last error: 1030 No destinations added.
libkcups: Create-Printer-Subscriptions last error: 0 successful-ok
libkcups: Get-Jobs last error: 0 successful-ok
libkcups: Get-Jobs last error: 0 successful-ok
QQuickItem::stackAfter: Cannot stack StatusNotifierItem_QMLTYPE_529(0x56144472ba50, parent=0x561443ace530, geometry=0,0 0x0) after StatusNotifierItem_QMLTYPE_529(0x561444721ff0), which must be a sibling
QQuickItem::stackAfter: Cannot stack StatusNotifierItem_QMLTYPE_529(0x5614440c2d90, parent=0x561443ace530, geometry=0,0 0x0) after StatusNotifierItem_QMLTYPE_529(0x56144472ba50), which must be a sibling
QQuickItem::stackAfter: Cannot stack StatusNotifierItem_QMLTYPE_529(0x561443fc2b70, parent=0x561443ace530, geometry=0,0 0x0) after StatusNotifierItem_QMLTYPE_529(0x5614440c2d90), which must be a sibling
QQuickItem::stackAfter: Cannot stack StatusNotifierItem_QMLTYPE_529(0x561444340f80, parent=0x561443ace530, geometry=0,0 0x0) after StatusNotifierItem_QMLTYPE_529(0x561443fc2b70), which must be a sibling
QQuickItem::stackAfter: Cannot stack StatusNotifierItem_QMLTYPE_529(0x56144434a090, parent=0x561443ace530, geometry=0,0 0x0) after StatusNotifierItem_QMLTYPE_529(0x561444340f80), which must be a sibling
"Couldn't register name 'org.kde.plasmashell' with DBUS - another process owns it already!"
SteliosR commented 3 years ago

I went here https://community.kde.org/Plasma/Debugging and used gdb to run the plasmoid inside its own window so that i can crash it and get a a log without crashing the whole panel. So, it only crashes if i hover over a date which has an entry from the kde plasma holidays calendar. if i click on other dates it does not crash. If i scroll down the agenda and the mouse pointer hovers accidentally over such a date it will crash. When that happens. i get this: file:///home/stelios/.local/share/plasma/plasmoids/org.kde.plasma.eventcalendar/contents/ui/AgendaEventItem.qml:88: TypeError: Cannot read property 'summary' of null

This is the whole log i got:

(gdb) run org.kde.plasma.eventcalendar
Starting program: /usr/bin/plasmawindowed org.kde.plasma.eventcalendar
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff1336700 (LWP 19949)]
[New Thread 0x7fffebc02700 (LWP 19950)]
Loading default layout
QObject::disconnect: Unexpected null parameter
[New Thread 0x7fffe8cce700 (LWP 19952)]
[New Thread 0x7fffde849700 (LWP 19953)]
[New Thread 0x7fffde048700 (LWP 19954)]
[New Thread 0x7fffdd847700 (LWP 19955)]
[New Thread 0x7fffdd046700 (LWP 19956)]
[New Thread 0x7fffdc845700 (LWP 19957)]
[New Thread 0x7fffc7fff700 (LWP 19958)]
[New Thread 0x7fffc77fe700 (LWP 19959)]
[New Thread 0x7fffc6ffd700 (LWP 19960)]
[New Thread 0x7fffc67fc700 (LWP 19961)]
[New Thread 0x7fffc5ffb700 (LWP 19962)]
[New Thread 0x7fffc57fa700 (LWP 19963)]
[New Thread 0x7fffc4ff9700 (LWP 19964)]
[New Thread 0x7fffa3fff700 (LWP 19965)]
[New Thread 0x7fffa37fe700 (LWP 19966)]
[New Thread 0x7fffa2ffd700 (LWP 19967)]
[Thread 0x7fffa2ffd700 (LWP 19967) exited]
[New Thread 0x7fffa2ffd700 (LWP 19968)]
org.kde.plasma: requesting config for "Ημερολόγιο Συμβάντων" without a containment!
org.kde.plasmaquick: Applet preload policy set to 1
[New Thread 0x7fffa1dbc700 (LWP 19969)]
[New Thread 0x7fff93e50700 (LWP 19970)]
Loading Calendar plugin HolidaysEventsPlugin(0x555555f38530)
qml: [eventcalendar:migrate] convert enabledCalendarPlugins (holidaysevents.so => holidaysevents.so)
qml: 0
2
file:///home/stelios/.local/share/plasma/plasmoids/org.kde.plasma.eventcalendar/contents/ui/PopupView.qml:393:5: Unable to assign [undefined] to double
[New Thread 0x7fff91617700 (LWP 19979)]
[New Thread 0x7fff90e15700 (LWP 19980)]
[New Thread 0x7fff7fbff700 (LWP 19981)]
[Thread 0x7fff7fbff700 (LWP 19981) exited]
file:///home/stelios/.local/share/plasma/plasmoids/org.kde.plasma.eventcalendar/contents/ui/AgendaEventItem.qml:88: TypeError: Cannot read property 'summary' of null
[Thread 0x7fff93e50700 (LWP 19970) exited]
Thread 1 "plasmawindowed" received signal SIGINT, Interrupt.
0x00007ffff7a29233 in QQuickItemPrivate::itemToParentTransform(QTransform&) const ()
   from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
palenske commented 3 years ago

Hi! I went through a similar situation: when I hovered over the dates or clicked on an event, the event calendar would crash. The log pointed to an error that brought me here > .../plasma/plasmoids/org.kde.plasma.eventcalendar/contents/ui/AgendaEventItem.qml:88: TypeError: Cannot read property 'summary' of null

but later I realized that this type of error was accompanied by warnings about missing items >

QPixmap::scaled: Pixmap is a null pixmap
QPixmap::scaled: Pixmap is a null pixmap
Icon theme "gnome" not found.
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/16/"
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/22/"
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/24/"
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/32/"
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/48/"
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/64/"
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/128/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/8x8/legacy/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/16x16/legacy/"
Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/16x16/ui/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/22x22/legacy/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/24x24/legacy/"
Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/24x24/ui/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/32x32/legacy/"
Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/32x32/ui/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/48x48/legacy/"
Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/48x48/ui/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/64x64/legacy/"
Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/64x64/ui/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/96x96/legacy/"
Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/96x96/ui/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/256x256/legacy/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/512x512/legacy/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/scalable/legacy/"
Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/scalable/ui/"
Icon theme "Mint-X" not found.
Icon theme "elementary" not found.
Icon theme "gnome" not found.
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 20066, resource id: 92274694, major code: 18 (ChangeProperty), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 20070, resource id: 92274695, major code: 18 (ChangeProperty), minor code: 0

I looked for the solution of the missing icons and it was suggested this command: gsettings set org.gnome.desktop.interface icon-theme "ubuntu-mono-dark"

Apparently solved the event calendar glitch, now I can even click on the events and get redirected with my browser. Maybe this could point to a possible solution ;)

palenske commented 3 years ago

Oh, minutes after i get other crash :(

qml: [eventcalendar:debug] syncing upcomingEvents with eventModel
qml: [eventcalendar:debug] UpcomingEvents_QMLTYPE_330(0x55c3841306a0) clear()
qml: [eventcalendar:debug] upcomingEvents.onAllDataFetched 2021-09-24T03:00:00.000Z 2021-10-06T15:20:35.790Z 2021-11-07T03:00:00.000Z
qml: [eventcalendar:debug] isExpanded false
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 47433, resource id: 0, major code: 14 (GetGeometry), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 47738, resource id: 0, major code: 14 (GetGeometry), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 47739, resource id: 0, major code: 14 (GetGeometry), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 47740, resource id: 0, major code: 14 (GetGeometry), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 47741, resource id: 0, major code: 14 (GetGeometry), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 47742, resource id: 0, major code: 14 (GetGeometry), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 47743, resource id: 0, major code: 14 (GetGeometry), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 47744, resource id: 0, major code: 14 (GetGeometry), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 47745, resource id: 0, major code: 14 (GetGeometry), minor code: 0
qml: [eventcalendar:debug] isExpanded true
qml: [eventcalendar:debug] setToday qua out 6 12:21:03 2021 GMT-0300
qml: [eventcalendar:debug] currentTime qua out 6 12:21:03 2021 GMT-0300
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 47910, resource id: 0, major code: 14 (GetGeometry), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 47911, resource id: 0, major code: 14 (GetGeometry), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 47912, resource id: 0, major code: 14 (GetGeometry), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 47914, resource id: 0, major code: 14 (GetGeometry), minor code: 0
qml: [eventcalendar:debug] isExpanded false
qml: [eventcalendar:debug] isExpanded true
qml: [eventcalendar:debug] setToday qua out 6 12:21:12 2021 GMT-0300
qml: [eventcalendar:debug] currentTime qua out 6 12:21:12 2021 GMT-0300
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 49575, resource id: 0, major code: 14 (GetGeometry), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 49576, resource id: 0, major code: 14 (GetGeometry), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 49577, resource id: 0, major code: 14 (GetGeometry), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 49579, resource id: 0, major code: 14 (GetGeometry), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 49580, resource id: 0, major code: 14 (GetGeometry), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 49581, resource id: 0, major code: 14 (GetGeometry), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 49582, resource id: 0, major code: 14 (GetGeometry), minor code: 0
qml: [eventcalendar:debug] KDEPIM Not installed as PimCalendarsModel import failed. undefined
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 51907, resource id: 0, major code: 14 (GetGeometry), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 51908, resource id: 0, major code: 14 (GetGeometry), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 51909, resource id: 0, major code: 14 (GetGeometry), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 51910, resource id: 0, major code: 14 (GetGeometry), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 51911, resource id: 0, major code: 14 (GetGeometry), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 51913, resource id: 0, major code: 14 (GetGeometry), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 52031, resource id: 42039665, major code: 20 (GetProperty), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 52697, resource id: 0, major code: 14 (GetGeometry), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 52698, resource id: 0, major code: 14 (GetGeometry), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 52699, resource id: 0, major code: 14 (GetGeometry), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 52700, resource id: 0, major code: 14 (GetGeometry), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 52701, resource id: 0, major code: 14 (GetGeometry), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 52703, resource id: 0, major code: 14 (GetGeometry), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 52817, resource id: 42040921, major code: 20 (GetProperty), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 53604, resource id: 0, major code: 14 (GetGeometry), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 53605, resource id: 0, major code: 14 (GetGeometry), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 53606, resource id: 0, major code: 14 (GetGeometry), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 53607, resource id: 0, major code: 14 (GetGeometry), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 53608, resource id: 0, major code: 14 (GetGeometry), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 53610, resource id: 0, major code: 14 (GetGeometry), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 53701, resource id: 42040972, major code: 20 (GetProperty), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 53975, resource id: 0, major code: 14 (GetGeometry), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 53981, resource id: 0, major code: 14 (GetGeometry), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 54099, resource id: 42040979, major code: 20 (GetProperty), minor code: 0
Icon theme "gnome" not found.
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/16/"
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/22/"
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/24/"
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/32/"
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/48/"
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/64/"
Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/128/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/8x8/legacy/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/16x16/legacy/"
Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/16x16/ui/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/22x22/legacy/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/24x24/legacy/"
Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/24x24/ui/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/32x32/legacy/"
Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/32x32/ui/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/48x48/legacy/"
Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/48x48/ui/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/64x64/legacy/"
Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/64x64/ui/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/96x96/legacy/"
Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/96x96/ui/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/256x256/legacy/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/512x512/legacy/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/scalable/legacy/"
Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/scalable/ui/"
Icon theme "Mint-X" not found.
Icon theme "elementary" not found.
Icon theme "gnome" not found.
raykostantchev commented 3 years ago

When I run kstart5 -- plasmashell --replace

The last line that it always prints out when crashing whilst scrolling is qml: [eventcalendar:debug] KDEPIM Not installed as PimCalendarsModel import failed. undefined

I got plasma 5.14.5 and v75 of the event calendar, and currently running MX linux 19.4.

After running sudo apt install kdepim-addons it then crashes on

qml: [eventcalendar:debug] calendarModel PimCalendarsModel(0x556db501ff10)
qml: [eventcalendar:debug] calendarModel.count 2`
qml: [eventcalendar:debug] PimCalendarsModel 0 Birthdays & Anniversaries {
    "checked": false,
    "enabled": true,
    "iconName": "view-calendar-birthday",
    "id": 2,
    "name": "Birthdays & Anniversaries"
}
qml: [eventcalendar:debug] PimCalendarsModel 1 Personal Calendar {
    "checked": false,
    "enabled": true,
    "iconName": "office-calendar",
    "id": 8,
    "name": "Personal Calendar"
}

edit: Seems that going into Settings -> Events and enabling "Holidays" and "PMI events Plugin" fixed this issue for me. Now it doesn't crash when scrolling for me....

ashleywaite commented 3 years ago

I'm seeing similar behaviour though it's not really a crash, but a freeze. Every time it freezes it's soaking up 100% of a core, so I imagine there's a tight loop somewhere that it's getting stuck in and this freezes the entire container.

As I was running it inside a latte panel, killing latte-dock and then starting it again with KRunner got everything back to normal until it eventually does it again.

I can consistently make it freeze by enabling any of the calendar plugins then hovering over one of those events in the agenda list. It does this when I have only the holidays plugin active (mine is set to show for Victoria, Australia), when I have only the google calendar active, and when I have only PIM active. No matter the source of the calendar entries, it freezes on hover and the whole panel/latte needs to be killed.

SteliosR commented 2 years ago

After upgrading to Kubuntu 21.10 using plasma 23.5, Qt 5.15.2 and using it for two months now, there are no crashes any more. Could it be that this was actually a Plasma bug? Everything works just fine now.

myduckperson commented 2 years ago

I get the same issue, but with small difference, it freezes when I just hover on event long enough. Scrolling is fine, as long as I never stop scrolling. This delay before freezing feels like it intentionally waits. The same delay happens when I hover over weather icon and it shows me small modal window with short description (as in picture attached below). Maybe event tries to do the same thing as weather icons? Plus I don't need necessarily hold cursor in one place for it to happen (which is the same with weather icon description).
image Operating System: Kubuntu 20.04 LTS KDE Plasma Version: 5.18.5 KDE Frameworks Version: 5.68.0

sylvainar commented 2 years ago

I still have the issue as well, same config as @myduckperson, that's too bad I was about to love it. Does someone has a workaround?

EDIT: Thanks to @raykostantchev, i can confirm that activating holidays actually fixes the issue

weird.

EDIT2 one day later: nop, still crashing