Bug 493305 - Multiple Java JOptionPane alerts displayed in succession causes plasmashell crash
Summary: Multiple Java JOptionPane alerts displayed in succession causes plasmashell c...
Status: RESOLVED DUPLICATE of bug 488596
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-crash (show other bugs)
Version: 6.1.5
Platform: Arch Linux Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2024-09-18 04:41 UTC by Kurt Wilson
Modified: 2024-09-18 21:55 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report: https://crash-reports.kde.org/organizations/kde/issues/35063/events/58820261101e458aa98982c726b1df3d/


Attachments
New crash information added by DrKonqi (122.65 KB, text/plain)
2024-09-18 04:41 UTC, Kurt Wilson
Details
Screen recording of the issue. I run one query as an example, and then two, which causes the failure (3.03 MB, video/webm)
2024-09-18 04:53 UTC, Kurt Wilson
Details
(corrected) Screen recording of the issue. I run one query as an example, and then two, which causes the failure (1.64 MB, video/webm)
2024-09-18 05:08 UTC, Kurt Wilson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kurt Wilson 2024-09-18 04:41:34 UTC
Application: plasmashell (6.1.5)

Qt Version: 6.7.2
Frameworks Version: 6.6.0
Operating System: Linux 6.10.10-arch1-1 x86_64
Windowing System: Wayland
Distribution: "Arch Linux"
DrKonqi: 6.1.5 [CoredumpBackend]

-- Information about the crash:
Application specific details: I'm using UPPAAL 4.1.20. When running a statistical query, it shows the result in (what I think is a) JOptionPane. If I run multiple queries together, UPPAAL shows these dialogs in sucession - acknowleging all of them causes a plasmashell crash.

UPPAAL is closed source, so I can't 100% confirm the mechanism causing the crash, but give me a few days and I'll try to reproduce it in Java.

The crash can be reproduced sometimes.

-- Backtrace (Reduced):
#5  0x0000717b91d7598c in QConcatenateTablesProxyModel::index (this=0x622a1e40d190, row=<optimized out>, column=0, parent=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/itemmodels/qconcatenatetablesproxymodel.cpp:280
#6  0x0000717b886bdb8d in TaskManager::TasksModel::TasksModelLessThan::operator() (this=0x7ffc682c4b00, r1=<optimized out>, r2=<optimized out>) at /usr/src/debug/plasma-workspace/plasma-workspace-6.1.5/libtaskmanager/tasksmodel.cpp:100
#8  std::__insertion_sort<QList<int>::iterator, __gnu_cxx::__ops::_Iter_comp_iter<TaskManager::TasksModel::TasksModelLessThan> > (__first=..., __last=..., __comp=...) at /usr/include/c++/14.2.1/bits/stl_algo.h:1777
#9  0x0000717b886be405 in std::__stable_sort_adaptive<QList<int>::iterator, int*, __gnu_cxx::__ops::_Iter_comp_iter<TaskManager::TasksModel::TasksModelLessThan> > (__first=..., __first@entry=..., __middle=..., __last=..., __last@entry=..., __buffer=__buffer@entry=0x622a2103fb90, __comp=...) at /usr/include/c++/14.2.1/bits/stl_algo.h:2705
#10 0x0000717b886bf91b in std::__stable_sort<QList<int>::iterator, __gnu_cxx::__ops::_Iter_comp_iter<TaskManager::TasksModel::TasksModelLessThan> > (__first=..., __last=..., __comp=...) at /usr/include/qt6/QtCore/qlist.h:113


Reported using DrKonqi
Comment 1 Kurt Wilson 2024-09-18 04:41:35 UTC
Created attachment 173812 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 Kurt Wilson 2024-09-18 04:53:37 UTC
Created attachment 173813 [details]
Screen recording of the issue. I run one query as an example, and then two, which causes the failure

Screen recording of the issue. I run one query as an example, and then two, which causes the failure.
Comment 3 Kurt Wilson 2024-09-18 04:54:59 UTC
Comment on attachment 173813 [details]
Screen recording of the issue. I run one query as an example, and then two, which causes the failure

I'm using the Doom effect from Burn My Windows, but the bug occurs with the stock Fade effect too
Comment 4 Kurt Wilson 2024-09-18 05:08:05 UTC
Created attachment 173814 [details]
(corrected) Screen recording of the issue. I run one query as an example, and then two, which causes the failure

Sorry, somehow I uploaded the wrong video
Comment 5 cwo 2024-09-18 08:08:08 UTC
Thank you for the bug report! This seems to be the same crash as bug 488596, which was recently fixed in the current development version. The fix should be included in Plasma 6.2, to be released in early October.

*** This bug has been marked as a duplicate of bug 488596 ***
Comment 6 Kurt Wilson 2024-09-18 21:55:42 UTC
(In reply to cwo from comment #5)
> Thank you for the bug report! This seems to be the same crash as bug 488596,
> which was recently fixed in the current development version. The fix should
> be included in Plasma 6.2, to be released in early October.
> 
> *** This bug has been marked as a duplicate of bug 488596 ***

Cool, thank you!