Bug 491846 - Plasmashell crashes in QRegularExpressionPrivate::cleanCompiledPattern() after playing with monitor settings
Summary: Plasmashell crashes in QRegularExpressionPrivate::cleanCompiledPattern() afte...
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-crash (other bugs)
Version First Reported In: 6.1.4
Platform: openSUSE Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2024-08-18 03:32 UTC by Holden
Modified: 2025-05-06 03:47 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report: https://crash-reports.kde.org/organizations/kde/issues/58843/events/d276bcfa04b64fb1bfc8208d9fcbd862/


Attachments
New crash information added by DrKonqi (94.17 KB, text/plain)
2024-08-18 03:32 UTC, Holden
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Holden 2024-08-18 03:32:16 UTC
Application: plasmashell (6.1.4)

Qt Version: 6.7.2
Frameworks Version: 6.5.0
Operating System: Linux 6.10.3-1-default x86_64
Windowing System: Wayland
Distribution: "openSUSE Tumbleweed"
DrKonqi: 6.1.4 [CoredumpBackend]

-- Information about the crash:
Was adjusting monitor settings on an acer ultrawide monitor, noticed plasmashell had crashed and surprisingly didn't gracefully restart. Not sure which setting did it, although I was interacting via the physical hardware buttons. Possibly when adjusting HDR settings or enabling "Freesync mode."

The reporter is unsure if this crash is reproducible.

-- Backtrace (Reduced):
#4  sljit_remove_free_block (free_block=<optimized out>) at src/sljit/allocator_src/sljitExecAllocatorCore.c:280
#5  sljit_free_exec (ptr=0x7f3f885b4c00) at src/sljit/allocator_src/sljitExecAllocatorCore.c:281
#6  0x00007f3fac0d08e3 in sljit_free_code (exec_allocator_data=0x0, code=<optimized out>) at src/sljit/sljitLir.c:562
#7  _pcre2_jit_free_16 (executable_jit=0x7f3f64009270, memctl=0x7f3f64091f40) at src/pcre2_jit_misc.c:92
#8  0x00007f3fac08726a in pcre2_code_free_16 (code=0x7f3f64091f40) at src/pcre2_compile.c:1276


Reported using DrKonqi
Comment 1 Holden 2024-08-18 03:32:18 UTC
Created attachment 172718 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 Akseli Lahtinen 2024-08-20 08:08:00 UTC
Searchable backtrace 

