[plasmashell] [Bug 487230] Repeated Plasma shell crashes after updating to Fedora KDE 40

2024-05-28 Thread postix
https://bugs.kde.org/show_bug.cgi?id=487230

--- Comment #15 from postix  ---
*** Bug 487466 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 487230] Repeated Plasma shell crashes after updating to Fedora KDE 40

2024-05-25 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=487230

Bug Janitor Service  changed:

   What|Removed |Added

   Priority|NOR |HI

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 487230] Repeated Plasma shell crashes after updating to Fedora KDE 40

2024-05-25 Thread Antonio Rojas
https://bugs.kde.org/show_bug.cgi?id=487230

Antonio Rojas  changed:

   What|Removed |Added

 CC||vivo75+...@gmail.com

--- Comment #14 from Antonio Rojas  ---
*** Bug 487515 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 487230] Repeated Plasma shell crashes after updating to Fedora KDE 40

2024-05-24 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=487230

Nate Graham  changed:

   What|Removed |Added

 CC||pos...@posteo.eu

--- Comment #13 from Nate Graham  ---
*** Bug 487466 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 487230] Repeated Plasma shell crashes after updating to Fedora KDE 40

2024-05-23 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=487230

Nate Graham  changed:

   What|Removed |Added

   Version Fixed In||6.0.5

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 487230] Repeated Plasma shell crashes after updating to Fedora KDE 40

2024-05-22 Thread Marco Martin
https://bugs.kde.org/show_bug.cgi?id=487230

Marco Martin  changed:

   What|Removed |Added

 CC||dylanchap...@rocketmail.com

--- Comment #12 from Marco Martin  ---
*** Bug 487344 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 487230] Repeated Plasma shell crashes after updating to Fedora KDE 40

2024-05-20 Thread Marco Martin
https://bugs.kde.org/show_bug.cgi?id=487230

Marco Martin  changed:

   What|Removed |Added

  Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
   |ma/libplasma/-/commit/5deb0 |ma/libplasma/-/commit/24e2b
   |a7491eefbe91f36ee7015eaefeb |6e95ee3ec192baa8d0a7a545629
   |78f5a1e6|dbed7595

--- Comment #11 from Marco Martin  ---
Git commit 24e2b6e95ee3ec192baa8d0a7a545629dbed7595 by Marco Martin.
Committed on 20/05/2024 at 14:59.
Pushed by mart into branch 'Plasma/6.0'.

More robust against malformed hints

std::clamp can assert when the minimum value is bigger than the maximum
value, max(min(minimum, value), maximum) should be a bit more robust
against such cases, and still return a valuse that is somewhat sensible
and usable


(cherry picked from commit 5deb0a7491eefbe91f36ee7015eaefeb78f5a1e6)

5deb0a74 More robust against malformed hints

M  +7-2src/plasmaquick/appletpopup.cpp

https://invent.kde.org/plasma/libplasma/-/commit/24e2b6e95ee3ec192baa8d0a7a545629dbed7595

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 487230] Repeated Plasma shell crashes after updating to Fedora KDE 40

2024-05-20 Thread Marco Martin
https://bugs.kde.org/show_bug.cgi?id=487230

Marco Martin  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
  Latest Commit||https://invent.kde.org/plas
   ||ma/libplasma/-/commit/5deb0
   ||a7491eefbe91f36ee7015eaefeb
   ||78f5a1e6
 Resolution|--- |FIXED

--- Comment #10 from Marco Martin  ---
Git commit 5deb0a7491eefbe91f36ee7015eaefeb78f5a1e6 by Marco Martin.
Committed on 20/05/2024 at 12:18.
Pushed by mart into branch 'master'.

More robust against malformed hints

std::clamp can assert when the minimum value is bigger than the maximum
value, max(min(minimum, value), maximum) should be a bit more robust
against such cases, and still return a valuse that is somewhat sensible
and usable

M  +7-2src/plasmaquick/appletpopup.cpp

https://invent.kde.org/plasma/libplasma/-/commit/5deb0a7491eefbe91f36ee7015eaefeb78f5a1e6

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 487230] Repeated Plasma shell crashes after updating to Fedora KDE 40

2024-05-20 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=487230

Nate Graham  changed:

   What|Removed |Added

 CC||n...@kde.org

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 487230] Repeated Plasma shell crashes after updating to Fedora KDE 40

