Bug 499695 - kgpg and kalendarac crash immediately when drawing tablet is plugged in
Summary: kgpg and kalendarac crash immediately when drawing tablet is plugged in
Status: RESOLVED DUPLICATE of bug 500326
Alias: None
Product: kgpg
Classification: Applications
Component: general (other bugs)
Version First Reported In: 24.12.2
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Rolf Eike Beer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-08 19:30 UTC by Octavia Togami
Modified: 2025-02-18 15:45 UTC (History)
2 users (show)

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


Attachments
kgpg crash (8.76 KB, text/vnd.kde.kcrash-report)
2025-02-08 19:30 UTC, Octavia Togami
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Octavia Togami 2025-02-08 19:30:46 UTC
Created attachment 178084 [details]
kgpg crash

SUMMARY
Starting either kgpg or kalendarac with my drawing tablet plugged in results in an immediate crash.

STEPS TO REPRODUCE
1. Plug in a drawing tablet, specifically I have `ID 056a:03c7 Wacom Co., Ltd CTL-6100WL [Intuos BT (M)]`
2. Start `kgpg` or `kalendarac`.

OBSERVED RESULT
Crashes out immediately.

EXPECTED RESULT
Does not crash and starts the program.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.13.1-arch2-1 (64-bit)
KDE Plasma Version: 6.2.5
KDE Frameworks Version: 6.10.0
Qt Version: 6.8.2

Following versions from the relevant `pacman` packages:
kgpg: 24.12.2
kalendarac: 24.12.2

ADDITIONAL INFORMATION
Comment 1 Octavia Togami 2025-02-08 19:32:00 UTC
The output of the program during the crash, in case it is useful:
qt.nativeinterface: Comparing requested interface name QX11Application with available QX11Application
qt.nativeinterface: Match for interface QX11Application. Comparing revisions (requested 1 / available 1)
qt.nativeinterface: Full match. Returning dynamic cast of QXcbNativeInterface(0x57f35cf06cb0)
KCrash: Application '`�"�W' crashing... crashRecursionCounter = 2
[1]    20289 segmentation fault (core dumped)  kgpg
Comment 2 TraceyC 2025-02-12 02:45:52 UTC
Searchable backtrace


Thread 1 (Thread 0x79c7ed582b80 (LWP 14419)):
[KCrash Handler]
#5  QArrayDataPointer<QInputDevice const*>::data (this=0x0) at /usr/src/debug/qt6-base/qtbase/src/corelib/tools/qcontainertools_impl.h:387
#6  QArrayDataPointer<QInputDevice const*>::constEnd (this=0x0) at /usr/src/debug/qt6-base/qtbase/src/corelib/tools/qarraydatapointer.h:127
#7  QList<QInputDevice const*>::cend (this=0x0) at /usr/src/debug/qt6-base/qtbase/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-base/qtbase/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-base/qtbase/src/corelib/tools/qlist.h:613
#10 QInputDevicePrivate::unregisterDevice (dev=0x5e73201e5880) at /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qinputdevice.cpp:360
#11 0x000079c7f53cfa1f in QInputDevice::~QInputDevice (this=<optimized out>, this=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qinputdevice.cpp:110
#12 QPointingDevice::~QPointingDevice (this=<optimized out>, this=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qpointingdevice.cpp:168
#13 0x000079c7ece86cb0 in QXcbScrollingDevice::~QXcbScrollingDevice (this=<optimized out>, this=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/plugins/platforms/xcb/qxcbscrollingdevice_p.h:29
#14 QXcbScrollingDevice::~QXcbScrollingDevice (this=<optimized out>, this=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/plugins/platforms/xcb/qxcbscrollingdevice_p.h:29
#15 0x000079c7f4ba2e5e in QObject::event (this=0x5e73201e5880, e=0x5e73201e58a0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:1403
#16 0x000079c7f5cff0ca in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5e73201e5880, e=0x5e73201e58a0) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:3296
#17 0x000079c7f4b55b00 in QCoreApplication::notifyInternal2 (receiver=0x5e73201e5880, event=event@entry=0x5e73201e58a0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1172
#18 0x000079c7f4b55edc in QCoreApplication::sendEvent (receiver=<optimized out>, event=0x5e73201e58a0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1612
#19 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=52, data=0x5e732019f690) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1946
#20 0x000079c7f4e2fc50 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=52) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1800
#21 operator() (__closure=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:403
#22 (anonymous namespace)::terminate_on_exception<QThreadPrivate::finish()::{lambda()#1}>(QThreadPrivate::finish()::{lambda()#1}&&) [clone .isra.0] (t=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:311
#23 0x000079c7f4cd8515 in set_thread_data(QThreadData*)::Cleanup::~Cleanup() () at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:386
#24 0x000079c7f504de00 in __cxa_finalize (d=0x79c7f4ff5000) at cxa_finalize.c:97
#25 0x000079c7f4acc3a8 in ?? () from /usr/lib/libQt6Core.so.6
#26 0x00007ffe3a99cde0 in ?? ()
#27 0x000079c7f7672fd2 in _dl_call_fini (closure_map=0x79c7f6c77f90) at dl-call_fini.c:43
Backtrace stopped: frame did not save the PC
Comment 3 TraceyC 2025-02-12 02:47:29 UTC
Backtrace is entirely in Qt code
Comment 4 Nate Graham 2025-02-18 15:45:06 UTC

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