Thread 1 (Thread 0x7f3f820006c0 (LWP 1487834)):
[KCrash Handler]
#4  sljit_remove_free_block (free_block=<optimized out>) at src/sljit/allocator_src/sljitExecAllocatorCore.c:280
#5  sljit_free_exec (ptr=0x7f3f885b4c00) at src/sljit/allocator_src/sljitExecAllocatorCore.c:281
#6  0x00007f3fac0d08e3 in sljit_free_code (exec_allocator_data=0x0, code=<optimized out>) at src/sljit/sljitLir.c:562
#7  _pcre2_jit_free_16 (executable_jit=0x7f3f64009270, memctl=0x7f3f64091f40) at src/pcre2_jit_misc.c:92
#8  0x00007f3fac08726a in pcre2_code_free_16 (code=0x7f3f64091f40) at src/pcre2_compile.c:1276
#9  0x00007f3fadf14960 in QRegularExpressionPrivate::cleanCompiledPattern (this=0x7f3f6404df20) at /usr/src/debug/qtbase-everywhere-src-6.7.2/src/corelib/text/qregularexpression.cpp:871
#10 QRegularExpressionPrivate::~QRegularExpressionPrivate (this=0x7f3f6404df20, this=<optimized out>) at /usr/src/debug/qtbase-everywhere-src-6.7.2/src/corelib/text/qregularexpression.cpp:840
#11 QExplicitlySharedDataPointer<QRegularExpressionPrivate>::~QExplicitlySharedDataPointer (this=<optimized out>, this=<optimized out>) at /usr/src/debug/qtbase-everywhere-src-6.7.2/src/corelib/text/qregularexpression.cpp:1380
#12 QExplicitlySharedDataPointer<QRegularExpressionPrivate>::~QExplicitlySharedDataPointer (this=<optimized out>, this=<optimized out>) at /usr/src/debug/qtbase-everywhere-src-6.7.2/src/corelib/text/qregularexpression.cpp:1380
#13 0x00007f3fadd4ef9c in std::_Destroy<QRegularExpression> (__pointer=0x7f3f6400c388) at /usr/include/c++/13/bits/stl_construct.h:151
#14 std::_Destroy_aux<false>::__destroy<QRegularExpression*> (__last=0x7f3f6400c438, __first=0x7f3f6400c388) at /usr/include/c++/13/bits/stl_construct.h:163
#15 std::_Destroy<QRegularExpression*> (__last=0x7f3f6400c438, __first=<optimized out>) at /usr/include/c++/13/bits/stl_construct.h:196
#16 std::destroy<QRegularExpression*> (__last=0x7f3f6400c438, __first=<optimized out>) at /usr/include/c++/13/bits/stl_construct.h:253
#17 QtPrivate::QGenericArrayOps<QRegularExpression>::destroyAll (this=<optimized out>) at /usr/src/debug/qtbase-everywhere-src-6.7.2/src/corelib/tools/qarraydataops.h:397
#18 QArrayDataPointer<QRegularExpression>::~QArrayDataPointer (this=<optimized out>, this=<optimized out>) at /usr/src/debug/qtbase-everywhere-src-6.7.2/src/corelib/tools/qarraydatapointer.h:109
#19 QArrayDataPointer<QRegularExpression>::~QArrayDataPointer (this=<optimized out>, this=<optimized out>) at /usr/src/debug/qtbase-everywhere-src-6.7.2/src/corelib/tools/qarraydatapointer.h:106
#20 QList<QRegularExpression>::~QList (this=<optimized out>, this=<optimized out>) at /usr/src/debug/qtbase-everywhere-src-6.7.2/src/corelib/tools/qlist.h:70
#21 QDirIteratorPrivate::~QDirIteratorPrivate (this=0x7f3f64004200, this=<optimized out>) at /usr/src/debug/qtbase-everywhere-src-6.7.2/src/corelib/io/qdiriterator.cpp:90
#22 QScopedPointerDeleter<QDirIteratorPrivate>::cleanup (pointer=0x7f3f64004200) at /usr/src/debug/qtbase-everywhere-src-6.7.2/src/corelib/tools/qscopedpointer.h:24
#23 QScopedPointer<QDirIteratorPrivate, QScopedPointerDeleter<QDirIteratorPrivate> >::~QScopedPointer (this=<optimized out>, this=<optimized out>) at /usr/src/debug/qtbase-everywhere-src-6.7.2/src/corelib/tools/qscopedpointer.h:81
#24 QDirIterator::~QDirIterator (this=<optimized out>, this=<optimized out>) at /usr/src/debug/qtbase-everywhere-src-6.7.2/src/corelib/io/qdiriterator.cpp:452
#25 0x00007f3fadd46cd0 in QDirPrivate::initFileLists (this=0x7f3f64072d90, dir=<optimized out>) at /usr/src/debug/qtbase-everywhere-src-6.7.2/src/corelib/io/qdir.cpp:356
#26 0x00007f3fadd4a022 in QDir::entryInfoList (this=this@entry=0x7f3f81fff948, nameFilters=..., filters=..., sort=...) at /usr/src/debug/qtbase-everywhere-src-6.7.2/src/corelib/io/qdir.cpp:1473
#27 0x00007f3fadd4a11b in QDir::entryInfoList (this=this@entry=0x7f3f81fff948, filters=..., filters@entry=..., sort=..., sort@entry=...) at /usr/src/debug/qtbase-everywhere-src-6.7.2/src/corelib/io/qdir.cpp:1391
#28 0x00007f3f8e11127c in ImageFinder::run (this=0x56552a9d5230) at /usr/include/qt6/QtCore/qflags.h:74
#29 0x00007f3fadef3d45 in QThreadPoolThread::run (this=0x56552664a3f0) at /usr/src/debug/qtbase-everywhere-src-6.7.2/src/corelib/thread/qthreadpool.cpp:68
#30 0x00007f3fadeed139 in operator() (__closure=<optimized out>) at /usr/src/debug/qtbase-everywhere-src-6.7.2/src/corelib/thread/qthread_unix.cpp:326
#31 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>) at /usr/src/debug/qtbase-everywhere-src-6.7.2/src/corelib/thread/qthread_unix.cpp:262
#32 QThreadPrivate::start (arg=0x56552664a3f0) at /usr/src/debug/qtbase-everywhere-src-6.7.2/src/corelib/thread/qthread_unix.cpp:285
#33 0x00007f3fad492e22 in start_thread () at /lib64/libc.so.6
#34 0x00007f3fad51433c in __clone3 () at /lib64/libc.so.6
Comment 3 Nate Graham 2024-08-20 16:25:06 UTC
No KDE code in the backtrace; could be a Qt issue.
Comment 4 Nate Graham 2025-04-06 14:49:54 UTC
Can I ask you to please check to see if it's still an issue with Plasma 6.3 with Qt 6.8.2 or later? Thanks a lot!
Comment 5 Bug Janitor Service 2025-04-21 03:47:14 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Bug Janitor Service 2025-05-06 03:47:22 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.