https://bugs.kde.org/show_bug.cgi?id=516410

            Bug ID: 516410
           Summary: as soon as you open the gamecontroller tab the app
                    freezes and crashes
    Classification: Applications
           Product: systemsettings
      Version First 6.6.0
       Reported In:
          Platform: EndeavourOS
                OS: Linux
            Status: REPORTED
          Severity: grave
          Priority: NOR
         Component: kcm_joystick
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected]
  Target Milestone: ---

Created attachment 189885
  --> https://bugs.kde.org/attachment.cgi?id=189885&action=edit
gdb.txt debug

why is this a bug report? because i posted it here first and was told to submit
a bug report
https://discuss.kde.org/t/system-settings-crashes-when-opening-game-controller-tab/44569

SUMMARY
as soon as you open the gamecontroller tab the app freezes and crashes

STEPS TO REPRODUCE
1. Connect an off-brand nintendo switch pro controller (in this case
"Beexcellent Game Controller for Switch PC") with a cable
2.  Open the "Game Controller" Tab in the System Settings App

OBSERVED RESULT
    The App freezes, then crashes

EXPECTED RESULT
    info on the recognized controller

SOFTWARE/OS VERSIONS
Operating System: EndeavourOS 
KDE Plasma Version: 6.6.0
KDE Frameworks Version: 6.23.0
Qt Version: 6.10.2
Kernel Version: 6.18.9-arch1-2 (64-bit)
Graphics Platform: Wayland
Processors: 12 × Intel® Core™ i7-8700 CPU @ 3.20GHz
Memory: 16 GiB of RAM (15.4 GiB usable)
Graphics Processor: Intel® UHD Graphics 630
Manufacturer: Dell Inc.
Product Name: OptiPlex 7060

ADDITIONAL INFORMATION
   the connection worked before, but the (off-brand) controller was wrongly
recognized as xbox360  controller and with that the A-B and X-Y buttons  where
mixed up so I tried to change that, by trying to install *dkms-hid-nintendolic*
with yay, when that didn't work, I tried *hid-nintendo-nso-dkms*, also with
yay. (I Removed them again later)
I also did these commands:
lsmod | grep hid_nintendo
sudo modprobe hid_nintendo
lsmod | grep hid_nintendo
options hid_nintendo joycon_combination=1 stick_calibration=1
sudo mkinitcpio -P

and somewhere in between there it completly stopped working

I then reinstalled plasma-meta  and later systemsettings, but now the app
crashes whenever i open the tab

I have to say, when the controller is plugged into the pc, i get the
notification, that a nintendo controller is plugged in, but the settings app
didn't recognize it correctly at first and now crashes.

Debug Info in File (I tried pasting it, but it was too long, the website gave
an error)!
Debug Info: (I did it two times as i closed too soon the first  time, the
second time begins somewhere around line 1070)






When I posted it in the discuss.kde forum i viewed journalctl and found this:
(not the debug)

systemsettings[14472]: terminate called after throwing an instance of
'std::logic_error'
systemsettings[14472]:     what():  basic_string: construction from null is not
valid

Stack trace of thread 14472:
#0  0x00007f0cbc0a7a2c n/a (libc.so.6 + 0x98a2c)
#1  0x00007f0cbc04d1a0 raise (libc.so.6 + 0x3e1a0)
#2  0x00007f0cbebf8e6c _ZN6KCrash19defaultCrashHandlerEi (libKF6Crash.so.6 +
0x7e6c)
#3  0x00007f0cbc04d2d0 n/a (libc.so.6 + 0x3e2d0)
#4  0x00007f0cbc0a7a2c n/a (libc.so.6 + 0x98a2c)
#5  0x00007f0cbc04d1a0 raise (libc.so.6 + 0x3e1a0)
#6  0x00007f0cbc0345fe abort (libc.so.6 + 0x255fe)
#7  0x00007f0cbc297bf6 n/a (libstdc++.so.6 + 0x97bf6)
#8  0x00007f0cbc2b1eba n/a (libstdc++.so.6 + 0xb1eba)
#9  0x00007f0cbc2975d9 _ZSt9terminatev (libstdc++.so.6 + 0x975d9)
#10 0x00007f0cbc2b2176 __cxa_throw (libstdc++.so.6 + 0xb2176)
#11 0x00007f0cbc29bc31 _ZSt19__throw_logic_errorPKc (libstdc++.so.6 + 0x9bc31)
#12 0x00007f0c7c8bc061 n/a (kcm_gamecontroller.so + 0xd061)
#13 0x00007f0c7c8c67fb n/a (kcm_gamecontroller.so + 0x177fb)
#14 0x00007f0cbc7d8f0f n/a (libQt6Core.so.6 + 0x1d8f0f)
#15 0x00007f0cbc7df992 n/a (libQt6Core.so.6 + 0x1df992)
#16 0x00007f0cbc7c6416 _ZN7QObject5eventEP6QEvent (libQt6Core.so.6 + 0x1c6416)
#17 0x00007f0cbd903380
_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt6Widgets.so.6 +
0x103380)
#18 0x00007f0cbc76bf48 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent
(libQt6Core.so.6 + 0x16bf48)
#19 0x00007f0cbc92ed2f _ZN14QTimerInfoList14activateTimersEv (libQt6Core.so.6 +
0x32ed2f)
#20 0x00007f0cbca51c39 n/a (libQt6Core.so.6 + 0x451c39)
#21 0x00007f0cbb8cdf4d n/a (libglib-2.0.so.0 + 0x5ef4d)
#22 0x00007f0cbb8cf617 n/a (libglib-2.0.so.0 + 0x60617)
#23 0x00007f0cbb8cf825 g_main_context_iteration (libglib-2.0.so.0 + 0x60825)
#24 0x00007f0cbca4fcb2
_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE
(libQt6Core.so.6 + 0x44fcb2)
#25 0x00007f0cbc776cf6 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE
(libQt6Core.so.6 + 0x176cf6)
#26 0x00007f0cbc7709f1 _ZN16QCoreApplication4execEv (libQt6Core.so.6 +
0x1709f1)
#27 0x000056148a06f4a0 n/a (/usr/bin/systemsettings + 0x154a0)
#28 0x00007f0cbc0366c1 n/a (libc.so.6 + 0x276c1)
#29 0x00007f0cbc0367f9 __libc_start_main (libc.so.6 + 0x277f9)
#30 0x000056148a0700c5 n/a (/usr/bin/systemsettings + 0x160c5)

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

Reply via email to