Bug 436542 - Plasmashell hangs in libfolderplugin.so when a highdpi monitor is pluged in
Summary: Plasmashell hangs in libfolderplugin.so when a highdpi monitor is pluged in
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: Desktop icons & Folder View widget (other bugs)
Version First Reported In: 5.21.2
Platform: Arch Linux Linux
: NOR major
Target Milestone: 1.0
Assignee: Eike Hein
URL:
Keywords: efficiency-and-performance
Depends on:
Blocks:
 
Reported: 2021-05-03 17:56 UTC by dmidge
Modified: 2022-12-05 05:14 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Stacktrace with gdb (147.06 KB, text/x-log)
2021-05-03 17:56 UTC, dmidge
Details
Asked backtrace with dbg infos (115.31 KB, text/plain)
2021-05-10 18:26 UTC, dmidge
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dmidge 2021-05-03 17:56:00 UTC
Created attachment 138118 [details]
Stacktrace with gdb

SUMMARY
The system hangs when the highDPI monitor is plugged in.

STEPS TO REPRODUCE
1. Plugin the HighDPI monitor to the HDMI of the laptop.

OBSERVED RESULT
The system hangs. No control over audio anymore. It is not possible to have any control, even on the resolution or luminosity anymore.
The only way to fix the hang is to kill plasmashell, unplug the monitor and restart plasmashell.

EXPECTED RESULT
Well, having another monitor working.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: archlinux with plasma 5.24.1-1 but also previous versions.
(available in About System)
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Plasma is running with Xorg.
The video card is:
`$lspci -v
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Wani [Radeon R5/R6/R7 Graphics] (rev c8) (prog-if 00 [VGA controller])
        Subsystem: Acer Incorporated [ALI] Device 1108
        Flags: bus master, fast devsel, latency 0, IRQ 48, IOMMU group 0
        Memory at e0000000 (64-bit, prefetchable) [size=256M]
        Memory at d2800000 (64-bit, prefetchable) [size=8M]
        I/O ports at 5000 [size=256]
        Memory at d3500000 (32-bit, non-prefetchable) [size=256K]
        Expansion ROM at 000c0000 [disabled] [size=128K]
        Capabilities: <access denied>
        Kernel driver in use: amdgpu
        Kernel modules: amdgpu
`

Added, a couple of stacktraces when it occurs.
Comment 1 Nate Graham 2021-05-03 20:54:08 UTC
Tons of this:

#0  0x00007f8e24701c7e in QUrl::isLocalFile() const () at /usr/lib/libQt5Core.so.5
#1  0x00007f8e24701cb2 in QUrl::operator==(QUrl const&) const () at /usr/lib/libQt5Core.so.5
#2  0x00007f8dec3461cc in  () at /usr/lib/qt/qml/org/kde/private/desktopcontainment/folder/libfolderplugin.so
#3  0x00007f8dec348784 in  () at /usr/lib/qt/qml/org/kde/private/desktopcontainment/folder/libfolderplugin.so
#4  0x00007f8dec3219c6 in  () at /usr/lib/qt/qml/org/kde/private/desktopcontainment/folder/libfolderplugin.so
#5  0x00007f8dec3242a1 in  () at /usr/lib/qt/qml/org/kde/private/desktopcontainment/folder/libfolderplugin.so

However we need debug symbols to proceed. See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports#Arch-based_distros_.28Arch.2C_EndeavourOS.2C_Manjaro.29 for how to do so on Arch.

Once you have debug symbols for Plasma, please reproduce the hang and attach a new sybolicated backtrace. Thank you!
Comment 2 dmidge 2021-05-10 18:26:46 UTC
Created attachment 138295 [details]
Asked backtrace with dbg infos

Addition of the asked backtrace containing the debug informations.
Comment 3 dmidge 2021-05-10 18:27:31 UTC
The backtrace is in the second file
Comment 4 dmidge 2021-05-16 16:06:57 UTC
Hi again,
Could you confirm that there is no missing information? Please don't hesitate to ask further information if needed.
Thanks!
Cheers.
Comment 5 Nate Graham 2022-11-05 03:23:40 UTC
Feels like a local install or upgrade issue, or a local misconfiguration, we we haven't had any other reports of something like this happening. As it has been a while since it was reported, can we please ask you to see if you can reproduce the issue with a recent software version? Like Plasma 5.25, or ideally 5.26?

If you can reproduce the issue, please change the status to "CONFIRMED" when replying. Thank you!
Comment 6 Bug Janitor Service 2022-11-20 05:11:50 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 7 Bug Janitor Service 2022-12-05 05:14:04 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!