2024-05-20 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=487230

Bug Janitor Service  changed:

   What|Removed |Added

 Status|REPORTED|ASSIGNED
 Ever confirmed|0   |1

--- Comment #9 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/plasma/libplasma/-/merge_requests/1129

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 487230] Repeated Plasma shell crashes after updating to Fedora KDE 40

2024-05-20 Thread Sławek
https://bugs.kde.org/show_bug.cgi?id=487230

--- Comment #8 from Sławek  ---
It just happened for me again. I had locked screen and closed laptop lid and
the I connected laptop to the docking station and external monitor. When I
typed password to unlock screen I had again plasmashell crash report.
I am using default Breeze theme.

Stack trace is like below:
Application: plasmashell (plasmashell), signal: Aborted


This GDB supports auto-downloading debuginfo from the following URLs:
  
Enable debuginfod for this session? (y or [n]) [answered N; input not from
terminal]
Debuginfod has been disabled.
To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit.
[New LWP 3440]
[New LWP 3494]
[New LWP 3669]
[New LWP 3503]
[New LWP 7099]
[New LWP 28661]
[New LWP 3695]
[New LWP 3505]
[New LWP 28664]
[New LWP 29622]
[New LWP 18400]
[New LWP 28663]
[New LWP 3696]
[New LWP 504864]
[New LWP 7101]
[New LWP 18398]
[New LWP 3479]
[New LWP 3482]
[New LWP 3483]
[New LWP 3989]
[New LWP 4020]
[New LWP 4172]
[New LWP 3988]
[New LWP 4238]
[New LWP 4242]
[New LWP 7097]
[New LWP 18397]
[New LWP 18401]
[New LWP 29621]
[New LWP 29623]
[New LWP 276857]
[New LWP 3691]
[New LWP 504862]
[New LWP 504867]
[New LWP 3493]
[New LWP 3504]
[New LWP 504860]
[New LWP 3694]
[New LWP 4239]
[New LWP 7098]
[New LWP 7100]
[New LWP 29624]
[New LWP 276856]
[New LWP 504861]
[New LWP 504863]
[New LWP 504866]
[New LWP 504865]
[New LWP 18399]
[New LWP 4241]
[New LWP 29625]
[New LWP 3502]
[New LWP 4240]
[New LWP 28660]
[New LWP 3697]
[New LWP 504871]
[New LWP 276853]
[New LWP 276854]
[New LWP 276855]
[New LWP 3549]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/usr/bin/plasmashell --no-respawn'.
Program terminated with signal SIGABRT, Aborted.
#0  0x7fb3a18ab144 in __pthread_kill_implementation () from
/lib64/libc.so.6
[Current thread is 1 (Thread 0x7fb39d027b00 (LWP 3440))]
Cannot QML trace cores :(
[Current thread is 1 (Thread 0x7fb39d027b00 (LWP 3440))]

Thread 59 (Thread 0x7fb36ea006c0 (LWP 3549)):
#0  0x7fb3a191d72d in poll () from /lib64/libc.so.6
#1  0x7fb3a0c4b6a4 in g_main_context_iterate_unlocked.isra () from
/lib64/libglib-2.0.so.0
#2  0x7fb3a0bebb23 in g_main_context_iteration () from
/lib64/libglib-2.0.so.0
#3  0x7fb3a227bf83 in
QEventDispatcherGlib::processEvents(QFlags) ()
from /lib64/libQt6Core.so.6
#4  0x7fb3a1fa26b3 in
QEventLoop::exec(QFlags) () from
/lib64/libQt6Core.so.6
#5  0x7fb3a20b402f in QThread::exec() () from /lib64/libQt6Core.so.6
#6  0x7fb3a214f35c in QThreadPrivate::start(void*) () from
/lib64/libQt6Core.so.6
#7  0x7fb3a18a91b7 in start_thread () from /lib64/libc.so.6
#8  0x7fb3a192b39c in clone3 () from /lib64/libc.so.6

Thread 58 (Thread 0x7fb2834006c0 (LWP 276855)):
#0  0x7fb3a18a5919 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x7fb3a18a82e9 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libc.so.6
#2  0x7fb385a9d84d in cnd_wait () from /usr/lib64/dri/iris_dri.so
#3  0x7fb385a7b40b in util_queue_thread_func () from
/usr/lib64/dri/iris_dri.so
#4  0x7fb385a9d77c in impl_thrd_routine () from /usr/lib64/dri/iris_dri.so
#5  0x7fb3a18a91b7 in start_thread () from /lib64/libc.so.6
#6  0x7fb3a192b39c in clone3 () from /lib64/libc.so.6

Thread 57 (Thread 0x7fb283e006c0 (LWP 276854)):
#0  0x7fb3a18a5919 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x7fb3a18a82e9 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libc.so.6
#2  0x7fb385a9d84d in cnd_wait () from /usr/lib64/dri/iris_dri.so
#3  0x7fb385a7b40b in util_queue_thread_func () from
/usr/lib64/dri/iris_dri.so
#4  0x7fb385a9d77c in impl_thrd_routine () from /usr/lib64/dri/iris_dri.so
#5  0x7fb3a18a91b7 in start_thread () from /lib64/libc.so.6
#6  0x7fb3a192b39c in clone3 () from /lib64/libc.so.6

Thread 56 (Thread 0x7fb28cc006c0 (LWP 276853)):
#0  0x7fb3a18a5919 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x7fb3a18a82e9 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libc.so.6
#2  0x7fb3a215ba8b in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from
/lib64/libQt6Core.so.6
#3  0x7fb3a3ec89c9 in QSGRenderThread::processEventsAndWaitForMore() ()
from /lib64/libQt6Quick.so.6
#4  0x7fb3a3ec8c4a in QSGRenderThread::run() () from
/lib64/libQt6Quick.so.6
#5  0x7fb3a214f35c in QThreadPrivate::start(void*) () from
/lib64/libQt6Core.so.6
#6  0x7fb3a18a91b7 in start_thread () from /lib64/libc.so.6
#7  0x7fb3a192b39c in clone3 () from /lib64/libc.so.6

Thread 55 (Thread 0x7fb274c006c0 (LWP 504871)):
#0  0x7fb3a18a5919 in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1  0x7fb3a18a8652 in pthread_cond_timedwait@@GLIBC_2.3.2 () from
/lib64/libc.so.6
#2  0x7fb3a215ba0d in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from
/lib64/libQt6Core.so.6
#3  

[plasmashell] [Bug 487230] Repeated Plasma shell crashes after updating to Fedora KDE 40

2024-05-20 Thread Michiel
https://bugs.kde.org/show_bug.cgi?id=487230

--- Comment #7 from Michiel  ---
(In reply to Akseli Lahtinen from comment #5)
> Can you get the crash with default global theme, like breeze light or breeze
> dark?

No, the crash doesn't happen when I use any of the default themes: Breeze,
Breeze Dark or Breeze Twilight. It also doesn't crash with the Fedora default
plasma theme.

Interestingly, when I switch from a Global Theme that causes a crash (such as
Otto) to one of those default themes, it crashes. But only during the switch;
once the good theme is active, it doesn't crash anymore. Just everytime that I
switch from a broken theme.

(In reply to Sławek from comment #6)
> I saw similar crash (reported by me in
> https://bugs.kde.org/show_bug.cgi?id=487180 but closed as duplicate of this
> one) and I am using only default Breeze theme. I have installed some other
> plasma themes but they are not used currently.

I can't reproduce it when on the default Breeze theme. Any chance any other of
the colors is still set to a different theme? So Colours/Application
Style/Plasma Style/Window Decorations etc. Otherwise, our two issues may be
caused by the same problem, but happen in different scenarios.

Our crash stacktraces are very similar, caused by:
[KCrash Handler]
#4  0x7fe5cb6ab144 in __pthread_kill_implementation () from
/lib64/libc.so.6
#5  0x7fe5cb65365e in raise () from /lib64/libc.so.6
#6  0x7fe5cb63b902 in abort () from /lib64/libc.so.6
#7  0x7fe5cb8d9d50 in std::__glibcxx_assert_fail(char const*, int, char
const*, char const*) () from /lib64/libstdc++.so.6
#8  0x7fe5cee8701f in PlasmaQuick::AppletPopup::updateSize() () from
/lib64/libPlasmaQuick.so.6
#9  0x7fe5cbdfa3f4 in void doActivate(QObject*, int, void**) () from
/lib64/libQt6Core.so.6
#10 0x7fe5cbdfa3f4 in void doActivate(QObject*, int, void**) () from
/lib64/libQt6Core.so.6
#11 0x7fe5cd9f6d9b in QQuickItem::setImplicitHeight(double) () from
/lib64/libQt6Quick.so.6
...

I looked for that AppletPopup::updateSize() at
https://github.com/KDE/plasma-framework/blob/master/src/plasmaquick/appletpopup.cpp#L221
but I don't see anything that would trigger that assertion one line up in the
stacktrace, so I can't figure out what would be causing this specifically.

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 487230] Repeated Plasma shell crashes after updating to Fedora KDE 40

2024-05-20 Thread Sławek
https://bugs.kde.org/show_bug.cgi?id=487230

--- Comment #6 from Sławek  ---
I saw similar crash (reported by me in
https://bugs.kde.org/show_bug.cgi?id=487180 but closed as duplicate of this
one) and I am using only default Breeze theme. I have installed some other
plasma themes but they are not used currently.

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 487230] Repeated Plasma shell crashes after updating to Fedora KDE 40

