Bug 502575 - kaccess crashes while trying to remove something from an array when enabling colorblindness correction effect
Summary: kaccess crashes while trying to remove something from an array when enabling ...
Status: RESOLVED DUPLICATE of bug 500326
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_accessibility (other bugs)
Version First Reported In: master
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-08 17:43 UTC by Nate Graham
Modified: 2025-04-08 17:58 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nate Graham 2025-04-08 17:43:20 UTC
Git master, Qt 6.8.2.


STEPS TO REPRODUCE
1. Navigate to System Settings > Accessibility > Color Blindness Correction
2. Click "enable"
3. Click Apply


OBSERVED RESULT
The effect is successfully applied, but kaccess crashes 100% of the time:

Thread 1 (Thread 0x7f3bf820d980 (LWP 206537)):
[KCrash Handler]
#5  QArrayDataPointer<QInputDevice const*>::data (this=0x0) at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/tools/qarraydatapointer.h:120
#6  QArrayDataPointer<QInputDevice const*>::constEnd (this=0x0) at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/tools/qarraydatapointer.h:127
#7  QList<QInputDevice const*>::cend (this=0x0) at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/tools/qlist.h:644
#8  QtPrivate::sequential_erase_one<QList<QInputDevice const*>, QInputDevice const*> (c=..., t=<synthetic pointer>: <optimized out>) at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/tools/qcontainertools_impl.h:389
#9  QList<QInputDevice const*>::removeOne<QInputDevice const*> (this=0x0, t=<synthetic pointer>: <optimized out>) at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/tools/qlist.h:613
#10 QInputDevicePrivate::unregisterDevice (dev=dev@entry=0x22d3f360) at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/gui/kernel/qinputdevice.cpp:360
#11 0x00007f3bfa4fe7d3 in QInputDevice::~QInputDevice (this=this@entry=0x22d3f360, __in_chrg=<optimized out>) at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/gui/kernel/qinputdevice.cpp:110
#12 0x00007f3bfa530ad7 in QPointingDevice::~QPointingDevice (this=this@entry=0x22d3f360, __in_chrg=<optimized out>) at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/gui/kernel/qpointingdevice.cpp:168
#13 0x00007f3be8582fcf in QXcbScrollingDevice::~QXcbScrollingDevice (this=0x22d3f360, __in_chrg=<optimized out>) at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/plugins/platforms/xcb/qxcbscrollingdevice_p.h:29
#14 QXcbScrollingDevice::~QXcbScrollingDevice (this=0x22d3f360, __in_chrg=<optimized out>) at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/plugins/platforms/xcb/qxcbscrollingdevice_p.h:29
#15 0x00007f3bf9d4b8ae in QObject::event (this=0x22d3f360, e=0x22d3f380) at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/kernel/qobject.cpp:1403
#16 0x00007f3bfb03d9b8 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x22d3f360, e=0x22d3f380) at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/widgets/kernel/qapplication.cpp:3296
#17 0x00007f3bf9cf3590 in QCoreApplication::notifyInternal2 (receiver=0x22d3f360, event=0x22d3f380) at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/kernel/qcoreapplication.cpp:1172
#18 0x00007f3bf9cf37ed in QCoreApplication::sendEvent (receiver=<optimized out>, event=<optimized out>) at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/kernel/qcoreapplication.cpp:1612
#19 0x00007f3bf9cf6f51 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=52, data=0x22cfd9d0) at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/kernel/qcoreapplication.cpp:1946
#20 0x00007f3bf9cf71fd in QCoreApplication::sendPostedEvents (receiver=<optimized out>, event_type=<optimized out>) at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/kernel/qcoreapplication.cpp:1800
#21 0x00007f3bf9eb55c9 in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/thread/qthread_unix.cpp:403
#22 (anonymous namespace)::terminate_on_exception<QThreadPrivate::finish()::<lambda()> >(struct {...} &&) (t=<optimized out>) at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/thread/qthread_unix.cpp:311
#23 0x00007f3bf9eb5895 in QThreadPrivate::finish (this=<optimized out>) at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/thread/qthread_unix.cpp:386
#24 destroy_current_thread_data (p=0x22cfd9d0) at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/thread/qthread_unix.cpp:130
#25 Cleanup::~Cleanup (this=<optimized out>, __in_chrg=<optimized out>) at /usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/thread/qthread_unix.cpp:180
#26 0x00007f3bf9629180 in __cxa_finalize (d=0x7f3bfa279020) at cxa_finalize.c:97
#27 0x00007f3bf9c53a97 in __do_global_dtors_aux () at /lib64/libQt6Core.so.6
#28 0x00007fff17c86750 in ??? ()
#29 0x00007f3bfbe510f2 in _dl_call_fini (closure_map=0x7f3bfbc91000) at dl-call_fini.c:43
Comment 1 Nicolas Fella 2025-04-08 17:58:36 UTC

*** This bug has been marked as a duplicate of bug 500326 ***