2024-05-20 Thread Akseli Lahtinen
https://bugs.kde.org/show_bug.cgi?id=487230

--- Comment #5 from Akseli Lahtinen  ---
Can you get the crash with default global theme, like breeze light or breeze
dark?

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 487230] Repeated Plasma shell crashes after updating to Fedora KDE 40

2024-05-20 Thread Michiel
https://bugs.kde.org/show_bug.cgi?id=487230

--- Comment #4 from Michiel  ---
(In reply to Akseli Lahtinen from comment #3)
> I can't repro this on Plasma 6 dev:
> 
> Operating System: Fedora Linux 40
> KDE Plasma Version: 6.0.80
> KDE Frameworks Version: 6.2.0
> Qt Version: 6.7.0
> Kernel Version: 6.8.9-300.fc40.x86_64 (64-bit)
> Graphics Platform: Wayland
> Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
> Memory: 15.5 GiB of RAM
> Graphics Processor: AMD Radeon RX 6600

I've done some more experimenting after a night of sleep, and it turns out to
have been related to the Global Theme I installed. I suppose that was a bit
dumb since I just installed it and that should've been something to check. I
guess there's a good chance that this is then not a bug with Plasma, so I
should report it with the theme author? Just in case, a more thorough analysis,
in case this ís something that's plasma-related:

I've noticed it in particular on a few themes that mention Kvantum (though I'm
not sure if they use Kvantum when installed directly). I used the "Otto" theme
which is what caused this bug report, and I noticed it again on Ant-Dark as an
experiment after I searched for "kvantum" in the "Get New" window of Global
Themes in System Settings. However, I'm not noticing it on "Nordic bluish"
which I have installed right now, though that one doesn't say it recommends
Kvantum, just that it's an option.

It happens mostly when on a virtual desktop with windows on it, and then
switching to a virtual desktop without windows. Then it tends to crash.

I don't know how these themes work exactly, but maybe some of these Kvantum
themes need something in Kvantum which is missing when I install it from "Get
New"? Because these themes can both be installed using Kvantum Manager and
through the theme browser.

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 487230] Repeated Plasma shell crashes after updating to Fedora KDE 40

2024-05-20 Thread Akseli Lahtinen
https://bugs.kde.org/show_bug.cgi?id=487230

Akseli Lahtinen  changed:

   What|Removed |Added

 CC||akse...@akselmo.dev

--- Comment #3 from Akseli Lahtinen  ---
I can't repro this on Plasma 6 dev:

Operating System: Fedora Linux 40
KDE Plasma Version: 6.0.80
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.0
Kernel Version: 6.8.9-300.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 15.5 GiB of RAM
Graphics Processor: AMD Radeon RX 6600

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 487230] Repeated Plasma shell crashes after updating to Fedora KDE 40

2024-05-20 Thread Akseli Lahtinen
https://bugs.kde.org/show_bug.cgi?id=487230

Akseli Lahtinen  changed:

   What|Removed |Added

 CC||the.rh...@gmail.com

--- Comment #2 from Akseli Lahtinen  ---
*** Bug 487262 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 487230] Repeated Plasma shell crashes after updating to Fedora KDE 40

2024-05-20 Thread Akseli Lahtinen
https://bugs.kde.org/show_bug.cgi?id=487230

Akseli Lahtinen  changed:

   What|Removed |Added

 CC||sla...@kaplonski.pl

--- Comment #1 from Akseli Lahtinen  ---
*** Bug 487180 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.